Re: [gdal-dev] converting lines to linestrings

2011-08-27 Thread Joaquim Luis
On 27-08-2011 17:27, Frank Warmerdam wrote: On 11-08-27 02:10 AM, Zoltan Szecsei wrote: Hi, I'm not sure if this is the correct list to address this on, but I have lots of files, each with a bunch of lines that start & stop on each others ends and I need to convert them into line strings

RE:Re: [gdal-dev] converting lines to linestrings

2011-08-27 Thread patrickwild
Sent from my Verizon Wireless 4GLTE smartphone.  From : Frank WarmerdamSubject : Re: [gdal-dev] converting lines to linestrings On 11-08-27 02:10 AM, Zoltan Szecsei wrote:> Hi,> I'm not sure if this is the correct list to address this on, but >> I have lots of files, each with a bunch of

Re: [gdal-dev] converting lines to linestrings

2011-08-27 Thread Frank Warmerdam
On 11-08-27 02:10 AM, Zoltan Szecsei wrote: Hi, I'm not sure if this is the correct list to address this on, but I have lots of files, each with a bunch of lines that start & stop on each others ends and I need to convert them into line strings, file by file. Is there a command-line (batch

Re: [gdal-dev] OGR csv driver: feature numbering

2011-08-27 Thread Hermann Peifer
On 27/08/2011 12:25, Even Rouault wrote: Le samedi 27 août 2011 12:07:12, Hermann Peifer a écrit : Hi, I am just wondering why the csv driver starts numbering at 1, rather than at 0, see e.g. the "First point" in the test.csv example at [1], which ends up as OGRFeature(test):1. However, if I t

Re: [gdal-dev] OGR csv driver: feature numbering

2011-08-27 Thread Even Rouault
Le samedi 27 août 2011 12:07:12, Hermann Peifer a écrit : > Hi, > > I am just wondering why the csv driver starts numbering at 1, rather > than at 0, see e.g. the "First point" in the test.csv example at [1], > which ends up as OGRFeature(test):1. > > However, if I take the test.vrt/test.csv exam

[gdal-dev] OGR csv driver: feature numbering

2011-08-27 Thread Hermann Peifer
Hi, I am just wondering why the csv driver starts numbering at 1, rather than at 0, see e.g. the "First point" in the test.csv example at [1], which ends up as OGRFeature(test):1. However, if I take the test.vrt/test.csv example and convert it to shapefile format, I end up with features 0, 1

[gdal-dev] Re: gdal_rasterize output off by one pixel/cell

2011-08-27 Thread Hermann Peifer
Matthew, An absolute kludge-type of "solution" would be a) to make sure that the GeoTIFF is larger than the shapefile when rasterising (in order to not loose points at the edges) and b) to shift the GeoTIFF NW by 0.5 pixel after rasterising, as I already wrote in my previous mail. There has

[gdal-dev] converting lines to linestrings

2011-08-27 Thread Zoltan Szecsei
Hi, I'm not sure if this is the correct list to address this on, but I have lots of files, each with a bunch of lines that start & stop on each others ends and I need to convert them into line strings, file by file. Is there a command-line (batch) way I can do this? They are currently in