MSAutotest WxS on windows
Normand Savard
nsavard at MAPGEARS.COM
Thu Oct 12 15:58:14 EDT 2006
Frank Warmerdam wrote:
> Folks,
>
> In the IRC meeting today I agreed to try and get the MSAutotest
> WxS tests working roughly on windows. I dug into the problems and it
> turned out the main issue was with quoting of the command lines. It
> was done like this:
>
> # RUN_PARMS: wcs_cap.xml [MAPSERV]
> QUERY_STRING='map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities'
> > [RESULT_DEVERSION]
>
> But for windows needed to use double quotes instead of single quotes:
>
> # RUN_PARMS: wcs_cap.xml [MAPSERV]
> QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCapabilities"
> > [RESULT_DEVERSION]
>
> I have applied this to all wxs/*.map files except for wfs_filter.map
> which
> includes some double quotes in the query string. This one will require
> greater care I think, likely changing the internal double quotes into
> whatever
> the proper url escape sequence for " is.
>
> I also fixed some problems with CRLF conversion. The templates were in
> DOS format but this was getting wiped in some circumstances resulting in
> comparison failures. I just "upgraded" all files to unix text
> conventions.
>
> There are still some errors, but I'll turn that over to Bart (and perhaps
> Norm or others interested) including:
> o New "version" keyword in gml3l0 output.
> o windows does expoential notation with three digits instead of two.
> o some maps now emit error comments.
>
> Best regards,
I corrected most of the problems on Windows with some help (Tom Kradilis
and Assefa). There are still some issues and/or questions. I describe
in the following paragraphs what these issues are.
Norm
wxs:
wms_sld.map
wms_get_map_multi_layers_one_sld_on_all_layers.png (line thichness
changes on Windows, MS1937)
wms_get_map_multi_layers_one_sld_on_one_layer.png (same)
wms_get_map_line_multi_symbol_text_sld.png (same)
wms_get_map_mark_symbol_sld.png (star symbols are shifted a bit on Linux
see file attached)
wms_time_pattern.map
wms_time_pattern1a.png (removed because of unsupported YYYYMMDD format
on Windows, see MS970 and MS1926)
wms_time_pattern1b.png (same)
wms_time_pattern1c.png (same)
wms_time_pattern1d.png (same)
wms_time_pattern2d.png (same)
tomk_workshop.map
wms_get_feature_info_raster.html (HTML response is different from GML,
bug MS1927)
wms_get_feature_info_raster.gml (same)
wcs_simple.map
wcs_16.tif (image is stretched a bit on Windows and Linux, it seems to
be a rounding issue. I didn't update it in CVS)
wcs_bilinear.png (same)
wfs_filter.map
There is a rounding issue for the following tests on Windows (see bug
MS1935):
result\wfs_filter_greater_than_or_equalto.xml
result\wfs_filter_isbetween.xml
result\wfs_filter_isbetween_and_not_isequalto.xml
result\wfs_filter_isequalto_or_isequalto.xml
result\wfs_filter_isequalto_or_isequalto_reverse.xml
result\wfs_filter_isgreater_than.xml
gdal
average_rgb.map (see bug MS1932)
reproj.map (see bug MS1933)
wld_upsidedown.map (see bug MS1934)
other maps: small changes so I didn't update in the CVS
misc
rfc14.map (see bug MS1936)
There are small differences (probably rounding). So I just validated
and did not update in CVS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wms_get_map_mark_symbol_sld_diff.png
Type: image/png
Size: 2976 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20061012/99434138/wms_get_map_mark_symbol_sld_diff.png
More information about the mapserver-dev
mailing list