-
(forked from Sqlite map from mapc2mapc - not working) @mariush444 Regarding the three lines of GDAL code you suggested for creating Osmond-compliant tiles in QGIS.... Can this method work entirely within QGIS with GDAL installed? On a non-Linux machine? If so, could you please walk through the steps--at least once the map is georeferenced. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Using sequences of GDAL command line instructions (using Linux scripts or whatever) can make things faster if you need to do a similar operation many times. But AFAIK, they're not doing anything that you can't to in QGIS with the normal menus and plugins, in Windows or Linux. QGIS uses GDAL. After georeferencing, just use the menus at Processing>Toolbox>Raster tools>Generate XYZ tiles (Directory) to generate tiles. Then you have to change the file extensions of every tile from .png->.png.tile or .jpg->.jpg.tile @mariush444 has noted that OsmAnd can't handle jpg packaged into a single sqlite file, but jpg allows for much smaller files if you just place the whole directory hierarchy (I think some call it a "pyramid") into Osmand's "tiles" folder. |
Beta Was this translation helpful? Give feedback.
-
sorry for no response. I was on small holidays. I don't use windows but @thompehw is right, generally. There shouldn't be deference between Win&Linux. Do not forget to rename all generated tiles from .png -> .png.tiles (It is must be done for OSMAND) Let me know if you need more help. PS |
Beta Was this translation helpful? Give feedback.
Using sequences of GDAL command line instructions (using Linux scripts or whatever) can make things faster if you need to do a similar operation many times. But AFAIK, they're not doing anything that you can't to in QGIS with the normal menus and plugins, in Windows or Linux. QGIS uses GDAL.
After georeferencing, just use the menus at Processing>Toolbox>Raster tools>Generate XYZ tiles (Directory) to generate tiles.
Then you have to change the file extensions of every tile from .png->.png.tile or .jpg->.jpg.tile
@mariush444 has noted that OsmAnd can't handle jpg packaged into a single sqlite file, but jpg allows for much smaller files if you just place the whole directory hierarchy (I thin…