projection trouble - Michigan GeoRef

Dylan Keon keon at NACSE.ORG
Mon Aug 16 12:07:33 EDT 2004


Hi,

I'm trying to use a layer that's projected in the "Michigan GeoRef"
projection, but I can't get it to line up with other data.  I'm using
the projection parameters provided by the state of Michigan
(http://www.michigan.gov/documents/DNR_Map_Proj_and_MI_Georef_Info_20889_7.pdf).

Here's what I get when trying to line up a Michigan layer (GeoRef
projection) with a national 24k quad index (geographic), putting
everything into geographic for now:

    http://gis.nacse.org/mstemp/109267161738211.png

I haven't found examples of this online, and wonder if I messed up a
PROJ definition or something.  Thanks for any help.  Mapfile is below.

--Dylan


NAME 'test'
SIZE 640 480
STATUS ON
EXTENT -126 34 -66 46
UNITS DD

IMAGETYPE png

WEB
   IMAGEPATH '/www/temp/'
   IMAGEURL '/temp/'
END

PROJECTION
   'init=epsg:4326' #latlon
END

LAYER
   NAME 'quad_index'
   DATA '/gis/data/us/24kgrid.shp'
   STATUS DEFAULT
   TYPE POLYGON
   CLASS
     COLOR -1 -1 -1
     OUTLINECOLOR 0 0 255
   END
  PROJECTION
     'init=epsg:4326' #latlon
   END
END

LAYER
   NAME 'ecoregions'
   DATA '/gis/data/mi/ecoreg100'
   STATUS DEFAULT
   TYPE POLYGON
   CLASS #simple for now
     COLOR 198 123 48
   END
   PROJECTION #NAD 1983 Michigan GeoRef Meters <102123>
     'proj=omerc'
     'k_0=0.9996'
     'lat_0=45.30916666666666'
     'alpha=337.255555555556'
     'lonc=-86'
     #'x_0=2546731.496'    # PROJ
     #'y_0=-4354009.816'   # manual
     #'ellps=GRS80'        # says these are not
     #'datum=NAD83'        # needed for oblique mercator,
     #'units=m'            # but I tried them too,
     #'no_defs'            # in various combinations
   END
END

END



More information about the mapserver-users mailing list