Tarmo
|
2012-01-03
, 17:06
|
Posts: 37 |
Thanked: 3 times |
Joined on Sep 2011
|
#271
|
|
2012-01-03
, 22:04
|
Posts: 39 |
Thanked: 17 times |
Joined on Dec 2010
|
#272
|
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.
|
2012-01-04
, 11:22
|
Posts: 27 |
Thanked: 8 times |
Joined on Nov 2009
@ Finland
|
#273
|
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.
|
2012-01-04
, 12:36
|
Posts: 37 |
Thanked: 3 times |
Joined on Sep 2011
|
#274
|
|
2012-01-04
, 13:31
|
Posts: 95 |
Thanked: 20 times |
Joined on Nov 2006
|
#275
|
"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"
|
2012-01-04
, 13:38
|
Posts: 4 |
Thanked: 14 times |
Joined on Jan 2012
|
#276
|
|
2012-01-04
, 16:49
|
Posts: 39 |
Thanked: 17 times |
Joined on Dec 2010
|
#277
|
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.
|
2012-01-04
, 21:48
|
Posts: 95 |
Thanked: 20 times |
Joined on Nov 2006
|
#278
|
|
2012-01-04
, 22:26
|
|
Posts: 234 |
Thanked: 281 times |
Joined on Nov 2010
@ Helsinki
|
#279
|
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.
|
2012-01-05
, 07:56
|
Posts: 38 |
Thanked: 6 times |
Joined on Mar 2006
@ Finland
|
#280
|