Re: [gdal-dev] R: Problem using ogrlineref

2016-07-02 Thread Dmitry Baryshnikov
Hi Dan, Feel free to rewrite the docs more understandable. You have to fork https://github.com/OSGeo/gdal make changes to https://github.com/OSGeo/gdal/blob/trunk/gdal/apps/ogr_utilities.dox and provide pull request. Also, look at man pages of other utilities as an example how it should be don

Re: [gdal-dev] R: Problem using ogrlineref

2016-07-01 Thread 積丹尼 Dan Jacobson
Well OK but the Debian guy closed all my bug reports instantly, and on the man page you will need to give full examples, including input file content, before any of this becomes understandable. Thanks. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

Re: [gdal-dev] R: Problem using ogrlineref

2016-07-01 Thread Dmitry Baryshnikov
Hi Dan, I see your tickets on debian bug tracker. 1. ogrlineref support all GDAL vector drivers with write capability 2. You didn't set -f (format) option, so default driver was set - ESRI shape file 3. I reproduce segmentation fault (will be fixed soon) 4. Current implementation have the only

Re: [gdal-dev] R: Problem using ogrlineref

2016-07-01 Thread 積丹尼 Dan Jacobson
I just have a single . I want to put kilometer markers along it. That is all I am trying to do. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] R: Problem using ogrlineref

2016-07-01 Thread 積丹尼 Dan Jacobson
I am trying to use the ogrlineref command. I can't even understand its man page. Maybe it only works on shapefiles. Maybe it only Seg Faults. How can I get the locations of the kilometer markers given only this KML: zaokeng main road 中45市道 1 120.86817,24.17922,0.0 120.86816,24.17922

Re: [gdal-dev] R: Problem using ogrlineref

2016-06-07 Thread Dmitry Baryshnikov
Hi Nicola, The first and last segments usually have beg and end fields value not a multiple of 1000. I.e. begin = 576 m, end 1000 m or begin 76200 m, end 76234 m This is ok, and ogrlineref correctly woks with this case. I think, that you can try to play with your data without equal parts size

[gdal-dev] R: Problem using ogrlineref

2016-06-07 Thread Nicola Baraldo (ICONSULTING)
Hi Dmitry, thank you for you response. There is a way to do the step 2 using GDAL? Moreover, if the path lengths are not multiple of the split size (e.g. 1000m), how the last segment is handled? Best regards, Nicola Da: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] Per conto di Dmitry Bar