[postgis-devel] KML from PostGIS patch
    Eduin Carrillo 
    yecarrillo at yahoo.com
       
    Wed Dec  6 09:07:25 PST 2006
    
    
  
Sounds good. There is another function using this kind of wrappers what I can
follow to do it? Regress tests are on the road too.
Eduin
--- Paul Ramsey <pramsey at refractions.net> escribió:
> *duh* *slaps forehead*
> 
> Yeah, inline transform() in your SQL :) Markus is right, that's the  
> way to do it.
> 
> P
> 
> 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...
> >
> > HTH,
> > Markus
> > -- 
> > Markus Schaber | Logical Tracking&Tracing International AG
> > Dipl. Inf.     | Software Development GIS
> >
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
    
    
More information about the postgis-devel
mailing list