[OpenLayers-Dev] OpenLayers.Format.KML.write()
Christopher Schmidt
crschmidt at metacarta.com
Tue Aug 14 11:20:52 EDT 2007
On Tue, Aug 14, 2007 at 04:16:32PM +0200, Damien Corpataux wrote:
> Hello,
>
> I'd like to implement a bit of OpenLayers.Format.KML.write() method, and
> enhance OpenLayers.Format.KML.read() to enabl.e Polygon node parsing...
>
> Questions:
> 1/ Did you have any reason not to have implemented Polygon parsing at
> once with Point and LineString? I thought it could be because of the
> outerBoudaryIs node, which cannot be translated into OpenLayers.Geometry
> object...? Or was it just laziness? :-)
Just laziness.
> 2/ How do you see the namespaces for KML? My view is that one can parse
> any KML as a 2.0, fetching Placemark nodes and digging into their
> geometries, since this seems not to change over versions. Do you think
> it's a good way of doing it?
I didn't know enough about KML at the time I wrote it to know if this
was true or not. I'd be happy to be better informed either way.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Dev
mailing list