[postgis-users] Transform

Bborie Park bkpark at ucdavis.edu
Tue Feb 21 11:20:08 PST 2012


Steve,

Are you running Windows?  If so, I believe there is a known issue with 
GDAL not finding the proj.4 DLL.  You'll need to set the env variable 
PROJSO to the full path to the DLL.

http://trac.osgeo.org/gdal/wiki/ConfigOptions

-bborie

On 02/21/2012 11:06 AM, Stephen Crawford wrote:
> Hi All,
>
> I'm trying to transform as raster set in this way:
>
> SELECT rid, observation_date, ST_Transform(rast, 4326) AS rast INTO
> risk_wgs84
> FROM spring_ms
> WHERE observation_date = '2012-02-20';
>
> I would expect the target table "risk_wgs84" to be in lat/lon, but if I
> run:
>
> ST_Extent(rast) from risk_wgs84 I get values in meters (same as the
> original table "spring_ms"):
>
> any ideas?
>
> Thanks,
> Steve
>
> Stephen Crawford
> Center for Environmental Informatics
> The Pennsylvania State University
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>

-- 
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark at ucdavis.edu



More information about the postgis-users mailing list