[Geojson] FW: Features without geometry
Jason Birch
Jason.Birch at nanaimo.ca
Wed Oct 3 09:26:10 PDT 2007
Andrew wrote:
> According to the 'spec':
> "Elements Specific to Placemark
> * 0 or one <Geometry> elements"
>
http://code.google.com/apis/kml/documentation/kml_tags_21.html#placemark
And in the KML schema if I'm reading it correctly:
http://code.google.com/apis/kml/schema/kml22beta.xsd
<complexType name="PlacemarkType" final="#all">
<complexContent>
<extension base="kml:FeatureType">
<sequence>
<element ref="kml:Geometry" minOccurs="0" />
</sequence>
</extension>
</complexContent>
</complexType>
On an experiential level, I've created several KML sections that contain
no geometry (only Camera element) in their Placemarks without causing
Google Earth to complain about parsing errors. I only did this after
someone else suggested it last month; up until then I thought that
geometry was required.
Jason
More information about the GeoJSON
mailing list