[R-sig-Geo] Multiple polygons in kml with non-zero altitude

Alonso Nanclares, Jesús Alberto jaalonson at indra.es
Thu Mar 29 09:18:19 CEST 2012


Dear list members,

I have been trying to export a KML file from R with some variables containing information referring to censal sections in the city of Madrid. I am interested in representing polygons which base would be the coordinates of the corresponding censal section and which altitude would be the value of a variable of interest. My question is if an object class representing polygons with altitude exists, as the classes present in the "sp" package (the ones I know) only allow for bidimensional polygons.

I would also thank a hint in which function I should use to export the polygons into a KML file. I have tried to use "kmlPolygon" in the "maptools" package, but I would like to represent several polygons on the same layer.

Thanks a lot,

Jesús Alberto Alonso Nanclares
Consultor Junior
Business Intelligence

C/ Anabel Segura 7
28108 Alcobendas (Madrid)
España

T +34 914 807 877
jaalonson at indra.es
www.indracompany.com<http://www.indracompany.com>

[cid:image001.jpg at 01CD0D89.DE6F9E30]


________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20120329/cc06e052/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1907 bytes
Desc: image001.jpg
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20120329/cc06e052/attachment.jpg>


More information about the R-sig-Geo mailing list