View Single Post
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.