[Potlatch-dev] HOT Potlatch2 presets

Andy Allan gravitystorm at gmail.com
Tue Mar 15 10:45:19 GMT 2011


On Tue, Mar 15, 2011 at 2:53 AM, Pierre (PierZen)
<infosbelas-gps at yahoo.fr> wrote:

> When selecting a node or a way, and selecting a HOT Menu item on the left,
> the dialog box and name of the category listed always correspond to IDP
> Camp.

There aren't any <tag> elements defined in your files, so nothing will
work properly. You need to specify the key/value for each object, so
that it can be added when you drag+drop, and also so that it's
recognised.

All your icons have no tags defined, so when it's added to the map
it's recognised as the first feature without any tags defined (i.e.
IDP camp).

(Perhaps we should change the behaviour of P2 to simply ignore any
feature that has no tags defined.)

Also I'm rather uneasy about the definitions that I see in there, such
as multiple uses of key "Surface" (with capital) with values like
"Gravel", again with capital letters, as well as multiple sections
where the value and text are the same (and don't look to me like
normal OSM values). If you're still testing things out, please don't
use a copy of Potlatch2 accessing the live server until you have
things working properly. Use the development server at
api06.dev.openstreetmap.org instead.

Cheers,
Andy



More information about the Potlatch-dev mailing list