[Gdal-dev] how to create a new shapefile with ogr?

Gabriele Flammia gacy at libero.it
Tue Oct 21 13:38:21 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello to all,
	I'm working for an exam, and I'm using ogr for implementing a simple overlay 
operator. I'm working with shapefile, and now i have to create a new one with 
the resulting feature. I have problem using the 
ogrDataSource = OGRSFDriverRegistrar::Open( dirname, true ) ;
if the dirname is a directory (and not a .shp) i have a segmentation faults!
Any Idea?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/lW8OXZv0tXjQI1MRAmLuAJwNFRG9ocp/un1EZ+aEOveFTMQprwCaAmw9
oiZGaYgvaV6Q0XDN8pUp2Es=
=vfvA
-----END PGP SIGNATURE-----




More information about the Gdal-dev mailing list