|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
SHAPE TO CSVHi Lister
I need an example
How I write the command to turn a line shapefiel in csv?
ogr2ogr -f "CSV" ...........????
thank in advance .... Pedro
_______________________________________________ FWTools mailing list FWTools@... http://lists.maptools.org/mailman/listinfo/fwtools http://fwtools.maptools.org/ |
|
|
Re: SHAPE TO CSVTry this command: ogr2ogr -f CSV -lco GEOMETRY=AS_XY output_csv input_line.shp Michael B. Newman, PE TRC From:
fwtools-bounces@... [mailto:fwtools-bounces@...] On
Behalf Of Pedro Ruiz Hi Lister I need an example How I write the command to turn a line shapefiel in
csv? ogr2ogr -f "CSV" ...........???? thank in advance .... Pedro _______________________________________________ FWTools mailing list FWTools@... http://lists.maptools.org/mailman/listinfo/fwtools http://fwtools.maptools.org/ |
|
|
Re: SHAPE TO CSVSorry, I meant to suggest this instead: ogr2ogr -f CSV -lco GEOMETRY=AS_WKT output_wkt
input_line.shp WKT will work better for lines. You can then post-process the
WKT to become a CSV of the type you want. From:
fwtools-bounces@... [mailto:fwtools-bounces@...] On
Behalf Of Newman, Michael (Windsor,CT-US) Try this command: ogr2ogr -f CSV -lco GEOMETRY=AS_XY output_csv input_line.shp Michael B. Newman, PE TRC From: fwtools-bounces@...
[mailto:fwtools-bounces@...] On Behalf Of Pedro Ruiz Hi Lister I need an example How I write the command to turn a line shapefiel in
csv? ogr2ogr -f "CSV" ...........???? thank in advance .... Pedro _______________________________________________ FWTools mailing list FWTools@... http://lists.maptools.org/mailman/listinfo/fwtools http://fwtools.maptools.org/ |
|
|
Re: SHAPE TO CSVHi Pedro,
Try this: ogr2ogr -f CSV C:\Temp\OutputFolder C:\Temp\InputFile.SHP This will create a folder called C:\Temp\OutputFolder and put the CSV file in there. In my experience, I haven't been able to get this to work if the output folder already exists. Cheers, Simon _______________________________________ Simon O'Keefe Geospatial Systems Developer Groundtruth Mapping Systems Level 2, 140 Queen Street Melbourne VIC 3000 Australia phone: +61 409 413 890 email: simon.okeefe@... web: http://www.groundtruth.com.au _______________________________________ 2009/10/14 Pedro Ruiz <pedrojoseruiz@...>: > Hi Lister > I need an example > How I write the command to turn a line shapefiel in csv? > > ogr2ogr -f "CSV" ...........???? > > thank in advance .... Pedro > _______________________________________________ > FWTools mailing list > FWTools@... > http://lists.maptools.org/mailman/listinfo/fwtools > http://fwtools.maptools.org/ > > FWTools mailing list FWTools@... http://lists.maptools.org/mailman/listinfo/fwtools http://fwtools.maptools.org/ |
| Free embeddable forum powered by Nabble | Forum Help |