RE: [gdal-dev] tab delimited to shapefile

2009-11-18 Thread Kralidis,Tom [Ontario]
ovember 2009 13:41 > To: Clay, Bruce > Cc: gdal-dev@lists.osgeo.org; gdal-dev-boun...@lists.osgeo.org > Subject: Re: [gdal-dev] tab delimited to shapefile > > Bruce, > If you're on a linux system with perl: > > perl -pi -e 's/\t/,/g' filename > >

Re: [gdal-dev] tab delimited to shapefile

2009-11-18 Thread Doug_Newcomb
Bruce, If you're on a linux system with perl: perl -pi -e 's/\t/,/g' filename is a perl one-liner that should replace all of the tabs with commas in the file, working on the file in place. I've used similar commands on text files up to 379 GB in size, although it does take a while for fil

RE: [gdal-dev] tab delimited to shapefile

2009-11-18 Thread Jason Roberts
.osgeo.org Subject: [gdal-dev] tab delimited to shapefile Is there any way to use ogr2ogr to convert tab-delimited data such as the geoname dot org files into shapefiles short of converting all tabs to commas? I created a VRT file that works with CSV files but I can not find any way to c

[gdal-dev] tab delimited to shapefile

2009-11-18 Thread Clay, Bruce
Is there any way to use ogr2ogr to convert tab-delimited data such as the geoname dot org files into shapefiles short of converting all tabs to commas? I created a VRT file that works with CSV files but I can not find any way to convert tab-delimited data. Bruce This message and any