Matteo Ghetta 2abeea1128 Convex Hull processing tests (#3876)
Add two tests for convex hull
2016-12-19 10:51:13 +01:00

24 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=""
xmlns:ogr="http://ogr.maptools.org/"
xmlns:gml="http://www.opengis.net/gml">
<gml:boundedBy>
<gml:Box>
<gml:coord><gml:X>0</gml:X><gml:Y>-5</gml:Y></gml:coord>
<gml:coord><gml:X>8</gml:X><gml:Y>3</gml:Y></gml:coord>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<ogr:convex_hull fid="convex_hull.0">
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>0,-5 0,-1 1,1 3,3 5,2 8,-1 0,-5</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
<ogr:id>0</ogr:id>
<ogr:value>all</ogr:value>
<ogr:area>34.500000</ogr:area>
<ogr:perim>24.487476</ogr:perim>
</ogr:convex_hull>
</gml:featureMember>
</ogr:FeatureCollection>