Skip to Content.
Sympa Menu

overpass - [overpass] GeoJson form Overpass with curl

Subject: Overpass API developpement

List archive

[overpass] GeoJson form Overpass with curl


Chronological Thread 
  • From: <>
  • To:
  • Subject: [overpass] GeoJson form Overpass with curl
  • Date: Fri, 29 Jan 2016 15:48:13 +0100 (CET)

I am trying to get Data from http://overpass-turbo.osm.ch/.

Unfortunately the request I am trying to do is to much for my computer and I
have to use comandline programm for the data transfer. I chose to use curl.

When I execute my command i get a json format, I however want a geoJson
format.

Is there a way to do that?

my current query is as follows:
curl -o gemeinden.json -g
"http://overpass-api.de/api/interpreter?data=[out:json][timeout:180];
(relation[\"admin_level\"=\"4\"](45.13167,5.45471,48.49112,12.44201););%20out
%20body;>;out%20skel%20qt;"

kind regars
alex



Archive powered by MHonArc 2.6.18.

Top of Page