maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Mapsi - a map application for everyone (https://talk.maemo.org/showthread.php?t=72982)

orava 2011-12-21 13:51

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Jaykie (Post 1140357)
orava, not sure if this has been already posted but would it be possible to add kinetic scrolling for browsing the map?

I try to add it at some point.

oulu 2011-12-21 15:43

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
[QUOTE=orava;1140328]v3.6.5 for N9/N950 is available

Hi, proxy settings works fine, also brightness control is nice,
i cant get layer tiles from selected area.

pekkis 2011-12-21 15:55

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Yleinen etu voitti byrokraatit:

http://yle.fi/uutiset/kotimaa/2011/1...i_3122640.html

oulu 2011-12-21 19:20

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Tuolla aiemmissa keskusteluissa oli juttua opastavasta nuolesta landmarkkia kohden, onko se tulossa joskus?

orava 2011-12-21 20:33

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by oulu (Post 1140495)
Tuolla aiemmissa keskusteluissa oli juttua opastavasta nuolesta landmarkkia kohden, onko se tulossa joskus?

Koitan seuraavaan versioon saada lisättyä.

Toi "Possibility to download layer tiles from selected area" meinaa siis sitä, että nyt kun valitsee vasemman reunan menusta alimmaisen pallon (jolla siis voi kopioda karttaruutuja tietyltä alueelta), niin siinä pitäis pystyä valitsemaan myös layereitä (ennen siis pystyi valitsemaan ainoastaan "basemappeja"). Eikö se toimi?

oulu 2011-12-21 20:58

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
tais olla käyttäjässä vika ettei toiminut, kunhan valitsi layerit niin latautuu ne.

Atrakki 2011-12-22 00:17

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Voisiko joku laittaa toimivaa .ini-tiedostoa ja pientä vinkkia, niin osaisi koota itsekkin. On hieman epäselvää vielä noiden layerien nimeämiset ja oikeiden koordinaattien haku.

Jaykie 2011-12-22 08:20

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by orava (Post 1140385)
I tried to add somer error detection to WMS settings parsing and that error message should appear if:
type is not "basemap" or "layer"
or name is not set
or url(s) is not set
or layers is not set
or layers, layerNames and layerWidths don't have same number of values

Thanks orava. I had a clear mistake in my ini file and now everything is smooth again :)

orava 2011-12-22 08:55

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Atrakki (Post 1140571)
Voisiko joku laittaa toimivaa .ini-tiedostoa ja pientä vinkkia, niin osaisi koota itsekkin. On hieman epäselvää vielä noiden layerien nimeämiset ja oikeiden koordinaattien haku.

MinX ja MinY koordinaatit saa helpoiten siten, että selaa karttaa (netissä olevaa, joka käyttää haluttua WMS:ää) mahdollisimman lounaaseen ja kopioi sieltä karttaruudun kuvan osoitteen. Sen osoitteen loppuosa on muotoa:
?LAYERS=kartta&FORMAT=image%2Fpng&SERVICE=WMS&VERS ION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3067&BBOX=0,65 28000,128000,6656000&WIDTH=256&HEIGHT=256

Tästä BBOX kenttä ilmoittaa sen karttaruudun vasemman alakulman ja oikean yläkulma koordinaatit. Noista voi sitten ottaa
minX ja minY koordinaatit eli:
minX = 0
minY = 6528000
ja laskea layerin leveyden/pituuden vähentämällä suuremmasta x-koordinaatista pienemmän x-koordinaatin (tai vastaavasti y-koordinaateista). Eli:
6656000-6528000 = 128000

orava 2011-12-27 12:36

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
v3.7.0 for N9/N950 is available here.

Changes:
- Added possibility to set target and get alert when that target is reached
- Added arrow that can be used to navigate to a selected coordinate
- Geocaching icons
- Possibility to use built-in compass
- Bug fixes

Target settings: (the target icon is at the left side of the info box at the top)
- Double click the target icon to set currently selected point on the map to target
- Press and hold the target icon to set target alert settings
- Click target icon to go to the target on the map

Using navigation arrow:
1. Click somewhere on the map so that the blue point appears
2. Press and hold that blue point and select "Guide here" (GPS must be enabled)

Using built-in compass:
1. Press and hold GPS icon on the left menu. GPS settings menu shows up.
2. First select "GPS sources" and below "GPS sources" select "Device default".
3. Click "Compass" button.

oulu 2011-12-27 14:35

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Great, navigation arrow works.

oulu 2011-12-29 16:12

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Saisko landmarkeille grouppia mikä antaisi hälytyksen jos lähestytään kategorian sisällä olevaa landmarkkia,
lähinnä tuolle olisi käyttöä nopeus kamera landmarkeille,
noita kun ei ole N9 Nokia Mapsissä, landmarkit saa ladattua
http://www.gps-waypoints.net/gps/?language=fi ,ne joutui muuttamaan gpx 1.1 sopiviksi, muutoin landmarkit näkyy mapsissä, landmarkkien deletointi kaataa mapsin, olisko noita landmarkkeja liikaa (1423).

kike 2011-12-29 16:55

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Atrakki (Post 1140571)
Voisiko joku laittaa toimivaa .ini-tiedostoa ja pientä vinkkia, niin osaisi koota itsekkin. On hieman epäselvää vielä noiden layerien nimeämiset ja oikeiden koordinaattien haku.

Sama vika. Ei ainakaan edellinen mikä oli jaossa toiminut. N9 yritän saada pelittämään.

hilleri 2011-12-29 17:08

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
sormi suussa täälläkin tuon ini tiedoston kanssa :)

oulu 2011-12-31 07:16

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
mihin mapsi lataa landmarkit, importtasin transport kategoriaan nuo nopeuskamera landmarkit, ja niitä ei voi poistaa. Ei löydy hakemistoa missä nuo olisi, vaikka Mapsin poistaa ja asentaa uudelleen, landmarkit ei katoa.

orava 2011-12-31 08:46

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by oulu (Post 1143738)
mihin mapsi lataa landmarkit, importtasin transport kategoriaan nuo nopeuskamera landmarkit, ja niitä ei voi poistaa. Ei löydy hakemistoa missä nuo olisi, vaikka Mapsin poistaa ja asentaa uudelleen, landmarkit ei katoa.

Ne tallennetaan varmaan /home/user/.cache/tracker hakemistoon (Mapsi käyttää Qt Mobilityn Location APIn landmark toteutusta ja sen dokumentaatiossa sanotaan tallentamisesta: "Landmarks are stored in Tracker using SPARQL queries"), mutta sinne ei pääse eikä niitä sitä kautta varmaan kannata ees koittaa poistaa. Koitan saada seuraavaan versioon korjattua, että se poistaminen Mapsissa toimii.

orava 2011-12-31 09:20

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
I forgot to mention in version 3.7.0 changes that now there's also possible to use built-in compass. I updated short instructions how to do it here.

NimiE 2011-12-31 11:32

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Vähän apuja uuni tuoreen N9:n omistajalle ini:n kanssa... Luulin osaavani itse, mutta joku mättää.

EDIT: Näköjään osasin sittenkin :D

TheAnonJoe 2012-01-02 01:11

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Off topic:
In my opinion the actions of Paikkatietoikkuna against us are completely ridiculous. We are private people using their service they have made freely available on the Internet. Mapsi is just a different front-end for using their service. They should think of it as a special kind of web browser. Yes, it might cache some data from their site, but so could a standard web browser. How are they going to prevent that? They also say that printing of a limited number of maps for private use is allowed. Why we can't store a limited number of maps digitally then? How is it different from printing media?

They can keep on building fences on our way and we'll just keep on jumping over them. What takes them money and days to implement, takes us a couple of hours to circumvent. So instead of harassing private people they should focus on companies profiting from their freely available service.


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...

Henkka 2012-01-02 07:33

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Thank you Orava for the great app that keeps evolving!

Is there a possibility to open gpx. files through the app? I would like to open gpx. files that my friends have recorded, for example if they have found a neat snowmobile trail, that I would like to try also. And then if you could share a recorded gpx. file for your friends from the app would be great too.

Tarmo 2012-01-02 12:36

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by orava (Post 1143787)
I forgot to mention in version 3.7.0 changes that now there's also possible to use built-in compass. I updated short instructions how to do it here.

Windowsissa toimiva mapsi ei enää lataa karttoja. Yritin noista keskusteluista selvittaa mitä pitäisi tehdä, mutta ei selvinnyt. Apua kaivattaisiin.

TheAnonJoe 2012-01-02 13:42

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Off topic:
In my opinion the actions of Paikkatietoikkuna against us are completely ridiculous. We are private people using their service they have made freely available on the Internet. Mapsi is just a different front-end for using their service. They should think of it as a special kind of web browser. Yes, it might cache some data from their site, but so could a standard web browser. How are they going to prevent that? They also say that printing of a limited number of maps for private use is allowed. Why we can't store a limited number of maps digitally then? How is it different from printing media?

They can keep on building fences on our way and we'll just keep on jumping over them. What takes them money and days to implement, takes us a couple of hours to circumvent. So instead of harassing private people they should focus on companies profiting from their freely available service.


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://talk.maemo.org/showpost.php?p...&postcount=273
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://talk.maemo.org/showpost.php?p...&postcount=273.

TheAnonJoe 2012-01-02 13:56

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
And 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

Tarmo 2012-01-02 15:13

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by TheAnonJoe (Post 1144588)
Off topic:
In my opinion the actions of Paikkatietoikkuna against us are completely ridiculous. We are private people using their service they have made freely available on the Internet. Mapsi is just a different front-end for using their service. They should think of it as a special kind of web browser. Yes, it might cache some data from their site, but so could a standard web browser. How are they going to prevent that? They also say that printing of a limited number of maps for private use is allowed. Why we can't store a limited number of maps digitally then? How is it different from printing media?

They can keep on building fences on our way and we'll just keep on jumping over them. What takes them money and days to implement, takes us a couple of hours to circumvent. So instead of harassing private people they should focus on companies profiting from their freely available service.


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.

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.

hyrra 2012-01-02 15:32

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Tarmo (Post 1144555)
Windowsissa toimiva mapsi ei enää lataa karttoja. Yritin noista keskusteluista selvittaa mitä pitäisi tehdä, mutta ei selvinnyt. Apua kaivattaisiin.

Koitin karttojen osalta tuota 3.6.4 win versiota. Mapsin puolesta kartat kyllä latautuu mutta itsellä on ongelmia F-securen palomuurin kanssa, jostain syystä ei tule sitä kyselyä, että sallitaanko yhteys. Eli ei mene nettiin ilman kikkailuja.

Tarmo 2012-01-02 16:51

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by hyrra (Post 1144640)
Koitin karttojen osalta tuota 3.6.4 win versiota. Mapsin puolesta kartat kyllä latautuu mutta itsellä on ongelmia F-securen palomuurin kanssa, jostain syystä ei tule sitä kyselyä, että sallitaanko yhteys. Eli ei mene nettiin ilman kikkailuja.

Mulla on myös F-secure. Aikaisemmin se on kyllä sallinut tämän yhteyden. Pitäisköhän mun käyttää tuota alkuperäistä version 2.6.0 vms_settings.ini tiedostoa ja ajaa siihen toi python scripti?

Jare 2012-01-02 17:36

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Tarmo (Post 1144633)
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.

Ainakin uusimman Windows version kanssa toimii, kun siirrät wms_settings.ini:n data kansioon, sekä käynnistät ja suljet Mapsin kerran. Sen jälkeen data kansioon tulee lisää tiedostoja, joista avaat settings.ini:n ja vaihdat sieltä rivin "useWms=false" -> "useWms=true".

Tarmo 2012-01-02 18:56

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Kiitos. Vaihto uusimpaan versioon auttoi. Sama homma pitäisi vielä tehdä N900 puhelimessa.

orava 2012-01-03 08:35

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Henkka (Post 1144443)
Is there a possibility to open gpx. files through the app? I would like to open gpx. files that my friends have recorded, for example if they have found a neat snowmobile trail, that I would like to try also. And then if you could share a recorded gpx. file for your friends from the app would be great too.

Opening routes saved in .gpx files was already possible at some older versions but I think I removed it 'cause it didn't worked well if route was divided in multiple segments. I'll try to fix it and add to the next version and I'll also look into how that .gpx sharing could be done.

vihru 2012-01-03 12:47

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
saako tän tällä hetkellä jotenki toimiin?

Tarmo 2012-01-03 17:06

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
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?

kike 2012-01-03 22:04

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by Tarmo (Post 1144633)
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.

tplastic 2012-01-04 11:22

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by TheAnonJoe (Post 1144588)

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?

Tarmo 2012-01-04 12:36

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
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ä.

Jaykie 2012-01-04 13:31

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
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.

TheAnonJoe 2012-01-04 13:38

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
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.

kike 2012-01-04 16:49

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by TheAnonJoe (Post 1145617)
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.

Jaykie 2012-01-04 21:48

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by kike (Post 1145719)
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 2012-01-04 22:26

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
Quote:

Originally Posted by TheAnonJoe (Post 1145617)
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.

pekkis 2012-01-05 07:56

Re: [Announce] Mapsi - a map application for FIN, SWE, NO
 
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


All times are GMT. The time now is 06:46.

vBulletin® Version 3.8.8