[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 19:20:26 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C3B33D.BE91F7C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Sorry, I was wrong copy.

  PROJECTION
    #proj=3Dlonglat=20
    #ellps=3DWGS84=20
    #datum=3DWGS84=20
    #no_defs=20
     "init=3Depsg:4326"
  END
  ----- Original Message -----=20
  From: Le Ngoc Lam=20
  To: mapserver-users at lists.gis.umn.edu=20
  Sent: Tuesday, November 25, 2003 9:56 AM
  Subject: [Mapserver-users] How is the way correct display all the =
world in mapserver?


  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_0008_01C3B33D.BE91F7C0
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>Sorry, I was wrong copy.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<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:4326"=
<BR> =20
END</FONT></DIV></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dv0463 at n-koei.co.jp href=3D"mailto:v0463 at n-koei.co.jp">Le =
Ngoc Lam</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  title=3Dmapserver-users at lists.gis.umn.edu=20
  =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, November 25, =
2003 9:56=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] How =
is the way=20
  correct display all the world in mapserver?</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
  face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT =
face=3DArial=20
  size=3D2></FONT><FONT face=3DArial size=3D2></FONT><BR></DIV>
  <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=20
  here<BR>  NAME        =20
  states_polyline<BR>  =
DATA        =20
  World<BR>  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=20
  (<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></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0008_01C3B33D.BE91F7C0--




More information about the MapServer-users mailing list