projection issue...

John Cole john.cole at UAI.COM
Wed Aug 17 14:46:26 PDT 2005


Aaron,
  Thanks! I didn't see one that existed for feet, but I'll look again.  I'll
also try your projection definition too.  I was able to put together one
that seemed to work ok, but I really was guessing at a few things.

PROJECTION
	"+proj=tmerc" #projection name
	"+ellps=GRS80" #aka spheroid
	"+lat_0=30" #lat of false origin
	"+lon_0=-87.5" #lon of false origin
	#"+x_0=1968500" #false origin easting
	"+x_0=599999.9999999999952" #false origin easting
	"+y_0=0" #false origin northin
	"+datum=NAD83"
	"+k=0.9999333333333333"
	"+units=ft"
END

Thanks everyone, I'm lined up pretty close now ;-)

John Cole

-----Original Message-----
From: Aaron Racicot [mailto:aaronr at ecotrust.org] 
Sent: Wednesday, August 17, 2005 4:11 PM
To: John Cole; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: RE: [UMN_MAPSERVER-USERS] projection issue...

John,

In the esri definition file with PROJ.4 (my version at least) the code
does exist (in feet).  I have never tried to use these esri codes, so
you can try to use it directly or just define your own using the same
parameters:

# NAD 1983 StatePlane Alabama West FIPS 0102 Feet
<102630> +proj=tmerc +lat_0=30 +lon_0=-87.5 +k=0.999933
+x_0=600000.0000000001 +y_0=0 +ellps=GRS80 +datum=NAD83
+to_meter=0.3048006096012192  no_defs <>

Trying to define your own in a mapfile might look like:

PROJECTION
  "proj=tmerc"
  "lat_0=30"
  "lon_0=-87.5"
  "k=0.999933"
  "x_0=600000.0000000001"
  "y_0=0"
  "ellps=GRS80"
  "datum=NAD83"
  "to_meter=0.3048006096012192"
  "no_defs"
END

Hope this helps...

Aaron

+----------------------------------------+
| Aaron Racicot  | aaronr at ecotrust.org   |
| GIS Programmer | 503.467.0759          |
+----------------------------------------+
| e c o t r u s t                        |
| Jean Vollum Natural Capital Center     |
| 721 NW Ninth Avenue                    |
| Suite 200                              |
| Portland, OR 97209                     |
| www.ecotrust.org                       |
+----------------------------------------+


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of John Cole
Sent: Wednesday, August 17, 2005 1:41 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] projection issue...


Thanks to everyone helping me to find the EPSG code, I was able to find
both the esri and epsg file in the proj directory.

Unfortunately, I had the epsg code correct (I was hoping it was wrong,
because the projection isn't working).  I'm trying to get a shapefile of
the Midwest states to work with a projected tiger county (epsg:26930).
I'm including the prj file for both the states and my county, along with
a mapfile and an image of what I'm getting.

I've been reading and searching, and I thought this should work, but my
north Alabama county is winding up in Maine.

Any help would be appreciated.

Thanks,

John Cole


-------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.

-------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the MapServer-users mailing list