mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
feature based algorithms Instead of algorithms which handle both whole layers/groups of features/individual features, we leave the whole layer and group of features handling to the "Minimum bounding geometry" algorithm. The feature-by-feature algorithms are now native c++ algorithms. This affects: - bounding boxes - convex hulls - minimum enclosing circle - minimum oriented rectangles
90 lines
4.8 KiB
XML
90 lines
4.8 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>-1</gml:X><gml:Y>-3.270344827586206</gml:Y></gml:coord>
|
|
<gml:coord><gml:X>10.04413793103448</gml:X><gml:Y>6.441176470588236</gml:Y></gml:coord>
|
|
</gml:Box>
|
|
</gml:boundedBy>
|
|
|
|
<gml:featureMember>
|
|
<ogr:oriented_bounds fid="polys.4">
|
|
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,-3 7.69811320754717,0.056603773584906 3.80943396226415,2.21698113207547 2.11132075471698,-0.839622641509436 6,-3</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
|
|
<ogr:intval>120</ogr:intval>
|
|
<ogr:floatval>-100291.43213</ogr:floatval>
|
|
<ogr:width>3.496629</ogr:width>
|
|
<ogr:height>4.448489</ogr:height>
|
|
<ogr:angle>119.054604</ogr:angle>
|
|
<ogr:area>15.554717</ogr:area>
|
|
<ogr:perimeter>15.890237</ogr:perimeter>
|
|
</ogr:oriented_bounds>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:oriented_bounds fid="polys.1">
|
|
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>4.11764705882353,3.52941176470588 6.0,4.0 5.72941176470588,5.08235294117647 3.84705882352941,4.61176470588235 4.11764705882353,3.52941176470588</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
|
|
<ogr:intval>-33</ogr:intval>
|
|
<ogr:floatval>0</ogr:floatval>
|
|
<ogr:name>Aaaaa</ogr:name>
|
|
<ogr:width>1.940285</ogr:width>
|
|
<ogr:height>1.115664</ogr:height>
|
|
<ogr:angle>165.963757</ogr:angle>
|
|
<ogr:area>2.164706</ogr:area>
|
|
<ogr:perimeter>6.111898</ogr:perimeter>
|
|
</ogr:oriented_bounds>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:oriented_bounds fid="polys.0">
|
|
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>-1.0,3.0 -1.0,-1.0 3.0,-1.0 3.0,3.0 -1.0,3.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
|
|
<ogr:intval>33</ogr:intval>
|
|
<ogr:floatval>44.12346</ogr:floatval>
|
|
<ogr:name>aaaaa</ogr:name>
|
|
<ogr:width>4.000000</ogr:width>
|
|
<ogr:height>4.000000</ogr:height>
|
|
<ogr:angle>90.000000</ogr:angle>
|
|
<ogr:area>16.000000</ogr:area>
|
|
<ogr:perimeter>16.000000</ogr:perimeter>
|
|
</ogr:oriented_bounds>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:oriented_bounds fid="polys.3">
|
|
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6.4,-3.0 9.64413793103449,-3.27034482758621 10.0441379310345,1.52965517241379 6.8,1.8 6.4,-3.0</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
|
|
<ogr:intval>0</ogr:intval>
|
|
<ogr:name>ASDF</ogr:name>
|
|
<ogr:width>3.255383</ogr:width>
|
|
<ogr:height>4.816638</ogr:height>
|
|
<ogr:angle>4.763642</ogr:angle>
|
|
<ogr:area>15.680000</ogr:area>
|
|
<ogr:perimeter>16.144041</ogr:perimeter>
|
|
</ogr:oriented_bounds>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:oriented_bounds fid="polys.2">
|
|
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>1.36470588235294,4.94117647058824 2.1,4.5 3.0,6.0 2.26470588235294,6.44117647058824 1.36470588235294,4.94117647058824</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
|
|
<ogr:floatval>0.123</ogr:floatval>
|
|
<ogr:name>bbaaa</ogr:name>
|
|
<ogr:width>0.857493</ogr:width>
|
|
<ogr:height>1.749286</ogr:height>
|
|
<ogr:angle>30.963757</ogr:angle>
|
|
<ogr:area>1.500000</ogr:area>
|
|
<ogr:perimeter>5.213557</ogr:perimeter>
|
|
</ogr:oriented_bounds>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:oriented_bounds fid="polys.5">
|
|
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>6,-3 7.69811320754717,0.056603773584906 3.80943396226415,2.21698113207547 2.11132075471698,-0.839622641509436 6,-3</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty>
|
|
<ogr:intval>2</ogr:intval>
|
|
<ogr:floatval>3.33</ogr:floatval>
|
|
<ogr:name>elim</ogr:name>
|
|
<ogr:width>3.496629</ogr:width>
|
|
<ogr:height>4.448489</ogr:height>
|
|
<ogr:angle>119.054604</ogr:angle>
|
|
<ogr:area>15.554717</ogr:area>
|
|
<ogr:perimeter>15.890237</ogr:perimeter>
|
|
</ogr:oriented_bounds>
|
|
</gml:featureMember>
|
|
</ogr:FeatureCollection>
|