OpenStreetMap

revent has commented on the following diary entries

Post When Comment
US County boundary relations 5 months ago

Because it's broken? :P

Many of the US county boundaries that border the ocean were imported with the coastline as the boundary instead of the 'real' boundary.... in Texas (where I'm from) there are quite a fe cases of islands that are shown as 'discontiguous sections' of the county, even though the real boundary covers the water also...

Yea another thing to eventually fix. :/

Boundary relations, place/label nodes, and addressing (How to get Nominatim to link things) 5 months ago

Oh, and also re keys on the boundary ways.... I've noticed that the JOSM validator does not complain about things like roads accidentally linked to an admin boundary unless the keys are explicitly set on the way, which seems like a bit more compelling reason for doing it.

Boundary relations, place/label nodes, and addressing (How to get Nominatim to link things) 5 months ago

Re the boundary lines, I'm not just adding the keys just for the itoworld display, I was just using it as an indication of how many were missing. As ToeBee put it, to paraphrase, "It'll prevent editors using feature-poor programs from thinking it's just a random line", lol. Thank you for that link, though, it's much prettier, though it also seems to run off of a cache (I fixed some city lines for Midland Texas that were the wrong admin_level, and they are still shown as county lines). The main point, really, was not to just have completely untagged and unlabeled lines floating around that could accidentally go away, and so the counties wouldn't break if the tag were accidentally taken off of the relation. It's one of those things that, if it's an issue somehow, doesn't 'have' to be done AFAIK, and if it did cause an issue somewhere I could not do it.

Re admin_centre. On the county boundaries, I'm actually setting the 'label' role for the county node, and the 'admin_centre' role for the place node of the county seat, which from what I read is the intended way of doing it. I'm not messing with any of the cities yet, but I was aware they are supposed to work off just the "admin_centre" role.

Boundary relations, place/label nodes, and addressing (How to get Nominatim to link things) 5 months ago

Something else I just learned is that a place node (with a boundary relation) needs to NOT have an is_in field, as it sometimes breaks linking.

Boundary relations, place/label nodes, and addressing (How to get Nominatim to link things) 5 months ago

Having the tags on the ways also appears to be needed to make the itoworld admin boundary map work correctly, as it does not see the relations.

http://www.itoworld.com/map/2?lon=-99.51210&lat=31.25489&zoom=6&fullscreen=true&fullscreen=true

Note this works off a cached copy OSM (apparently) and doesn't show recent fixes.