Comments (6)
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.
Quotation fixes for this project were released as part of:
- geopackage-mapcache-android 1.13
- geopackage-android-map 1.3.1
- geopackage-android 1.3.1
- geopackage-core-java 1.2.1
Also fixed in geopackage-java 1.2.1
from geopackage-mapcache-android.
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.
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.
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.
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)
- Upgrade Android Target Version to 23 (Marshmallow) and handle runtime permissions
- failed to create projection from name: EPSG:0 from the ERDC WhiteHorse sample HOT 3
- rtree_ triggers dropped HOT 4
- how to create New GeoPackage into specific folder ? HOT 2
- MapCache crashes HOT 1
- No raster tiles drawn from the Geopackage raster file HOT 3
- Exception error "Failed to create projection for authority: EPSG, code: 3857" in the Android logcat for Pseudo Mercator projection HOT 4
- Enable opening .gpkg and .gpkx files from other apps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geopackage-mapcache-android.