[Qgis-user] Convert to Offline Project problems with multi-part geometries

Martin Bain Martin.Bain at lismore.nsw.gov.au
Wed Nov 25 14:07:27 PST 2015


The convert to offline project looks like a really quick, simple way to create a portable copy of our database layers for disconnected use.

The problem I have is a lot of layers contain some multipart geometries.  In this situation the geometry type for the offline table will get set incorrectly for single part geometries.  I'm guessing the geometry type is inferred from the first record (or maybe the first n records).  When it attempts the copy all the rows to the offline table it throws an error when it encounters a multipart geometry, causing the whole transaction to be rolled back, resulting in an empty offline table.

Can anyone suggest a way I could get this to work?  Or an alternative method to quickly cache a lot of database layers locally.  The one-click convert to offline is appealing - if only it worked.

Thanks,
Martin.


This email is intended for the named recipient only.  The information it contains may be confidential.  If you are not the intended recipient you must not reproduce or distribute any part of this email, disclose its contents to any other party or take any action in reliance on it.  If you have received this email in error, please contact the sender immediately and delete the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151125/5e874d9e/attachment.html>


More information about the Qgis-user mailing list