Hi, I have to extract all street names with all boundaries that its belong to. I found webpage https://osm-boundaries.com/ where you can select a lot of boundaries. eg. Germany -> Baden-Wurttemberg -> Regierungsbezirk -> Freiburg im Breisgau -> Altstadt -> Altstadt-Mitte Now im in the point that i can extract all street names (Type=Way, contain tag highway, contain name) Is it possible to extract all boundary names for each street ? asked 29 Dec '20, 12:42 HubDac |
When I have a relation that includes the tags "boundary" and "admin_level", do the members of that relationship form a polygon? and everything inside that polygon should basically be treated as if it had these markers? EDITI also noticed that there are relation members of type "Node" with Id that does not exists. The Id of node from relation member does not exists as id of any Node :( answered 30 Dec '20, 09:34 HubDac |
Using OsmSharp i wrote some code but it seems to not working as i expected :( But i dont know why :(
The funniest part is that there are some relations that eg.
but i most cases (output xml contains 16.868.559 lines of text) Ways(count 3.369.198) are not connected in Relation(count 2.818) whole file contain: Nodes: 331.798.468 Ways: 54.132.981 Relations: 666.231 and i dont use Node's at all at current implementation.
What are you actually trying to accomplish?
I have to extract all streets for Germany with their administration bouderies. So if street is in Berlin i have to get street name and collection of areas e.g. level 2: Germany level 4: Berlin level 9: Mitte level 10: Moabit (i took areas names and leves from www.osm-boundaries.com)