[Proj] WGS84 --> Albers coordinate transformation question

Jim Mace jmace at benchmarkrs.com
Tue Apr 10 17:00:32 EDT 2007


My latitude is 45, longitude -117.

I am also using a C# wrapper for GDAL/OSR that uses the proj.4 library to
convert coordinates.  It is only thing I could get to work in an ASP.NET
application.

Jim Mace
Application Programmer

Benchmark Research & Safety Inc.
201 W. Sprague Ave
Suite 222
Spokane, Washington 99201


-----Original Message-----
From: proj-bounces at lists.maptools.org
[mailto:proj-bounces at lists.maptools.org] On Behalf Of Ed McNierney
Sent: Tuesday, April 10, 2007 12:48 PM
To: PROJ.4 and general Projections Discussions jmace at benchmarkrs.com,
Subject: Re: [Proj] WGS84 --> Albers coordinate transformation question

Jim -

I get:

cs2cs +proj=latlong +datum=WGS84 +no_defs +to +proj=aea +lat_1=29.5
+lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0.0 +y_0=0.0 +ellps=GRS80 +units=m
+datum=NAD83 +no_defs
-117 45
-1640181.94     2627681.67 0.00


Are you entering -117 45 as your input, or 45 -117?

    - Ed

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

> From: Jim Mace <jmace at benchmarkrs.com>
> Organization: Benchmark Research & Safety Inc.
> Reply-To: <jmace at benchmarkrs.com>, "PROJ.4 and general Projections
> Discussions" <proj at lists.maptools.org>
> Date: Tue, 10 Apr 2007 12:10:28 -0700
> To: <proj at lists.maptools.org>
> Subject: [Proj] WGS84 --> Albers coordinate transformation question
> 
> I'm trying to convert decimal degrees, in WGS84, to Albers.  My source
proj
> string is (+proj=latlong +datum=WGS84 +no_defs), and my destination proj
> string is (+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0.0
> +y_0=0.0 +ellps=GRS80 units=m +datum=NAD83 +no_defs).  When I use the
> latitude and longitude 45 and-117, respectively, I get the following
> 0.785398163397449/-2.04203522483337.  Any ideas?
> 
> Jim Mace
> Application Programmer
> 
> Benchmark Research & Safety Inc.
> 201 W. Sprague Ave
> Suite 222
> Spokane, Washington 99201
> 
> 
> 
> -- 
> I am using the free version of SPAMfighter for private users.
> It has removed 1134 spam emails to date.
> Paying users do not have this message in their emails.
> Get the free SPAMfighter here: http://www.spamfighter.com/len
> 
> 
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj

_______________________________________________
Proj mailing list
Proj at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

-- 
I am using the free version of SPAMfighter for private users.
It has removed 1134 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len




More information about the Proj mailing list