When I open my OSM file exported form Openstreetmaps in Maperitive - in one part of the river there is only thin water line instead of water area. How can I fix this? Thanks Screenshot: https://ibb.co/wcWcZPC OSM file: https://we.tl/t-mvYlwcnSIY asked 31 Mar '19, 17:23 thierrybb |
This is happening because the exported OSM data file you have doesn't contain all of the necessary objects to display the river area. The river area (waterway=riverbank) is mapped using multipolygon relations, with the missing section in question being a relation containing five separate ways. Since at least one of those ways falls outside of the exported area, the multipolygon area is no longer complete and the area can't be properly displayed by Maperitive. The thin line that is displayed is the separate waterway=river way representing the main flow of the river. To get around this, you could export a larger area than you need, which would hopefully pick up all of the other objects that are relevant to the ones that fall inside your area of interest. Depending on the tools you use, you may also be able to simply download the additional objects you need and add them to your existing OSM file. answered 02 Apr '19, 23:00 alester |
A link to openstreetmap with coordinates (Like this one https://www.openstreetmap.org/#map=18/52.33018/-0.17340 ) would be useful. The screenshot looks like the river bank polygon is either unmapped or is broken. To fix this you will need to learn how to map river bank polygons. How to do this is all explained in the wiki, it isn't too hard to do, if good aerial is available, but will take some time for long sections of waterway. If you supply a link and the fault is just a broken polygon i'm sure someone will fix it. answered 01 Apr '19, 21:41 andy mackey |
Hi, the polygon for the river bank had the tags changed to include water=river, waterway=river, (this introduced a flow direction to the river bank). I've removed these tags and added the tag waterway=riverbank. It should be OK now. answered 02 Apr '19, 07:31 BCNorwich Forgot to mention this is the way https://www.openstreetmap.org/way/515061721
(02 Apr '19, 07:33)
BCNorwich
1
That's the Thames, but the area in question appears to be in the Bratislava area on the Danube/Donau/Dunaj.
(02 Apr '19, 16:56)
alester
@BCNorwich, while you are here could you please comment the change here https://osm.org/go/0EENoe1I--?way=515061721. Apart from the small rendering fail, you have used the bezier=no tag. Of cause then you could equally use bezier=yes as well. Does this mean that we have in OSM (WIKI) a new data type - smooth/polynomial line?
(03 Apr '19, 07:09)
sanser
Hi sanser, alester, First my apologies for commenting to the wrong river, I was editing problems with one river while reading about problems on a different river, my post crossed over. I did comment on the Thames river edit here :-https://www.openstreetmap.org/changeset/68753453
(03 Apr '19, 07:49)
BCNorwich
|