Notices


Reply
Thread Tools
Posts: 37 | Thanked: 3 times | Joined on Sep 2011
#271
Windows versio mapsista toimii taas, mutta N900 ei lataa karttoja. Kun yritin asentaa tuota libqtm-12 pakettia niin puhelin ilmoitti, että se on yhteensopimaton paketti? Pitäiskö tuosta db tiedoston nimestä poistaa myös tuo pti- alkuosa joka siinä muistaakseni on?
 
Posts: 39 | Thanked: 17 times | Joined on Dec 2010
#272
Originally Posted by Tarmo View Post
Kokeilin tätä windows versiossa 2.6.0. Se ilmoittaa kyllä, että url on päivitetty, mutta kun siirrän tämän vms_setting.ini tiedoston mapsii ei se kuitenkaan toimi. Jäiköhän multa joku python rivi editoimatta - editoin vain ini-tiedoston osoitteen.

Voisitko vielä laittaa ohjeet tuon python koodin käyttöön. Olivat jo muuttaneet sen verran osoitetta ettei enää suomikartat latautuneet. Niin ja mitä pitää n9 olla asennettuna ennenkuin toimii.
 
Posts: 27 | Thanked: 8 times | Joined on Nov 2009 @ Finland
#273
Originally Posted by TheAnonJoe View Post

On topic:
Here's a wms_settings.ini and a simple python based url parser for the N9. The url parser extracts the current wms urls from paikkatietoikkuna.fi and writes them to wms_settings.ini. Just execute the python script every time, when paikkatietoikkuna.fi has changed "key values" in the wms urls.

Usage:
1. Download: http://www.multiupload.com/2MNZRVJ0IR
2. Extract zip to /home/user/MyDocs/.mapsi
3. Execute the python script in the terminal: "python file.py"
4. Enjoy Mapsi

I certainly hope this madness ends in May...

Edit: Here's a wms_settings.ini with currently working wms urls for people who don't have an N9 or don't want to use the script: http://www.multiupload.com/QQE8HLMXDC.
Does not work. Got the error message:

sh: python: not found

Tried this as root and in .mapsi folder with mapsi_paikkatietoikkuna_url_parser.py file in the folder.

Does N9 natively support python or should I first install some packages to get the support?

Last edited by tplastic; 2012-01-04 at 11:25.
 
Posts: 37 | Thanked: 3 times | Joined on Sep 2011
#274
Mullakin karttojen lataus windowsissa loppui eilen eikä python scriptikään enää löytänyt haluamaansa eli .ini file ei enää päivittynyt. Web-sivulla on ilmeisesti tehty taas jotain muutoksia joihin tämä Python koodi ei pure. Kiusan teko taitaa olla niitä ihmisen perisyntejä.
 
Posts: 95 | Thanked: 20 times | Joined on Nov 2006
#275
Poistivat nuo "avaimet" URL:eista, eli muuttakaa URL:t muotoon
Code:
"http://wms.a.paikkatietoikkuna.fi/gwc/mml-rasteriaineistot/service/wms,http://wms.b.paikkatietoikkuna.fi/gwc/mml-rasteriaineistot/service/wms,http://wms.c.paikkatietoikkuna.fi/gwc/mml-rasteriaineistot/service/wms,http://wms.d.paikkatietoikkuna.fi/gwc/mml-rasteriaineistot/service/wms"
Toimii ainakin mulla.
 

The Following 2 Users Say Thank You to Jaykie For This Useful Post:
Posts: 4 | Thanked: 14 times | Joined on Jan 2012
#276
Now they have removed the "non-free" and "key value" parts from the wms urls. It might be that those urls won't change in a while now, but I have made an updated version of the python script in case they will change again. The new version makes a more general match when compared to the old one.

This zip file also contains a wms_settings.ini with the latest wms urls, so you can start using it right away.

http://www.multiupload.com/1AM3XV9IR3


tplastic: I think N9 should support Python by default, but just download the new package and use the wms_settings.ini in it. In case you want to execute Python files, please try "/usr/bin/python file.py" next time.
 

The Following 7 Users Say Thank You to TheAnonJoe For This Useful Post:
Posts: 39 | Thanked: 17 times | Joined on Dec 2010
#277
Originally Posted by TheAnonJoe View Post
Now they have removed the "non-free" and "key value" parts from the wms urls. It might be that those urls won't change in a while now, but I have made an updated version of the python script in case they will change again. The new version makes a more general match when compared to the old one.

This zip file also contains a wms_settings.ini with the latest wms urls, so you can start using it right away.

http://www.multiupload.com/1AM3XV9IR3


tplastic: I think N9 should support Python by default, but just download the new package and use the wms_settings.ini in it. In case you want to execute Python files, please try "/usr/bin/python file.py" next time.
Thanks, now .ini works nicely.

That is unbelievable how they got resources to chance address all the time. Even when there is all ready decision to let these maps free.

This maps were biggest reason to buy N800 and start using Maemo.
 
Posts: 95 | Thanked: 20 times | Joined on Nov 2006
#278
Originally Posted by kike View Post
That is unbelievable how they got resources to chance address all the time. Even when there is all ready decision to let these maps free.
Well now the URLs look pretty much the same as before all this hassle so maybe they just reverted it back. There's no "non-free" part in the URL anymore Could be because of the news of making map data free.
 
shanttu's Avatar
Posts: 234 | Thanked: 281 times | Joined on Nov 2010 @ Helsinki
#279
Originally Posted by TheAnonJoe View Post
Now they have removed the "non-free" and "key value" parts from the wms urls. It might be that those urls won't change in a while now, but I have made an updated version of the python script in case they will change again. The new version makes a more general match when compared to the old one.

This zip file also contains a wms_settings.ini with the latest wms urls, so you can start using it right away.

http://www.multiupload.com/1AM3XV9IR3


tplastic: I think N9 should support Python by default, but just download the new package and use the wms_settings.ini in it. In case you want to execute Python files, please try "/usr/bin/python file.py" next time.
Nyt pelittää myös N900sessa. Kiitokset. Peukut pystyyn josko pelleily olisi ohi.
 
Posts: 38 | Thanked: 6 times | Joined on Mar 2006 @ Finland
#280
Seems that some QtMobility libs are updated with CSSU. Now mapsi dies on startup with message:

/opt/Mapsi/bin/mapsi: symbol lookup error: /opt/Mapsi/bin/mapsi: undefined symbol: _ZN10QtMobility16QLandmarkManager3GpxE
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:49.