into-cartodb is a module that allows you to easily create, append or replace data in MapGeo Studio


Last updated: May 4, 2020


Prerequisites


Process:

Into-cartodb is a module that allows you to easily create, append or replace data in MapGeo Studio. It is especially useful for large datasets. Into-cartodb is an open source tool that is continually being updated. The process below gives information on using into-cartodb in a command line window. This article is meant to outline relevant shortcuts, and to provide an example for loading your data to MapGeo Studio. Full documentation of this open source tool  is available here: https://www.npmjs.com/package/into-cartodb 



  • Open a command line window and enter 

  • “into-cartodb” 

  • -k MapGeo Studio API key (Please see associated article for finding your API key).

  • -D "hub.mapgeo.io" -s \

  • -u yourusername 

  • -f full path to the data on your system 

  • -t layer or table name on MapGeo Studio 

  • -method The method selected will tell into-cartodb how to handle the data you wish to load. For example -r will replace the data that has already been loaded to MapGeo Studio. Available methods: 

    • Append

      • -a

    • Create

      • -c

    • Replace

      • -r




Helpful Hints

  • Be sure data is formatted for use in MapGeo Studio.