[Potlatch-dev] New docs
Pierre (PierZen)
infosbelas-gps at yahoo.fr
Thu Mar 17 13:53:09 GMT 2011
on 2011-03-17 07:24:40
Richard Fairhurst wrote
Cc : Pierre (PierZen); potlatch-dev
Sujet : Re: [Potlatch-dev] New docs
> you *shouldn't* define the same real-world object multiple
> times. There is not two different real-world things - "HOT Schools"
> and "Schools" - there are only schools, sometimes with additional
> information provided relevant to HOT purposes. Therefore there should
> only be one feature in the presets tagged amenity=school - you should
> not create an additional "HOT School" feature, you should edit the
> existing "school" feature to have additional information.
Lets look at an example using Hospital features in Default Presets. Hospital features are
refered in to subset files : amenities.xml and buidings.xml. In both files, we find a
<feature name="Hospital">
with
<tag k="amenity" v="hospital"/>
and input elements with various categories including category="Hospital".
In Port-au-Prince, in the middle of the screen, the area around St. Francois de Salle Hospital
has the tags amenity=hospital and building=yes
see http://www.openstreetmap.org/edit?editor=potlatch2&lat=18.53774&lon=-72.34404&zoom=18
If I select this area, the Hospital feature is automatically shown with the following
TABS on top of dialogue box :
Basic TAB : the two input elements located in file amenities.xml are shown.
Misc TAB : the two input elements refered by inputSet ref="common" are shown.
Hospital TAB : the input element located in file amenities.xml with category="Hospital" are shown.
No elements from the building.xml file are shown. The same if from the menu on the left,
I select the Hospital Category in the Building Group. The same TABS as before are shown
with no reference to elements from the building.xml file.
In the Hospital TAB, the only element shown is input reference Emergency treatment available.
If I select again from the menu on the left, I see that it refers to Hospital category in Amenities group.
It looks like if it is not selecting Hospital category from the Buildings Group.
regards,
Pierre Béland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/potlatch-dev/attachments/20110317/db9a5260/attachment.html>
More information about the Potlatch-dev
mailing list