mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Condenses the duplicate grid algorithms into single algorithms (one for line, one for polygon), taking the best bits from both and adding tests
92 lines
4.2 KiB
XML
92 lines
4.2 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>-4</gml:Y></gml:coord>
|
|
<gml:coord><gml:X>11.2</gml:X><gml:Y>6.5</gml:Y></gml:coord>
|
|
</gml:Box>
|
|
</gml:boundedBy>
|
|
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.0">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>-1.0,6.5 11.2,6.5</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>-1.0000000000000000</ogr:left>
|
|
<ogr:top>6.5000000000000000</ogr:top>
|
|
<ogr:right>11.1999999999999993</ogr:right>
|
|
<ogr:bottom>6.5000000000000000</ogr:bottom>
|
|
<ogr:id>1</ogr:id>
|
|
<ogr:coord>6.500000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.1">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>-1.0,3.5 11.2,3.5</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>-1.0000000000000000</ogr:left>
|
|
<ogr:top>3.5000000000000000</ogr:top>
|
|
<ogr:right>11.1999999999999993</ogr:right>
|
|
<ogr:bottom>3.5000000000000000</ogr:bottom>
|
|
<ogr:id>2</ogr:id>
|
|
<ogr:coord>3.500000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.2">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>-1.0,0.5 11.2,0.5</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>-1.0000000000000000</ogr:left>
|
|
<ogr:top>0.5000000000000000</ogr:top>
|
|
<ogr:right>11.1999999999999993</ogr:right>
|
|
<ogr:bottom>0.5000000000000000</ogr:bottom>
|
|
<ogr:id>3</ogr:id>
|
|
<ogr:coord>0.500000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.3">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>-1.0,-2.5 11.2,-2.5</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>-1.0000000000000000</ogr:left>
|
|
<ogr:top>-2.5000000000000000</ogr:top>
|
|
<ogr:right>11.1999999999999993</ogr:right>
|
|
<ogr:bottom>-2.5000000000000000</ogr:bottom>
|
|
<ogr:id>4</ogr:id>
|
|
<ogr:coord>-2.500000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.4">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>-1.0,6.5 -1,-4</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>-1.0000000000000000</ogr:left>
|
|
<ogr:top>6.5000000000000000</ogr:top>
|
|
<ogr:right>-1.0000000000000000</ogr:right>
|
|
<ogr:bottom>-4.0000000000000000</ogr:bottom>
|
|
<ogr:id>5</ogr:id>
|
|
<ogr:coord>-1.000000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.5">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>4.0,6.5 4,-4</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>4.0000000000000000</ogr:left>
|
|
<ogr:top>6.5000000000000000</ogr:top>
|
|
<ogr:right>4.0000000000000000</ogr:right>
|
|
<ogr:bottom>-4.0000000000000000</ogr:bottom>
|
|
<ogr:id>6</ogr:id>
|
|
<ogr:coord>4.000000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:grid_lines fid="grid_lines.6">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>9.0,6.5 9,-4</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
<ogr:left>9.0000000000000000</ogr:left>
|
|
<ogr:top>6.5000000000000000</ogr:top>
|
|
<ogr:right>9.0000000000000000</ogr:right>
|
|
<ogr:bottom>-4.0000000000000000</ogr:bottom>
|
|
<ogr:id>7</ogr:id>
|
|
<ogr:coord>9.000000000000000</ogr:coord>
|
|
</ogr:grid_lines>
|
|
</gml:featureMember>
|
|
</ogr:FeatureCollection>
|