R: [UMN_MAPSERVER-USERS] ASCII and Shapefile
Antonio Iandolo
aiandolo at GRUPPOAS.IT
Fri Sep 8 08:14:17 PDT 2006
Maybe you could import this file into excel and export it as a csv, so
that you can specify csv as the "source" file; then you can use ogrinfo
myfile.csv to get some infos on it.
> -----Messaggio originale-----
> Da: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Per conto di Ryan Ollerenshaw
> Inviato: venerdì 8 settembre 2006 17.11
> A: MAPSERVER-USERS at LISTS.UMN.EDU
> Oggetto: Re: [UMN_MAPSERVER-USERS] ASCII and Shapefile
>
>
> 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