Ticket #2552 (new defect)
PROJECTION block requirements for OWS support
|Reported by:||tomkralidis||Owned by:||dmorissette|
|Component:||WMS Server||Version:||svn-trunk (development)|
|Cc:||dmorissette, sdlime, warmerdam, assefa, bartvde@…, jmckenna|
This originated from #2538, comment 6:
I have established that the request reprojection does not work because the layer lacks a PROJECTION block defining it's coordinate system.
If I add:
PROJECTION "+init=epsg:26915" END
to the layer things work right.
So fundamentally I think the issue with this ticket is that WCS (and possibly other services) need to recognise the map lacks key information and refuse to operate with some sort of explanatory exception.
Alternatively we could try to derive some rules like defaulting layer and/or map projection objects based on stuff like ows_srs.
I don't have any strong opinions, so I don't plan on further work on this issue pending a clear resolution.
The issue here is that we should enforce some sort of projection checking before proceeding with any OWS Server type operation. Perhaps:
if (! LAYER/PROJECTION) if (! MAP/PROJECTION) throw ExceptionReport saying for mapfile to set PROJECTION, etc.