[Mapserver-users] layer not drawn in utm projection

niklas wörmann nwoe at privat.utfors.se
Thu Dec 11 10:51:58 EST 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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>here it is..</DIV>
<DIV>&nbsp;</DIV>
<DIV>i set the extent etc from cgi-parameters</DIV>
<DIV>&nbsp;</DIV>
<DIV>NAME M6H2_<BR><BR>units kilometers</DIV>
<DIV>SIZE 800 600</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>IMAGETYPE swf<BR>IMAGECOLOR 255 169 191</DIV>
<DIV><BR>WEB<BR>&nbsp; TEMPLATE s6dev.html<BR>&nbsp; IMAGEPATH=20
"c:/PF/AG/apache2/htdocs/tmp/"<BR>&nbsp; IMAGEURL "/tmp/"<BR>END</DIV>
<DIV>&nbsp;</DIV>
<DIV>PROJECTION<BR>&nbsp; "proj=3Dlatlong"<BR>&nbsp; =
"ellps=3DWGS84"<BR>&nbsp;=20
"lat_0=3D0"<BR>&nbsp; "lon_0=3D0"<BR>END</DIV>
<DIV>above projection works fine,</DIV>
<DIV>but not the one below, regardless of zone</DIV>
<DIV>&nbsp;</DIV>
<DIV>PROJECTION</DIV>
<DIV>&nbsp;</DIV>
<DIV>"proj=3Dutm"<BR>"zone=3D30"<BR>&nbsp;"ellps=3DWGS84"<BR>"datum=3DWGS=
84"</DIV>
<DIV>&nbsp;</DIV>
<DIV>END</DIV>
<DIV>&nbsp;</DIV>
<DIV>this is the layer</DIV>
<DIV>LAYER <BR>PROJECTION<BR>&nbsp; "proj=3Dlatlong"<BR>&nbsp;=20
"ellps=3DWGS84"<BR>&nbsp; "lat_0=3D0"<BR>&nbsp; =
"lon_0=3D0"<BR>END<BR>&nbsp; NAME=20
baks<BR>&nbsp; DATA drainage/world_oceans_rectangle<BR>&nbsp; STATUS=20
default<BR>&nbsp; TYPE polygon<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; =
NAME=20
"muts"<BR>&nbsp;&nbsp;&nbsp; COLOR 151 169 191<BR>&nbsp; END<BR>END # =
end of=20
layer object</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>niklas woermann</DIV></BODY></HTML>

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




More information about the mapserver-users mailing list