wiktorn / Overpass-API

Overpass API docker image
MIT License
134 stars 48 forks source link

Is it possible to clip diffs according to a polygon? #43

Closed zdila closed 9 months ago

zdila commented 4 years ago

Hello,

We are interested only for a small region of central europe. We can extract it from planet file and use it for OVERPASS_PLANET_URL. Is it possible to apply our clipping polygon from GeoJSON file to minutely diffs?

wiktorn commented 4 years ago

As mentioned in #37 (in this comment) this would need small refactor to preprocess both planet file on init and continue to do the same when applying diff. I hadn't had time to do it myself, but I will happily welcome any patches implementing that.