[Mapserver-users] How is the way correct display all the world in mapserver?

Le Ngoc Lam v0463 at n-koei.co.jp
Mon Nov 24 18:56:00 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_003F_01C3B33A.54C8D9B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear list,

I am newbie with MapServer.
I replace shape file in tutorial\example-1.map  to my world.shp file.
(It can display in ArcGIS very nice  =
http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projectionImg/=
World.jpg)
I know its projection is WGS84. I declare as:

LAYER # States polygon layer begins here
  NAME         states_polyline
  DATA         World
  STATUS       DEFAULT
  TYPE         POLYGON

  PROJECTION
    #proj=3Dlonglat=20
    #ellps=3DWGS84=20
    #datum=3DWGS84=20
    #no_defs=20
     "init=3Depsg:32632"
  END

  CLASS
    COLOR      128 0 255
  END
END # States polygon layer ends here

I don't know the value of EXTENT. Some GIS engineers suggest I should =
put something like -7745844.3 -9997964.94 8745844.3  9997964.94.
MapServer returns a funny image. Here is result =
(http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projectionImg=
/World-MapServer.jpg).
I guess something wrong with the datums WGS84 and NAD27 but I don't know =
how can I correct it.
Please help me.

Thank you.


------=_NextPart_000_003F_01C3B33A.54C8D9B0
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 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear list,</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am newbie with =
MapServer.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I replace shape file in=20
tutorial\example-1.map  to my world.shp file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(It can display in ArcGIS very =
nice  <A=20
href=3D"http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projec=
tionImg/World.jpg">http://digitalserviceinternational.hp.infoseek.co.jp/0=
0lam/projectionImg/World.jpg</A>)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I know its projection is WGS84. I =
declare=20
as:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>LAYER # States polygon layer begins =
here<BR> =20
NAME         =
states_polyline<BR> =20
DATA         World<BR> =20
STATUS       DEFAULT<BR> =20
TYPE         =
POLYGON</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>  PROJECTION</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>    <FONT =
size=3D3>#proj=3Dlonglat=20
<BR>    #ellps=3DWGS84 <BR>    =
#datum=3DWGS84=20
<BR>   =20
#no_defs </FONT><BR>     "init=3Depsg:32632=
"<BR> =20
END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>  CLASS<BR>   =20
COLOR      128 0 255<BR>  END<BR>END # =
States=20
polygon layer ends here<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I don't know the value of EXTENT. Some =
GIS=20
engineers suggest I should put </FONT><FONT face=3DArial =
size=3D2>something like=20
-7745844.3 -9997964.94 8745844.3  9997964.94.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>MapServer returns a funny image. Here =
is result (<A=20
href=3D"http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projec=
tionImg/World-MapServer.jpg">http://digitalserviceinternational.hp.infose=
ek.co.jp/00lam/projectionImg/World-MapServer.jpg</A>).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I guess something wrong with the datums =
WGS84 and=20
NAD27 but I don't know how can I correct it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Please help me.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you.</FONT></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>

------=_NextPart_000_003F_01C3B33A.54C8D9B0--




More information about the MapServer-users mailing list