Changes between Initial Version and Version 1 of Ticket #1223


Ignore:
Timestamp:
Apr 25, 2007, 7:11:05 AM (17 years ago)
Author:
warmerdam
Comment:

Mateusz,

Could you look into this? This may be a general problem with many drivers with regard to setting the driver information when doing a CreateDataSource(). Depending on the complexity of changes we may put into 1.4 or just in trunk.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1223

    • Property Severity majornormal
    • Property Cc warmerdam added
    • Property Priority highnormal
    • Property Milestone1.4.2
    • Property Owner changed from warmerdam to Mateusz Łoskot
  • Ticket #1223 – Description

    initial v1  
    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.
     1I 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.
     2When 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.
    63
    74What's more interesting is that it still crates the layers properly even though the driver is NULL :)
    85
    96Ariel
    10 }}}