Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

OsmBboxFilter sets bounds to 0,0,0,0 #1

Open
eldakkar opened this issue Apr 30, 2020 · 2 comments
Open

OsmBboxFilter sets bounds to 0,0,0,0 #1

eldakkar opened this issue Apr 30, 2020 · 2 comments

Comments

@eldakkar
Copy link

Hi

Thanks for a good set of tools and libraries!

I have one problem which is that when I run the OsmBboxFilter as a script it sets the bounds of the new file to 0,0,0,0 which obviously is not correct.

BR
Henrik

@sebkur
Copy link
Member

sebkur commented Apr 30, 2020

Hi, thanks for pointing this out. I remember that this is a blind spot in the library: I wasn't sure about the best way to handle the bounds for the output, especially in situations where the input file already specifies bounds and apparently just postponed to make a decision. The question is whether the specified filtering bounding box is just stored in the output as the bounds independent of the input file's bounds or whether the tool calculates the intersection of both bounding boxes and stores the result. I now implemented a fix (826008e) that does the latter.

@sebkur
Copy link
Member

sebkur commented Jul 10, 2020

I'm archiving this repository because this module has been merged into the osm4j master repository. Please re-open the issue there if you want to continue the discussion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants