REXML is usually the library people use for XML processing/output in Ruby. Note there are also Ruby bindings for ogr, so you might want to give those a try.

Charlie

Mateusz Loskot wrote:
Robert J. Berger wrote:
If by chance anyone has any examples of generating KML, particularly in
conjunction with some Ruby GEOS examples, I would be most appreciative!

I have no idea about examples in Ruby, but I'd say it should not be a
problem to create KML output in Ruby. First, I'd suggest to learn how to
construct XML tree in Ruby (I have no idea of this, because I'm not a
Ruby programmer, yet ;-)).
Then you can walk through the KML documentation and see what elements
you need to include in your output. KML is a dialect of XML.

FYI, the OGR library includes KML driver:
http://www.gdal.org/ogr/drv_kml.html


Best regards

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to