problem with Nad27 and NaD83 datum shift

Chris TheMapserverNewby guyincognito at GMAIL.COM
Thu Sep 30 18:56:00 EDT 2004


I am trying to project NAD27 data to NAD83.  I have downloaded the PROJ
files with NAD27/83 datum shift included and followed the directions as
detailed on the MapServer Wiki ProjHowTo (http://mapserver.gis.umn.edu/cgi-
bin/wiki.pl?WindowProjHowTo).  But, the data is not reprojecting. I have
created a test map file and data sets (see bellow) to try to isolate the
issue...but to no avail.  When I set the Map projection to NAD27(4267) the
NAD83 does not show up at all...and vice-versa.

Am I doing something wrong?  Is their another test I can run?

thanks, chris


MAP
  IMAGETYPE      PNG
  EXTENT         -118.29 33.70 -118.28 33.71
  SIZE           700 600
  SHAPEPATH      "data"
  IMAGECOLOR     255 255 255

WEB
   IMAGEPATH "c:/temp/img_tmp/"
   IMAGEURL "/img_tmp/"
END

  PROJECTION
    "init=epsg:4269"
  END

  # LAYER
  LAYER # States polygon NAD27
    NAME         states27
    DATA         nad27states
    STATUS       DEFAULT
    TYPE         POLYGON

    PROJECTION
      "init=epsg:4267"
    END

    CLASS
      COLOR        100 232 232
      OUTLINECOLOR 32 32 32
    END
  END
  # End of LAYER

  # Start of LAYER
  LAYER # States polygon NAD83
    NAME         states83
    DATA         nad83states
    STATUS       DEFAULT
    TYPE         POLYGON

    PROJECTION
      "init=epsg:4269"
    END

    CLASS
      COLOR        177 132 200
      OUTLINECOLOR 90 90 90
    END
  END
  # End of LAYER

END # end of map



More information about the mapserver-users mailing list