[postgis-devel] KML from PostGIS patch

Jason Birch Jason.Birch at nanaimo.ca
Fri Dec 15 07:27:01 PST 2006


Hi,
 
I have not tried asKML, but as far as I can tell from the code it is only returning the geometry.  
 
That means that you are free to concatenate this result with a "<Placemark>" tag, or even a custom schema based on the placemark, which references either an internal or external style definition using the <styleUrl> tag.
 
You'll also need to specify the rest of the KML document as part of your output.
 
Jason

________________________________

From: postgis-devel-bounces at postgis.refractions.net on behalf of Rich Gibson
Sent: Fri 2006-12-15 3:17 AM
To: postgis-devel at postgis.refractions.net
Subject: Re: [postgis-devel] KML from PostGIS patch



KML merges presentation with position, something of a gis no-no I
guess, but there you go.  Does anyone have any thoughts on a
reasonable way to use asKML, or a similar tool, which would include
style information?

I have a few thoughts on the subject, but most of them seem pretty
weak.  Ideally we could do an asKML query and get back a KML file that
met our personal presentation needs.  Perhaps by specifying a template
or style sheet to apply.

Regards,
Rich


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4271 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20061215/61c9c017/attachment.bin>


More information about the postgis-devel mailing list