Modify

Opened 2 months ago

Last modified 8 weeks 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 Changed 2 months ago by *Martin*

Description: modified (diff)

comment:2 Changed 2 months ago by *Martin*

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

comment:3 Changed 2 months ago by skyper

Keywords: WMS feature info added

comment:4 Changed 2 months ago by Don-vip

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:7 Changed 2 months ago by martin.zdila@…

comment:9 Changed 2 months ago by martin.zdila@…

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 Changed 2 months ago by mdk

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

comment:11 Changed 2 months ago by mdk

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 Changed 8 weeks ago by Don-vip

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.
to The owner will be changed from team to the specified user.
The owner will change to *Martin*
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.