-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more gdal test for Processing (#3893)
* more gdal test for Processing
- Loading branch information
Showing
3 changed files
with
380 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
python/plugins/processing/tests/testdata/custom/polygon_mask.gfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<GMLFeatureClassList> | ||
<GMLFeatureClass> | ||
<Name>polygon_mask</Name> | ||
<ElementPath>polygon_mask</ElementPath> | ||
<GeometryType>3</GeometryType> | ||
<SRSName>EPSG:4326</SRSName> | ||
<DatasetSpecificInfo> | ||
<FeatureCount>2</FeatureCount> | ||
<ExtentXMin>18.67319</ExtentXMin> | ||
<ExtentXMax>18.70090</ExtentXMax> | ||
<ExtentYMin>45.77796</ExtentYMin> | ||
<ExtentYMax>45.80786</ExtentYMax> | ||
</DatasetSpecificInfo> | ||
</GMLFeatureClass> | ||
</GMLFeatureClassList> |
24 changes: 24 additions & 0 deletions
24
python/plugins/processing/tests/testdata/custom/polygon_mask.gml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?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>18.67319311115957</gml:X><gml:Y>45.77795780842602</gml:Y></gml:coord> | ||
<gml:coord><gml:X>18.70090093189771</gml:X><gml:Y>45.80786158698488</gml:Y></gml:coord> | ||
</gml:Box> | ||
</gml:boundedBy> | ||
|
||
<gml:featureMember> | ||
<ogr:polygon_mask fid="polygon_mask.0"> | ||
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>18.6744202640594,45.798496472749385 18.683204095342351,45.807861586984885 18.68966279481511,45.80456765025378 18.694829754393318,45.800175734612303 18.694442232424951,45.796235927933921 18.683849965289628,45.790358511413707 18.675970351932861,45.790229337424257 18.673193111159573,45.789970989445344 18.6744202640594,45.798496472749385</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty> | ||
</ogr:polygon_mask> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:polygon_mask fid="polygon_mask.1"> | ||
<ogr:geometryProperty><gml:Polygon srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>18.690696186730751,45.786612465719507 18.694442232424951,45.791133555350441 18.70090093189771,45.785643660798598 18.699738365992616,45.781122571167664 18.688435641915287,45.777957808426017 18.680491441563792,45.779895418267841 18.6800393326007,45.783318528988403 18.690696186730751,45.786612465719507</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></ogr:geometryProperty> | ||
</ogr:polygon_mask> | ||
</gml:featureMember> | ||
</ogr:FeatureCollection> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters