yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] bbonzz:
You're right, my bad: i've reversed the connections... (i have to update also M1 and S4 lines, so wait to release this map)

I too did find the bug, and the only way to work with it was to delete the station and recreate it.

Another bug is in reversing lines: the timetable remains the same, while it should switch one position up.

For example:

A--> B --> 2 mins.

B--> C --> 5 mins.

C--> D --> 7 mins.

the reversing always makes:

D--> C --> 0 mins.

C--> B --> 7 mins.

B--> A --> 5 mins.

A--> 2 mins.

Last thing. If i want to travel from, say, Loreto to Cascina Gobba, the app always tells me to take the metro line for Cologno Nord, while i could take all the same the Gessate one (the timetables are the same)
[Windows Mobile Apps and Games] x_sliver:
the first bug is fixed on later of feb 27, the exe file modified on 17:55 is good for reverse function. but for the bug i've mentioned, you can wait until this evening for the next bugfix release.

two, for now, the two lines are the same (before Cascina Gobba), so it will always choose the first one. (so for branch lines, it always shows one of them).

i'm developping the brand new engine which could support more features like Fees, and possiblely also TimeTable. so the branded lines will be treated better it will shows like (M2 Cologno Nord - Gessate).
[Windows Mobile Apps and Games] Ruudfood:
Thanks. Maybe there's some way of checking whether a reverse line already exists or whether the save and create reverse button has already been clicked for this line. (I'm not a programmer so I don't know how difficult this would be to incorporate.)
[Windows Mobile Apps and Games] bbonzz:
Ok, thanks: give us a shot when done, so i'll d/l and fix ;)
[Windows Mobile Apps and Games] Ruudfood:
I've had a bit of time today so I've been cracking on with this and there are a few things I've noticed with the map creator:

1) you can only define 1 time for the interchange stations. In some cases there may be 4 different lines at 1 station all of which require different interchange times: some may only require a walk to the other side of the platform, some you may have to walk through a network of tunnels which could take you 3 or 4 minutes. There should be a way to differentiate between the times taken to get to each line.

2) some lines have fast trains which miss stops along the route. You should be able to accommodate these.

3) Some branches or connections are only available at certain times of the day (peak hours). You should be able to define these.

The Metropolitan Line on the London Underground is a good example of where 2) and 3) apply.

I'm sure there are other things that will crop up so I'll post them as and when I find them.
[Windows Mobile Apps and Games] madin972:
Great Idea , i don't really like my metro applicatio,now.
[Windows Mobile Apps and Games] Ruudfood:
What does "A generic error occurred in GDI+" mean? I got it when I tried to add a logo to a line (in both PNG and JPG format), but after I restarted Map Creator, created a new line and added a new logo it worked fine. Then for the same line, now that I've added the station and I'm ready to save, the error message has appeared again when I click "Save and create reverse line" or just "Save". (So now I'm stuck!)
[Windows Mobile Apps and Games] x_sliver:
i'm doing a trace and i found that:

if the images has already exist in the image folder, it will launch a GDI+ exception. will correct it and release the bugfixed in 30 minutes ~ 1 hour
[Windows Mobile Apps and Games] x_sliver:
OK, new version of CityAdvisor and MapCreator have released

version: 2009.0221
[Windows Mobile Apps and Games] Ruudfood:
I don't know what's happened here but now when I try to add an image I get the attached message when I try to save. The only way out is to cancel, but when I return to the main screen, click another line then click the line to which I added the image, all of the stations assigned to the line have disappeared!
[Windows Mobile Apps and Games] x_sliver:
i tried to add a line with some stations without logo.

then click save and create reverse line.

then i reopen them to add images and save

for here, the logos are updated, stations are still exist.

can you transfer me your map and tell me the steps to let this error reappear?
[Windows Mobile Apps and Games] Ruudfood:
EDIT: I'll send it to you by PM as putting it here will confuse people into thinking that it is complete. (See the next post!)
[Windows Mobile Apps and Games] Georgeous2008:
Wrapping it up

Just to wrap up a bit as this thread is growing in size. The version on top is the latest version, the older versions have been posted for completeness.

CITY MAPS

Amsterdam

http://xdaforums.com/showpost.php?p=3334576&postcount=143

http://xdaforums.com/showpost.php?p=3334413&postcount=142

http://xdaforums.com/showpost.php?p=3330818&postcount=122

http://xdaforums.com/showpost.php?p=3330172&postcount=118

Athens

http://xdaforums.com/showpost.php?p=3334856&postcount=145

http://xdaforums.com/showpost.php?p=3332646&postcount=138

http://xdaforums.com/showpost.php?p=3329470&postcount=115

Barcelona

http://xdaforums.com/showpost.php?p=3343386&postcount=181

http://xdaforums.com/showpost.php?p=3292918&postcount=82

http://xdaforums.com/showpost.php?p=3278087&postcount=15

London

http://xdaforums.com/showpost.php?p=3362122&postcount=218

Madrid

http://xdaforums.com/showpost.php?p=3291087&postcount=72

Milan

http://xdaforums.com/showpost.php?p=3364848&postcount=230

http://xdaforums.com/showpost.php?p=3356863&postcount=206

http://xdaforums.com/showpost.php?p=3356618&postcount=205

Munich

http://xdaforums.com/showpost.php?p=3353637&postcount=200

Prague

http://xdaforums.com/showpost.php?p=3349532&postcount=186

Rome

http://xdaforums.com/showpost.php?p=3291433&postcount=76

http://xdaforums.com/showpost.php?p=3286722&postcount=64

http://xdaforums.com/showpost.php?p=3281602&postcount=45

http://xdaforums.com/showpost.php?p=3278932&postcount=31

TRANSLATIONS

- Czech http://xdaforums.com/showpost.php?p=3364042&postcount=226

- Dutch http://xdaforums.com/showpost.php?p=3350851&postcount=193

- German http://xdaforums.com/showpost.php?p=3329168&postcount=112

- Greek http://xdaforums.com/showpost.php?p=3329862&postcount=117

- Italian http://xdaforums.com/showpost.php?p=3291433&postcount=76

- Spanish http://xdaforums.com/showpost.php?p=3291492&postcount=78
[Windows Mobile Apps and Games] x_sliver:
The problem has been found.

when you create a new map by Map Creator, it will create a xml file, and a folder which has the same name. so the program suppose the folder exist.

when you save, the program will copy the image to the folder, but here the folder is not exist.

to solve this problem, just create a folder with the same name of xml file: for London.xml here, called "London", then it works.

(but the lost stations can not get back if you save the map, sorry :(

there are some stations have no references, see: View - All Stations - Order by Reference. do not click "clean unused station" if you will use them, i think these can do a little help when you attach them on a line )

like this:

London.xml map file

London folder

London\xxxx.png image will be copied here

I hope that solves the problem.
[Windows Mobile Apps and Games] Ruudfood:
Yes it does. I thought that I'd created the London folder myself as I have a structure of:

..\Maps\Images

..\Maps\London

Thought it was strange when I found another London sub-folder in there so I deleted it. Didn't realise that Map Creator has created it.

Have you thought any more about having different interchange times for different lines? In your example of how to create branch lines you set the last line before the branch as an interchange and make the interchange time 0. But if there are other lines interchanging at this station where the time required is a little longer it will skew the results.
[Windows Mobile Apps and Games] x_sliver:
i thought more than that. but this is a leak in version 0.7, the modeling is not that complex so it cannot improved to support many complicated features.

take interchange for example. if we have 4 lines connected at one station, and we set a connecting time for each 2 lines, there will be 24 connectingTime (one line have 2 direction) to set. it is too complicated when we create maps.

i'm doing the next version of engine, which can treat better branch lines and support more features like distance, fee and maybe timetable. and i believe it is much faster than the actual engine. but the problem is also the modeling - each city have a different case - take Price for example, in Paris, the price is calculated by Zone, Paris city = Zone 1, suburban from Zone 2~ Zone 5. but in Shanghai, the price is calculated by Distance (0~6 km a price, 6~16 km another price).

this will be an one-month research to improve the modelisation and add more pratical functions. the good news is in this 3:00AM, the searchEngine based on time and connecting works. doing the optimisation now.
[Windows Mobile Apps and Games] antaresc:
Error cityadvisor.exe in sony ericsson x1 - xperia

Hi, when I run cityadvisor in sony ericsson xperia, after selecting the map to load application closes.

Thanks.
[Windows Mobile Apps and Games] antaresc:
Error cityadvisor.exe in sony ericsson x1 - xperia

Message duplicate :-|
[Windows Mobile Apps and Games] x_sliver:
With the errors you've posted, this error happens on loading the Logo images. the program did not find it. so try these steps:

1. navigate to the folder of CityAdvisor you installed

2. enter the cities folder

3. check the map name you want to load: here CITYNAME.xml for example

4. check if there is a folder called CITYNAME (the same name to the xml file)

you have to make sure that the map you download is a full version or a bug-fix version.

bug-fix version sometimes have only a XML file, and full version contains also a folder with certains images.

sorry for that inconvenince but i haven't finish the website yet.
[Windows Mobile Apps and Games] derby00:
czech translation

Hallo do you can add czech language into City advistor...

Here is translated file...
[Windows Mobile Apps and Games] antaresc:
x_silver, the problem is not resolved. The map is full version and the application is installed on the phone, not the memory card.

Thanks.
[Windows Mobile Apps and Games] x_sliver:
Can you tell me which map you are using and which floor you got it? i'll check where the problem is
[Windows Mobile Apps and Games] x_sliver:
thanks, will add it in the next release.
[Windows Mobile Apps and Games] bbonzz:
Milan Map

Version 1.0.2009.0222:

- 3 Underground

- 8 Subway

- 2 Airport Shuttles

- 30 City to Hinterland and vice-versa bus lines

Todo:

- 57 urban bus lines

- 18 urban tramway lines

- 2 City to Hinterland and vice-versa tramway lines

X-Sliver: the app is becoming really slow, either searching the paths and searching the single stations... Métro Milan Map has the same lines (minus the 8 subway and some bus), but is lightining fast: half a second to calculate Gessate-Sarca, while we need many seconds
[Windows Mobile Apps and Games] x_sliver:
i realized that after i added RER C of paris map, so in two weeks i always working on improve the performance of the engine.the algorithm is O(n^3), that means 2 times more lines, 8 times more time.

I did not developed on the new functions of CityAdvisor after 9 feb, just because i'm developping the new engine (with C++, not .NET CF). in floor 191, there is the same engine realized by C++, sometimes faster but not sure and that is not stable, i dropped it. but that proved the efficiency of C++ is 1 time faster than C#.

So i did a 4-day-long research on the algorithm and i built a test engine, now i'm creating the new format of data (of course support many new features), and take Paris map for test. the new algorithm is O(n^2), that means much faster than the actual one. because of the new features, the engine will not fast than the description of theory, but i think if i can control the time to 1 second or 2. that will be great.

this is the prespective, just ignore the UI, look how many detailed info it returns, and i can make more than this:

with startZone, endZone, distance, and station passed, we can calculate the price, geo info, or more.

I need time to do a better Design of data, so in future it is easy to upgrade and keep performance.
[Windows Mobile Apps and Games] bbonzz:
Looks promising: if we can have a result in 2 seconds out of 120 lines i think it's much more than acceptable
[Windows Mobile Apps and Games] antaresc:
x_silver, I've only used http://huaxingyuan.site50.net/files/?file=x_Sliver_City_Advisor.cab.

Thanks.
[Windows Mobile Apps and Games] x_sliver:
it's my fault. the xml and image are not synced.

will correct it now.
[Windows Mobile Apps and Games] antaresc:
x_silver, madrid map does not work. The map works fine barcelona.

Thanks!!
[Windows Mobile Apps and Games] x_sliver:
I Have updated the CAB and fixed the error in map Madrid.
[Windows Mobile Apps and Games] 12aon:
Hey man, somehow the search keys in the Amsterdam maps don´t work any more. I used to be able to search for Amsterdam centraal by searching for Amsterdam and centraal, but since the update of the 21st this is no longer possible. the bug fix did however fix the problem in the Amsterdam maps that the Madrid maps also had, 12
[Windows Mobile Apps and Games] x_sliver:
maybe you used a newer version of map, i packed the version in #143 which is a reply of your map in #142, that is the latest map i can get.

in thatfile the key for Amsterdam centraal is "amsterdam centraal station", set it to "centraal station".

maybe the version of here replaced a map of your own version.
[Windows Mobile Apps and Games] avimak:
Yep, we are so small :)

only 20,770 km2 for more than 7,000,000 people...
[Windows Mobile Apps and Games] 12aon:
Ah yes how silly of me, was still in the process of finishing that:) You must get tired of having to sort out other people problems:D, 12

Edit: Attached are the updated metro maps and with that a couple of tourist sights (metro isn't the central way of public transportation in Amsterdam). Might be nice to eventually have a points of interest system instead of tourist sights, I'd add hospitals and such, 12
[Windows Mobile Apps and Games] x_sliver:
no problem. always at service.

I attached a Performance Pack in the main post. that is the same engine realized by navice code, so a little faster than the actual one.

i dropped it because in big maps, the performance is still un-acceptable, but at least, it's faster. i think share this pack is the best way before the new engine comes out.
[Windows Mobile Apps and Games] Ruudfood:
Hi x

A couple of quick questions...

I've started on the London maps, but you've mentioned that you're re-writing the engine for City Advisor and the Map Creator and I wondered when you expect them to be out? Will it be easier and more accurate to create the maps to take into account multiple branches, off-peak lines, multiple interchanges, etc? Should I hold the development of the London maps and wait for the new version or will existing maps (regardless of how I create branches, etc) be compatible?
[Windows Mobile Apps and Games] x_sliver:
i think it will take me one month. and this depends on the work in my company. if i have less spare time, it will take longer.

to support more features, of course the format of map will change. but there will be a upgrade feature to transfer the map to the new format (because actual format is simple than the new one). for the simple lines (circular lines, no branch lines), it's 100% compitable to convert, but the branches lines, or some quick lines will not 100% compitable, we have to make some little changes (id of lines, branchOf property, etc), and input new data for new features (time range, night shift, distance, etc.).

the engine is re-wrote but still in design period, if the design changes, the engine will also be improved. i'm studying the world main cities to fix which function should add in the program.

Anyway, i'll do my best to make a auto-convert module in map creator, to lower the work of upgrade.
[Windows Mobile Apps and Games] atropo:
J don't know but cab file in first post isn't installable.

Bye
[Windows Mobile Apps and Games] bbonzz:
Milan final release

Here is Milan (Italy) final release:

- All the tube lines

- All the Suburban Rail lines

- All the bus lines

- All the tramway lines

To make you know where you're gonna travel, i've used also some pics:

- tramway (as in line 1, see pic below) has its icon and red numbers

- bus (as in line 18, see pic below) has its icon and black numbers

- filobus (as in line 90, see pic below) has its icon and blue numbers

- tube lines have the white on red "M"

- Suburban lines have the green on blue "S"

WARNING: being this map very, very large, since it has all the city lines, for now it's for evaluation purpose only. It takes at least 20 minutes to calculate a simple route, so be advised. This is mainly for X-Sliver to test with the new search engines he's gonna develop
[Windows Mobile Apps and Games] x_sliver:
20 minutes....

it is catastrophical slow, calculate in paris uses less than 1 second to 20 seconds with proformance boost. i'll keep it for test, thanks.

seems i have to accelerate my work.
[Windows Mobile Apps and Games] sci05:
Anything happening on this???
[Windows Mobile Apps and Games] x_sliver:
Hi guys,

Nealy two weeks i've not updated this program. but i want to tell you that i'm always working on it.

And today, i have a big progress that i can assure you that the search takes less than 1 second whatever how big the map is. i tested the new engine on device emulator without graphical UI, and the emulator runs slower than real PPC device. so that would be great.

Another problem, this new algorithm requires the new format of XML map. Manually edit the map is too hard and the new Map Creator is more complex to design.

The old map can be converted but the multi-branch lines will not be converted correctlly.

the programs will work on-the-fly, so i think the transformation of map data is worth to do.

my next work is to make the engine more strong and stable, and build a better map creator to convert and create maps.

Regards,

x_sliver
[Windows Mobile Apps and Games] bbonzz:
very good news!
[Windows Mobile Apps and Games] The_Steph:
Nice to hear that development has not stopped on this very promising piece of software.

The_Steph
[Windows Mobile Apps and Games] x_sliver:
bbonzz, I converted your full milan map, and tested it on the new engine.

it has 690 stations, 132 lines, 1824 arcs (arc bewteen two stations)

the search of Gessate -> Brenta shows the result as follows (line logos are not showed).

i think this is the "fastest" path, the search itself uses less than 0.5 seconds.

so i think the new engine works and i can use it on CityAdvisor now. the next week i can publish a Beta Version of CityAdvisor 0.8 to collect bugs. Speed is not a problem for now.
[Windows Mobile Apps and Games] bbonzz:
not sure if it's the fastest path, those stations are far away from me :)

if you want a sure path, try Gorgonzola-->Testi-Pianell

there are 2 possible right paths:

1.

-M2 (Abbiategrasso) to Gobba

-44 to Pirano-Monza

-walk to Gorla

-walk to Monza-Bechi

-86 (Lagosta) to Pianell-Testi

-walk to Testi-Pianell

2.

-M2 (Abbiategrasso) to Loreto

-M1 (Sesto) to Gorla

-walk to Monza-Bechi

-86 (Lagosta) to Pianell-Testi

-walk to Testi-Pianell
[Windows Mobile Apps and Games] x_sliver:
yeah, but no such a stations like "Testi Pianell" or "Pianell Testi" in the map

but from Gorgonzola-->Gorla, it shows the second way M2,M1.

i will try later with Paris map, i'm more famaliar with that :)
[Windows Mobile Apps and Games] bbonzz:
they must be there...

<station id="1979" name="Pianell - Testi" key="Testi" isConnected="True" />
<station id="851" name="Testi - Pianell" key="Pianell" isConnected="True" />
[Windows Mobile Apps and Games] x_sliver:
Ah, that's it. my fault, i didn't get the latest version. will re-convert it.
[Windows Mobile Apps and Games] x_sliver:
Hi Guys, today, i release a preview version of CityAdvisor 0.8, i convert some of existing maps and you can test them. because the file format changes and the convert does not 100% works, maybe the search is not stable and sometimes it will gives a less better solution.

if it shows a bad result, maybe 2 reasons:

1. engine itself is not solid

2. something wrong in map data, espcially connecting time and time between station.

you can change result options to 1, 2 and 3 to tweak the engine.

Speed of Search:

much faster than before, normally less than 1 seconds. speed is depend on the distance of two station, In the Full Milano map which has 2042 stations, 624 lines, 5958 arcs, the search takes 1 seconds to 8 seconds depend on the distance. but this can still be improved.

Speed of select Station:

when there are too many stations, station selection will become slow. but in this version. this issue is fixed (or improved).

station selection is much faster either.

All other functions like favorites, tourist sites and home stations are not applied to this version. it is mainly released for testing the engine.

Old maps can not be used, i converted some of them for testing
[Windows Mobile Apps and Games] bbonzz:
it's amazing, x_Sliver! now it's lightning fast.

The map gives some strange result: have you used an outdated map or the last one? If you try the path 4 posts above the result comes out, but i don't really think it's the optimized one (the old version took 40 minutes to figure the path, but at last gave out the one i've written above, that is the correct one). But the calc time is really, really incredible!

cheers
[Windows Mobile Apps and Games] x_sliver:
i use the latest one.

in certain case, the engine do not give the optimized result. but i cannot correct it now because i've no idea if it is a problem of map or the engine, because now the maps are converted by a program, not 100% works.

i found a similar problem as you described, i fixed it. now i'll work on the bug you mentioned. i believe most paths are correct, just in some special cases.
[Windows Mobile Apps and Games] x_sliver:
i tried again:

Gorgonzola->Monza - Bechi

======================

M2 Abbritegrasso : Loreto

M1 Sesto 1 Maggio F.S. : Gorla

Walk to the station : Monza - Bechi

37 minutes

and

Monza - Bechi -> Testi - Pianell

======================

86 Lagosta : Pianell - Testi

Walk to the station : Testi - Pianell

16 minutes

37 + 16 + connect at monza -bechi > 47. so i think the result is optimized.

I met same problem here. i suppose 2 minute on every 2 stations on metro, so the engine are always trying to avoid metro but to use train (RER) instead, because it is much faster.

the old engine is based on "Line", now the engine is extremely based on "Time", thus in real life, the connecting time means "Time we need to walk" + "Time we need to wait for the next train/bus", so i have to try some tweaks or feature to simulate better the TimeWaiting. for this, we can find the balance to use such as low frequency but faster trains.
[Windows Mobile Apps and Games] bbonzz:
I suggest to insert some "hierarchy" that can be imposed by the map author. For example, here in Milan (but in Paris as well, for what i remember), the engine should consider, in order of preference:

- metro

- tram

- bus

- train (rer lines in Paris, "S" lines here).

so, also if metro + bus takes some minutes more, in real life, as you say, is faster.

But since in other cities this can be different, i suggest it as variable in map, and not as general rule in engine
[Windows Mobile Apps and Games] x_sliver:
open any xml file, look at the last section "transport_modes", the hierarchy is already there :) , it can also be used to calculate the price : in Paris metro/bus takes 2 tickets, while metro/metro or bus/bus takes 1.

but i have not implented them now, because more study needed to satisfy more cases.
[Windows Mobile Apps and Games] bbonzz:
I did notice the "area zone" you have inserted (useful here) but not this one. cool! :)
[Windows Mobile Apps and Games] jolas:
x_sliver,

Any news about upcoming update?