I created a mbtiles file using MapTiler 9.1, and imported it to GeoServer (no errors). When I previewed the layer, it came out all garbled up (see screenshot below). I could see this being an issue with the data import settings, but have no idea where to begin to address this. I don't think the images themselves are corrupted, as they preview fine in MapTiler.

enter image description here

Oddly enough some tiles seem to render fine at different zoom levels, some garbled, and others not at all.

Update: after playing around with Layer Publishing settings, it appears to do with the Interpolation Method. Unfortunately any setting I chose resulted in better or worse images, leading me to believe that the export from MapTiler used some awkward interpolation settings. I am re-exporting now using Nearest Neighbor settings, which is also present in GeoServer.

Update 2: the new export didn't change anything, the behavior remained the same in GeoServer. I have the default raster style applied to this layer. Seems this might be an issue/incompatibility with the rendering engine?

  • For creating mbtiles I usually use plugin Qtiles that works in Qgis 2.18 – Vadym Dec 26 '18 at 2:29
  • I need to use MapTiler because of the manual reference points that align historical maps with current infrastructure. – mike.bronner Dec 26 '18 at 2:36
  • At least I think I "need" it, because so far it has been the only software for Mac I have been able to find that allows visual alignment of images of maps over maps (Google, OpenLayers, etc). – mike.bronner Dec 26 '18 at 3:05
  • 1
    In Qgis you can use its georeferencing tool as well and then Qtiles plugin can be applied – Vadym Dec 26 '18 at 3:11
  • @Vadym after checking out QGIS with the Georeferencer plugin, it seems you can do overlay georeferencing like in MapTiler. Using the overlay method is so much faster when you have to add hundreds of reference points. Do you have any suggestions for doing something like that in QGIS? I can see that it is a much more powerful program than MapTiler, though. – mike.bronner Dec 26 '18 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.