This content applies to a previous version of CARTO
In October 2021 we released a new version of our platform. You can find the latest documentation at docs.carto.com
Using Overpass Turbo to Create CARTO Sync Tables
Learn how to use Overpass Turbo to create a CARTO Sync Table and connect real time OSM data.
Steps to create a synchronized table in CARTO that queries OSM for specific data
Navigate to Overpass Turbo web interface and put on the map on the right the area you want to query
You can use the wizard or simply put this code and adapt it to your desired tags. Use the Map Features page from the OSM wiki to look for your desired tags.
[out:xml][timeout:25];
(
node["amenity"="school"]();
);
out body;
>;
out skel qt;
Run the query and check if it’s working, you should see points or lines being rendered on top of your basemap.
Open the
Exportinterface and copy the link fromData>Raw data directly from Overpass APIPut that link on the URL text box on CARTO
Connect new datasetinterface and click onSUBMITHere you can choose to put a frequency and create a sync table or select
Neverand create a standard tableSeveral tables will be created, some with none geometries, some with your data depending on the geometry type you are importing.
That’s it!
