-
-
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.
Also modify alg to export a vector table of candidates instead of a HTML list, since a vector table is more useful inside of models and can be used for further analysis steps.
- Loading branch information
1 parent
a56725f
commit cfb926a
Showing
5 changed files
with
131 additions
and
58 deletions.
There are no files selected for viewing
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
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
16 changes: 16 additions & 0 deletions
16
python/plugins/processing/tests/testdata/expected/projection_candidates.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,16 @@ | ||
<GMLFeatureClassList> | ||
<GMLFeatureClass> | ||
<Name>projection_candidates</Name> | ||
<ElementPath>projection_candidates</ElementPath> | ||
<GeometryType>100</GeometryType> | ||
<DatasetSpecificInfo> | ||
<FeatureCount>8</FeatureCount> | ||
</DatasetSpecificInfo> | ||
<PropertyDefn> | ||
<Name>auth_id</Name> | ||
<ElementPath>auth_id</ElementPath> | ||
<Type>String</Type> | ||
<Width>14</Width> | ||
</PropertyDefn> | ||
</GMLFeatureClass> | ||
</GMLFeatureClassList> |
49 changes: 49 additions & 0 deletions
49
python/plugins/processing/tests/testdata/expected/projection_candidates.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,49 @@ | ||
<?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:null>missing</gml:null></gml:boundedBy> | ||
|
||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.0"> | ||
<ogr:auth_id>EPSG:20256</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.1"> | ||
<ogr:auth_id>EPSG:20356</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.2"> | ||
<ogr:auth_id>EPSG:28356</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.3"> | ||
<ogr:auth_id>EPSG:32356</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.4"> | ||
<ogr:auth_id>EPSG:32556</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.5"> | ||
<ogr:auth_id>EPSG:32756</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.6"> | ||
<ogr:auth_id>IGNF:UTM56SW84</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</gml:featureMember> | ||
<gml:featureMember> | ||
<ogr:projection_candidates fid="projection_candidates.7"> | ||
<ogr:auth_id>EPSG:5552</ogr:auth_id> | ||
</ogr:projection_candidates> | ||
</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