Dear Open Street Map Community,
I’m just getting into the topic and have a question regarding the command line tool osmconvert.
I have a problem with the following command:
osmconvert map.o5m -v -b=lon1,lat1,lon2,lat2 --complete-multipolygons --complete-boundaries -o=cropped_map.o5m
When I do this for a region with relations consisting of multiple ways, ways that are out of the specified boundaries are deleted, even if they are used in a relation which partly lies within the boundaries. Is there a way to force the tool to include all the dependencies of relations? I thought this is what complete multipolygons is for.
If there is no possibilty to do this with this tool maybe there is another way to achieve what I want to do, which is:
Import areas of osm maps into matlab. For processing in Matlab I need to split the whole map into smaller pieces with some other program I can controll via Matlab.
Thanks in advance.
Best regards,
David