<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=604074317-21062005><FONT face=Arial color=#0000ff size=2>Do you
pass the layer name in the URL (&layers=<FONT color=#000000><FONT
face="Courier New">world_eca)</FONT></FONT>? The status of your layer is ON this
means it's only displayed if requested. Change it to DEFAULT if you want it
displayed regardless of whether you ask for it. The only other thing I notice is
that you pass Decimal Degrees Extents but say the UNITS are METERS in your
mapfile. I'm sure this is being interpreted wrong. Do a shpdump on the shapfile
and use the "File Bounds" listed as your extents.</FONT></SPAN></DIV>
<DIV><SPAN class=604074317-21062005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=604074317-21062005><FONT face=Arial color=#0000ff
size=2>-e</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Hoeven,
Maarten van der<BR><B>Sent:</B> Tuesday, June 21, 2005 5:50 AM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] Trouble
with displaying projected shapefile<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Dear list,</FONT> </P>
<P><FONT face=Arial size=2>I have a shape file, world_eca, projected in "north
pole stereographic". Below are the projection specifications.</FONT> </P>
<P><FONT face=Arial size=2>I added the shape file in the map, but I do not
manage to display it in mapserver. Is there something obvious I am doing
wrong?</FONT></P>
<P><FONT face=Arial size=2>An "echo $gpoMap->getProjection()" reveals
"+proj=stere +lat_ts=90 +lat_0=90 +lon_0=0 +k_0=1 +x_0=0 +y_0=0"</FONT> </P>
<P><FONT face=Arial size=2>Regards,</FONT> <BR><FONT face=Arial size=2>Maarten
van der Hoeven</FONT> </P>
<P><FONT face=Arial size=2>--- projection specs ---</FONT> <BR><FONT
face=Arial size=2>PROJCS["North_Pole_Stereographic",</FONT> <BR><FONT
face=Arial size=2>GEOGCS["GCS_WGS_1984",</FONT> <BR><FONT face=Arial
size=2>DATUM["D_WGS_1984",</FONT> <BR><FONT face=Arial
size=2>SPHEROID["WGS_1984",6378137.0,298.257223563]],</FONT> <BR><FONT
face=Arial size=2>PRIMEM["Greenwich",0.0],</FONT> <BR><FONT face=Arial
size=2>UNIT["Degree",0.0174532925199433]],</FONT> <BR><FONT face=Arial
size=2>PROJECTION["Stereographic"],</FONT> <BR><FONT face=Arial
size=2>PARAMETER["False_Easting",0.0],</FONT> <BR><FONT face=Arial
size=2>PARAMETER["False_Northing",0.0],</FONT> <BR><FONT face=Arial
size=2>PARAMETER["Central_Meridian",0.0],</FONT> <BR><FONT face=Arial
size=2>PARAMETER["Scale_Factor",1.0],</FONT> <BR><FONT face=Arial
size=2>PARAMETER["Latitude_Of_Origin",90.0],</FONT> <BR><FONT face=Arial
size=2>UNIT["Meter",1.0]]</FONT> </P>
<P><FONT face=Arial size=2>--- map file ---</FONT> <BR><FONT
face="Courier New" size=2>#</FONT> <BR><FONT face="Courier New" size=2># Start
of map file</FONT> <BR><FONT face="Courier New" size=2>#</FONT> <BR><FONT
face="Courier New" size=2>NAME ECAD</FONT> <BR><FONT face="Courier New"
size=2>STATUS ON</FONT> <BR><FONT face="Courier New" size=2>SIZE 400
300</FONT> <BR><FONT face="Courier New" size=2>SYMBOLSET
../etc/symbols.sym</FONT> <BR><FONT face="Courier New" size=2>EXTENT -90 0 90
90</FONT> <BR><FONT face="Courier New" size=2>UNITS meters</FONT> <BR><FONT
face="Courier New" size=2>SHAPEPATH "../data"</FONT> <BR><FONT
face="Courier New" size=2>IMAGECOLOR 255 255 255</FONT> <BR><FONT
face="Courier New" size=2>FONTSET ../etc/fonts.txt</FONT> </P>
<P><FONT face="Courier New" size=2>PROJECTION</FONT> <BR><FONT
face="Courier New" size=2> "+proj=stere"</FONT> <BR><FONT
face="Courier New" size=2> "+lat_ts=90" </FONT><BR><FONT
face="Courier New" size=2> "+lat_0=90"</FONT> <BR><FONT
face="Courier New" size=2> "+lon_0=0"</FONT> <BR><FONT
face="Courier New" size=2> "+k_0=1"</FONT> <BR><FONT
face="Courier New" size=2> "+x_0=0"</FONT> <BR><FONT
face="Courier New" size=2> "+y_0=0"</FONT> <BR><FONT
face="Courier New" size=2>END</FONT> </P>
<P><FONT face="Courier New" size=2>QUERYMAP</FONT> <BR><FONT
face="Courier New" size=2> STATUS ON</FONT> <BR><FONT face="Courier New"
size=2> STYLE SELECTED</FONT> <BR><FONT face="Courier New" size=2>
COLOR 255 0 0</FONT> <BR><FONT face="Courier New" size=2>END</FONT> </P>
<P><FONT face="Courier New" size=2>WEB</FONT> <BR><FONT face="Courier New"
size=2> MINSCALE 2000</FONT> <BR><FONT face="Courier New" size=2>
MAXSCALE 50000000</FONT> <BR><FONT face="Courier New" size=2> IMAGEPATH
"/webdata/ecad/htdocs/tmp/" </FONT><BR><FONT face="Courier New" size=2>
IMAGEURL "/tmp/"</FONT> <BR><FONT face="Courier New" size=2> LOG
/tmp/gmap.log</FONT> <BR><FONT face="Courier New" size=2>END</FONT> </P>
<P><FONT face="Courier New" size=2>REFERENCE</FONT> <BR><FONT
face="Courier New" size=2> IMAGE images/keymap.png</FONT>
<BR><FONT face="Courier New" size=2> EXTENT -2200000 -712631
3072800 3840000</FONT> <BR><FONT face="Courier New" size=2> STATUS
ON</FONT> <BR><FONT face="Courier New" size=2> COLOR -1 -1 -1</FONT>
<BR><FONT face="Courier New" size=2> OUTLINECOLOR 255 0 0</FONT>
<BR><FONT face="Courier New" size=2> SIZE 120
90 </FONT><BR><FONT face="Courier New"
size=2>END</FONT> </P>
<P><FONT face="Courier New" size=2>LEGEND</FONT> <BR><FONT face="Courier New"
size=2> KEYSIZE 18 12</FONT> <BR><FONT face="Courier New" size=2>
LABEL</FONT> <BR><FONT face="Courier New" size=2> TYPE
BITMAP</FONT> <BR><FONT face="Courier New" size=2> SIZE
MEDIUM</FONT> <BR><FONT face="Courier New" size=2> COLOR 0 0
89</FONT> <BR><FONT face="Courier New" size=2> END</FONT> <BR><FONT
face="Courier New" size=2> STATUS ON</FONT> <BR><FONT face="Courier New"
size=2>END</FONT> </P>
<P><FONT face="Courier New" size=2>SCALEBAR</FONT> <BR><FONT
face="Courier New" size=2> IMAGECOLOR 255 255 255</FONT> <BR><FONT
face="Courier New" size=2> LABEL</FONT> <BR><FONT face="Courier New"
size=2> COLOR 0 0 0 </FONT><BR><FONT face="Courier New"
size=2> SIZE SMALL</FONT> <BR><FONT face="Courier New"
size=2> END</FONT> <BR><FONT face="Courier New" size=2> SIZE 350
5</FONT> <BR><FONT face="Courier New" size=2> COLOR 255 255 255</FONT>
<BR><FONT face="Courier New" size=2> BACKGROUNDCOLOR 255 0 0</FONT>
<BR><FONT face="Courier New" size=2> OUTLINECOLOR 0 0 0</FONT> <BR><FONT
face="Courier New" size=2> UNITS kilometers</FONT> <BR><FONT
face="Courier New" size=2> INTERVALS 10</FONT> <BR><FONT
face="Courier New" size=2> STATUS ON</FONT> <BR><FONT face="Courier New"
size=2>END</FONT> </P>
<P><FONT face="Courier New" size=2>LAYER</FONT> <BR><FONT face="Courier New"
size=2> NAME world_eca</FONT> <BR><FONT face="Courier New"
size=2>PROJECTION</FONT> <BR><FONT face="Courier New"
size=2> "+proj=stere"</FONT> <BR><FONT face="Courier New"
size=2> "+lat_ts=90" </FONT><BR><FONT face="Courier New"
size=2> "+lat_0=90"</FONT> <BR><FONT face="Courier New"
size=2> "+lon_0=0"</FONT> <BR><FONT face="Courier New"
size=2> "+k_0=1"</FONT> <BR><FONT face="Courier New"
size=2> "+x_0=0"</FONT> <BR><FONT face="Courier New"
size=2> "+y_0=0"</FONT> <BR><FONT face="Courier New"
size=2>END</FONT> <BR><FONT face="Courier New" size=2> TYPE
POLYGON</FONT> <BR><FONT face="Courier New" size=2> STATUS ON</FONT>
<BR><FONT face="Courier New" size=2> DATA world_eca</FONT> <BR><FONT
face="Courier New" size=2> CLASS</FONT> <BR><FONT face="Courier New"
size=2> STYLE
</FONT><BR> <FONT face="Courier New"
size=2>OUTLINECOLOR 100 100 100</FONT>
<BR> <FONT face="Courier New"
size=2>COLOR 191 209 255</FONT> <BR><FONT face="Courier New"
size=2> END</FONT> <BR><FONT face="Courier New"
size=2> END</FONT> <BR><FONT face="Courier New" size=2>END</FONT>
<BR><FONT face="Courier New" size=2>END # Map File</FONT> </P><BR><BR><BR><BR>
<P><FONT face=Arial size=2>Drs. Maarten van der Hoeven</FONT> <BR><FONT
face=Arial size=2>ECA&D Project</FONT> <BR><FONT face=Arial size=2>PO Box
201</FONT> <BR><FONT face=Arial size=2>3730 AE De Bilt</FONT> <BR><FONT
face=Arial size=2>The Netherlands</FONT> <BR><FONT face=Arial size=2>Phone:
+31-30-2206 402</FONT> <BR><FONT face=Arial size=2>Fax: +31-30-2204 614</FONT>
<BR><FONT face=Arial size=2>Email: hoevenvd@knmi.nl (personal)</FONT>
<BR><FONT face=Arial size=2>Email: eca@knmi.nl (project)</FONT> <BR><FONT
face=Arial size=2>Website: </FONT><A href="http://eca.knmi.nl"><U><FONT
face=Arial color=#0000ff size=2>http://eca.knmi.nl</FONT></U></A>
</P><BR><BR></BLOCKQUOTE></BODY></HTML>