[UMN_MAPSERVER-USERS] Trouble with Projection - LCC

Ed McNierney ed at TOPOZONE.COM
Fri Nov 19 06:57:50 PST 2004


Jim / Skweda -

No, in this case you DON'T want to put UNITS METERS in the layer section, because these units are not meters.  The PRJ file indicates that this is a State Plane projection with units of US Feet.

UNITS DD in the main MAP file section is a good idea, however - it's not the cause of this problem, but it will prevent other problems in the future.

    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242




From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Skweda O'Bomsawin
Sent: Friday, November 19, 2004 9:51 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] RE : [UMN_MAPSERVER-USERS] Trouble with Projection - LCC


Be sure to put UNITS DD in the map section and UNITS METERS in the layer section since LCC is in meters...


Skweda O'Bomsawin


-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la part de Shanton, James A
Envoyé : 19 novembre 2004 09:13
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] Trouble with Projection - LCC

I'm trying to plot a property parcel shp file, and it keeps plotting in Pennsylvania instead of North Carolina.
It also prints out the wrong size.  (much to big )

I've posted my parcel layer (from the .map file )  and the PRJ file that came with the shp file.
What am I doing wrong ?

My map file output projection is :
PROJECTION
  "proj=longlat"
  "ellps=WGS84"
END

Thanks !

Jim
-------------------------------------------------------------------------------------

LAYER # PARCELS
  NAME "parcel"
  DATA parcel
  STATUS ON
  TYPE POLYGON
  PROJECTION
     proj=lcc
     lat_0=33.75              #Latitude of False Origin
     lon_0=-79.0              #Longitude of Natural Origin (Central Meridian)
     lat_1=34.33333333333334  #Latitude of First Standard Parallel
     lat_2=36.16666666666666
     x_0=2000000.002616666    # False Easting
     y_0=0.0                  # False Northing
     ellps=GRS80              # SPHEROID
     a=6378137.0              # from SPHEROID["GRS_1980",6378137,298.257222101]],
     rf=298.257222101         #from SPHEROID["GRS_1980",6378137,298.257222101]],
     datum=NAD83
  END
  CLASS
            OUTLINECOLOR 0 0 0
  END
END # end of Parcel layer



Here is the PRJ file

PROJCS["NAD_1983_StatePlane_North_Carolina_FIPS_3200_Feet",
GEOGCS["GCS_North_American_1983",
DATUM["D_North_American_1983",
SPHEROID["GRS_1980",6378137.0,298.257222101]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Lambert_Conformal_Conic"],
PARAMETER["False_Easting",2000000.002616666],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",-79.0],
PARAMETER["Standard_Parallel_1",34.33333333333334],
PARAMETER["Standard_Parallel_2",36.16666666666666],
PARAMETER["Latitude_Of_Origin",33.75],
UNIT["Foot_US",0.3048006096012192]]


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 2004-10-27
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041119/c19b9a15/attachment.htm>


More information about the MapServer-users mailing list