Modify

Opened 3 years ago

Last modified 3 years ago

#20283 new enhancement

Add support for GetFeatureInfo WMS functionality

Reported by: *Martin* Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: WMS feature info Cc:

Description (last modified by *Martin*)

WMS servers may provide GetFeatureInfo functionality which is basically querying for various properties of a map object by selected coordinates. It would be very useful if JOSM would have it. It could be done by right-clicking on the WMS map layer and selecting "Get WMS Feature Info" from context menu. Result could be displayed in the tabular form, or in HTML view.

Attachments (0)

Change History (12)

comment:1 by *Martin*, 3 years ago

Description: modified (diff)

comment:2 by *Martin*, 3 years ago

Summary: Add support of GetFeatureInfo WMS functionalityAdd support for GetFeatureInfo WMS functionality

comment:3 by skyper, 3 years ago

Keywords: WMS feature info added

comment:4 by Don-vip, 3 years ago

Owner: changed from team to *Martin*
Status: newneedinfo

We need to know a public WMS server that implements this functionality if ever we want to support it.

comment:9 by *Martin*, 3 years ago

But I don't know if they are legal sources for OSM

I provided them only as samples for developiong this feature in JOSM and not for OSM mapping.

comment:10 by mdk, 3 years ago

I think request=GetCapabilities&service=WMS is a standard functionality for all WMS servers.

comment:11 by mdk, 3 years ago

Perhaps it would make sense to create a tool (or unit test) which compares the GetCapabilities results from WMS servers with the Maps entries like ImageryCompare is comparing these data with ELI.

comment:12 by Don-vip, 3 years ago

Owner: changed from *Martin* to team
Status: needinfonew

@mdk I was just asking for a GetFeatureInfo example. Of course all WMS servers have to support GetCapabilities, that's how WMS works. The first link gave me what I needed:

<GetFeatureInfo>
  <Format>application/vnd.esri.wms_raw_xml</Format>
  <Format>application/vnd.esri.wms_featureinfo_xml</Format>
  <Format>application/vnd.ogc.wms_xml</Format>
  <Format>application/geojson</Format>
  <Format>text/xml</Format>
  <Format>text/html</Format>
  <Format>text/plain</Format>
  <DCPType>
    <HTTP>
      <Get>
        <OnlineResource xlink:type="simple" xlink:href="https://zbgisws.skgeodesy.sk/zbgis_vodstvo_wms_featureinfo/service.svc/get?"/>
      </Get>
    </HTTP>
  </DCPType>
</GetFeatureInfo>

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to *Martin*.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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