yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] x_sliver:
I update both CityAdvisor and MapCrator to version 1.2 which include some improvement listed below:

City Advisor Evolutions and bug fixs:

Special TimeTable supported: now you can add special timetable for weekend or any other period.

Add two customizable peeks when using Time-range + Frequency to simulate two rush hours of a day

CAX format map support: 60% smaller, 3x faster when loading, 10x faster when refreshing map list

Add ok button on tourist sites to support WM6.5.X

Tourist-sites and Alias are now listed in Station List

Departure time selection is inverted, now it is corrected. [Thanks to odeyo]

Fix a bug supporting multi-line map description

Corrected German language support. [Thanks to mad_the_cat]

A line viewer to browse all lines, and their stations.

Accent insensitive station search.

Map Creator Evolutions

Enable Special Time-table editing.

Enable 2 customizable peeks.

Enable CAX format map generation.

Enable Language-Code Selection for accent insensitive search.

Accent insensitive station search.

About the new CAX format:

When you are saving map from MapCreator, two files will be generated:

one is XML, another is CAX.

XML is source file which can be loaded in CityAdvisor and edited in MapCreator

CAX file is CityAdvisor optimized map file, which is smaller and faster. but you can not edit it with MapCreator. means you must have the xml file to edit.

So, it is your choice to publish XML file (the source), or the CAX (the optimized file) if you want to (or not) allow any one else edit your maps.

Like XML format, you must copy the resource folder along with the CAX file.

Old XML maps and new generated xml maps are still supported by CityAdvisor.

IT is recommended to:

use XML files for data share and exchange.

use CAX files for installing maps, because it improves significantly the loading speed and refresh map list speed.

Big improvements have been made, so there may be undetected bugs, please tell me when you found it (them), thanks in advance and enjoy!:rolleyes:
[Windows Mobile Apps and Games] odyon:
sounds good x_sliver! gonna check it out!

btw, it's odyon, no worries though :D

ADD:

Ok, I've just checked the new version and i'm excited about the improvements. However, some bugs/things were noticed.

Firstly, in the about-screen of MapCreator it is still written version 1.2.0.21 (when checking for update, it also tells there is a new one available, though this is .31)

Second, "All lines" overview looks great, however after clicking a line (checked on the Rotterdam map), the stations are in random order of different lines, so it doesn't make sense :(

When i then click on 1 station, i get an IndexOutOfRangeException error.

Clock fix is great and handles good! However, still a typo on the search screen: "Deaprture" is written, instead of "Departure"

In the tourist screen, ok-button looks very nicely (and could maybe also (later) be used in other screens, this style)

I also had another error, but this was I guess due to the fact that I first uninstalled the old version, and so my paris-xml file was deleted, but the paris-folder not, (maybe it was also set to load it automatically..) i got a FileNotFoundException crash..

2nd ADD: just found it out, but it is related to the maps.txt file, (probably this is know to you). When there is still an entry in the maps.txt file but the folder/xml files of a map are already deleted but you still select this map in the map-selector screen, it gives (or at least in my case) a FileNotFound error.

Anyways, nice to see you working on this project this dedicated! If you for instance look for another "beta-tester", just PM me :D
[Windows Mobile Apps and Games] x_sliver:
Confirm about the MC version, i will correct it in database of prod -> correct the version number

Confirm Map not found bugs: map cache is actual refreshed manually, i need to do something to refresh them automatically

About Line viewer: that is weired. the list is generated by MC when saving the map, so the order is fixed and should not be changed, This function does not support the xml fileformat. I will have a look at this.
[Windows Mobile Apps and Games] odyon:
Just saved the maps again and copied them including CAX-file: the line overview looks very nice! Also the popup when clicking on a station is useful, maybe later this can be expanded with an overview of which other lines are connected to a specific station? That is also my suggestion for a specific line overview, maybe when a station is connected to two or more stations, the line-symbol is in another color, or that it's somehow visible that more lines are connected?

My other future suggestion is that in the results window for a trip, the user can also click on one element, and more detailed info is shown (for instance, similar to the line overview) also the stations in between the origin and destination/switching station. However, it's just a future idea.. :D

And another last (for now) suggestion: when you click to enter a origin/destination station, on my TP2 a new blank screen is loaded, then the keyboard is shown, then the white text entry field, and then the graphics around the text field. Is it possible to turn the last 2 around, so that first the graphics for the text field are shown, and then the textfield itself/the cursor. That way, the user won't see all rendering steps in between, and it looks like he can inmediatly enter the search query.
[Windows Mobile Apps and Games] x_sliver:
That's what i'm thinking and i will do, the popup is just the 1st step.

the station info and all lines passed by this station will be listed with more graphical.

A more detailed view of result is studing which cal show all detailed infos, stations passed, etc...

But it is not easy to do it in WM6.5, , I'll look about the possibilities.

That is what i cannot control, the loading speed of HTC keyboard in TP2 is very slow. and it is automatically loaded when the window opens.

The redering order is also cannot be control, it is done my the system. i can do some optimization, but i can assure its effect.
[Windows Mobile Apps and Games] x_sliver:
A quick bug fix version is released 1.2.1.69:

1. Bugfix: Exception when loading a map has been deleted.

2. Bugfix: If map is loaded by an xml file, line viewer is disabled to avoid exception

3. Station selection window is optimized

4. MapCreator check update error
[Windows Mobile Apps and Games] odyon:
Hey xsliver, your CAB-download links on the CA.net website don't work. Second, there is still the typo typo on the main search screen (the first screen users will see) of departure

One other question, with regard how to enter a line in MC. What if there is a line with stations A --> B --> C --> D, but on different times the metro only goes from A to B or from C to D, as well as the whole trip from A to D. Should i just construct different lines with the same name (Line D - destination B or destination D)? That's at least how i did it now, but i thought maybe the option of branches could be used for this?
[Windows Mobile Apps and Games] mad_the_cat:
:) excelent work :)

I Love your program ^^

But i think, the CityAdvisor_TranslationRessource have to been updated.

(i use the german version)

*In "programinformation window" the "View lines" button is still english

*in "about window": the headline "a public transport navigation platform" but i think, thats ok

*"lines-window" the headline "lines and stations" & the popup when klicking on a station

*home-window" the line "hold a button for more information" has a bigger font than the same line in "programinformation-window" so in the ger translation, some letters aren't visible

*adv-search-window" the topline "advanced search" & the "avoid one of the following"

*"main-window" after program start "Deaprture:now" & "normal search"

after opening/closing the adv-search these lines are spelled correcly, nevertheless in english

a funktion to avoid multiple lines/stations (e.g. all busses or more than one busline) would bee cool

in adv-windows, when "avoid a line" is active (ger-version) there is a "zuset." array ?what's that? - i can't compare it with the english version because of my ger-rom

next week i try to improve some phrases in the ger translation :)
[Windows Mobile Apps and Games] x_sliver:
ah, sorry. i mis spelled the version number. copy the download link and change it to 1.2.1.69, then it's ok. i will currect it this evening, and the typo.

about the question: yes, you create 2 lines with the same name but different destination, then in Line propertiy windows, choose (or not) the option -> is a branch line of ... if we see a subline is a branch of another line.
[Windows Mobile Apps and Games] x_sliver:
The new fonctions have not been ported to mui packages, i will do it soon.

To change the language, there is a way:

CA binds language with the System. so Goto Start->Options->System->Regional Settings

Choose english for a while.

Restart CA, you will see the interface in English

I think in future, this can be improved.

for avoiding multiple lines or stations, ONE and MULTI have different implementation.

while in MULTI, we have to send a list to engine, at any "position", we have to check if the station is in the list.

i don't know how it impacts the search performance, if it is acceptable, i will imply them.

But a limited transport mode search is planned, for example: search in Metro network only, or only in Bus/Tram network

this is a new parameter of the map: see it in Map Creator -> Transport Modes -> "Column Active"
[Windows Mobile Apps and Games] x_sliver:
I corrected the typo and download link of .cab file.

I attached two version of translation resources which includes all languages. one is Excel, another is OpenOffice Spreadsheet.:p

about station info in line viewer, i didn't add them to resources because they are temporary, a new station info viewer will be made.

I uploaded a Lyon / France map as well find it here http://cityadvisor.net/c_download/Product.aspx?pid=26
[Windows Mobile Apps and Games] taospirit:
hello x_sliver very good app but could we have the Paris metro map displaying on the screen please It would be perfect.
[Windows Mobile Apps and Games] namhtc:
City Advisor do not run after install

Hello,

I install this apps on my HTC Touch HD (first on my storage card then I also tried on the main memory) but when launched City Advisor displays a grey screen with 2 buttons at the bottom : Sélectionner and Menu.

Then if I try to perform operation either City Advisor crashes or it displays error message : "Vous devez choisir une ville lorsque la ville par défaut n'est pas valide".

Help will be welcomed,

Nam
[Windows Mobile Apps and Games] namhtc:
Solution

Hello I've found the solution to my pb : the file named "IleDeFrance.cax" should be placed in directory : "Program Files\CityAdvisor\maps" ... which is not done by default installation.

Nice software. Thanks.

Nam.
[Windows Mobile Apps and Games] x_sliver:
Is CAB version are you using? i'll check my installation file later.

thanks fo the report.

UPDATE ->

The default map is installed on the wrong dir. now the CAB package is fixed.

Thanks
[Windows Mobile Apps and Games] odyon:
Less time vs. balance/less connecting?

Hey X_sliver, I've updated my Rotterdam map (see attachment), and now it includes more specifically the different connections and timetables. it's not ready to be updated on the website btw, i hope one of these days it will be. As well as my Lisbon, The Hague and Warsaw map :D

However, i found two strange things: When you check for a route between "Centraal Station" and "Nieuw Verlaat" and it's set to "1-less time" optimization, you get a popup with "no path found". However, when you set it to "2-balance" or "3-less connecting", it generates a route.. So i would say nothing is wrong with the stations in the xml file. Any idea how this is possible and how this can be fixed?

Second, when you plan a route and select "less time", CA says for instance that the approximated total time is 12 minutes and suggests me to take 2 tramlines, and to walk a bit, while when I select "less connecting", it states 9 minutes, and only 1 tramline. So the trip with less connections is actually also shorter, according to the "about:..." message. (this example is when you plan from "Blaak" to "Rotterdam Centraal - tram". Does this have anything to do with the transfer time column in MC? Or with the trip-time itself (sum of trips) which is lower than the "about time".

Another question, if a rush and a normal frequency is set, but no specific times for the 1st and 2nd interval are set (so MC shows: 00:00 for all 4 parameters), will CA use some pre-set rush hour times, or only use the "normal-frequency"?

Also one other suggestion in CA: in the overview for selecting one of the maps, is it possible to place them in alphabetic order, for instance for the country? Now it seems they are in random order. And maybe some additional tag whether it's a CAX or XML file?
[Windows Mobile Apps and Games] x_sliver:
1. This will sometimes be happened in some special conditions:

A. The train [1] arrived earlier than train [2] at a transfer station

B. because train [1] arrives earlier, we continue our trip from train [1] not train [2]

C. BUT, here we need to change the train from [1] to [2], that takes time, and if we've took train [2], we don't need a transfer, that maybe makes us arrive earlier -> and here, the mystery happens.

I made some modifications on the engine, and a 10-minute-tolerance to fix it. So it will fix this in most of these conditions, or we can set longer tolerance period to get better result but longer search time.

I attach the newest engine for test; you can just copy and overwrite it in CityAdvisor Folder. This modification fixes the problem you’ve mentioned (on my phone with map v1.3)

2. Rush hour is only calculated when the actual time (or departure time in advanced search) is in one of two peeks. Or CA will assume a normal time. So the default value 00:00 makes always the search at “Normal hours”

Re p.s: It is possible, and it will be made.
[Windows Mobile Apps and Games] odyon:
Niice! this modification did the trick! At least i get a suggestion that makes much more sense to me (taking a metro that goes every 3 minutes, instead of a tram that goes every 20 minutes. ;) )

I hereby upload version 1.4 of my map which you can upload to the website

.

I was also wondering with regard to tourist attractions because now you link a tourist attraction to a specific station. However, often you have to walk for some minutes from a certain station to the attraction. That means you have to add a station with the name of the tourist attraction, and then a tourist attraction linked to this station, and then a walk-connection between these two. Firstly, this is a bit laborious, and secondly, when you enter a search query, it will show the result twice (both the tourist attraction and the station).

With regard to these walk-connections, often in online-publictransport planners, it will display for instance: take this tram line, walk to metro station, take this metro line. But when a tram station and a metro station have the same name, these are directly linked in CA and no walking advise is given. This can be solved by making a second station with "- tram" for instance behind the name, but it still feels a bit inconvenient...

Anyhow, i'm glad your engine-mod improved the algorithm and finally the suggestion that is given a lot! Ok, time to work on the other maps :D
[Windows Mobile Apps and Games] x_sliver:
Thanks for updating the map.

And, i'll think about how to make this better to handle this.

in my experience, the paris public transit operator RATP set a "logical" station for every difference line and make "walk connect" for all of them. They made stations different names for different lines like "Gare du Nord" or "Gate du Nord (SNCF)" for metro or mainlines.

in all case, i will find a solution for the problems you've mentioned.

P.S: the map is uploaded the map, and it can be found here:

http://cityadvisor.net/c_download/Product.aspx?pid=24
[Windows Mobile Apps and Games] namhtc:
Thanks to you for this great software and for the very quick bug fix.

Nam.
[Windows Mobile Apps and Games] x_sliver:
not at all. all bugs must be rapidly fixed. i replied your PM.

Je sais pas si le PM marche :)

P.S: Just here to make some noise :p:

* CityAdvisor for Windows Phone 7 started, Engine OK, GUI started.

* CityAdvisor for Android development started, studying.

* I started the Marseilles / France Map, now 2 metros, 2 trams and 10 buses are included, will update soon when finish.
[Windows Mobile Apps and Games] bigfoune:
merci infiniment x sliver pour cette application excellente e ;)
[Windows Mobile Apps and Games] odyon:
bug in my the hague map

Hey x_sliver, i've mentioned this before, but i still get a crash with the map of The Hague I'm currently working on. I've attached my latest version, but when I try to plan a trip from "Brouwersgracht" to "Nootdorp Centrum" at for instance 3h in the night, my CA crashes (sometimes it happens that i first get a no connection message, and the 2nd time i press OK, it crashes).

The exception that is created:

exceptionCode: 0xc0000005

Faulting module: caengine.dll

at Engine.DoSearch(Int16 start, etc etc

I "hope" you can reproduce this error, to find what's causing this.

I also found btw a similar case as I last time described in my rotterdam map, (with your updated caengine.dll) whereby a route in The Hague advised with shortest time takes actually longer, than a route with less connections.. However, can't remember specifically which one it was, so don't worry for now ;)
[Windows Mobile Apps and Games] x_sliver:
Sorry...

I tried both CAX and XML format on my phone with the Station and Time you've given.

But no lucky, I can't reproduce the crash. But it's intersting to find where the problem is.

The ErrorCode 0xC0000005 means Access Violation.

normally caused by some bad pointers or the application uses more than 32M memory.

Before, there was a bug in CityAdvisor, That if there are some lines still in service, but some lines have no more service.

There will be a dead-loop because the destination is unreachable, the engine will use more and more memory until a crach when it reaches 32M

So i added a checker to detect dead-loops. so there should be no more crash caused by memory limit.

The Engine for Windows Phone 7 is now working, wrote int .net, so i can migrate it to WM6.5 easily.

It is safer, tested on a WP7 simulator, works fast. But you know, a little bit slower than C++.

I will try it on my phone, if it impacts not much the performance i would like to convert to a .net engine, because WP7 didn't support native code, and then we can have the same engine for WM6 and WP7.

P.S: We have the same phone, so the nativecode should run the same.

I will test it later on a simulator, or, should we found another volunteer to test it on a 3rd phone?

UPDATE:

I tried on a WM6.5 simulator, and i also cannot reproduce it :(

Seems i have to find another volunteer or port to WP7 engine.

UPDATE 2:

OK, just forget crash. I've converted engine to managed code, same performance.

I attached here a v1.3 beta version for internal test with following modifications:

1. Engine rewrote with managed code to avoid platform dependencies codes.

2. Engine is "READY FOR" advanced search with multiple lines disabled and multiple stations disabled.

3. Engine is "READY FOR" advanced search in selected transport (e.g. Metro only or Bus+Tram)

4. Engine is capable to search with above options simultaneously (e.g. avoid some lines and avoid some transfer stations.)

5. When Open Advanced Search window, the time is firstly current time if we didn't set the departure time or the departure time configured (in 1.2 always the current time).

Note:

1. there is no more CaEngine.dll

2. the version showed in CA is always 1.2.1.69

3. "READY FOR" means the engine is capable to do, but need a GUI to configure it.

4. The code is not done for XML format maps, please use CAX maps. all published maps are converted to CAX and attached in this package.

This is a beta version. and thanks for your comments and bug reports.
[Windows Mobile Apps and Games] x_sliver:
I have a solution about Tourist attractions, which i think is better.

I will made some modifications on map creator:

1. The tourist attractions does not change, but remove the Station Reference.

2. Add a special window to edit the path between "Tourist Attractions" and "Stations near by" with a new parameter: time to walk.

3. when save the map, Map Creator will automatically generate a walk_connect line to the "Tourist attractions" and "Stations"

4. no change on cityadvisor and the map format.

Advantage:

1. no need to create alias, so no more duplicate name when search.

2. one attraction can refer to multiple stations.

3. no changes on map format.

4. there will be a "walk" ;) noticed.

P.S: some new functions will be on board to next beta test version (beta2) which is expected on sunday night.

OK -> Now the installed maps are sorted by city name then country name

OK -> Tourist attractions can be viewed and navigated.

OK -> Tourist attractions can be highlighted in the station list

OK -> If in MC the Country is applied to its ISO3166 code. in CA it will be translated to English name.
[Windows Mobile Apps and Games] mansum:
I've just made the MTR map for Hong Kong (in Traditional Chinese)
[Windows Mobile Apps and Games] x_sliver:
Hey, Thanks for the contribution :cool:

I tried the map, and made some modifications:

-> 我重新製作了綫路Logo的圖片，包括地圖裏沒有的“馬鞍山”綫，原始圖片字有點小看不清楚

-> 東鐵綫 到 落馬洲 和 羅湖 這兩條綫有點問題,我做了一些修改

And some suggestions

when using the phone, it is hard to type chinese charactors for searching a station, so it is better to assign a Latin key to the station.

for example: the station 落馬洲's roman expression is "Lok Ma Chau" if we assign "LMC" to this station, it is easier to get this station than type the first character 落.

Thank you again because with this map, i found a sorting problem for non-latin characters. the stations are not correctly sorted by its culture settings. You are correctly set the map language to zh-HK, so i need to sort them with this -> This is a bug of MapCreator, and then i will fix it.

我把我修改過的地圖轉發給你，希望能對您有些幫助，也希望您有空能繼續對這個項目支持下去:)

請問我是將您的原始地圖發表在 cityadvisor.net 上，還是等到地鐵站注音完成后再發表？

UPDATE: Seems the station sorting is now adapted by its Culture.

I tried the save the Beijing Metro map (zh-chs), and in CAX file, stations are well sorted by its pronunciation (pinyin)

and in HongKong map (zh-HK), the stations are sorted by their complicity (筆畫數)

mansum: can you confirm that sort by complicity is good? or in Hong Kong you prefer also sorted by the pronunciation?

Thanks in advance for your help
[Windows Mobile Apps and Games] BS3001:
I got the message:

Error

CityAdvisor.exe

NullReferenceExeption

.

.

.

What is the problem?

I use the Munich map and the newest engine.