[postgis-devel] KML from PostGIS patch
pramsey at refractions.net
Wed Dec 6 07:10:20 PST 2006
*duh* *slaps forehead*
Yeah, inline transform() in your SQL :) Markus is right, that's the
way to do it.
On 6-Dec-06, at 5:42 AM, Markus Schaber wrote:
> Hi, Eduin,
> Eduin Carrillo wrote:
>> Ok. Here a new patch with these changes. What about transform the
>> geometry to
>> WGS84 directly from lwgeom_kml.c? I made public the "transform"
>> function in
>> lwgeom_pg.h (Datum transform(PG_FUNCTION_ARGS);) and tried this
>> code but
>> postgresql crashes... ideas?
> What about exposing your function without transforming, and add SQL
> function "wrappers" which call transform and your function? Simple SQL
> functions are even inlined by the query planner sometimes...
> Markus Schaber | Logical Tracking&Tracing International AG
> Dipl. Inf. | Software Development GIS
> Fight against software patents in Europe! www.ffii.org
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
More information about the postgis-devel