No subject
Mon Oct 7 05:54:23 PDT 2024
shp2img.exe are equivalent. So am I surprised to get different results.
I am sorry but I can not give any source shape files as their content =
are confidential but if anyone think it could be helpful I can try to =
take one and remove all but one lines in it.
Thank you in advance for any idea to make the thing go on !!!
Beno=EEt
------=_NextPart_001_007A_01C86424.717C9750
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16587" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi everyone !</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to render a shapefile with =
mapserver but=20
I have some problems with the final result.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>So my shapefile contains =
points.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<HR>
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The projection used seems to =
be</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>PROJCS[<BR> "United Kingdom - ED50 =
/ TM 0 NE -=20
1311 /=20
23090",<BR> GEOGCS[<BR> "ED50_UK_1311",<BR> DA=
TUM[<BR> "D_ED50_UK_1311",<BR> SPHEROID=
[<BR> "International_1924",<BR> &=
nbsp;6378388,<BR> 297.0000000000601]<BR> &nbs=
p;],<BR> PRIMEM[<BR> "Greenwich",<BR> &n=
bsp; 0],<BR> UNIT[<BR> "Degree",<BR>&nbs=
p; 0.017453292519943295]<BR> ],<BR> PROJECTION["Tran=
sverse_Mercator"],<BR> PARAMETER["latitude_of_origin",0],<BR> P=
ARAMETER["central_meridian",0],<BR> PARAMETER["scale_factor",0.9996]=
,<BR> PARAMETER["false_easting",500000],<BR> PARAMETER["false_n=
orthing",0],<BR> UNIT["Meter",1]<BR>]</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This projection, translated in Proj4's =
format=20
should be : +proj=3Dtmerc +lat_0=3D0 +lon_0=3D0 +k=3D0.999600 =
+x_0=3D500000 +y_0=3D0=20
+ellps=3Dintl +units=3Dm +no_defs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<HR>
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Now, my map file which only contains =
one layer is=20
:</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>MAP<BR> Name"Shell"<BR> CONFIG "PROJ_LIB"=20
"c:\Inetpub\wwwroot\Cgi\proj_lib\"<BR> EXTENT 277486 5873890 691772 =
6823080</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> SIZE 512 512<BR> IMAGETYPE=20
PNG24<BR> IMAGECOLOR 255 255 255<BR> UNITS=20
METERS<BR> OUTPUTFORMAT NAME PNG24 DRIVER "GD/PNG" MIMETYPE =
"image/png"=20
EXTENSION PNG IMAGEMODE RGBA TRANSPARENT ON =
END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> PROJECTION =
"+proj=3Dtmerc=20
+lat_0=3D0 +lon_0=3D0 +k=3D0.999600 +x_0=3D500000 +y_0=3D0 +ellps=3Dintl =
+units=3Dm=20
+no_defs" END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial =
size=3D2> WEB<BR> IMAGEPATH =20
"c:\ms_tmp\"<BR> IMAGEURL "<A=20
href=3D"http://ACQUISITIONTEST/ms_tmp">http://ACQUISITIONTEST/ms_tmp</A>"=
<BR> METADATA<BR> "wms_title"=20
"Ob135_200"<BR> "wms_srs"=20
"epsg:4326"<BR> "wms_onlineresource" "<A=20
href=3D"http://ACQUISITIONTEST/WMS/Default.aspx?MapId=3D8">http://ACQUISI=
TIONTEST/WMS/Default.aspx?MapId=3D8</A>"<BR> END<BR> END<=
/FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> SYMBOL<BR> NAME=20
"quadrat"<BR> TYPE=20
VECTOR<BR> POINTS<BR> 0 =
0<BR> 0=20
1<BR> 1 1<BR> 1=20
0<BR> END<BR> FILLED =
TRUE<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> LAYER<BR> NAME=20
"Vector"<BR> TYPE POINT<BR> STATUS=20
ON<BR> CONNECTIONTYPE OGR<BR> CONNECTION=20
"C:/temp/bch/gbr_rigs.shp"<BR> PROJECTION "+proj=3Dtmerc =
+lat_0=3D0=20
+lon_0=3D0 +k=3D0.999600 +x_0=3D500000 +y_0=3D0 +ellps=3Dintl +units=3Dm =
+no_defs"=20
END<BR> DATA=20
"gbr_rigs"<BR> CLASS<BR> SYMBOL=20
"quadrat"<BR> COLOR 255 0 =
0<BR> OUTLINECOLOR 0=20
0 0 <BR> SIZE=20
6<BR> END<BR> END<BR>END</FONT></DIV><FONT face=3DArial =
size=3D2>
<DIV>
<HR>
</DIV>
<DIV> </DIV>
<DIV>Given all this, I first tried to render this with a web browser by =
writing=20
directly my request :</DIV>
<DIV><A=20
href=3D"http://acquisitiontest/CGI/bin/mapserv.exe?request=3DGetMap&m=
ap=3DC:/temp/bch/Shell.map&request=3DGetMap&layers=3DVector&s=
rs=3DEPSG:4326&version=3D1.1.1&styles">http://acquisitiontest/CGI=
/bin/mapserv.exe?request=3DGetMap&map=3DC:/temp/bch/Shell.map&req=
uest=3DGetMap&layers=3DVector&srs=3DEPSG:4326&version=3D1.1.1=
&styles</A>=3D</DIV>
<DIV>By not giving the extent nor width and height, I am expecting to =
take the=20
full bounding box of the map file as width and height. I am already =
doing this=20
for raster layers so I won't be surprised to make it work for shape =
files.</DIV>
<DIV> </DIV>
<DIV>But, unfortunately, the result remains empty whatever I =
try.</DIV>
<DIV> </DIV>
<DIV>So, I remembered to use the shp2img to make a render and there I =
have a=20
correct result.</DIV>
<DIV>From what I remember to have read on the mailing list mapserv.exe =
and=20
shp2img.exe are equivalent. So am I surprised to get different =
results.</DIV>
<DIV> </DIV>
<DIV>I am sorry but I can not give any source shape files as their =
content are=20
confidential but if anyone think it could be helpful I can try to take =
one and=20
remove all but one lines in it.</DIV>
<DIV> </DIV>
<DIV>Thank you in advance for any idea to make the thing go on !!!</DIV>
<DIV> </DIV>
<DIV>Beno=EEt</DIV></FONT></BODY></HTML>
------=_NextPart_001_007A_01C86424.717C9750--
------=_NextPart_000_0079_01C86424.71796300
Content-Type: image/png;
name="test_rendu.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="test_rendu.png"
iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAGDf+RsAAARhUlEQVR4nO3dYY/jxpmFUdZi/v9f
5n5Yz0STbbW71RSryOccIIADJ0aZ8+ryskhRY9/3rex/Zi9gNgdg9gJmO/YAjHG5QDn2AOz7OOof
NU46mMt+BM4apeE0GHfYATjrM3s0H4HZC5jNAZi9gNkcgNkLmM0BmL2A2RyA2QuYzQGYvYDZHIDZ
C5h9FelqcPYCZnMAZi9gtjkHYKHtMyE4ewGzOQCzFzDbegfg5IBc7wA83mD952C8sy5f5ywwxn7k
3ec//9jLHIA3We8jcDIHYPYCvuMdYSgDZi9gNgdg9gJmcwBmL2A2B2D2AmZzAGYvYDYHYPYCZnMA
Zi9gNgdg9gJmcwBmL+AlB+4MrX0Anv2LHvnlLFticQ7A7AXMdr0DcPC9ASE4ewGzOQCzFzCbAzB7
AR868TmhNQ/Avo+zHqN3Gpy9gNkcgNkLmM0BmL2A2RyA2QuYzQGYvYDZHIDZC5jNAZi9gNkcgNkL
mG3qAfh008OGyDl8BGYvYLZ5B2CRr9DPe3/AG74E+Yo5B+CL//JnbI07C8xewGwOwOwF/GXCmWGt
A/AQjl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+WYECADCBJ/6ZzS0AAAiy
AwAwgat9ZvMtAAAIcgsAAIL+F8J2RTGt8RF7AAAAAElFTkSuQmCC
------=_NextPart_000_0079_01C86424.71796300--
More information about the MapServer-users
mailing list