Bug#829165: ogrlineref --get-the-beginning-and-ending-coordinates-from-the-two-ends-of-the-line-itself
積丹尼 Dan Jacobson
jidanni at jidanni.org
Fri Jul 1 06:29:17 UTC 2016
X-Debbugs-Cc: Frank Warmerdam <warmerdam at pobox.com>, Silke Reimer <silke at intevation.de>, polimax at mail.ru
Package: gdal-bin
Version: 2.1.0+dfsg-3
Reading the ogrlineref man page, we read about a curious required
"milestones" file.
We also read about them here:
http://osgeo-org.1560.x6.nabble.com/gdal-dev-Problem-using-ogrlineref-td5270382.html
And here on the man page we see that indeed you need two input files.
% ogrlineref -create -l roads.shp -p references.shp -pm dist -o parts.shp -s 1000 -progress
However,
what about the case where the user has e.g., a single KML <LineString>,
and just wants to create markers every 1000 meters along that
LineString?
In this case there should be an additional option added to your
ogrlineref program:
--get-the-beginning-and-ending-coordinates-from-the-two-ends-of-the-line-itself !
Presto! No more need for unnecessary creation of second files.
More information about the Pkg-grass-devel
mailing list