matkoniecz / CartoCSSHelper

Tool to make development of CartoCSS styles more efficient. Automates actions necessary to produce test images and validates style.
Other
7 stars 2 forks source link

Overpass is limiting radius to 100km #12

Closed matkoniecz closed 9 years ago

matkoniecz commented 9 years ago

https://github.com/matkoniecz/CartoCSSHelper/blob/master/downloader.rb#L46 https://github.com/matkoniecz/CartoCSSHelper/blob/71fa841ed0bed5102211014b89760e043f1cc589/downloader.rb#L46

mmd-osm commented 9 years ago

I'm not aware of such a restriction. Can you provide a testcase for this or even better create a ticket on https://github.com/drolbr/Overpass-API ?

matkoniecz commented 9 years ago

At this moment it is not present. Thanks for reminding me, I forgot that I created issue for that ( fixed in code in https://github.com/matkoniecz/CartoCSSHelper/commit/83626497f18233f429f44283f549d327455044f2 ).

matkoniecz commented 9 years ago

BTW, is it considered OK that Overpass limits radius to around 3600km? I encountered problems with set radius to larger values (search without radius was working fine).

mmd-osm commented 9 years ago

There's really no hardcoded limit, which would explain this in the first place. However, memory usage could be quite high for a large radius, which might cause the query to fail eventually. In any case, we would much appreciate a sample query to further investigate this issue.

BTW: I've already created a ticket for the memory issue and will add further details, depending on the kind of issue you came across for your query.