You mean you want a way to convert JTS objects to KML?

This is pretty straightforward - just write out the text of the KML, producing the geometry elements by traversing the JTS geometry. Check out GMLWriter for an example. In fact, as long as you don't need to use the KML elements which are embedded in the geometry, you can probably use the GMLWriter directly (or with minor modification).

Hard to see how the efficiency of this process can vary by much. How are you doing it?

Lee Goddard wrote:
Could someone please recommend a good starting-point for KML from JTS objects?

Conversion is very slow the way I'm doing it.

Thanks in anticipation
Lee
_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel


--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022

_______________________________________________
jts-devel mailing list
jts-devel@lists.jump-project.org
http://lists.refractions.net/mailman/listinfo/jts-devel

Reply via email to