yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] x_sliver:
can you offer some more detailed information?

when does this message occur? open the map or searching between stations?

thanks.

P.S: a new beta version of CityAdvisor and MapCreator are published on the 1st post.

What's new CityAdvisor 1.3 Beta

* Tourist attractions are updated

* Engines are rebuilt by managed code, the errors are reproducible

* Scrollbars for station selection and map selection

* Tourist site information window, can navigate to an assigned url

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

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

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

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

* Attention: due to engine changes, this beta version does not support XML format, so i converted all published maps to CAX and included all of them in the ZIP package.

Map Creator 1.3 Beta

Tourist attractions are updated, now you can assign more than one stations to a tourist attractions and set distance and time needed to walk.

MapCreator can open and convert automatically the existing xml maps, so won't be worry about the compatibilities. [Thanks for odyon about this advice]

now, you can set a list of tourist attractions, and config the stations near by, then everything is ok. MapCreator will generate automatically the walk connects between them.

Attention: you must use CA1.3 Beta2 or later to run the maps created by MapCreator 1.3, due to an implicit bug on 1.3beta1 or earlier
[Windows Mobile Apps and Games] odyon:
I also had problems with the Munich map: copied the beta version 1.3 you've put online, here, tried to load Munich map, and it crashed immediately. No error could be given (netCFv35 is missing), however, this is written

- at

system.throwhelper.throwArgumentException(exceptionResource resource)

at

System.Collections.Generic.Dictionary'2.Insert(Int16 key, TransportLine value, Boolean add)

at

x_sliver.CityAdvisor.City.loadmapFromTextFile(String mapfile)

at x_sliver.CityAdvisor.

City..ctor

(string mapfile)

[...]

The last line looked strange to me..

Btw, i saw your long post #503, i will look into it more deeply soon!
[Windows Mobile Apps and Games] x_sliver:
The problem you've met is due to Tram 25 -> it has the same ID to tram 15. This map is built by Melkor on a very early MapCreator, so maybe a very early bug caused this.

This error is fixed in 1.3 Beta2 package (attached on the post #1 not #503).

but the exception met by BS3001 is NullReference, not the same type. but i think they are the same cause -> will test on 1.2.1.69 then report.

Update: Got it, in Station Alias, there is an alias refers to a station which does not exist.

i've updated the xml format map on cityadvisor.net. (while the cax format in beta 2 is correct)
[Windows Mobile Apps and Games] mansum:
Thank you for helping me to modify and correct my Hong Kong map. For me, I prefer to be sorted by pronunciation.

You can put it up to cityadvisor.net now, maybe having update later after the sorting problem solved.
[Windows Mobile Apps and Games] BS3001:
Thank you very much! Now it works!

But this Beta2-Version is an non-installed-version, isn't it?
[Windows Mobile Apps and Games] x_sliver:
OK, got it.

Yes, it's just a zip. you can install 1.2 cab version and replace all files by the zip content. then you got everything include shortcut on start-menu. still some works to be done, there will be a beta 3, then i will publish the 1.3 on cab installer and updated maps.
[Windows Mobile Apps and Games] BS3001:
Thanks! A non-installed version is also fine with me!:)
[Windows Mobile Apps and Games] G-ThGraf:
thanks a lot dude, it's really usefull :D

GUI is really amazing, many thanks :D
[Windows Mobile Apps and Games] chewee133:
Hi,

Thanks for the app.

Unfortunatly Beijing's map is not working for me. Paris works, but not beijing.

However, a great upgrade would be to have the Bus also. As in Beijing there is not even 10 subway lines, so not very complicated to know where to go. But there is almost nothing to know which bus to take (and there are a lot of them...).

Cheers
[Windows Mobile Apps and Games] x_sliver:
Thanks for the report!

I've found the problem and the Beijing map (and shanghai also) is been fixed. this correction will take place in V1.3 Beta 3 package.

This package will be delivered at this weekend (Saturday or Sunday night).
[Windows Mobile Apps and Games] odyon:
Hey X_sliver, can you update your 1st post, that I'm working on the following maps:

- The Netherlands - The Hague

- Poland - Warsaw

- Portugal - Lisbon

I already put some time in it (as you know with the The Hague map ;)), but these maps are not finished yet. It would be a pity if someone else is going to do the same cities..
[Windows Mobile Apps and Games] x_sliver:
Thanks. i added them on the 1st post.:rolleyes:
[Windows Mobile Apps and Games] x_sliver:
CityAdvisor 1.3 BETA 3 is now available.

New in Beta 3:

A Station viewer make possible to see all transports passed-by and their 1st and 2nd next departures.

Beijing and Shanghai map is fixed and updated.
[Windows Mobile Apps and Games] odyon:
Hey X_Sliver, I like the improvements. The problem that I had before with the CA crashing when making a trip in The Hague at 3am doesn't appear, so it seems it's fixed for me too. I have some other improvements:

3beta improvements:

- tourist sites: click in main tourist site list to see specifications (instead of button on the bottom, or user can choose which one too click)? I think this would be more intuitive.

- Advanced search screen: button to set time to "now" (for instance after time was modified by user, but want to check trips at current time). And to automatically reset the time to now, after a different map is selected

- "Type to choose stations" message is good, however when entering characters in the field, a blackbox appears partly over the first two results when displaying the results (i think due to this message).

- Some stations have long names, so in the results view, some names are cut-off. Maybe 2-lines possibility for long station names?

Btw, the station details view is nice! Maybe an even further click-through possibility to click on a line, which will bring you to that line overview, and a user can click again on a station?
[Windows Mobile Apps and Games] x_sliver:
I will remove the toolbar in tourist site list, click = show detail, then in tourist window, we can set it as departure, or destination, close (do nothing), or navigate to the website.

OK, good suggestion. actually i just use "cancel" button to cancel all settings. i think that can be optimized.

maybe i can try to change the font size for long station names, to display two line is not very pretty.

Station overview can lead to its lines, Line overview can lead to its stations, and that's all. the user can not click again on a station if he starts at a station, or that may lead deadlocks.;)
[Windows Mobile Apps and Games] x_sliver:
A bad news from Microsoft.

Silverlight (which is the base to develop Windows Phone 7 apps) does not support a clean way to load GIF image from a file.

So in MapCreator, we must use PNG or JPG files as Line Logo and Map Logo, in the next release of MapCreator, i will restrict image types to PNG and JPG, you will not be able to use a GIF file from then on.

For all existing maps, an OPEN+SAVE operation is enough, all GIFs will be converted to PNG, so don't worry.
[Windows Mobile Apps and Games] libor_m:
It may be a good idea to make a tool in Map Creator that would be checking if a station currently being added as new already exists.

When I am adding a new line I have to have the name column sorted in alphabetical order and to check if i have already added that station to the list.
[Windows Mobile Apps and Games] x_sliver:
You don't need to check if the station already exists added.

MapCreator will do it, just feel free to type or copy/paste stations, if a station of same name (SAME characters, same accents, spaces before and after will be trimmed ) has been detected, MapCreator will make a reference and will not create it.

in the case of duplicate (maybe typo, maybe different accent), you can select them in station list and "Combine" them.

P.S: Thanks for the translate, will apply it sooner.
[Windows Mobile Apps and Games] libor_m:
It seems to me Map Creator does create the station with a unique ID.

When I type (by intention, just to test it) a station twice (same accents, same spaces etc.) the station is saved with a new ID. Then When creating a new line and typing the first letters of the station, I see a dropdown box listing both stations.
[Windows Mobile Apps and Games] libor_m:
Some additional proposals for new features in Map Creator:

1.

In Prague we have many timetables with intervals which are different throughout one hour.

eg. 10:00, 10:09, 10:20, 10:29, 10:40, 10:49

I would really like to have a button with which I would be able to copy the same minutes intervals to another hour, so I don't need to retype 11:00, 11:09, 11:20, 11:29, 11:40, 11:49

2.

Sometimes I see in a timetable that a certain tram/bus goes at one certain time not the whole route but have a final stop a couple of stops before the usual final stop. Do you have an idea how to treat such a problem?

If you do not want to solve this problem, how should I treat such rides? Just don't enter them?

3.

In CityAdvisor in the line overview you have a green line with little circles on the left side of the screen with the names of the stations on that line.

In Prague it can be a bit misleading in the metro (underground) as we have 3 lines named A, B, C. With line A all stops are written in green, with B all stops are written in yellow and with line C all stops are written in red.

My proposal is to be able to select a colour for this line on the CityAdvisor overview page. Co a colour selector in the edit line view in Map creator?
[Windows Mobile Apps and Games] x_sliver:
Where did you type this stations? if you are in the "stations" window by clicking the "Edit Stations" button, that is normal. that window is used for "maintenance" -> suppress duplicated stations, delete unused station, etc...

You don't need to create in advance stations in that window before creating a new line.

You can create line and type Station names in the table "FromStation" and "ToStation". MapCreator will match the stations. if matched, a Dropdown box will be shown, then you can click. StationName and ID are filled. if no stations are found, there will be no dropdown box and ID is empty, you can click on "Save" button, these "non-existing stations" will be created.

(By doing a test, you can type FromStation and ToStation the same name, click save, you can see there ID are same)

There is a faster way: when you've created a new line, click on "Import" button, then you can copy/paste or type a list of stations, and import them. Mapcreator will create stations or refer stations as needed.

Hope that helps. and wait for further feedbacks :)
[Windows Mobile Apps and Games] x_sliver:
1. i don't think that i can do, there are no commum regulars can be found on timetable. but i gives a text area, that you type all times and save them, is that helps?

example: in the text box, you type:

10:00

10:09

10:20

10:29

10:40

10:49

and click save, the list will be saved. do you think that is faster?

2. because of the datastructure i've used, it can not be solved. the only solution is to make a new line with same name, logo. and copy the arcs table.

3. that will take account in further version. firstly edit it in mapcreator, and show it in cityadvisor.
[Windows Mobile Apps and Games] libor_m:
Yes, that would be a hell of a lot faster :)

Only the format should be 10: 00 09 20 29 40 49 - this way it will be much quicker.

a) How do you mean the copying the arcs table?

b) There would be a lot of "duplicate" lines as there are many times within one line where the bus/tram does not go the whole route...

Yes, that is what I meant. First edit it in Map Creator and then to show it in City Advisor.

Wow, I didn't know that :D
[Windows Mobile Apps and Games] x_sliver:
a) in the main window, you can click on Row header to select a row (or hold Ctrl or Shift to select multi-rows), Press CTRL+C.

Then click on a row header or another line, Press CTRL+V, the arc table will be copied.

b) yep, so i need to figure out how to resolve this, as least make easier to edit.
[Windows Mobile Apps and Games] libor_m:
Good to know that, thanks!

OK, so I will wait with those times within separate lines and will input only those times where the trams/buses will go the whole route.
[Windows Mobile Apps and Games] libor_m:
The stations are added to the "Edit Stations" automatically. In the "SearchKey" field the name of the station is also added automatically with all characters lower case, which is perfect. But I would like to have the characters entered with no accents as well.

This is great for searching - so you do not need to enter special characters in City Advisor ;)
[Windows Mobile Apps and Games] libor_m:
Suggestion for more features in Map Creator

Information on Tariffs

You have a field for "ZoneId". This field should be related to a field with information what is the fare for the zone specified.

Buses/trams for disabled people

Some buses/trams (in some times) within a certain line are for disabled people (they have a special boarding zone with no steps). There are quite a lot of them in Prague. Therefore I suggest to implement a feature in Map Creator that would enable me to put a special mark besides some times.

See the attachment and look for the "disabled mark".
[Windows Mobile Apps and Games] libor_m:
In City Advisor, if multiple lines go from A via B to C (exact same route, same time, same number of stops, they just go simultaneously in a part of the route), only one line is shown as a result of a query.

All possible lines should be shown. That way a foreigner would know that he does not necessarily have to go with tram 4 but can take the arriving tram 6 for those 2 stops as well ;)
[Windows Mobile Apps and Games] x_sliver:
In Possibility, that can be done. But in reality, we can't.

Here is an example:

If we have 2 lines to from A To B, and 2 from B to C.

we have to save 2x2 = 4 possibles routes in the memory, and show some of (or all of) these routes.

But in the city, A and B are not just have 2 ways or 2 stops,

At each stop(station), we will save all possible paths from "departure station" to current station.

If between A and B there are 8 stops and each stop have 2 lines.

there will be 2^8 = 256 possible ways, if A and B are farther, for example 10, there will be 2^10 = 1024 possibles.

That is not allowed according to the resources of a smartphone and the patience of an user.

in CA 0.5, i stored every routes and choose the best at last (so i can choose the 2nd or 3rd, ...)

But that can take up to 10 minutes to make a search in a large city, that can not be accepted by the user.

So i made changes, only the best (balanced, fastest or les connecting).

To resolve the problems you've said (a better impression of the whole network), It is expected to mark the route on a map (google map, or bing or just a picture).

But that makes more works to do -> add gps location (or X,Y coordination of the picture) for all stations.
[Windows Mobile Apps and Games] x_sliver:
CityAdvisor 1.3 has been released.

now i release CityAdvisor 1.3 after 3 beta version.;)

Major changes:

1. use new CAX format map (open and save an XML map will update the XML format and generate a CAX map)*

2. Rebuilt engine with managed code, less undetectable crash.

3. Download maps from your phone Over-The-Air (Maps->Menu->Download Maps) **

A detailed update can be found on the first post.

* Use MapCreator 1.3 Beta (in first post) to create maps, it generates both XML and CAX files. Use XML to edit, and use CAX for CityAdvisor.

** you need a 3G, WIFI or USB Internet connection to do this. if you use 3G, please check your data plan.

Any bugs, especially "the map downloading" module are welcomed.
[Windows Mobile Apps and Games] libor_m:
These texts are not in the resources for translation...

+ some other UI issues...

+ I have corrected two lines of my translation - see the file attached
[Windows Mobile Apps and Games] x_sliver:
The text of new features of 1.3 does not take account in translation ressources.

I will do it sooner and update the translation ressource.

Thanks also for reporting the UI issue, will correct it.
[Windows Mobile Apps and Games] Straynart:
Hum...I had install the last .cab I found on the official website...and the .cax is still in the wrong folder.

But even if we replace it in the right one, I think the map.txt has to be edited, because it is empty. =\

A solution for this issue for the French user ?
[Windows Mobile Apps and Games] libor_m:
Just delete the map.txt file, copy some map to the correct folder and you are done;)
[Windows Mobile Apps and Games] x_sliver:
Yeah, you are right. i misplaced the default map again :(

now the cab package is really fixed.

The map.txt is just a cache file (to avoid scanning maps everytime), which is generated and manage by CA, don't need to edit.

And now you can download maps Over the Air :)
[Windows Mobile Apps and Games] Straynart:
Yeah, That's it !

It runs great now.

Thans a lot !
[Windows Mobile Apps and Games] The_Steph:
x_sliver,

It has been a long time since I did not use CityAdvisor, but as I saw a new version was available I wanted to test it. I am facing an issue, when I click on the settings button, CityAdvisor closes. Did you ever face that issue?

BTW, there is no exe file in the ZIP archive available on cityadvisor.net. I had to take it from the cab file to have CityAdvisor working.
[Windows Mobile Apps and Games] x_sliver:
Hi, I've updated the zip file. you can redownload the file.

Too bad, that the US mirror is down, my file host delete my account.

now only french mirror works :mad:
[Windows Mobile Apps and Games] The_Steph:
x_sliver,

Is there a way to debug my issue?
[Windows Mobile Apps and Games] x_sliver:
if there are problems, CA will show the exception before close. but if it is closed without any message, it is bizarre. I'll have a look this week end, and also correct some bugs mentioned by libor_m
[Windows Mobile Apps and Games] elyl:
Do you plan on making use of the "coordinate" values in the future?

What is the point of the "distance" values? Can you automatically calculate the distance if the coordinates are filled in?

I think it would be great to have a feature which tells you where your nearest transport station is based on GPS position.

I'm in the process of making a map for greater Glasgow, incorporating Subway, Train and Buses, no mean feat since there's a number of different lines run by different companies. I hope this application will be available for WP7, so I'm not wasting my time! How's the Android version coming along? Any plans for an iPhone one to get the greatest audience out of the work?
[Windows Mobile Apps and Games] x_sliver:
The GPS position will be used in future to find the nearest stations of the current location (espcially for Android and WP7). The distance is the meters between 2 station, that is not used for now (historical problem), so just forget it.

I confirm that this application will be available for WP7 (developing) and Android (developing) soon. But i have no plan for now to port it on iPhone, maybe later.

in late September, i will release a preview version for Android, and later for WP7. so the maps are always valuable.
[Windows Mobile Apps and Games] elyl:
I'm not sure if I'm creating lines in the best way. I'm building timetables for train lines which can look like this:

Station A

Station B

Station C

Station Z

and also:

Station A

Station D

Station E

Station Z

and sometimes:

Station A

Station B

Station E

Station Z

So, one line of stations, with the train sometimes stopping at some stations, and not at others. I've been naming the lines "Station A-Station Z via Station B" for example.

Should I be creating these lines as branch lines instead? What's the advantage of using branch lines?

I've also been creating one line of stations which is just a big circle. I've set the stations to look like this:

Station A

Station B

Station C

Station D

Station A

will this allow CA to realise that the train just goes A>B>C>D>A>B>C>D repeatedly?
[Windows Mobile Apps and Games] x_sliver:
Yes, that's right. if full timetable is applied, you need to create a line for all these examples.

Branch lines are used like this:

D -> E -> F
A -> B -> C <
G -> H -> I

you make ABC as basic line, it's destination is F - I.

then a line CDEF, which is a branch line of ABC, and it's destination is F

another line CGHI, set it as a branch line of ABC, and it's destination is I

the advantage is if you search from A to C, the result shows: Take line ABC destination F - I, which says we can take both of these trains. Branch line is used only for "Time Range + Interval" mode. if you want to apply a full time table for the line, then create two individual lines.

Yes, That's right. This kind of circular lines can be identified by CA. search from D to B can be correctly showed as D->A->B
[Windows Mobile Apps and Games] elyl:
One other thing I've noticed, you can only specify a departure time, and then a time offset for each station on the line. The timetables I'm using have different times between the same stations depending on the time of day. It's only a minute or two difference, and it's not really a major problem, but I wonder if a different concept for defining timetables in CityAdvisor would be practical.

I don't know if this is just a UK thing, but most timetables here are in a similar format to this:

http://www.scotrail.co.uk/sites/files/10South Clyde.web.pdf

(see page 7 onwards)

It would be good if you could import tables in this format, and automatically define lines and times - arrival time for each stop, independent of departure time/offset is defined.
[Windows Mobile Apps and Games] odyon:
quiet

Hey X_sliver, it's been awfully quiet in this threat for more than a month now.. Any news on the CA-android developments?
[Windows Mobile Apps and Games] x_sliver:
they are now developping. the basic functions work. i will post some pictures of CA-Android and WP7 tomorrow.
[Windows Mobile Apps and Games] ibowl77:
City Advisor on my HTC HD2

Hi,

I just installed City advisor (V 1.3.0.95) on my HTC HD2, it is very finger / user friendly and I liked it but I discovered some issues (unless this is related to my HTC HD2 original ORANGE rom ?):

•	some stations are missing: ie impossible to find "aéroport d'Orly",

•	Routes are not always optimized: ie I got 3 connections for a route where only one would be enough

•	some connection errors ie: connection between 2 lines which do no cross each other

•	option "avoid a line" does not work: no lines list appears

•	the same for "avoid a station: no stations list

•	How to change to landscape mode ?

•	I can't figure out the meaning of the total time posted at the bottom of the screen, it does not equal the sum of the routes ?

I don't believe it takes the train time table into consideration ?

Thanks for those who have answers.