Eduin Carrillo wrote:
I apologize to arrive late to this discussion. I want to clear some things:
- As Google Earth only supports WGS84 projection, PROJ.4 is required to ensure
correct transformation from any SRS to WGS84 This requisite is on lwgeom_kml.c
but not in lwpostgis.sql.in.c. So users will see KML functions even if compiled
without PROJ.4 support.
This should now be fixed in the latest release.
- _STAsKML is an internal function to wrap all AsKML calls before geometry is transformed into
4326. This function was previously called AsUKML ("u" for "unprojected") on
first versions of my patch. Lately it was renamed to _STAsKML for compatybility with AsGML
functions. Any call to _STAsKML(geom) returns pseudo KML with coordinates in native SRS, not useful
in Google Earth.
Yeah. I can't remember who reviewed/committed the original patch, but
the renaming brings it in line with the existing PostGIS convention for
"internal" functions which is always good.
ATB,
Mark.
--
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users