3

Is there a way to sync GeoJSON files to my cartoDB table?

If this is not yet supported, what would be the best way of implementing this feature (syncing the data frequently with the existing cartoDB table) myself?

4

It might be worthwhile looking at the CartoDB Import API. You can set up syncing a file from a URL with a simple cURL command.

Check out the documentation and the example at this link. It may help get you started down the right track.

OR

While the import API is one possible method, it looks like you can sync GeoJSON if it is hosted on the web somewhere. This method was outlined on the Fulcrum guides and can be seen here, read the section "Creating A Synced CartoDB Table".

Steps are as follows.

  1. In cartodb connect a datafile using a URL as shown below.

enter image description here

  1. Set the update frequency as shown below.

enter image description here

I used GeoJSON from Mapbox to test and can be found here http://api.tiles.mapbox.com/v3/mapbox.o11ipb8h/markers.geojson

  • Thanks for the answer. I already have a premium account. I wanted to check if CartoDB supports geoJSON syncing because I don't see that data type specified anywhere. – Irene L Jun 22 '16 at 20:53
  • @IreneL I just added an additional method which may (fingers crossed) help you out. – Andrew Jeffrey Jun 22 '16 at 22:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.