View Single Post
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#389
Originally Posted by sampop View Post
Hi.
So, now the mapsi works but what does this mean:

OpenStreetMap's Mapnik and Cycle maps are now used by default (if you don't have old settings files) so there's no need to copy any settings files anymore.
Eli Mapsi käyttää siis kahta asetustiedostoa (wms_settings.ini ja map_settings.ini), joissa määritellään miltä palvelimilta karttoja haetaan ja miten niitä käytetään. Aikaisemmissa versioissa ei ollut mitään karttoja käytössä ennen kuin käyttäjä oli itse tehnyt/hankkinut noi asetustiedostot. Uusimmassa versiossa tehdään automaattisesti OSM-karttoja käyttävät asetustiedostot (jotka ei taida enää toimia), jos mitään asetustiedostoja ei löydy.

Esim. täältä taitaa löytyä toimivat asetustiedostot (jotka pitää kopioida /home/user/MyDocs/.mapsi/ -hakemistoon), joilla saa kartat näkyviin.

Originally Posted by sampop View Post
Unfortunately there was yet another change in database so you'll need to either delete your old database file ("wms.db" in "/home/user/MyDocs/.mapsI" folder) or follow following instructions:
1. Download SQLite Database Browser, install it and open "wms.db" file in it.
2. Select "Execute SQL" and type in "SQL string" text box
Code:

UPDATE tiles SET style="";

3. Press "Execute query" and wait until it finishes (this'll take a while and you might get "Application not responding" error but just wait more)


Specially these last bolded, I don't understund what should I do.
Perhaps in finnish, thanks?

Mapsi runs now, but I don't have any map on it...
Only blank blue backround.

Question really is that, where do I find the wms.db-file?
Nämä ohjeet liittyy vaan siihen, miten vanhan version karttapalatietokanta muutetaan toimimaan uudessa versiossa. Eli näistä ei tartte välittää, jos ei sellasta vanhaa tietokantaa ole.
 

The Following User Says Thank You to orava For This Useful Post: