ngageoint / geopackage-js

GeoPackage JavaScript Library
http://ngageoint.github.io/geopackage-js/
MIT License
304 stars 78 forks source link

Broken examples due to mixed HTTP/HTTPS content #158

Closed kylebarron closed 4 years ago

kylebarron commented 4 years ago

On the public example website (https://ngageoint.github.io/geopackage-js/), there are sample links that can't load because the example site is served over https:

Mixed Content: The page at 'https://ngageoint.github.io/geopackage-js/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.geopackage.org/data/gdal_sample.gpkg'. This request has been blocked; the content must be served over HTTPS.
danielbarela commented 4 years ago

All connections are now https and the viewer is now forced to be loaded as https.

kylebarron commented 4 years ago

The Simple Sewers example still fails:

Uncaught (in promise) Error: file is not a database
    at a.handleError (gp.js:150735)
    at a.prepare (gp.js:150733)
    at SqljsAdapter.isTableExists (gp.js:3099)
    at GeoPackageConnection.isTableExists (gp.js:2076)
    at ContentsDao.Dao.isTableExists (gp.js:1077)
    at GeoPackage.getTileTables (gp.js:15312)
    at readGeoPackage (common.js:437)
    at common.js:422