Changes between Initial Version and Version 1 of Ticket #1223

Show
Ignore:
Timestamp:
04/25/07 07:11:05 (6 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 changed from major to normal
    • Property cc warmerdam added
    • Property priority changed from high to normal
    • Property milestone changed from to 1.4.2
    • Property owner changed from warmerdam to mloskot
  • 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 }}}