<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
A situation has occurred that I am having difficulty getting my hands
around.<br>
I have a single point with the following attributes:<br>
<br>
lon = -115.10101<br>
lat = 36.15526<br>
PROJ4 entry in SPATIAL_REF_SYS<br>
+proj=longlat +ellps=GRS80 +datum=NAD83 +no_defs<br>
<br>
In ARC/Info, when I project this point to the following:<br>
<br>
projection: LAMBERT<br>
datum: NONE<br>
units: meters<br>
spheroid: sphere<br>
1st parallel: 33.0<br>
2nd parallel: 45.0<br>
central meridian: -118.0<br>
latitude of origin: 37.0<br>
false easting: 0.0<br>
false northing: 0.0<br>
<br>
I get back a point at  y-coord = -89372 m.<br>
<br>
The above projection is entered into my SPATIAL_REF_SYS table<br>
with the following PROJ4 parameters (SRID=888889):<br>
+proj=lcc +lat_1=33.0 +lat_2=45.0 +lat_0=37.0 +lon_0=-118.0 +x_0=0
+y_0=0 +a=6370997.0 +b=6370997.0 +units=m<br>
<br>
Now with PostgreSQL v.7.4.8, PostGIS v.0.9.1, and PROJ4 v.4.4.7,<br>
this same point using SELECT Y ( TRANSFORM (the_geom, 888889) ) FROM
spatial.pt_test<br>
returns -89074 (which is close enough for my work.....for now).<br>
<br>
When I migrated to PostgreSQL v.8.1.3, PostGIS v.1.1.2, and PROJ4
v.4.4.9,<br>
my SELECT returns -109641 (!! and this is what baffles me !!).<br>
<br>
Any help that folks can lend will be greatly appreciated.<br>
<br>
Regards,<br>
<br>
Jim<br>
<font color="navy" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New"; color: navy;"></span></font>
</body>
</html>