[Mapserver-dev] non-square pixels and WMS (OGC CITE test)

Bart van den Eijnden bartvde at xs4all.nl
Sat Jun 19 09:53:18 EDT 2004


Hi,

did anyone try this already against the OGC CITE test suite? Does this 
mean Mapserver is passing all 83 tests now?

Is there a MAP file available to use with the OGC CITE test suite data?

Best regards,
Bart

On Mon, 14 Jun 2004 13:45:16 -0400, Frank Warmerdam <warmerdam at pobox.com> 
wrote:

> Folks,
>
> I have committed preliminary support for non-square pixels for use in WMS
> mode.  It is enabled by adding "CONFIG MS_NONSQUARE YES" in the main map
> configuration section.  It has the following affect:
>
>   o Avoid calling msAdjustExtent() in msDrawMap().
>   o Set map->cellsize to be the average of the x and y cellsize.
>   o Turns on use of geotrasnform (sets map->gt.need_geotransform to 
> TRUE),
>     but only if the x and y pixelsize differ.
>
> So, it suffers from all the side-effects of my existing rotation hackery,
> plus the scale may be inaccurate.
>
> I anticipate adding a new keyword to the mapfile to control this ability
> at some point in the future ... suggestions are welcome.  I am using the
> CONFIG keyword for now mainly so we can test the capability before we 
> have
> hashed out all details.
>
> So, anyone who wants to have a WMS that can response to non-square pixel
> requests, grab the latest 4.3 from CVS and try it out.
>
> Note, there is also a test for this logic in 
> msautotest/gdal/nonsquare.map.
>
> Best regards,



-- 
  



More information about the mapserver-dev mailing list