[gdal-dev] New OGR driver for DB2 Spatial support

Kyle Shannon kyle at pobox.com
Fri Jun 12 10:43:23 PDT 2015


David

On Fri, Jun 12, 2015 at 11:33 AM, David Adler
<dadler at adtechgeospatial.com> wrote:
> I have mostly completed the driver for DB2 Spatial using the ODBC support
> and would appreciate pointers into the GDAL information for the following:
>
> 1. Is there a test suite / framework for OGR drivers?

Yes, you can download the autotest suite here (for 1.11.2):

http://download.osgeo.org/gdal/1.11.2/

there is also test_ogrsf in apps/

cd apps
make test_ogrsf
./test_ogrsf --help
Usage: test_ogrsf [-ro] [-q] [-threads N] [-loops M] [-fsf]
                  (datasource_name | [-driver driver_name] [[-dsco
NAME=VALUE] ...] [[-lco NAME=VALUE] ...] | -all_drivers)
                  [[layer1_name, layer2_name, ...] | [-sql statement]
[-dialect dialect]]
                   [[-oo NAME=VALUE] ...]

-fsf : full spatial filter testing (slow)

> 2. What is the mechanism for submitting a new driver?

Submit a ticket on the trac instance at:

https://trac.osgeo.org/gdal/newticket

attach the patch for the gdal trunk, and the new unit tests as a patch
in autotest.

> 3. What is the plan for the transition to GDAL 2.0?  My driver was developed
> against GDAL 1.11.2 and parallels similar drivers for MSSQL, PostGIS,
> Oracle, etc.

Current trunk is 2.0, with a release candidate out.  You may have to
do a little work to update the driver.

>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
Kyle


More information about the gdal-dev mailing list