ASCII and Shapefile

Ryan Ollerenshaw ollerery at ENGR.ORST.EDU
Fri Sep 8 08:10:47 PDT 2006


P Kishor wrote:
> ogr2ogr
>
Looks like ogr2ogr needs a specific format.

 > ogr2ogr -f "ESRI Shapefile" -a_srs epsg:4326 output thick08.csv
FAILURE:
Unable to open datasource `thick08.ps' with the following drivers.
  -> ESRI Shapefile
  -> MapInfo File
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> DGN
  -> VRT
  -> AVCBin
  -> REC
  -> Memory
  -> CSV
  -> GML
  -> PostgreSQL

My file just looks like this:
      0.00     90.00     -1.41      6.12
      1.00     90.00     -1.41      6.12
      2.00     90.00     -1.41      6.12
      3.00     90.00     -1.41      6.12
      4.00     90.00     -1.41      6.12
      5.00     90.00     -1.41      6.12
.....
.....

Any help would be great
> On 9/7/06, Ryan Ollerenshaw <ollerery at engr.orst.edu> wrote:
>> Is there a way to go from an ASCII file to a Shapefile?  I have a file
>> that contains a list of lat/long coordinates and there values at each
>> point,  and i know what the projection will, be so is there a way to
>> create a shapefile from and ASCII file if the projection is known?
>>
>>
>
>



More information about the MapServer-users mailing list