geographic coordinates don't work

Ethan Alpert ealpert at DIGITALGLOBE.COM
Fri Jun 24 08:21:40 PDT 2005


Maybe the formatting didn't work when you pasted but it looks like your
PROJECTION block for you map has it's END commented out.

You may also what to add:

UNITS DD 

Where you have EXTENT.


-e

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Donlad Harter
Sent: Thursday, June 23, 2005 5:06 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] geographic coordinates don't work


I would like to use geographic coordinates for my main window. My only 
layer is georeferenced DRG which uses the UTM projection.   It doesn't 
work.  If I change it and the extents to UTM it does.  How can I use 
geographic coordinates?  I have also noticed that my map file won't work

with the layer status "on".  It has to be "default"
Here is most of my map file.:


MAP
 NAME           test3
 IMAGETYPE      png
 #EXTENT        578853 3857452.040  592267.160 3875770.440
  EXTENT        -86.125 34.875 -86 35  SIZE           1000 600
 SHAPEPATH      "/var/www/html/data/topo"
 SYMBOLSET      "tutorial/symbols/symbols35.sym"
 FONTSET        "tutorial/fonts/fonts.list"

 WEB
   TEMPLATE  'test3_template.html'
   IMAGEPATH '/var/www/html/tmp/'
   IMAGEURL  '/tmp/'
   MINSCALE 10000
   MAXSCALE 250000
 END

   PROJECTION
   "proj=latlong"
#    "proj=utm"
   "ellps=clrk66"
#    "zone=16"
#    "north"       END
 # Start of LAYER DEFINITIONS
---------------------------------------------

 LAYER # raster layer begins here
   NAME         N_AL
   STATUS    DEFAULT       TILEINDEX "al_index.shp"
   TILEITEM "Location"
   TYPE RASTER

   SIZEUNITS    meters
    PROJECTION
    "proj=utm"
    "ellps=clrk66"
    "zone=16"
    "north"       END
 END #  raster layer ends here


# End of LAYER DEFINITIONS -------------------------------



More information about the MapServer-users mailing list