OGRLINEREF(1) | GDAL | OGRLINEREF(1) |
ogrlineref - Create linear reference and provide some calculations using it.
ogrlineref [--help] [--help-general] [-progress] [-quiet] [-f <format_name>] [-dsco <NAME>=<VALUE>]... [-lco <NAME>=<VALUE>]... [-create] [-l <src_line_datasource_name>] [-ln <layer_name>] [-lf <field_name>] [-p <src_repers_datasource_name>] [-pn <layer_name>] [-pm <pos_field_name>] [-pf <field_name>] [-r <src_parts_datasource_name>] [-rn <layer_name>] [-o <dst_datasource_name>] [-on <layer_name>] [-of <field_name>] [-s <step>] [-get_pos] [-x <long>] [-y <lat>] [-get_coord] [-m <position>] [-get_subline] [-mb <position>] [-me <position>]
The ogrlineref program can be used to:
The ogrlineref creates a linear reference - a file containing a segments of special length (e.g. 1 km in reference units) and gets coordinates, linear referenced distances or sublines (subpaths) from this file. The utility does not require the M or Z components in the geometry. The results can be stored in any OGR supported format. Also some information is written to the stdout.
This example would create a shapefile (parts.shp) containing a data needed for linear referencing (1 km parts):
ogrlineref -create -l roads.shp -p references.shp -pm dist -o parts.shp -s 1000 -progress
Dmitry Baryshnikov <polimax@mail.ru>
1998-2024
February 8, 2024 |