Hey Jared,

Perhaps I haven't looked a the spec recently but I thought with geopackage
geometry objects were supposed to be represented as blobs so that it could
be used without the need for any other libraries like spatialite. Unless
there is some sort of type aliasing going on?

As for updating bounds in gpkg_contents automatically I am thinking that
the driver should put some triggers in place to do this. We could re-use
the functions that Niels implemented for spatial indexing capabilities to
pull out the min/max x/y from geometry blobs for this.

-Justin



On Fri, Dec 26, 2014 at 4:24 PM, jerickson <jared.erick...@gmail.com> wrote:

> Hi all!
>
> One of my holiday vacation projects is to get a Geotools generated
> GeoPackage vector database working with QGIS and GDAL.  The first issue I
> ran into was that QGIS and GDAL don't recognize the geometry column because
> it's type is BLOB.  GDAL creates geometry columns with a type like
> GEOMETRY,
> POINT, MULTIPOLYGON ect...  I have a fix for this.  The second issue is
> that
> QGIS and GDAL expect the gpkg_contents entry to have valid min_x, min_y,
> max_x, and max_y values.  Is there some way to have GeoTools update this
> bounds after every write?
>
> Thanks,
> Jared
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/GeoPackage-and-QGIS-GDAL-Compatibility-tp5179287.html
> Sent from the geotools-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to