Modify

Opened 11 years ago

Closed 11 years ago

#8254 closed enhancement (fixed)

Need a "get-capabibilty" - type bookmark for wms

Reported by: iav Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: wms bookmark Cc:

Description

Need a way to add into layers menu bookmark for a "GetCapabilities" - type wms query. Result of this query should open as a sub-menu of bookmark menu.

For example, I'd like to add bookmark for Geofabric layers http://tools.geofabrik.de/osmi/view/addresses/wxs?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities - and then chose layers draving time.

Same for local server where I place planning documents aligned with qgis and then shared with mapserver - now I need to add every new plan into bookmarks manually, and have very long menu with all my plans.

Attachments (1)

newwms.png (14.1 KB ) - added by simon04 11 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 by stoecker, 11 years ago

See also #7953.

by simon04, 11 years ago

Attachment: newwms.png added

comment:2 by simon04, 11 years ago

Work in progress … As I needed to refactor a lot of WMS/TMS code, a different, (slimmer?, cleaner?) UI for adding a new layer was little effort. I hope you like it. :-)


comment:3 by iav, 11 years ago

Yes, looks good.
Hope it will copy layer description from server in case nothing typed in name field? :)

comment:4 by stoecker, 11 years ago

Please also handle #7953. While capabilities based selection is fine I think hand-tuning <layer> is necessary as well, as we are not always allowed to use all layers. I would like to have a "sub-menu to select layers" and otherwise use default layers for WMS entries. Also <layer> could be used for "useful layer groups".

One ugly part in UI becoming better. Fine. Never liked the WMS-UI, but it was better than the previous state...

comment:5 by Don-vip, 11 years ago

Ah nice. I don't like the current UI neither and was thinking for a long time to change it. One thing I'd like to see is a live preview of the layers bounds, without having to click on the "see bounds" button. Something like the bounds preview of imagery sources in the preferences.

comment:6 by Don-vip, 11 years ago

One other thing: when a single layer is selected, prefill the name with the name given by the WMS server.

comment:7 by Don-vip, 11 years ago

Check also if it works if the user clicks twice on the "get layers" button The current behaviour is disturbing :)

in reply to:  4 comment:8 by simon04, 11 years ago

Replying to stoecker:

Please also handle #7953. While capabilities based selection is fine I think hand-tuning <layer> is necessary as well, as we are not always allowed to use all layers. I would like to have a "sub-menu to select layers" and otherwise use default layers for WMS entries. Also <layer> could be used for "useful layer groups".

On the one hand this brings some complication as each layer may have different SRSes. On the other hand I don't really see the point in this feature: naïvely I'd say that you want to either add a fully predefined background imagery (as the current WMS layers) or chose an arbitrary selection of the provided layers. Your suggested subselection could also be implemented in terms of string manipulation. I think I'll leave out this feature for now …

Last edited 11 years ago by simon04 (previous) (diff)

comment:9 by simon04, 11 years ago

In 5617/josm:

see #8254 - new imagery entry wms_endpoint: Store WMS endpoint only, select layers at usage

comment:10 by simon04, 11 years ago

This is a working implementation for the basic feature. To be done:

  • suggesting layer name
  • separate icons (now the plus is used twice in the preference dialog)
  • discuss #7953
  • live bounds preview (I personally do not consider this particularly important since I typically know in advance the region of the WMS layer I'm currently adding)
  • test/investigate: click twice on the "get layers" button

comment:11 by simon04, 11 years ago

In 5618/josm:

see #8254 - adapt maps.xsd for wms_endpoint

comment:12 by simon04, 11 years ago

In 5650/josm:

see #8254 - suggest WMS layer name based on selection

comment:13 by simon04, 11 years ago

Resolution: fixed
Status: newclosed

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.