[OpenLayers-Users] Extract Attributes from KML or GML Files
reinaldo at geodesign.com.br
reinaldo at geodesign.com.br
Fri Nov 9 02:31:50 PST 2012
Phil,
I used ogr2ogr to go from Shape to KML or GML. ogr KML or GML format
structure is not compatible with OL?
Thanks,
Reinaldo
------------------------------------
Reinaldo Escada Chohfi
Sócio Gerente
GeoDesign Internacional
www.geodesign.com.br (http://www.geodesign.com.br)
Tel./Fax: (12) 3153-5115
Inteligência e Tecnologia Espacial de Ponta
---- Original Message ----
From: Christian Ledermann
To: "Phil Scadden"
Cc: "openlayers-users at lists.osgeo.org"
Sent: Sex, Nov 9, 2012, 5:06 AM
Subject: Re: [OpenLayers-Users] Extract Attributes from KML or GML Files
I think you already answered this but just to be sure
untyped data like:
...
...
cannot be extracted, it must be typed data like:
ExtendedData+SchemaData 1 Trail Head
Name]]> Length in miles]]>
Change in altitude]]> Easy
trail Pi in the sky
3.14159 10
-122.000,37.002 Difficult trail
Mount Everest 347.45 10000
-121.998,37.0078
On Fri, Nov 9, 2012 at 5:39 AM, Phil Scadden wrote:
I read and display the features ok either from a KML or GML file, but
can not extract the attributes.
>
> I use
>
> extractattribues: true
Hopefully that is actually extractAttributes:true (case matters)
Not every KML has attributes that are extractable. If it has
.. tag in the document headers and in the
features, then, yes. However, if "attributes" are just table entries in
description, the no.
Notice: This email and any attachments are confidential. If received in
error please destroy and immediately notify us. Do not copy or disclose the
contents.
_______________________________________________
Users mailing list
Users at lists.osgeo.org (mailto:Users at lists.osgeo.org)
http://lists.osgeo.org/mailman/listinfo/openlayers-users
(http://lists.osgeo.org/mailman/listinfo/openlayers-users)
--
Best Regards,
Christian Ledermann
Nairobi - Kenya
Mobile : +254 702978914
{
If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.
1) Don’t drive species to extinction
2) Don’t destroy a habitat that species rely on.
3) Don’t change the climate in ways that will result in the above.
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121109/05b00ec3/attachment.html>
More information about the Users
mailing list