[postgis-devel] ST_Transform doesn't need Proj support?

Obe, Regina robe.dnd at cityofboston.gov
Thu Nov 20 07:31:52 PST 2008


I thought that, but thought I would put it in anyway.  I suspect some
people may be looking at the 1.4 docs for 1.3 support since the
documentation on 1.4 is much better than 1.3.

Thanks,
Regina 

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Mark
Cave-Ayland
Sent: Thursday, November 20, 2008 10:26 AM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] ST_Transform doesn't need Proj support?

Obe, Regina wrote:
> I was looking at the lwpostgis.in.sql in 1.3 and I only  see a
> #ifdef USE_PROJ  wrapped around the ST_AsKMLs.
> 
> Does that mean ST_Transform doesn't need projection support or am I
> reading this wrong?

Yes it does, although it appears the check for this is in the source 
code rather than in the .sql file:


#ifndef USE_PROJ

PG_FUNCTION_INFO_V1(transform);
Datum transform(PG_FUNCTION_ARGS)
{

         elog(ERROR,"PostGIS transform() called, but support not 
compiled in.  Modify your makefile to add proj support, remake and 
re-install");
         PG_RETURN_NULL();
}

#endif


Incidentally I've just noticed that you've also committed the changes 
about PostGIS requiring PROJ.4 support to SVN trunk. I wouldn't worry 
about this, since PROJ.4 and GEOS are compulsory dependencies for 1.4 
(i.e. configure won't let you continue until you have installed both of 
them).


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.



More information about the postgis-devel mailing list