1 | | {{{ |
2 | | I use CreateDataSource to create several shape files layers in a folder, or to create tables in PGSQL. |
3 | | I get an instance of the SHAPE driver, and then I specify in the name paramater the relative path of the folder, then I issue CreateLayer to create the shape files. |
4 | | When I use OGRSFDriverRegistrar::Open on the same directory with shape files the driver pointer is attached. |
5 | | When I use OGRSFDriver::CreateDataSource the driver (fetched with GetDriver()) is NULL. |
| 1 | I use CreateDataSource to create several shape files layers in a folder, or to create tables in PGSQL. I get an instance of the SHAPE driver, and then I specify in the name paramater the relative path of the folder, then I issue CreateLayer to create the shape files. |
| 2 | When I use OGRSFDriverRegistrar::Open on the same directory with shape files the driver pointer is attached. When I use OGRSFDriver::CreateDataSource the driver (fetched with GetDriver()) is NULL. |