[Qgis-developer] GeoPackage: Vector layer save as... support

Tim Sutton tim at kartoza.com
Thu Jun 4 18:45:42 PDT 2015


Hi

> On 05 Jun 2015, at 05:53, Stefan Keller <sfkeller at gmail.com> wrote:
> 
> 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" ) )
>  {
>    longName = "GeoPackage";
>    trLongName = QObject::tr( "GeoPackage" );
>    glob = "*.gpkg";
>    ext = "gpkg";
>  }

That would be a very good addition (assuming it works as expected)! Please make a pull request with your proposed change.

Regards

Tim

> 
> 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

—





Tim Sutton

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services

Skype: timlinux Irc: timlinux on #qgis at freenode.net
Tim is a member of the QGIS Project Steering Committee

Kartoza is a merger between Linfiniti and Afrispatial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150605/c638ae70/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaLogo160x66.png
Type: image/png
Size: 9324 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150605/c638ae70/attachment.png>


More information about the Qgis-developer mailing list