[OSM-talk] Populated places: how to use is_in tag?

David Earl david at frankieandshadow.com
Mon Oct 8 09:53:23 BST 2007


On the other hand, the name finder searches already recognise is_in, so 
that searches like "Murano, Veneto" should work if is_in is used.

is_in has typically been used like this:
   is_in=commune,province,region,country
(that is, working outwards and separated by commas).

David

On 08/10/2007 09:46, Andy Robinson wrote:
> Niccolo,
> 
> OSM is about the data, so there is no problem at all in adding more
> descriptive tags.
> 
> Thus, Regione -> Provincia -> Comune would all be appropriate. You might
> also consider adding them in their English equivalents, which would be:
> 
> region=, province=, commune=
> 
> Cheers
> 
> Andy
> 
> Andy Robinson
> Andy_J_Robinson at blueyonder.co.uk 
> 
>> -----Original Message-----
>> From: talk-bounces at openstreetmap.org [mailto:talk-
>> bounces at openstreetmap.org] On Behalf Of Niccolo Rigacci
>> Sent: 08 October 2007 9:34 AM
>> To: talk at openstreetmap.org
>> Cc: talk-it at openstreetmap.org
>> Subject: [OSM-talk] Populated places: how to use is_in tag?
>>
>> Hello,
>>
>> I'm about adding about 8000 points of Italian populated places.
>>
>> The main purpose is to render place names into the map, so a
>> minimal tag schema is:
>>
>>  <node id='-6' action='modify' visible='true' lat='45.438898'
>> lon='12.330918'>
>>    <tag k='name' v='Venezia' />
>>    <tag k='place' v='city' />
>>    <tag k='population' v='271073' />
>>    <tag k='source' v='geodati.gfoss.it' />
>>    <tag k='gfoss_id' v='3515' />
>>  </node>
>>
>> this includes "population" and "place" to aid rendering at
>> different zoom levels, etc.
>>
>> The "gfoss_id" is the ID from the geodati.gfoss.it database, the
>> source of the data.
>>
>> On the Italian mailing list it was suggested to add more tags, to
>> accomodate the administrative hierarchy:
>>
>> Regione -> Provincia -> Comune
>>
>> It seems that there is not common agreement on how to accomplish
>> this. The only pertinent tag seems to be "is_in", but it is so
>> loosely defined in the wiki.
>>
>> I think that we must address rendering and searching, without
>> overloading the database with unnecessary information that need
>> maintenance (and that can be obtained from other sources).
>>
>> Any suggestion?
>>
>> --
>> Niccolo Rigacci
>> Firenze - Italy
>>
>> _______________________________________________
>> talk mailing list
>> talk at openstreetmap.org
>> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> 
> 
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> 





More information about the talk mailing list