maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Metromap-fremantle (https://talk.maemo.org/showthread.php?t=52266)

pine 2010-05-09 20:49

[ANNOUNCE] Metromap-fremantle
 
Hi!

I've just released MetroMap 0.1.3e and it's already queued to extras-devel repository. This application offers metro maps for 7 cities (Moscow, St. Petersburg, Kiev, London, Berlin, Paris, New York). More than 100 more maps are available from pMetro project (http://pmetro.su/Maps.html). For all cities you are able to see metro map, calculate best routes betwen stations, browse stations info. Actually this app is a port of python app metromap (http://metromap.antex.ru) to hildon.

Additional maps are stored to /home/user/MyDocs/MetroMap (or N900/MetroMap as it's seen from filemanager)

It's available
In garage: https://garage.maemo.org/projects/metromap/ (metromap-fremantle package, simple metromap is old one)
In extras-devel: http://repository.maemo.org/extras-d...map-fremantle/
On maemo.org: http://maemo.org/packages/view/metromap-fremantle/


Volunteers are highly welcome to create new translations translations. Sample translation can be taken from /opt/metromap/locale/ru/LC_MESSAGES/metromap.pot


New translations may be uploaded to 'Translations' garage tracker of MetroMap project, located at https://garage.maemo.org/tracker/?at...40&func=browse

Changes in version 0.1.3e are:

* Fixed bugs:
[5904] Fixed bug with custom maps erasing from /home/user/MyDocs/MetroMap on uninstallation/upgrade. Due to the nature of the bug, upgrade from 0.1.3d to 0.1.3e STILL ERASES custom maps, all subsequent upgrades from 0.1.3e will keep maps in place

Changes in version 0.1.3d are:

* Added features:
[5898] Added support for internationalization. Added ru and en localizations

Screenshot: http://www.ljplus.ru/img4/_/p/_pine_/screenshot01.png

News source (in Russian): http://users.livejournal.com/_pine_/209505.html#cutid1

Your bug reports and votes are highly appreciated

Votes to move package from extras-testing to extras are accepted at http://maemo.org/packages/package_in...ntle/0.1.3e-1/

regards,
Pine (Nikita)

silvermountain 2010-05-09 20:55

Re: [ANNOUNCE] Metromap-fremantle
 
I'm using Metromap on Diablo/N810 and it works VERY well on US city maps.
Thanks for this!

andrew_85 2010-05-09 20:59

Re: [ANNOUNCE] Metromap-fremantle
 
wow this is a great application . .can you add New York please?

pine 2010-05-09 20:59

Re: [ANNOUNCE] Metromap-fremantle
 
silvermountain,
pls note that if you'll take new US maps from pMetro site (pmetro.su), they won't work - metromap-fremantle is currently based on pMetro Y2008 map format, and current pMetro format is slightly different.
Your comments on your experience would be great - i don't have plans to visit US, at least till this autumn :)

pine 2010-05-09 21:02

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by andrew_85 (Post 650926)
wow this is a great application . .can you add New York please?

yep, maybe silvermountain can share his NY maps in old format? I don't have these now, so the only thing to offer from my side is to wait till new format support :) I think it will be in 1-2 weeks

silvermountain 2010-05-09 22:32

Re: [ANNOUNCE] Metromap-fremantle
 
I actually just used the maps from here: http://pmetro.su/Maps.html

Works great on my N810 :)

HellFlyer 2010-05-09 22:35

Re: [ANNOUNCE] Metromap-fremantle
 
Very nice indeed :) Could you please include Toronto subway as well? Thanks

n-mi 2010-05-09 23:00

Re: [ANNOUNCE] Metromap-fremantle
 
I've downloaded Paris map from http://pmetro.su/Maps.html , and Metromap does not start anymore after choosing Paris in the town selection menu.

Here is the trace when launching Metromap from terminal :

~$ python /opt/metromap/metromap.py
Traceback (most recent call last):
File "/opt/metromap/metromap.py", line 755, in <module>
city_changed(CITY)
File "/opt/metromap/metromap.py", line 512, in city_changed
MD = MapDisplay(mdlines, mdstations, mdvectors, station_selected, sh, cachedir=CACHEDIR, debug=DEBUG, pb=Iface, one_button=Iface.one_button)
File "/home/opt/metromap/modules/MapDisplay.py", line 122, in __init__
minx = min(map(lambda st: min(st['x'] - st['diameter'] / 2 - 5, st['namerect'][0] - 5), self.Stations.values()))
ValueError: min() arg is an empty sequence

silvermountain 2010-05-09 23:49

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by HellFlyer (Post 651024)
Very nice indeed :) Could you please include Toronto subway as well? Thanks

Toronto: http://pmetro.su/Toronto.htm#googtrans/ru/en

Not sure if it's subway, bus or train :)

Edit: I missed where it was mentioned above that these map formats doesn't work for N900 (?) and that the new map formats wont be available for 1-2 weeks - so try on your own "risk" :)

DeargDoom 2010-05-09 23:54

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by n-mi (Post 651033)
I've downloaded Paris map from http://pmetro.su/Maps.html , and Metromap does not start anymore after choosing Paris in the town selection menu.

Pine has said these maps will be supported in the next version. I think silvermountain is using a different version to us.

If anyone finds a compatible Paris map in the meantime though I would find this very useful.

andyph666 2010-05-10 03:15

Re: [ANNOUNCE] Metromap-fremantle
 
wait so the .pmz files aren't supported right now? Tried putting them in /opt/metromap/data and it can't find the maps I downloaded from pmetro.su. Thanks for the help.

Dunsurfin 2010-05-10 03:20

Re: [ANNOUNCE] Metromap-fremantle
 
Excellent program!

Would be very happy if you could add Chicago to the mix. Keep up the good work!

ivgalvez 2010-05-10 06:02

Re: [ANNOUNCE] Metromap-fremantle
 
I've been waiting for this kind of application, thanks.

Once you add support for the new pMetro maps format it would be great.

pine 2010-05-10 06:33

Re: [ANNOUNCE] Metromap-fremantle
 
Guys,

Let me clarify the situation one more time: I've looked inside PMZ files and discovered that format of pMetro maps was changed in 2008. So if you'll find OLD pMetro maps, you can use it right now. MetroMap (both PC and Maemo versions) uses that old-and-rusty format right now because PC version was not updated since 2008 and I simply modified it for Maemo. So, there are at least two ways to live with:

1) wait till I'll change map format - it's not an easy and straightforward task, but I estimate it for 1-2 weeks
2) find old format maps somewhere

I can easily imagine that everyone wants his city, but that's the matter of time, i hope :)

pine 2010-05-10 17:15

Re: [ANNOUNCE] Metromap-fremantle
 
Votes are accepted at http://maemo.org/packages/package_in...ntle/0.1.2b-2/

tanque 2010-05-16 13:47

Re: [ANNOUNCE] Metromap-fremantle
 
hi, i think this is a sweet app to have, however, is there a way to translate the cyrillic names to english for the russian subway maps?
thanks
d

pine 2010-05-24 07:57

Re: [ANNOUNCE] Metromap-fremantle
 
New version just released:

Changes in version 0.1.3 are:
* Support for new format of maps (*.pmz), which can be downloaded from http://pmetro.su/Maps.html and stored to /opt/metromap/data
* Map of New York and Paris included in addition to previous ones
* Name in repository changed to MetroMap

See the details in initial post.

Your votes to move project from extras-testing to extras are highly welcome at http://maemo.org/packages/package_in...antle/0.1.3-1/

pine 2010-05-24 07:58

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by tanque (Post 660825)
hi, i think this is a sweet app to have, however, is there a way to translate the cyrillic names to english for the russian subway maps?

I think that it's possible, but in general I'm trying to keep the same maps that pMetro project (http://pmetro.su/Maps.html) offers. If you really need it, we can arrange it, but first I should contact Boris Muradov, who is pMetro developer.

ivgalvez 2010-05-24 08:41

Re: [ANNOUNCE] Metromap-fremantle
 
Very nice application. Before, there were a lot of one-city applications that weren't suitable for a daily basis. Thank for your work

Some suggestions for future releases:
- Do not start on first run of the application with a default Moscow map, as the user might want to load any other else and it takes some time to load.
- When in the map selection screen, add the posibility to return to main screen by clicking outside the selection menu.
- The full-screen button could be an overlay at the right-bottom screen (like in MicroB) when you are in compact view. It should change between normal and compact view, I think there is no need for a full screen - not compact view.
- Place the information bar at the bottom of the screen (like urlbar on MicroB).
- Zoom in/out buttons in the information bar.
- Zoom in/out with gestures (swirl finger or double tap) would make it almost perfect on fullscreen.
- When tap on the information bar (with a route established) show a resume of the route.

Regards

juanenrique 2010-05-24 09:09

Re: [ANNOUNCE] Metromap-fremantle
 
i spend almost 5 months of the year in moscow and i am a big fan of your app... great job!... (if you ever get some time, madrid (where i also spend about 5 months) and washington DC would be extremely appreciated too)...

EDIT: i've got the maps i needed from the website you mentioned, kudos & thanks!

juanenrique 2010-05-24 09:14

Re: [ANNOUNCE] Metromap-fremantle
 
hey, i think i just found a bug with the latest upgrade... whenever i want to change the city, it allows me to select a city but it doesn't exit that menu anymore (i'm in moscow map, using a zoom of 80%, i don't know if that's got anything to do with the bug)...

...no, zoom was not an issue, i tried again at default 100%, and again it stayed in the menu without being able to get out... i had to reboot both times... nothing else works... :confused:

pine 2010-05-24 09:24

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by juanenrique (Post 672929)
hey, i think i just found a bug with the latest upgrade... whenever i want to change the city, it allows me to select a city but it doesn't exit that menu anymore (i'm in moscow map, using a zoom of 80%, i don't know if that's got anything to do with the bug)...

Just wait 10-20 seconds - menu is still shown while map starts to load. I don't know yet how to fix it, but it is somewhere on top of my next release tasks.

Also it looks like I've broke zoom - some maps are not zoomed correctly now - in that case just restart the app and you'll get new zoom.

Pigro 2010-05-24 09:25

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by juanenrique (Post 672918)
i spend almost 5 months of the year in moscow and i am a big fan of your app... great job!... (if you ever get some time, madrid (where i also spend about 5 months) and washington DC would be extremely appreciated too)...

In theory, you can simply download these and install them yourself from the URL in the 1st post. The "about" page in the app instructs you to place downloaded maps in /opt/metromap/data. Not sure if Madrid etc. currently exist on http://metromap.antex.ru - as it's all in Russian (can't see an English version) and so it's hard for non-russian speakers to work out how to locate maps of interest :-( I guess you speak some Russian - can you advise if there is an english language option on that website ?

Moving on, I just installed this and a few points:

1) I changed from Moscow to London. The change took a very long time (seemed like several minutes ... at least long enough for the screen lock to kick in a couple of times) while "London" was highlighted as my choice but the option list didn't dissapear (and if I tried to click on the blurred background it would flip back to Moscow).

2) I eventually left it in peace and it did load up London - but the title bar still says Moscow

3) I think I may be very dumb, but having entered a random to/from journey, the app has put a dotted red line around both stations on the map, but I can't se any option to calculate a route (and there is nothing like the screenshot where an estimated journey time is shown). What am I missing?


EDIT - removed pointless feedback which related to an older version of the app

juanenrique 2010-05-24 09:25

Re: [ANNOUNCE] Metromap-fremantle
 
oh... davay, i'll try that... 'pacibo... :)

BluesLee 2010-05-24 09:25

Re: [ANNOUNCE] Metromap-fremantle
 
@pine: great new release. i hope i can get my favorite maps
running with it.

metromap crashs when changing the default map in
~/.metromap/rc, for instance Bonn-Koln or Dusseldorf do not work.
are those maps from pmetro.su just broken or is it a bug?

changing the zoom level requires a restart of the app.


Blues

juanenrique 2010-05-24 09:27

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by Pigro (Post 672944)
In theory, you can simply download these and install them yourself from the URL in the 1st post. The "about" page in the app instructs you to place downloaded maps in /opt/metromap/data. Not sure if Madrid etc. currently exist on http://metromap.antex.ru - as it's all in Russian (can't see an English version) and so it's hard for non-russian speakers to work out how to locate maps of interest :-( I guess you speak some Russian - can you advise if there is an english language option on that website ?

Moving on, I just installed this and a few points:

1) I changed from Moskow to London. The change took a very long time (several minutes) where "Lndon" was highlighted as my choice but the option list didn't dissapear (and if I tried to click on the blurred background it would flip back to Moscow).

2) I eventually left it in pace and it did load up London - but the title bar still says Moscow

3) I think I may be very dumb, but having entered a random to/from journey, the app has put a dotted red line around both stations on the map, but I can't se any option to calculate a route (and there is nothing like the screenshot where an estimated journey time is shown). What am I missing?

i didn't see a link to english, but i do know a bit of russian so i managed to get them... thx... and i've got a tip for you: when you hover over the maps with your cursor, the links shown down in the status bar of your browser give you the name of the city in english... ;-)

BluesLee 2010-05-24 09:27

Re: [ANNOUNCE] Metromap-fremantle
 
@pigro: use google translate or whatever.

pine 2010-05-24 09:30

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by ivgalvez (Post 672889)
Very nice application. Before, there were a lot of one-city applications that weren't suitable for a daily basis. Thank for your work

You're welcome :)

Quote:

Originally Posted by ivgalvez (Post 672889)
- The full-screen button could be an overlay at the right-bottom screen (like in MicroB) when you are in compact view. It should change between normal and compact view, I think there is no need for a full screen - not compact view.

Spent about 3 days on trying to do so, but still no success. There is a special C library to do that, but my experiments on binding C code to Python are not successful yet. Anyway, I keep trying :)

Quote:

Originally Posted by ivgalvez (Post 672889)
- Zoom in/out buttons in the information bar.
- Zoom in/out with gestures (swirl finger or double tap) would make it almost perfect on fullscreen.

Zoom is quite slow now, so you'll have to wait for about 10 seconds for each zoomlevel. Another way is to pre-generate map caches and ship it in the package.

Anyway, thanks for your ideas!

Quote:

Originally Posted by ivgalvez (Post 672889)
- When tap on the information bar (with a route established) show a resume of the route.

What do you mean exactly by resume? I don't think that I get the idea.

pine 2010-05-24 09:33

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by BluesLee (Post 672946)
metromap crashs when changing the default map in
~/.metromap/rc, for instance Bonn-Koln or Dusseldorf do not work.
are those maps from pmetro.su just broken or is it a bug?

I'll check it. That's what I've wanted to get form the community - obviously I cannot try all 100+ maps myself :) BTW, why are changing rc file directly? You can change default map from app menu.

Quote:

Originally Posted by BluesLee (Post 672946)
changing the zoom level requires a restart of the app.

Yep, just figured that out. Looks like I've broke that in 0.1.3 release. Will try to fix it in 1-2 days.

ivgalvez 2010-05-24 09:39

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by juanenrique (Post 672929)
hey, i think i just found a bug with the latest upgrade... whenever i want to change the city, it allows me to select a city but it doesn't exit that menu anymore.

I've seen this issue also but I can't reproduce it right now. I couldn't get out of the map selection screen.

BluesLee 2010-05-24 09:39

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by pine (Post 672954)
I'll check it. That's what I've wanted to get form the community - obviously I cannot try all 100+ maps myself :) BTW, why are changing rc file directly? You can change default map from app menu.

i checked the desktop version. unfortunately, it crashs too ...


Blues

ivgalvez 2010-05-24 09:43

Re: [ANNOUNCE] Metromap-fremantle
 
When trying to load Madrid.pmz map, it stalled at 50% in "parsing map data".
Once restarted, the default map was changed in the rc file to Madrid, and the application crashes immediately.

The default maps work like a charm.

Pigro 2010-05-24 09:46

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by pine (Post 672954)
BTW, why are changing rc file directly? You can change default map from app menu.
.

I don't see any option to chage default map in the app menu? I have "to"/"from", "map", "time of a day", "zoom", "time delta", "about" and "compact view" (8 buttons) when I select the app menu form title bar? Again, I feel I'm missing something obvious here - is there another menu in the app that I don't see?

EDIT - D'oh! I have d/loaded the extras-testing version 0.1.2b rather than the new -devel one. Sorry :-(

juanenrique 2010-05-24 09:47

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by ivgalvez (Post 672968)
When trying to load Madrid.pmz map, it stalled at 50% in "parsing map data".
Once restarted, the default map was changed in the rc file to Madrid, and the application crashes immediately.

The default maps work like a charm.

+1... i'm also still getting stuck in the city selection menu...

ivgalvez 2010-05-24 09:51

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by pine (Post 672953)
You're welcome :)
What do you mean exactly by resume? I don't think that I get the idea.

Sorry for my english, I mean a summary.
Something like in this application:
Metro (http://metro.nanika.net):

If you see in the "Route search" screen (http://metro.nanika.net/fvc/MetroWM-en.html) a summary of the planned route is shown:

pine 2010-05-24 09:51

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by Pigro (Post 672944)
In theory, you can simply download these and install them yourself from the URL in the 1st post. The "about" page in the app instructs you to place downloaded maps in /opt/metromap/data. Not sure if Madrid etc. currently exist on http://metromap.antex.ru - as it's all in Russian (can't see an English version) and so it's hard for non-russian speakers to work out how to locate maps of interest :-( I guess you speak some Russian - can you advise if there is an english language option on that website ?

Maps are available from pmetro.su/Maps.html, not from antex.ru. You can use tips from posts below your for Russian language navigations. I have distant plans to implement map downloader in MetroMap, but not in next release.

Quote:

Originally Posted by Pigro (Post 672944)
Moving on, I just installed this and a few points:

1) I changed from Moscow to London. The change took a very long time (seemed like several minutes ... at least long enough for the screen lock to kick in a couple of times) while "London" was highlighted as my choice but the option list didn't dissapear (and if I tried to click on the blurred background it would flip back to Moscow).

Have you waited till city selection menu disappearance or you clicked outside of it?

Quote:

Originally Posted by Pigro (Post 672944)
2) I eventually left it in peace and it did load up London - but the title bar still says Moscow

3) I think I may be very dumb, but having entered a random to/from journey, the app has put a dotted red line around both stations on the map, but I can't se any option to calculate a route (and there is nothing like the screenshot where an estimated journey time is shown). What am I missing?

Strange things... Could you pls submit a bug at https://garage.maemo.org/tracker/?at...40&func=browse and attach your ~/.metromap directory archived?

pine 2010-05-24 09:54

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by BluesLee (Post 672959)
i checked the desktop version. unfortunately, it crashs too ...


Blues

Desktop version supports only old maps format at the moment. I'm not desktop version developer :)

Pigro 2010-05-24 09:57

Re: [ANNOUNCE] Metromap-fremantle
 
@pine - thanks for replying - but I've edited my posts because I just realised that I've downloadd the -testing version 0.1.2b rather than the new 0.1.3 -devel version you just put in the repositories. I assume that expalins my issues, sorry for the confusion.

ivgalvez 2010-05-24 10:22

Re: [ANNOUNCE] Metromap-fremantle
 
Quote:

Originally Posted by pine (Post 672985)
I have distant plans to implement map downloader in MetroMap, but not in next release.

Awesome! Can't wait for it.

juanenrique 2010-05-24 10:23

Re: [ANNOUNCE] Metromap-fremantle
 
just to be clear... Madrid map is getting stuck after 50% parsing and not going anywhere else after that... right?


All times are GMT. The time now is 09:05.

vBulletin® Version 3.8.8