mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05:00
This algorithm returns the portion of a line (or curve) which falls between the specified start and end distances (measured from the beginning of the line). Z and M values are linearly interpolated from existing values.
49 lines
2.4 KiB
XML
49 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ogr:FeatureCollection
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://ogr.maptools.org/ line_substring.xsd"
|
|
xmlns:ogr="http://ogr.maptools.org/"
|
|
xmlns:gml="http://www.opengis.net/gml">
|
|
<gml:boundedBy>
|
|
<gml:Box>
|
|
<gml:coord><gml:X>-0.8</gml:X><gml:Y>-3</gml:Y></gml:coord>
|
|
<gml:coord><gml:X>7.8</gml:X><gml:Y>2</gml:Y></gml:coord>
|
|
</gml:Box>
|
|
</gml:boundedBy>
|
|
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.0">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>6.2,2.0 6.8,2.0</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.1">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>-0.8,-1.0 -0.2,-1.0</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.2">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>2.0,0.2 2.0,0.8</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.3">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>3.2,1.0 3.8,1.0</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.4">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>7.2,-3.0 7.8,-3.0</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.5">
|
|
<ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>6.14142135623731,-2.85857864376269 6.56568542494924,-2.43431457505076</gml:coordinates></gml:LineString></ogr:geometryProperty>
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
<gml:featureMember>
|
|
<ogr:line_substring fid="lines.6">
|
|
</ogr:line_substring>
|
|
</gml:featureMember>
|
|
</ogr:FeatureCollection>
|