[Potlatch-dev] New docs

Richard Fairhurst richard at systemeD.net
Thu Mar 17 10:54:52 GMT 2011


Hi Pierre,

> 1. TAGS with multiple values : How to define a tag where we accept any
> values for one key?

vmatch might do what you want (see below). If you can give a concrete
example that would help.

> 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?

There isn't really a distinction between "default presets" and anything
else. P2 can only understand one preset file at once. Just edit the preset
files to do what you want to.

> 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 ?

>From what I understand of
http://wiki.openstreetmap.org/wiki/Humanitarian_OSM_Tags/Humanitarian_Data_Model#Obstacle
, you could either:

a) define an "obstacle" category and have different Features in there, one
for each obstacle; or
b) have a single "obstacle" Feature and use <input type="choice"> for the
obstacle type.

> 4. TAG definition with using vmatch. How does it work.

Have now documented this:
http://wiki.openstreetmap.org/wiki/Potlatch_2/Developer_Documentation/Map_Features#tag_element_syntax

cheers
Richard






More information about the Potlatch-dev mailing list