Re: [OSM-dev] Overpass API - Memory Error on 16GB RAM

2018-10-23 Thread Michael Reichert
Hi Leon,

Am 23.10.18 um 19:33 schrieb mmd:
> Am 23.10.18 um 09:17 schrieb Leon Boehmer:
>> We are trying a query which returns all highways in Europe on our
>> on-premise Overpass.
> 
> I really have no idea what your ultimate goal is, but in any case I
> would strongly recommend to download a Europe extract (e.g. from
> Geofabrik [1]), and use some filtering tool like osmium-tool [2] to
> extract highways. Store the result in whatever DB you like, could be
> even Overpass API.

osmium tags-filter -o highways-in-europe.osm.pbf europe-latest.osm.pbf
w/highway

would be the command you need.

Best regards

Michael

-- 
Per E-Mail kommuniziere ich bevorzugt GPG-verschlüsselt. (Mailinglisten
ausgenommen)
I prefer GPG encryption of emails. (does not apply on mailing lists)



signature.asc
Description: OpenPGP digital signature
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Overpass API - Memory Error on 16GB RAM

2018-10-23 Thread mmd
Am 23.10.18 um 09:17 schrieb Leon Boehmer:
> We are trying a query which returns all highways in Europe on our
> on-premise Overpass.

I really have no idea what your ultimate goal is, but in any case I
would strongly recommend to download a Europe extract (e.g. from
Geofabrik [1]), and use some filtering tool like osmium-tool [2] to
extract highways. Store the result in whatever DB you like, could be
even Overpass API.

If you insist on using Overpass API for the task at hand, start with
much smaller bounding boxes.

Also, please consider adding the term "Overpass API" to your email
subject. This list covers so many different tools, i.e. "Memory Error on
16GB RAM" isn't exactly helpful.


[1] http://download.geofabrik.de/europe.html
[2] https://osmcode.org/osmium-tool/


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev