on 2011-03-16  12:09:28
Richard Fairhurst wrote   

>    I've documented the map_features.xml file at
>    
> http://wiki.openstreetmap.org/wiki/Potlatch_2/Developer_Documentation/Map_Features

Thanks Richard for this new documentation.

Looking at various map_features.xml files I see that definition of tag elements 
related to one Feature are in general very simple : One or two Keys with a 
specific value. Trying to define rules for HOT Presets, I wonder if it would be 
possible to have more complex definitions of TAG selection.

The documentation do not detail the possibilities or restrictions relating to 
selection of TAG elements.  To this regard, below are few questions relating to 
sections of the documentation where I think it would be good to have some 
precisions.

1. TAGS with multiple values : How to define a tag where we accept any values 
for one key? Is the following formulation acceptable or not?
 (ie. <tag k="highway" v="*"/>)

2. TAGS: If we already have a feature in Default Presets using a specific tag 
like School, is it possible to create a new feature with duplicating this tag 
reference without any confict with the existing feature ?  If so, how to do?

3. Features that refer to eigher one TAG or an other : As example, the HOT 
Obstacle Preset refers to either road or bridge. Is it possible and how to 
define such rules ?

4. TAG definition with using vmatch. How does it work.
  Examples
  <tag k="traffic_calming" v="yes" vmatch="*"/> 
  <tag k="man_made" v="survey_point" 
vmatch="survey_point|lighthouse|beacon|cairn|buoy"/> 


Regards,

Pierre Beland
_______________________________________________
Potlatch-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/potlatch-dev

Reply via email to