Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#15988 closed enhancement (fixed)

WMTS, directly open used in .jos file

Reported by: Allroads Owned by: team
Priority: normal Milestone: 18.05
Component: Core imagery Version:
Keywords: wmts session Cc: wiktorn

Description (last modified by Allroads)

We have wmts layers in a list.
https://geodata.nationaalgeoregister.nl/tiles/service/wmts?request=GetCapabilities&service=WMTS

One layer is very usable as a transparent layer over aerial image.
bgtomtrekgericht, these are the outlines of the BGT polygons only.

Now every time we start JOSM we must activate this WMTS layer, by first going to the imagery menu choose this WMTS layer (2.0 NL:... etc.), then the "Select wmts layers" choose, bgtomtrekgericht, and add layer.
In JOSM you see this layer with the menu name (2.0 NL:... etc.),not with name "bgtomtrekgericht", in the name, when you choose more layers from the wmts menu, then the same name again. This is a problem by switching layers set on/off, not seeing the name of the layer.

What we want is that we can directly choose this bgtomtrekgericht layer in the imagery list and not from "select imagery layers". And that we can give this single layer his own name "bgtomtrekgericht".

Then we can we setup a .jos project file to open all the layers needed for good mapping in the Netherlands, in the layer order we want.

Now this is not possible, because of the step "Select wmts layers".

Can this be changed?


Attachments (1)

wmtslayer.PNG (75.8 KB ) - added by Allroads 6 years ago.

Download all attachments as: .zip

Change History (11)

by Allroads, 6 years ago

Attachment: wmtslayer.PNG added

comment:1 by Allroads, 6 years ago

Description: modified (diff)

comment:2 by Don-vip, 6 years ago

Keywords: wmts session added

comment:3 by Don-vip, 6 years ago

Cc: wiktorn added

@Allroads: please try with r13760+

You can now add a specific WMTS layer from imagery preferences, it should be saved across sessions too.

comment:4 by Don-vip, 6 years ago

Milestone: 18.05

comment:5 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

comment:6 by Allroads, 6 years ago

Thanks!! You all JOSM developers are on such a specific level, we (I) can only say, Thanks !!

Waited for a stable JOSM version to update.

And now we get the WMTS layer in a .jos file, this is working, great!!

In the above pic (ticket start) you see twice the same name. This is the name for the whole WMTS, each layer in this WMTS have also a name, expression what it is, I like to see this name in stead of the combined WTMS layer name.

With a WMS you can give a layer or a combination of layers, the name you want.

With a WMTS you can only choose one layer (although the confirm button says layers with a s)
When only 1 layer can be choosen, maybe it is possible to set this layer name the JOSM layers box.

I would say partly fixed. ;-)

comment:7 by wiktorn, 6 years ago

In 13879/josm:

Add layer name/title to WMTS layers when user selects layer

see: #15988

in reply to:  6 comment:8 by wiktorn, 6 years ago

Replying to Allroads:

In the above pic (ticket start) you see twice the same name. This is the name for the whole WMTS, each layer in this WMTS have also a name, expression what it is, I like to see this name in stead of the combined WTMS layer name.

With a WMS you can give a layer or a combination of layers, the name you want.

There is nothing that prevents you from changing the name in layer list - just right click and choose "Rename" from popup menu. This name should be preserved in session file

With a WMTS you can only choose one layer (although the confirm button says layers with a s)
When only 1 layer can be choosen, maybe it is possible to set this layer name the JOSM layers box.

Good point, added in [13879]. Layer title or layer name is appended to original layer name.

comment:9 by Allroads, 6 years ago

A good hint after setting up all layers in the layerbox renaming them and save it as a .jos file. Thanks.

Just a thought,............
Maybe it is possible with WMTS to give it the layername example omtrekgericht expended with the overall WMTS name, so that we know from which set this omtrekgericht is taken.

Before making a .jos file we can delete in a rename session a part of this layername if people want to do that.

Then you get;
omtrekgericht - 2.0 NL: NGR: All WMTS http

The reason why I give in the name 2.0 is that I can order all in the imagery list
1.0 are the most used important ones. So these one comes on top in the list.

(osm ok) is that I checked de layer if the license is okay for OSM.

I use also JOSM as a track designer, like Garmin Mapsource ;-)Josm editing a track is easier cutting merging etc. and making own style makes me more flexible.
Then I can use other license layers.

in reply to:  9 comment:10 by wiktorn, 6 years ago

Replying to Allroads:

Just a thought,............ (...)

I'm not sure if I understand what kind of behaviour you expect. Did you tried, how JOSM behaves after the change I commited earlier this day? My feeling is that it is what you described, but I'm not sure.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.