Comments (9)
WMS spec for version 1.3.0 states that CRS is an mandatory parameter for GetFeatureInfo Requests
from udig-platform.
Yes indeed, A GetFeatureInfo request is effectively the GetMap request (except the the request type is GetFeatureInfo) plus image (pixel) coordinates in the GetMap image for the point clicked on in the map, plus the layers to be queried, plus the information format. The issue is that the request is automatically generated by udig, so I can't add the CRS parameter manually
from udig-platform.
Hi @nmtoken ,
Can you explain the way (precisely steps) you issue the above mentioned request from within the udig application. I couldn't find a way to generate it. When I add a layer I can see only possibilities to select between a general wms request (usually targeting raster layers) and a wfs request targeting feature layers.
In the wms request the CRS is sent (checked against geoserver). On the other hand wfs request have a completely different format from the one you specify above.
from udig-platform.
Hi @nprigour, yes agree that the WMS GetMap operation does send the CRS otherwise I wouldn't get a map to click on, and to reiterate I am talking about WMS and not WFS.
Sorry haven't got UDIG on this PC but as per my screenshot, if you see the info option in the palette window on the right hand side, I'm using that info tool to do the on map selection, and it is making the malformed GetFeatureInfo request.
from udig-platform.
OK @nmtoken that makes things more clear,
I tried to perform the steps as mentioned above using a geoserver 2.13 wms service . Indeed it seems that the request sent does not include CRS info. However information about the feature clicked is correctly returned to the info view. Of course it is possible that geoserver is less restrictive regarding the actual information needed during a getFeatureInfo request. Is it possible to provide some more information regarding the type of wms server you communicate with and if there is a way to access it for testing?
from udig-platform.
ESPG:4326 has lat/long axis ordering, however some versions of mapserver have this inverted, see https://mapserver.org/ogc/wms_server.html#wms-1-3-0-support
Looking at the capabilities document can be helpful
from udig-platform.
@mprins MapServer is working correctly because the GetMap operation is generating the correct map, the issue is with the GetFeatureInfo operation. MapServer version used here is 7.2.0 so https://mapserver.org/ogc/wms_server.html#wms-1-3-0-support is not an issue
from udig-platform.
@nprigour I'm using MapServer. The issue is with UDIG not following the WMS standard, not with the server. GeoServer has an option Strict CITE compliance do you have that enabled in your test service? When I do a GetFeatureInfo request on GeoServer with Strict CITE compliance set I don't get a result if I omit the CRS.
from udig-platform.
fixed with milestone 2.1.0
from udig-platform.
Related Issues (20)
- Context menu in Catalog view differs across entries
- Add-to-active-Map action of view Catalog is not working as expected
- OSM Spatial Toolbox with JGrassTools 0.7.3 are incompatible HOT 2
- Issue compiling uDIg in Eclipse IDE with classpath configuration in module catalog.test
- GitHub action build is failing due to the SpotBugs plugin HOT 3
- Maven profile "coverage" is not working anymore
- provide jfree.eastwood from jfreechart bundle rather than udig.libs bundle HOT 1
- properties layer & wms layer IllegalArgumentException while trying to add WMS-Layer HOT 2
- Exception in Log while opening Properties with right mouse in LayersView
- [Flaky] OnProjectDropActionTest.testPerformAddResource fails sometimes
- Add Data Wizard throws NullPointerException opening File page
- Image Mosaic Tool doesn't show any information
- Add Data Workflow "back" button causes Exception HOT 1
- Replace sys.out by logger HOT 1
- Provide common way for logging
- Possible flaky test AddGeomCommandTest.testRun
- Invocation of java.net.URL.equals(Object), which blocks to do domain name resolution
- uses a map or set of URLs, which can be a performance hog
- Review FilteredTree and FilteredComboTree in org.locationtech.udig.style.sld
- NullPointerException in ShpGeoResourceInfo while executing search in SearchView HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from udig-platform.