2009/10/4 Martin Koppenhoefer <dieterdre...@gmail.com>:
> 2009/10/4 André Riedel <riedel.an...@gmail.com>:
>> 2009/10/4 Martin Koppenhoefer <dieterdre...@gmail.com>:
>>> there is also these 2 empty layers (czech hiking and another useless
>>> data one) that clutter the layer-section for some time now.
>>
>> That is not a JOSM-Problem. If you don't want to use the
>> Routes-Plugin, you have to remove it.
>
> or maybe the layers could be created just when needed? What's the
> point of having 2 empty layers as long as they are unused?

With these layers you could highlight the hiking or bicycling routes.
Or if you change the routes.xml in your josm/plugin/routes directory,
many things more. There are different layers for different types of
information. Since hiking and cycling can be on one way, you could
switch off one these.

They are there since loading the data-layer, because if you add a
hiking route it will be shown   immediately. Because you never used it
before, there are to ways to go on: deinstall the plugin or have a
look at your routes.xml.

Here is an example. And as much layers you define as much layers will
be created in JOSM. So define your personal search pattern and have
fun.

<?xml version="1.0" encoding="UTF-8"?>
<routes xmlns="http://www.example.org/routes";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.example.org/routes routes.xsd ">
<!-- pattern is the same pattern as used in SearchAction -->
        <layer name="Hiking">
                <route color="#00FF00">
                        <pattern>
                        (type:relation type=route (route=hiking | route=foot))
                        </pattern>
                </route>
        </layer>
</routes>

Ciao André

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to