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
Hi Bruce, A while ago I wrote a little utility to convert delimited text files to shapefiles, based on an old version of shapelib. (This is before I knew about the OGR project.) You can download a copy from ESRI's ArcScripts site at http://arcscripts.esri.com/details.asp?dbid=14268. It does wor