esri projection for wms srs value...

John Cole john.cole at UAI.COM
Wed Aug 17 17:59:58 EDT 2005


Aaron,
  Thanks, both your projection statement and using the esri code worked:

PROJECTION
	"init=esri:102630"
END

  Now another question, how do I use that esri code or the projection
information in the wms_srs metadata section?

"wms_srs" "ESRI: 102630"

Doesn't seem to work :-)

Thanks again.

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