Open tbonfort opened 12 years ago
Author: nsavard@mapgears.com Date: 2006/09/26 - 21:33
MapServer configuration on Windows:
version = MapServer version 4.10.0-beta3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPU
T=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG
INPUT=SDE INPUT=POSTGIS INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
DEBUG=MSDEBUG
MapServer configuration on Linux:
version = MapServer version 4.10.0-beta3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Author: nsavard@mapgears.com Date: 2006/09/27 - 15:16
The simple way to reproduce this is to execute the following command:
shp2img -m tomk_workshop.map -o map.png
Author: nsavard@mapgears.com Date: 2006/09/27 - 19:08
Could you have a look at this bug Tom?
Author: tomkralidis Date: 2006/09/27 - 21:40
Normand: can you contact me offline via email to help me checkout msautotest?
I'll take a look at things
Author: nsavard@mapgears.com Date: 2006/10/04 - 20:27
Tom's answer:
The problem is the TIFF image in
msautotest/wxs/data/land_shallow_topo_2048.tif.
The accompanying .wld file is defined for an image of 2048 x 1024. The
image in the CVS is 512 x 256.
So, there are two options you can take:
1./ fetch the actual (2048 * 1024) image from the MS OGC Web Services
workshop from http://ms-ogc-workshop.maptools.org/, remove the old image
and replace it with the large one
OR
2./ the image may have been shrunk in the interest of size. Because
it's cut down by a factor of 4, multiplying the x/y coords in the .wld
file will render the image correctly.
I have tested with the following .wld file:
0.703125
0.0
0.0
-0.703125
-180
90
And all works fine.
Author: nsavard@mapgears.com Date: 2006/10/04 - 20:29
I will go for option 2. Fixed in CVS.
Frank's comment:
Guys,
Thanks for taking this option. It is my intention that the msautotest
datasets be pretty small. Dealing with FDO (part of MapGuide) and it's
enourmous test datasets in source control has once again convinced me
that keeping test datasets smallish is valuable!
Reporter: nsavard@mapgears.com Date: 2006/09/26 - 21:24