Overpass API developpement

Text archives Help

Re: [overpass] GeoJson form Overpass with curl

Chronological Thread 
  • From: Etienne Trimaille <etienne.trimaille@gmail.com>
  • To: overpass@listes.openstreetmap.fr
  • Subject: Re: [overpass] GeoJson form Overpass with curl
  • Date: Fri, 29 Jan 2016 16:11:37 +0100

You can't get geojson with overpass.
Only these formats are supported : http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Output_Format_.28out.29

If you want geojson, I will recommand you to  use the 'osm' output and then use a tool like OGR.

2016-01-29 15:48 GMT+01:00 <aeugster@hsr.ch>:
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

Is there a way to do that?

my current query is as follows:
curl -o gemeinden.json -g

kind regars

Archive powered by MHonArc 2.6.18.

Top of page