Changeset 19601


Ignore:
Timestamp:
May 2, 2010 3:02:23 AM (6 years ago)
Author:
rouault
Message:

LIBKML: update doc to reflect detection of MultiPoint?, MultiLineString? or MultiPolygon?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gdal/ogr/ogrsf_frmts/libkml/drv_libkml.html

    r19582 r19601  
    217217    &lt;LinearRing&gt;</a>, and Polygon to
    218218    <a href="http://code.google.com/apis/kml/documentation/kmlreference.html#polygon">
    219     &lt;Polygon&gt;</a>. in OGR a polygon contains an array of LinearRings,
     219    &lt;Polygon&gt;</a>. In OGR a polygon contains an array of LinearRings,
    220220    the first one being the outer ring. KML has the tags
    221     <a href="http://code.google.com/apis/kml/documentation/kmlreference.html#outerboundaryis">
    222     &lt;outerBoundaryIs&gt;</a>and
     221    &nbsp;<a href="http://code.google.com/apis/kml/documentation/kmlreference.html#outerboundaryis">
     222    &lt;outerBoundaryIs&gt;</a>&nbsp;and&nbsp;
    223223    <a href="http://code.google.com/apis/kml/documentation/kmlreference.html#innerboundaryis">
    224     &lt;innerBoundaryIs&gt;</a>to differentiate between the two. OGR has
    225     several Multi types of geometry, GeometryCollection, MultiPolygon,
    226     MultiPoint, and OGRMultiLineString, which all map to KML as
     224    &lt;innerBoundaryIs&gt;</a>&nbsp;to differentiate between the two. OGR has
     225    several Multi types of geometry : GeometryCollection, MultiPolygon,
     226    MultiPoint, and MultiLineString. When possible, OGR will try to map
    227227    <a href="http://code.google.com/apis/kml/documentation/kmlreference.html#multigeometry">
    228     &lt;MultiGeometry&gt;</a>, but only maps back into OGR as a GeometryCollection.
     228    &lt;MultiGeometry&gt;</a> to the more precise OGR geometry type (MultiPoint, MultiLineString or MultiPolygon),
     229    and default to GeometryCollection in case of mixed content.
    229230  </p>
    230231 
Note: See TracChangeset for help on using the changeset viewer.