Hi, can you share your code? It would be useful to see how you set up the `trail_riding_station` preset.
The “Tourism” field will appear in the sidebar because that field has been set up recently as a “universal” field that defaults to “attraction" see: https://github.com/openstreetmap/iD/blob/aa34a055f6e83667899a24ad329d97c883b6a632/data/presets/fields/tourism_attraction.json#L5 <https://github.com/openstreetmap/iD/blob/aa34a055f6e83667899a24ad329d97c883b6a632/data/presets/fields/tourism_attraction.json#L5> closes this issue: https://github.com/openstreetmap/iD/issues/4323 <https://github.com/openstreetmap/iD/issues/4323> This means that, - if `tourism=*` has a value, it will be shown in the sidebar fields list below other things - if the user chooses `Tourism` from the “add field” dropdown, the tag will be added with the value `tourism=attraction` - it works somewhat like `address`, `phone`, `wheelchair`, and other fields that can be added to anything Hope this helps, Bryan > On Feb 10, 2018, at 4:09 AM, NopMap <ekkeh...@gmx.de > <mailto:ekkeh...@gmx.de>> wrote: > > Hi, > > I have been trying to add a missing preset to id, for > tourism=trail_riding_station. > It is defined with "fields": [ "name", "address", "phone", "website", > "description" ] > > There are two problems: > > 1. below the expected fields, there is an additional field appearing > "tourism = attraction", which does not make any sense. It is not referenced > in the preset and there is no tag for "attraction" on the node. > > 2. The special input area for address remains empty. In the HTML the section > is just empty: <div class="preset-input-wrap"></div>. I have not made any > modifications to the address preset or code. Does this special input section > need additional dependencies? > > The same problems also occur with the unmodified standard preset for > tourism=hotel. > > I use a fork of ID 2.6.1 locally with XAMPP. Do those problems sound > familiar? > > bye, Nop > > > > > -- > Sent from: http://gis.19327.n8.nabble.com/Developer-Discussion-f5233107.html > <http://gis.19327.n8.nabble.com/Developer-Discussion-f5233107.html> > > _______________________________________________ > dev mailing list > dev@openstreetmap.org <mailto:dev@openstreetmap.org> > https://lists.openstreetmap.org/listinfo/dev > <https://lists.openstreetmap.org/listinfo/dev>
_______________________________________________ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev