Closed mateo3571 closed 1 year ago
Thanks for the bug report!
It looks like the issue may be that the app doesn't deal well with MBTiles files with spaces in the filenames. Can you try renaming your file to have no spaces, and see if that solves the issue? If it does, that's a bug but one with a clear workaround for now.
Renamed mbtiles file to have no spaces or underscores, etc. Same error displays. I tried to attached one of the offending mbtiles for your reference but mbtile file type is not supported.
Thanks for testing — could you email the file directly to code@davenquinn.com? On Jul 21, 2022, 5:02 PM -0500, mateo3571 @.***>, wrote:
Renamed mbtiles file to have no spaces or underscores, etc. Same error displays. I tried to attached one of the offending mbtiles for your reference but mbtile file type is not supported. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Another option for debugging: The only place in Mapboard's codebase that particular error is thrown is after a "sanity check" were we connect to the database and run the SQL query SELECT tile_data FROM tiles LIMIT 1
against it.
This query should succeed if the MBTiles file is a properly formed SQLite database with the appropriate tables for MBTiles. You could check in an SQLite reader (e.g., SQLiteBrowser) to see if you have the requisite tables and that query succeeds.
Thanks for the replies. The file is too big to email directly. Here’s a a Dropbox link to the mbtiles file in question.
https://www.dropbox.com/s/mkl4hpn8ri29oc3/01ENCagsChartPDF.mbtiles?dl=0
Thanks.
Matt
On Thu, Jul 21, 2022 at 11:14 PM Daven Quinn @.***> wrote:
Thanks for testing — could you email the file directly to @.? On Jul 21, 2022, 5:02 PM -0500, mateo3571 @.>, wrote:
Renamed mbtiles file to have no spaces or underscores, etc. Same error displays. I tried to attached one of the offending mbtiles for your reference but mbtile file type is not supported. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/davenquinn/Mapboard-GIS/issues/9#issuecomment-1192135616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSKZ7UJCUXFCRE6Q4IOARDVVIGYHANCNFSM54I5O2WA . You are receiving this because you authored the thread.Message ID: @.***>
Hi Daven, I've created mbtiles in QGIS, Global Mapper, MapTiler Desktop, My GeoData Converter and Ubuntu and Mapboard GIS throws an error on all of them. It must be something I'm doing wrong when setting up a project because I can't imagine all of those programs are compiling the mbtiles files incorrectly so Mapboard GIS rejects them. I loaded one of the mbtiles files which Mapboard rejected into the SQLite Browser utility and ran the SQL Statement reference in your last email. The results are in the screenshot below.
[image: MapBoard SQL Statement test_1.png] [image: MapBoard SQL Statement test_2.png]
Thanks.
On Fri, Jul 22, 2022 at 1:55 AM Daven Quinn @.***> wrote:
Another option for debugging: The only place in Mapboard's codebase that particular error is thrown is after a "sanity check" were we connect to the database and run the SQL query SELECT tile_data FROM tiles LIMIT 1 against it.
This query should succeed if the MBTiles file is a properly formed SQLite database with the appropriate tables for MBTiles. You could check in an SQLite reader (e.g., SQLiteBrowser) to see if you have the requisite tables and that query succeeds.
— Reply to this email directly, view it on GitHub https://github.com/davenquinn/Mapboard-GIS/issues/9#issuecomment-1192211196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSKZ7XVY6VAU2ZEEGXPRYTVVIZWFANCNFSM54I5O2WA . You are receiving this because you authored the thread.Message ID: @.***>
Hi Mateo,
The screenshots didn't load but thanks for your checking, and sorry this is frustrating.
For what it's worth, I have just tested your MBTiles file on my latest development version of Mapboard (which has some significant changes to the mapping engine from the current version) and it show up just fine.
So – you are encountering a bug that I have since corrected, although the fix is not public. I'm unsure exactly what it was, but clearly it was my mistake. I'll try to get the new version out shortly to mitigate this.
Thanks again for the report.
Great. Thanks Daven!
On Sun, Jul 24, 2022 at 12:49 AM Daven Quinn @.***> wrote:
Hi Mateo,
The screenshots didn't load but thanks for your checking, and sorry this is frustrating.
For what it's worth, I have just tested your MBTiles file on my latest development version of Mapboard (which has some significant changes to the mapping engine from the current version) and it show up just fine.
So – you are encountering a bug that I have since corrected, although the fix is not public. I'll try to get the new version out shortly to mitigate this.
Thanks again for the report.
— Reply to this email directly, view it on GitHub https://github.com/davenquinn/Mapboard-GIS/issues/9#issuecomment-1193246377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSKZ7XWLU3HJB3HQIPPLYDVVTDMVANCNFSM54I5O2WA . You are receiving this because you authored the thread.Message ID: @.***>
Hello Daven. Any updates on the latest version of the Mapboard GIS mobile app for iOS with the mbtiles fix in it?
Thanks. Matt
Hi Matt,
This one's proving a headache because there's a major map system update (Mapbox iOS SDK -> Mapbox Maps SDK) that has to be weaved in, which has occasioned a major rewrite of far too many things. Still, it's getting closer by the day, and there's a lot of advances in the new version. I will release a beta soon and let you know when that's available to try.
Best, Daven
Hi @mateo3571, a new beta for Mapboard GIS is available on TestFlight that fixes this and many other issues. Feel free to provide feedback on this or other issues.
The fixes for this bug have now been released in Mapboard GIS v3.2.0 and v3.3.0. Please check those out!
Hi David, While I was successful with importing a select few mbtiles files - image overlays, into Mapboard, the majority of mbtiles fail to display after importing them various file storage resources including the local folders on my iPad. All SQLite files failed to import. I couldn’t identify a common pattern as to why most didn’t load into Mapboard and two or so that did import. Btw, it didn’t matter if a mbtiles file successfully imported into the app or not, there were errors 100% of the time directly after the file showed up in the app.
I’ve attached some screenshots below. I know I suck at defect validation and user acceptance testing because I provide little to no detail in the steps to reproduce. It wouldn’t surprise me if I missed a backend setting that resolves my issue but the errors are pretty generic in nature.
Btw, I’ve been trying out what seems like 100’s of mobile apps to identify an app which can support large file sizes associated with hydrographic sonar data while offline. I saw that the 3D terrain was implemented in Mapboard and that was very cool. I don’t see any means for me to import my elevation data into the app that could used as a bathymetric seafloor model which I would drape my hi-res (50cm-1m) raster mosaics on. For fishing, diving and some reef building efforts. I’ve used Map Plus for years to run my charts but I want to sell my data to people that would load the files into an app like Map Plus. Map Plus is kinda difficult for most fisherman types to grasp, so not suitable as hosting platform for hi-res bathy app that hosts hi-res datasets.
On Mon, Jan 23, 2023 at 3:29 PM Daven Quinn @.***> wrote:
The fixes for this bug have now been released in Mapboard GIS v3.2.0 and v3.3.0. Please check those out!
— Reply to this email directly, view it on GitHub https://github.com/davenquinn/Mapboard-GIS/issues/9#issuecomment-1400938414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSKZ7XGR45WYL2RJ6RHS3LWT3S2RANCNFSM54I5O2WA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @mateo3571,
I don't see the screenshots here. Have you checked the Developer Settings > Event Log to see if there is a specific error message thrown?
As far as importing elevation data for terrain modeling, right now the app has very limited functionality in this regard (essentially, Mapbox's own elevation datasets). I'm working on some server-side solutions to increase the breadth of this, but it is a large problem space. Over the next few years, I am keen to evolve in this direction.
If you had an external data system that hosted clean bathymetric datasets in COG format, I've experimented with some servers that could tile them and provide for usage in the app. Perhaps we could have a call sometime to discuss what would be needed for Mapboard to host such a system.
2 of 5 screenshot sent
On Sun, Feb 12, 2023 at 2:29 PM Daven Quinn @.***> wrote:
Hi @mateo3571 https://github.com/mateo3571,
I don't see the screenshots here. Have you checked the Developer Settings
Event Log to see if there is a specific error message thrown?
As far as importing elevation data for terrain modeling, right now the app has very limited functionality in this regard (essentially, Mapbox's own elevation datasets). I'm working on some server-side solutions to increase the breadth of this, but it is a large problem space. Over the next few years, I am keen to evolve in this direction.
If you had an external data system that hosted clean bathymetric datasets in COG format, I've experimented with some servers that could tile them and provide for usage in the app. Perhaps we could have a call sometime to discuss what would be needed for Mapboard to host such a system.
— Reply to this email directly, view it on GitHub https://github.com/davenquinn/Mapboard-GIS/issues/9#issuecomment-1427113086, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSKZ7XPV7MADE5OZCUMZM3WXE2YRANCNFSM54I5O2WA . You are receiving this because you were mentioned.Message ID: @.***>
It appears that screenshots sent via email are not shown on the GitHub issue page. Can you upload them directly at https://github.com/davenquinn/Mapboard-GIS/issues/9?
Subscription Info:
Error in mobile app UI when (after uploading a mbtiles raster from my local iPad folder)