[mapserver-users] Inversed lat/long in WMS 1.3.0 GetCapabilties

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Jul 26 11:26:46 PDT 2018


Hey Louis-Philippe!

What kind of an error are you receiving through your mapfile?  Maybe 
execute a shp2img commandline request and paste the error here.  You can 
also paste your mapfile layer here (but take care to not paste code or 
mapfile snippets ever into your email, as likely it will be rejected 
automatically through the mailing list, instead paste your code into 
https://pastebin.com/ and include that link in your response.   thanks!


-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/



On 2018-07-26 3:18 PM, Rousseau Lambert2, Louis-Philippe (EC) wrote:
> Hi everyone!
> 
> Just found something strange in the WMS GetCapabilties.
> 
> With a GetCapabilities requets version 1.3.0, the Bounding box values 
> looks to be inversed:
> 
>   * geo.weather.gc.ca/geomet?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&LAYER=GDPS.ETA_TT
> 
>       o <EX_GeographicBoundingBox><westBoundLongitude>-180</westBoundLongitude><eastBoundLongitude>180</eastBoundLongitude><southBoundLatitude>-90</southBoundLatitude><northBoundLatitude>90</northBoundLatitude></EX_GeographicBoundingBox><BoundingBox
>         CRS="EPSG:4326" minx="-90" miny="-180" maxx="90" maxy="180"/> 
> 
> While for the 1.1.1 version it looks fine.
> 
>   * geo.weather.gc.ca/geomet?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities&LAYER=GDPS.ETA_TT
> 
>       o <LatLonBoundingBox minx="-180" miny="-90" maxx="180"
>         maxy="90"/><BoundingBox SRS="EPSG:4326" minx="-180" miny="-90"
>         maxx="180" maxy="90"/> 
> 
> I'm using MapServer 7.0.7
> 
> in my mapfile, the extent is defined as:  EXTENT -180 -90 180 90 in 
> EPSG:4326, which should be the right way according to the doc: EXTENT 
> [minx] [miny] [maxx] [maxy]
> 
> Thanks
> 
> LP
> 
> 
> 



More information about the MapServer-users mailing list