[postgis-devel] KML from PostGIS patch
Eduin Carrillo
yecarrillo at yahoo.com
Thu Dec 7 09:10:50 PST 2006
Great.
With this patch now we have AsKML(geometry) for GE compliant KML and
AsUKML(geometry) for unprojected KML output. Thanks Markus
Eduin
--- Markus Schaber <schabi at logix-tt.com> escribió:
> Hi, Eduin,
>
> Eduin Carrillo wrote:
> > 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.
>
> I've just created an example 'on-the-fly', using the EWKT function:
>
> CREATE FUNCTION TransformedEWKT(geometry, int4) RETURNS text
> AS 'SELECT asEWKT(transform($1,$2))' STRICT IMMUTABLE LANGUAGE SQL;
>
>
> So if you expose your function as Foo(), you can add a TransformedFoo()
> (or expose your function as PlainFoo, and add Foo() as wrapper).
>
> This way, those people who don't need to transform first (because they
> keep the data in a compatible coordinate system) can skip the
> transform() overhead.
>
> 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kml_from_postgis4.patch
Type: application/octet-stream
Size: 15762 bytes
Desc: 792318705-kml_from_postgis4.patch
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20061207/fbb4cdc4/attachment.obj>
More information about the postgis-devel
mailing list