tips:overpass

This is an old revision of the document!


Overpass

https://overpass-turbo.eu/

select box and export all streets

[out:xml][timeout:25];
(
  way["highway"]({{bbox}});
);

out body;
>;
out skel qt;

export data in OSM

create db

 spatialite_osm_raw -o ./export.osm -d fes.sqlite
sqlite3 /tmp/test.db
SELECT load_extension('mod_spatialite');
//SELECT load_extension('/lab/gianoobserver/lib38/lib/mod_spatialite');


SELECT ImportGeoJSON('./fes.geojson', 'test');
  • tips/overpass.1605604498.txt.gz
  • Last modified: 2020/11/17 10:14
  • by scipio