[Qgis-developer] GeoPackage: Vector layer save as... support
Stefan Keller
sfkeller at gmail.com
Fri Jun 5 05:08:18 PDT 2015
Hi Tim and Even
Thanks for your answers and input!
Seems to work! https://github.com/qgis/QGIS/pull/2114
Yay!
I've tested it with a point, linestring and polygon layer containing >
2500 features
Should I add something to some test suite? If yes, what?
Cheers, S.
2015-06-05 9:50 GMT+02:00 Even Rouault <even.rouault at spatialys.com>:
> Le vendredi 05 juin 2015 00:53:39, Stefan Keller a écrit :
>> Hi,
>>
>> Can somebody explain, if there is a problem when GeoPackage is being
>> added as writable driver (see also this feature request [1])?
>>
>> I'm not sure but it seems that it's mainly inserting following snippet
>> to "core/qgsvectorfilewriter.cpp", specifially
>> "QgsVectorFileWriter::driverMetadata", after line 2272 [2]:
>>
>> else if ( driverName.startsWith( "GeoPackage" ) )
>
> --> Should rather be "GPKG" (short name of driver) I think
>
>> {
>> longName = "GeoPackage";
>> trLongName = QObject::tr( "GeoPackage" );
>> glob = "*.gpkg";
>> ext = "gpkg";
>> }
>>
>> Yours, S.
>>
>> [1] https://hub.qgis.org/issues/12187
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
More information about the Qgis-developer
mailing list