Tag Info

New answers tagged

1

It is up to the WMS server admin which formats the server is configured to support for GetFeatureInfo. Check from the GetCapabilities of the WMS server the list of supported INFO_FORMATs. Geoservers by default support geojson and GML info formats and those include also geometries with GetFeatureInfo results. You can try with the following links: ...


0

With Geoserver you might want to have a try with the CQL filters which are much easier to write than the official OGC style XML/GML filters. I took the "DISJOINT" example from the manual http://docs.geoserver.org/latest/en/user/tutorials/cql/cql_tutorial.html and converted into WFS GetFeature request with INTERSECTS filter. You can test it with the demo ...


0

Usually a request for features is done on a featureservice (WFS) - esp. when you have a more complex logic like querying features within a given polygon. The GetFeatureInfo is designed to perform a feature-query based on the mouse-position in native (meaning display-) coordinates rather the geographic (transformed) coords. But it is indeed restricted to that ...


4

You can only use a x,y (i,j) coordinate search for GetFeatureInfo requests http://docs.geoserver.org/stable/en/user/services/wms/reference.html#getfeatureinfo However, you may test for interactions with polygons (and many other geometries) using a Web Feature Service (WFS) request. E.g. ...


0

Make sure you have queryable: true in your layer config.



Top 50 recent answers are included