[Mapserver-users] layer not drawn in utm projection

niklas wörmann nwoe at privat.utfors.se
Thu Dec 11 07:51:58 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_00A4_01C3C007.178EE290
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi!
i doubt that the map file has a great deal to do with it,


here it is..

i set the extent etc from cgi-parameters

NAME M6H2_

units kilometers
SIZE 800 600


SHAPEPATH "c:/PF/AG/apache2/htdocs/ms/data"
FONTSET "c:/PF/AG/apache2/htdocs/ms/fonts/fonts.list"
SYMBOLSET "c:/PF/AG/apache2/htdocs/ms/symbols/symbols35.sym"

IMAGETYPE swf
IMAGECOLOR 255 169 191

WEB
  TEMPLATE s6dev.html
  IMAGEPATH "c:/PF/AG/apache2/htdocs/tmp/"
  IMAGEURL "/tmp/"
END

PROJECTION
  "proj=3Dlatlong"
  "ellps=3DWGS84"
  "lat_0=3D0"
  "lon_0=3D0"
END
above projection works fine,
but not the one below, regardless of zone

PROJECTION

"proj=3Dutm"
"zone=3D30"
 "ellps=3DWGS84"
"datum=3DWGS84"

END

this is the layer
LAYER=20
PROJECTION
  "proj=3Dlatlong"
  "ellps=3DWGS84"
  "lat_0=3D0"
  "lon_0=3D0"
END
  NAME baks
  DATA drainage/world_oceans_rectangle
  STATUS default
  TYPE polygon
  CLASS
    NAME "muts"
    COLOR 151 169 191
  END
END # end of layer object

it really is strange, i will check to see if i can get it not to draw =
using some other projections

niklas woermann
------=_NextPart_000_00A4_01C3C007.178EE290
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.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style=3D"MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px"=20
bgColor=3D#ffffff>
<DIV>Hi!</DIV>
<DIV>i doubt that the map file has a great deal to do with it,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>here it is..</DIV>
<DIV> </DIV>
<DIV>i set the extent etc from cgi-parameters</DIV>
<DIV> </DIV>
<DIV>NAME M6H2_<BR><BR>units kilometers</DIV>
<DIV>SIZE 800 600</DIV>
<DIV> </DIV>
<DIV><BR>SHAPEPATH "c:/PF/AG/apache2/htdocs/ms/data"<BR>FONTSET=20
"c:/PF/AG/apache2/htdocs/ms/fonts/fonts.list"<BR>SYMBOLSET=20
"c:/PF/AG/apache2/htdocs/ms/symbols/symbols35.sym"</DIV>
<DIV> </DIV>
<DIV>IMAGETYPE swf<BR>IMAGECOLOR 255 169 191</DIV>
<DIV><BR>WEB<BR>  TEMPLATE s6dev.html<BR>  IMAGEPATH=20
"c:/PF/AG/apache2/htdocs/tmp/"<BR>  IMAGEURL "/tmp/"<BR>END</DIV>
<DIV> </DIV>
<DIV>PROJECTION<BR>  "proj=3Dlatlong"<BR>  =
"ellps=3DWGS84"<BR> =20
"lat_0=3D0"<BR>  "lon_0=3D0"<BR>END</DIV>
<DIV>above projection works fine,</DIV>
<DIV>but not the one below, regardless of zone</DIV>
<DIV> </DIV>
<DIV>PROJECTION</DIV>
<DIV> </DIV>
<DIV>"proj=3Dutm"<BR>"zone=3D30"<BR> "ellps=3DWGS84"<BR>"datum=3DWGS=
84"</DIV>
<DIV> </DIV>
<DIV>END</DIV>
<DIV> </DIV>
<DIV>this is the layer</DIV>
<DIV>LAYER <BR>PROJECTION<BR>  "proj=3Dlatlong"<BR> =20
"ellps=3DWGS84"<BR>  "lat_0=3D0"<BR>  =
"lon_0=3D0"<BR>END<BR>  NAME=20
baks<BR>  DATA drainage/world_oceans_rectangle<BR>  STATUS=20
default<BR>  TYPE polygon<BR>  CLASS<BR>    =
NAME=20
"muts"<BR>    COLOR 151 169 191<BR>  END<BR>END # =
end of=20
layer object</DIV>
<DIV> </DIV>
<DIV>it really is strange, i will check to see if i can get it not to =
draw using=20
some other projections</DIV>
<DIV> </DIV>
<DIV>niklas woermann</DIV></BODY></HTML>

------=_NextPart_000_00A4_01C3C007.178EE290--




More information about the MapServer-users mailing list