Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32626 from alexbruy/service-area
[processing] port service area algorithms to C++
- Loading branch information
Showing
38 changed files
with
999 additions
and
789 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
366 changes: 0 additions & 366 deletions
366
python/plugins/processing/algs/qgis/ServiceAreaFromLayer.py
This file was deleted.
Oops, something went wrong.
326 changes: 0 additions & 326 deletions
326
python/plugins/processing/algs/qgis/ServiceAreaFromPoint.py
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-9.22 KB
python/plugins/processing/tests/testdata/expected/service_area_from_layer.dbf
Binary file not shown.
1 change: 0 additions & 1 deletion
1
python/plugins/processing/tests/testdata/expected/service_area_from_layer.prj
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
python/plugins/processing/tests/testdata/expected/service_area_from_layer.qpj
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-4.08 KB
python/plugins/processing/tests/testdata/expected/service_area_from_layer.shp
Binary file not shown.
Binary file removed
BIN
-196 Bytes
python/plugins/processing/tests/testdata/expected/service_area_from_layer.shx
Binary file not shown.
Binary file removed
BIN
-3.18 KB
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.dbf
Binary file not shown.
46 changes: 46 additions & 0 deletions
46
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.gml
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.prj
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.qpj
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-5.47 KB
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.shp
Binary file not shown.
Binary file removed
BIN
-132 Bytes
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.shx
Binary file not shown.
42 changes: 42 additions & 0 deletions
42
python/plugins/processing/tests/testdata/expected/service_area_from_layer_lines.xsd
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,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0"> | ||
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/> | ||
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/> | ||
<xs:complexType name="FeatureCollectionType"> | ||
<xs:complexContent> | ||
<xs:extension base="gml:AbstractFeatureCollectionType"> | ||
<xs:attribute name="lockId" type="xs:string" use="optional"/> | ||
<xs:attribute name="scope" type="xs:string" use="optional"/> | ||
</xs:extension> | ||
</xs:complexContent> | ||
</xs:complexType> | ||
<xs:element name="service_area_from_layer_lines" type="ogr:service_area_from_layer_lines_Type" substitutionGroup="gml:_Feature"/> | ||
<xs:complexType name="service_area_from_layer_lines_Type"> | ||
<xs:complexContent> | ||
<xs:extension base="gml:AbstractFeatureType"> | ||
<xs:sequence> | ||
<xs:element name="geometryProperty" type="gml:MultiLineStringPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/> | ||
<xs:element name="d" nillable="true" minOccurs="0" maxOccurs="1"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:integer"> | ||
<xs:totalDigits value="10"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
<xs:element name="type" nillable="true" minOccurs="0" maxOccurs="1"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
<xs:element name="start" nillable="true" minOccurs="0" maxOccurs="1"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:extension> | ||
</xs:complexContent> | ||
</xs:complexType> | ||
</xs:schema> |
Binary file removed
BIN
-3.18 KB
python/plugins/processing/tests/testdata/expected/service_area_from_layer_no_bounds.dbf
Binary file not shown.
1 change: 0 additions & 1 deletion
1
python/plugins/processing/tests/testdata/expected/service_area_from_layer_no_bounds.prj
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
python/plugins/processing/tests/testdata/expected/service_area_from_layer_no_bounds.qpj
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-2.8 KB
python/plugins/processing/tests/testdata/expected/service_area_from_layer_no_bounds.shp
Binary file not shown.
Binary file removed
BIN
-132 Bytes
python/plugins/processing/tests/testdata/expected/service_area_from_layer_no_bounds.shx
Binary file not shown.
46 changes: 46 additions & 0 deletions
46
python/plugins/processing/tests/testdata/expected/service_area_from_layer_nodes.gml
Large diffs are not rendered by default.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
python/plugins/processing/tests/testdata/expected/service_area_from_layer_nodes.xsd
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,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema targetNamespace="http://ogr.maptools.org/" xmlns:ogr="http://ogr.maptools.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" version="1.0"> | ||
<xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/> | ||
<xs:element name="FeatureCollection" type="ogr:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/> | ||
<xs:complexType name="FeatureCollectionType"> | ||
<xs:complexContent> | ||
<xs:extension base="gml:AbstractFeatureCollectionType"> | ||
<xs:attribute name="lockId" type="xs:string" use="optional"/> | ||
<xs:attribute name="scope" type="xs:string" use="optional"/> | ||
</xs:extension> | ||
</xs:complexContent> | ||
</xs:complexType> | ||
<xs:element name="service_area_from_layer_nodes" type="ogr:service_area_from_layer_nodes_Type" substitutionGroup="gml:_Feature"/> | ||
<xs:complexType name="service_area_from_layer_nodes_Type"> | ||
<xs:complexContent> | ||
<xs:extension base="gml:AbstractFeatureType"> | ||
<xs:sequence> | ||
<xs:element name="geometryProperty" type="gml:MultiPointPropertyType" nillable="true" minOccurs="0" maxOccurs="1"/> | ||
<xs:element name="d" nillable="true" minOccurs="0" maxOccurs="1"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:integer"> | ||
<xs:totalDigits value="10"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
<xs:element name="type" nillable="true" minOccurs="0" maxOccurs="1"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
<xs:element name="start" nillable="true" minOccurs="0" maxOccurs="1"> | ||
<xs:simpleType> | ||
<xs:restriction base="xs:string"> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:extension> | ||
</xs:complexContent> | ||
</xs:complexType> | ||
</xs:schema> |
Oops, something went wrong.