OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 OkMap Forum - English
 Use of the software
 Saving online maps for offline use

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert image on imageshack.us
 Insert small zipped file as attachment (< 500 Kb)
 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Fortidelgarda Posted - 21/01/2024 : 10:24:26
I am sure this is somehow possible, after parsing the manual, but on the trial version I haven't been able to find and test a clean way to do it.

What I need to do is: load some online map (such as OSM) and save it for later OFFLINE use (i tend to travel OUT of internet-covered areas...).
Best even, if I could save ALSO in formats I can use with other programs; but even having to stay within OK map will be good (I can use OKMap on a PC with connected GPS receiver, as I read on the manual).

I saw hints of capabilities to theoretically do each step, but cannot make sure there is a straightforward way to do it (I can load online maps in the trial version, but cannot save maps).

Thank anyone for a reply and suggestion!

Quod non inveniam, inventam
15   L A T E S T    R E P L I E S    (Newest First)
okmap Posted - 21/01/2025 : 10:30:44
Se salvi la mappa in formato MbTiles, vengono già creati automaticamente alcuni livelli sottostanti. Puoi aprire la mappa mbtiles con ad esempio DB Browser (sqlite) per verificare i livelli prodotti.
Se carichi una mappa mbtiles con OkMap, verrà caricato il livello più dettagliato, mentre altre app come ad es. OkMap Mobile sono in grado di gestirli tutti.
Fortidelgarda Posted - 20/01/2025 : 16:12:12
Grazie,
la pagina indicata (di GDAL) mi pare di complessità ben superiore a quanto posso affrontare per salvare una mappa... spero ci siano dei default con effetti ragionevoli...

Parametri a parte, forse non ho capito la procedura.
Mettiamo che voglia creare un file di una certa area con anche solo due livelli di zoom (diciamo 12 per avere una vista d'insieme e 20 per poterla vedere in dettaglio).

Seleziono una coordinata (centro), un server e un livello di zoom (es 12).
A questo punto "get image" mi restituisce un'immagine mappa che posso caricare.
Questa la posso ora salvare come MBTiles, ma ovviamente mi salva solo questo livello di zoom (12).

Come dovrei fare a procurarmi le tiles di un eventuale altro livello di zoom e salvarle nello stesso file MBTiles?

La stessa area con livelli di zoom maggiori è composta da potenzialmente moltissime tile che dovrei scaricare una a una?! e come potrei calcolare le coordinate dei loro centri?
Decisamente ingestibile, è evidente che non sto capendo il modo giusto di procedere.

Se carico la stessa area come "load web map", ci sono i diversi livelli di zoom, ma non mi consente di salvarla come file.

Quod non inveniam, inventam
okmap Posted - 20/01/2025 : 10:45:04
Il formato MbTiles è predisposto a contenere tiles di più livelli.
Una volta scaricata la mappa ed aperta, salvala in formato MbTiles e poi imposta i parametri secondo le specifiche riportate in questa pagina https://gdal.org/en/stable/drivers/raster/mbtiles.html#raster-mbtiles
Fortidelgarda Posted - 19/01/2025 : 22:24:59
Ho ripetuto la procedura, mi sembra in modo identico, ma evidentemente qualcosa è cambiato e stavolta un'immagine mappa è stata scaricata.
Chissà cosa avevo combinato...
Quindi passo avanti!

Se capisco bene, posso però scaricare un singolo livello di zoom alla volta.
Quindi per avere una "normale" mappa (offline) da poter zoomare dovrei in teoria scaricare ad esempio una mappa d'insieme a zoom "basso", che copre un'area relativamente estesa, e poi un numero potenzialmente elevato di singole piastrelle al livello di zoom che mi serve...
Anche scaricando solo un paio di livelli (es. 12 e 20) diventa un lavoro notevole e praticamente proibitivo, senza contare che sarebbe praticamente impossibile calcolare e impostare esattamente le coordinate del centro (o degli angoli) di ogni singola piastrella necessaria per ricostruire l'area a zoom elevato.

In altri contesti normalmente è possibile selezionare un'area di interesse e trovarsi direttamente una mappa "tiled" con tutti i necessari livelli di zoom, esattamente come quando si è online.

O mi sta sfuggendo il modo giusto di farlo?

Grazie!

Quod non inveniam, inventam
okmap Posted - 12/01/2025 : 12:13:13
Quale versione di OkMap stai utilizzando?
Puoi mandare per favore a info@okmap.org la pagina della richiesta del download della mappa con i campi compilati?
Fortidelgarda Posted - 09/01/2025 : 20:32:18
Hello! After quite some time I purchased OKmap and got back on subject.
I selected Italy/Lombardia from the map servers, entered coordinates of an area of interest, 3000x3000 image size and 20 zoom level.
After a while download finished and I was informed that a calibrated bap was saved with the name of my choice.
I do see that an okm file was created, along with a jpj file.
But, when I load the okm file only a white map is displayed.
In fact, the img file does contain a wholly white field...

What did I do wrong?
Thank you!

Quod non inveniam, inventam
okmap Posted - 23/01/2024 : 14:00:05
As I was saying, the creation of raster maps starting from multiple web services (including OSM) is already available in OkMap. The only limit is 12,000 pixels per side per map.
Fortidelgarda Posted - 23/01/2024 : 13:14:19
Will explore this too...

I assume that loading and saving OSM map files directly bu OkMap is not expected any time soon.

Quod non inveniam, inventam
okmap Posted - 23/01/2024 : 11:47:33
To use ECW with maps > 100Mb you must purchase the ERDAS compressor which is not free and produce them with other tools outside of OkMap.
Then OkMap can load ECW maps aven if they are very very big.
Fortidelgarda Posted - 23/01/2024 : 11:13:06
Online maps are out of question from the beginning, this thread comesf from the need to use maps offline (Morocco is now 90% covered, but Algeria and Libia are definitely not...)

I will investigate this ECW thing...
Means I can load and save a much larger maps using this format within OkMap? Or do I need some external tool?

Libya's OSM, which I already downloaded from their server, is about 400M in OSMand, so we are getting closer to a reasonable number of maps...

Quod non inveniam, inventam
okmap Posted - 23/01/2024 : 09:16:24
If you want very large offline maps you can use the ECW format (but the compressor is free up to 100Mb). You can make maps of up to 1000 gigapixels. Otherwise use online maps, their zoom level is fine for navigation (unless there is no network).
Fortidelgarda Posted - 22/01/2024 : 22:33:09
Four maps would be fine, but just the area from Tripoli to Akakus is 1200x500km... that rougly makes for 50+ maps...
Not very handy to do nor to navigate...

Quod non inveniam, inventam
okmap Posted - 22/01/2024 : 16:54:51
you can make 4 maps instead of 1
Fortidelgarda Posted - 22/01/2024 : 16:24:45
Thank you, that's a step ahead!
Now I "only" need to figure out how many pixel per side is Libya!

I assume this means raster maps are used (while vector maps wouldn't need such limitations).

Considering a decent "topographic navigation" density around 10m/pixel, seems you cannot store much more than about 100km squares... good enough for a walking day trip but quite difficult to collect the whole of a country on a raster map.

Or am I getting something wrong?

Quod non inveniam, inventam
okmap Posted - 22/01/2024 : 13:01:02
quote:
Originally posted by Fortidelgarda

Thank you,
But can I load a web map (say OSM) and save it in whatever format that will allow me to use it offline?



Yes you can. You can choose the zoom factor and the coordinates of the map center and the dimensions in pixels or you can choose the map limits and the zoom factor and the system automatically calculates the dimensions. The dimensions cannot be more than 12,000 pixels per side.

OkMap forum © 2025 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07