Giter VIP home page Giter VIP logo

Comments (6)

bosborn avatar bosborn commented on June 16, 2024 1

Thanks. It will be more cases than just the pragmas. From a quick test queries that use the table names in the statements as well. I'll go through and try to find all cases when I get the chance. Until then if you can avoid .'s, things should work.

from geopackage-mapcache-android.

bosborn avatar bosborn commented on June 16, 2024 1

Quotation fixes for this project were released as part of:

Also fixed in geopackage-java 1.2.1

from geopackage-mapcache-android.

fnorf avatar fnorf commented on June 16, 2024

Poking in the dark I dropped all triggers and all new tables from GDAL's version, still got the same error.

from geopackage-mapcache-android.

bosborn avatar bosborn commented on June 16, 2024

It looks like using a . in the name might be creating an invalid sqlite table name "ERDC_Whitehorse_GeoPackage.gdal".

Can you try something like:

gdal_translate -of GPKG ERDC_Whitehorse_GeoPackage.gpkg Whitehorse_gdal.gpkg

from geopackage-mapcache-android.

fnorf avatar fnorf commented on June 16, 2024

Ah, that will be it! You need to quote those table names. A point in the name might be silly and misleading but valid. :)

I guess this is the offending line:
https://github.com/ngageoint/geopackage-android/search?utf8=%E2%9C%93&q=table_info

In these too I'd say, did not look further:
https://github.com/ngageoint/geopackage-java/search?utf8=%E2%9C%93&q=table_info
https://github.com/ngageoint/geopackage-core-java/search?utf8=%E2%9C%93&q=table_info

from geopackage-mapcache-android.

bosborn avatar bosborn commented on June 16, 2024

The changes are on the develop branch of geopackage-android, geopackage-core-java, and geopackage-java. They will go out with the next release.

from geopackage-mapcache-android.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.