You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2015-07-11 16:51:26

ak33056
Member
Registered: 2011-11-07
Posts: 22

How to change' Name' Tags

Hallo,

Hello,

since a few days I try to plot the 'name' tags for citys, towns, villages, hamlets and s.o. It works, but there are some problems:

- Citys, towns and villages are mostly tagged with the JOSM - template. The 'name' tag in this case is a dot. This is difficult to find in higher zoom levels.
- Sometimes the tagger use the 'place' tags. But if the do'nt add the 'name' tag too, the 'place' has no name and is difficult to recognize (by now, place is a polygon).
- Sometimes the tagger only use 'landuse=residential' (That's wrong, but it's the reality).

Result: If there is no name tag in the cases 2 and 3, I want set the name tag with the value of 1.

I use mkgmap for rendering 'mkgmap'.

What should I insert in 'points' and 'polygons' to filter these cases ?

I tried some 'set' instructions, but these values

name!=*   '.....' or
mkgmap:label1:1!=* '....'

lead to an error. I have no idea...... Can anybody help ?
(By now the tags above mean: 'If the name tag is not present....then...)


ak 33056

Offline

#2 2015-07-11 17:51:05

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: How to change' Name' Tags

I think this will work:
place=* & ( name!=* | name='....' ) {set name=1}
landuse=residential  & ( name!=* | name='....' ) {set name=1}

But I'm not sure what you mean by name tag is a dot.

Offline

#3 2015-07-11 20:42:57

ak33056
Member
Registered: 2011-11-07
Posts: 22

Re: How to change' Name' Tags

Bingo, it works, thank you very much !!!  smile:):)

The meaning of dot:

All cities, villages and so on are tagged in JOSM templates as a 'POI' and therefore they city, village... are rendered as a dot. I think these templates are not the best solution, because cities, villages .. are allways areas (polygons).

Best regards


ak 33056

Offline

#4 2015-07-12 01:22:37

muralito
Member
Registered: 2012-09-04
Posts: 1,918

Re: How to change' Name' Tags

Also the administrative boundaries with admin_level 8 are needed to make the search by address works. Without boundaries the streets could be assigned to the wrong city or not assigned at all.

Offline

Board footer

Powered by FluxBB