Things are comming along but .... pleaselook at this mapfile dump

Eric Bridger eric at GOMOOS.ORG
Mon Nov 29 16:46:53 EST 2004


On Mon, 2004-11-29 at 16:31, Joseph Norris wrote:
> Thanks Eric,
>
> I set the projections as you indicate below in my map and in each layer - I
> still see now points for the list of features that I have.
>
> #Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
> $_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
> 68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);
>
> -----Original Message-----
> From: Eric Bridger [mailto:eric at gomoos.org]
> Sent: Monday, November 29, 2004 1:25 PM
> To: Joseph Norris
> Cc: UMN MapServerList
> Subject: Re: [UMN_MAPSERVER-USERS] Things are comming along but ....
> pleaselook at this mapfile dump
>
> On Mon, 2004-11-29 at 15:26, Joseph Norris wrote:
> > I got the extents from shpdump of shape file. I do have projection
> > information on the file:
> >
> > PROJCS["NAD_1983_StatePlane_California_II_FIPS_0402_Feet",
> > GEOGCS["GCS_North_American_1983",
> > DATUM["D_North_American_1983",
> > SPHEROID["GRS_1980", 6378137, 298.257222101]],
> > PRIMEM["Greenwich", 0],
> > UNIT["Degree", 0.017453292519943295]],
> > PROJECTION["Lambert_Conformal_Conic"],
> > PARAMETER["False_Easting", 6561666.666666666],
> > PARAMETER["False_Northing", 1640416.666666667],
> > PARAMETER["Central_Meridian", -122],
> > PARAMETER["Standard_Parallel_1", 38.33333333333334],
> > PARAMETER["Standard_Parallel_2", 39.83333333333334],
> > PARAMETER["Latitude_Of_Origin", 37.66666666666666],
> > UNIT["Foot_US", 0.30480060960121924]]
>
> Joseph,
>
> By looking in my epsg file (which comes with the proj4 install, on my
> freeBSD system: /usr/local/share/proj it looks like your shape file has
> an EPSG code of 26942.(California Zone 2)  You can use the following
> PROJECTION:
>
> PROJECTION
>     "init=epsg:26942"
> END
>
> For UNITS you would use "feet" not DD.
>
> HTH.

The projection above is only for your California shape file.
Your point layer with the features must use "proj=latlong".



More information about the mapserver-users mailing list