[gdal-dev] viewing data

Even Rouault even.rouault at mines-paris.org
Wed Jan 9 14:53:50 EST 2008


You may want to try the following trick if you only have to deal with point 
geometry.

If you use the BNA driver as an output of ogr2ogr, by doing :
"ogr2ogr -f BNA -dsco MULTILINE=NO output.bna input"

you will get a file that can be read as a CSV file in Excel, with the 
coordinates in 2 columns. The last 2 columns contain the X and Y coordinates.

like :
"Tropical","-13.4",1,138.5000000000,-13.4000000000
"Tropical","-13.9",1,141.3000000000,-13.9000000000

Best regards,
Even

Le Wednesday 09 January 2008 20:43:35 Kralidis,Tom [Burlington], vous avez 
écrit :
> I've used ogr2ogr in the past to convert various vector data to CSV for
> use in MS Excel, but this won't include the geometry data -- unless you
> have that data encoded in a non geometry object in your source dataset.
>
> ..Tom
>
>
>
> ________________________________
>
> 	From: gdal-dev-bounces at lists.osgeo.org
> [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of LeRetha Childress
> 	Sent: 09 January, 2008 2:34 PM
> 	To: gdal-dev at lists.osgeo.org
> 	Subject: [gdal-dev] viewing data
>
>
>
> 	I'm new to using GDAL and I was just wondering if anyone can
> help me out.
>
> 	Is there a GDAL utility that will let you create a text file of
> the data that you can then open and view in say MSWord or Notepad?
>
>
>
> 	Thanks
>
> 	LeRetha
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list