yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] x_sliver:
Sorry for my progress, i'm a little busy at this moment in my company. but i will always work for this.

I'm coding for MapCreator and correct new map so that i can test the engine better, see the screen. i think it is easier to use than the last one. i can't assure how quick it will published, but i'll do my best.

View attachment 170428
[Windows Mobile Apps and Games] 12aon:
Hehey more like I proposed with Id3 tag like editing, looks great can't wait till I can get my hands on it. Though a lot of us a silently following your thread, know that we are greatful for your efforts, 12
[Windows Mobile Apps and Games] x_sliver:
yes, i remember someone has said, but i forgot who :p. just a joke.

i think this mode is more easier to view and modify the data, because we don't have to open new windows.
[Windows Mobile Apps and Games] x_sliver:
another reason i can't release these two software so quickly is i have to build a full paris map with all new features then test if it works, if not, perhaps i have to change the map format. after release, i can not change the map format anymore because if so all maps have to update and il will lead many problems.

I want to make the map format perfect.
[Windows Mobile Apps and Games] jolas:
OMG!!!:eek:

x_sliver, I want to say that you keep amazing us with your wonderfull work!

Thanks for your reply.:)
[Windows Mobile Apps and Games] dom_mitchell1:
This looks very promising! I had a little go at begining a London map but the tube is just so damn massive!

I see Ruudfood has also done this. Is it possible to work collaboratively? There's a hell of a lot of data to input for London: 13 lines, many of which have several branches.
[Windows Mobile Apps and Games] x_sliver:
2 types of time table will be avaiable in the next version

why my new post disappered? ok, i try it again.

i want to say, the Time Table features will be applied in the next version, as i tested on a small map.

there are 2 types of time table:

1 : first/last departure + interval -- which fits frequent transports like metro and tramway.

2 : full departure table -- which fits non-frequent transports like trains

detailed information as following picture:

this function needs to test on a full map, to determine how it affects the performance.
[Windows Mobile Apps and Games] 12aon:
Big time forum hack everything got moved to off-topic and a lot of posts where deleted so they had to restore from a backup, 12
[Windows Mobile Apps and Games] x_sliver:
New update of CityAdvisor 0.8

A new version of CityAdvisor 0.8 preview is avaiable, TimeTable function is supported. a Sample map "Test" is applied:

line L1: A -> B-> C -> D -> E runs from 00:00 ~ 24:00

line L2: F -> C -> G -> H departs at 6:00, 9:20, 12:40, 16:00, 19:20, 22:40

Search button divided to two parts, while the left part means search from now, and the right part means search from a selected time (not realised)

Multi-language and some of functions are disabled in this version, because i need to rewrote to improve the performance.

now it's time to add functions to this version and make it on release.

Map Creator is still not available, because the change of xml format, some modules have to be modified.

This test version can be downloaded at the main post.
[Windows Mobile Apps and Games] bbonzz:
cool, can't wait :)
[Windows Mobile Apps and Games] torpie13:
Any news man ?

(quoi de neuf :) )
[Windows Mobile Apps and Games] Pandemoniumone:
Well I've read through the thread here and this app looks very promising! Might there be any updates to share with us x_silver?
[Windows Mobile Apps and Games] Ruudfood:
I was wondering about this too
[Windows Mobile Apps and Games] x_sliver:
sorry for my silence. i'm very busy at this moment so the progress is slow

i released an alpha version of 1.0, so we can build maps for now with map creator. for the maps already built, i will build a tool to convert them.

the next thing i have to do is to kill bugs and realize features (yes, some features are reserved in the map specification but not implanted in city advisor.)

thanks for the support.

I've updated the main thread, you can find the files there.

Map Creator needs .NET Framework 2.0, that is not a problem of XP SP3, Vista or Win7

City Advisor needs .NET Compact Framework 2.0 or above, if you use Windows Mobile 5, make sure you have installed it.

Tips to Map Creator: when you type a station, if you see a list, use mouse click to apply or use numpad 2,8, 5 to select and confirm. this is a little bug.
[Windows Mobile Apps and Games] 12aon:
Absolutely genius! Will be in my ROMs always if you don't mind. Thanks for the creator, it's everything I expected and more. I'll do some testing now, 12

Edit: Gare du l'est - Notre Dame\ Champs makes it crash, maybe I tried the wrong map..

Edit2: Test map won't show me any stations
[Windows Mobile Apps and Games] x_sliver:
Tried Gare de l'Est -> Notre Dame des champs no problem.

Test map only has 2 lines and 8 stations: named A,B,C,D,E,F,G,H.

A,B,C,D,E = line 1, use time range + interval

F,D,G,H = line 2, use full time table

if it shows "no path found", it doesn't means if there's no way, because the result is time-dependent. if you are sure about the path, give a time between 7:00 ~ 22:00.

Paris Map should work well "Except" RER C, because it has too many branches, and i didn't apply a full time table.
[Windows Mobile Apps and Games] x_sliver:
CityAdvisor 1.0.1 Released.

fixed some bugs and now Settings works.

bugs found:

home station changed after customize Favorite Stations

-> for this bug, choose a home station after customize favorite stations in "Settings" Window. it will be fixed in next release (it's too late tonight).
[Windows Mobile Apps and Games] 12aon:
Worked! Don't know what happened last time:confused:, I'll start creating a new San Diego trolley map when I'll get some time, 12
[Windows Mobile Apps and Games] lastnikita:
Hi, is there a repository for maps somewhere, or still only 4/5 cities are available ?

I would create one for Lyon (France) if it's not too time-consuming (how much hours needed approx. ?), but I couldn't find how to use the map creator by myself, is there an explanation posted somewhere ? Thanks !
[Windows Mobile Apps and Games] x_sliver:
There are several cities for version 0.7, but need to be converted. it is not complicated to create a map with map creator, If you can find a map/document, you can create lines and copy-paste stations, i'm sure that 10 minutes is sufficient for create a line.

i prepared to build a website and web service to share the maps when this 1.0 version become stable. After web service is done, we can directly browse maps via our PPC.

there is not a doc for using map creator, but i will write one.

you could start from File->New to create a new map, and try to create one or two lines, add some stations (arcs) to this line.

thanks.
[Windows Mobile Apps and Games] x_sliver:
1.0.2 Build 8 Released on 06/05

* Settings functions realised

* Map Selection Optimized

* a whole Green software -> use no Registry

you may delete CityAdvisor\maps\map.txt before apply this update, because map.txt changed a little.
[Windows Mobile Apps and Games] 12aon:
I am trying to import an image into the map editor called orange2.png (100x48) but it doesn't take. Since the image step is mandatory for for adding lines I'm not getting any further, is something changed in the image size since last release? Thanks in advance, 12
[Windows Mobile Apps and Games] x_sliver:
can the image be displayed on the screen [1] or it can not be saved [2]?

[1] i'm sure the program knows png format, but try to convert it to bmp, gif or jpg.

[2] verify that the file is not readonly?

if they don't works, can you transfer me that image so i could test it. [you can find my adresse on CityAdvisor -> i button (the windows shows version and map info)]

the image size is not checked, but it is recommand to be:

width <= 100

height <= 50

thanks.
[Windows Mobile Apps and Games] x_sliver:
Map Creator 1.0.1 Released.

Fixed several bugs

Will create a document about how to use it, enjoy.

Add:

City Advisor 1.0.3 Released

* Bug fix: close tourist site without choosing a site will lead an exception

* Improved: stations alias can be shown in the list when you select station

if a station has more than one name, set one name in station list and others in alias list.
[Windows Mobile Apps and Games] bbonzz:
Mate, is there a way to import .7 maps? I'll do Milan and maybe Rome, but only if there's a way to import old ones
[Windows Mobile Apps and Games] x_sliver:
The convert function works but i will intergrate it in the MapCreator next release, it will be expected to release at tomorrow night.:)
[Windows Mobile Apps and Games] bbonzz:
cool, then count on me for those two maps
[Windows Mobile Apps and Games] x_sliver:
i think they are already counted when 0.7 version came out. :)
[Windows Mobile Apps and Games] bbonzz:
"count on me" means "j'irai les faire" :)

I did them for 0.7, i'll do the again for this one
[Windows Mobile Apps and Games] x_sliver:
maps of 0.7 can be now imported to MapCreator.

CityAdvisor 1.0.4.21 2009-05-09 15:08

* Fixed: Arrive time shows CurrentTime+TripTime error

* Fixed: Trip time is negative while passed mid-night

MapCreator 1.0.2.3 on 2009-05-09 15:08

* Support to import maps of version 0.7

* WALK_CONNECT lines can be combined

* Fixed: if the maps is not saved, when you quit the application, you receive a confirm dialog.

ADD: found a bug, happenned in milano map: some walk_connect is set to 0, so the path ended due to the condition.

i have changed this condition, so WALK_CONNECT can be set to 0. this bug will be correct on the next release.
[Windows Mobile Apps and Games] bbonzz:
Just small feedbacks after importing old Milan 0.7.

Map creator:

- cannot add transport methods other than metro (app returns an error)

- cannot branch lines (error with a void windows, that shows only "ok" button). But seems to me that branches work anyway, since in PDA i can calculate trip from station laying on one branch to station laying on another branch of same line.

- importing old maps the only thing to do (apart from inserting timetables) is to sync offsets? I don't find any other adjustment to do.

City Advisor:

if i calculate a trip as soon as i launch the app and map is loaded, CA gives me the right time, but i can only see the first part of the patch (i.e.: it shows only the first line i have to use, but not the second, third and so on). I have to calculate some other paths to make the app show me everything. Maybe map is loaded in background also if app says it's already loaded?
[Windows Mobile Apps and Games] x_sliver:
Before i correct programs, let me quickly answer your questions:

Map Creator:

1. bug, will fix it.

2. bug, will fix it.

3. when you import a map, the offset is calculated. nothing to do. but when you use "Combine walk connections", activite WALK_CONNECT, and save it.

the "Save" button will save it automaticlly.

CityAdvisor:

if the result shows only some parts, that means in the map some connect needs 0 minute (see in WALK_CONNECT), the engine returns an ARRAY, if a part needs 0 minute, i assume the path ended. this bug is fixed, but need to release in the next version.

now i will fix the bugs.
[Windows Mobile Apps and Games] bbonzz:
yes, i did set some walk connect to 0 when bus stations are in the same place as metro stations. since connect time was already set for metro->walk and for walk->bus, setting it also for walk->walk was too much
[Windows Mobile Apps and Games] x_sliver:
Now the 2 bugs are fixed, will release it tomorrow in case there are some other bugs reported.

Add: whether you set or not BranchLine, the engine will always find out the path, but, it's different. for example:

M1E : A, B, C, D, E

M1G : E, F, G

M1K : E, H, I, J, K

if you don't set M1K as the branch of M1E, the result of (A,K) will be

M1E : E

M1K : K

if you set M1 K as the branch of M1 E, the result will be

M1K : K

that means, the result will be combined.
[Windows Mobile Apps and Games] x_sliver:
set "TimeConnecting" to 0 to all arcs of a WALK_CONNECT, because itself IS a connect, otherwise, the real connecting time will be (TimeConnecting + Time), that will be a little long.

i need some time to create a doc, to describe how to use map creator, because there are something special in some cases, espcially for WALK_CONNECT.

some suggestions for WALK_CONNECT:

Line Properties:

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

First Depature: 00:00

Last Depature: 00:00 (+1 day will automaticlly checked)

Interval normal: 0

Interval rush: 0

Line logo: do net set a logo for it.

(the info above means in 24hours we can always walk and no need to wait :cool:)

Arcs:

======

Time: the time you need to walk from two stations

TimeConnecting: set to 0 (Only for WALK_CONNECT, because WALK_CONNECT itself is a connect)
[Windows Mobile Apps and Games] 12aon:
Updated Amsterdam

here's the updated amsterdam metro map, 12

Edit: One thing I noticed about cityadvisor is that is does not automatically initialize new maps. I have to click refresh for the maps to show, after which the maps are always visible, 12
[Windows Mobile Apps and Games] jolas:
Updated Athens, Greece

Here is the updated map for Athens
[Windows Mobile Apps and Games] x_sliver:
Thanks for the new maps :)

City Advisor 1.0.4 Build 22 Released on 2009-05-10

* Fixed: if a connect need 0 minutes, the path will not showed.

here is the change log of the new release:

MapCreator 1.0.2.4 on 2009-05-10

* Fixed: Transport mode could not be edited.

* Fixed: Branch line could not be set.

* Fixed: is_circuler_line property removed.
[Windows Mobile Apps and Games] x_sliver:
MapCreator 1.0.3.5 on 2009-05-13

* Fixed a Critical bug: Time Range/Table did not well saved for new created lines

* please update MapCreator Immediately, if you can't open the map created by MapCreator, use this version to fix it.
[Windows Mobile Apps and Games] bbonzz:
Hi x_sliver,

as told i'm converting Milan to the new format. Now, adding the timetables (i'm doing full timetables for all the 200+ lines) i've two problems/questions. You'll need to give a look to milan pdf map (i've posted it with old version) to understand.

1) Metro Line 1, from Rho to Sesto 1° Maggio. Trains go from Rho to Sesto only from 6 am to 9 pm; then trains start from Amendola fiera from 9 pm to 1 am. How can i do to give the correct times here?

2) Metro Line 2, from Abbiategrasso to Cologno/Gessate. In early/later hours, 1 train out of 3 goes to Cologno, the other 1 out of 3 goes to Gessate, the last 1 out of 3 stops to Cascina Gobba. Now: since Abbiategrasso-->Cologno and Abbiategrasso-->Gessate are already branched lines, i can do different timetables. But what about Gobba? Have i to do a 3-branches line, where one of the branches is nothing else than the line node?
[Windows Mobile Apps and Games] x_sliver:
I'm building the website now, so it is easier to share the maps.

about MapCreator, i want to realize "Copy/Cut/Paste" and "Insert Row" function to Arc Editor. i think it is easier to edit arcs.

Do you have other comments about the Website and MapCreator?
[Windows Mobile Apps and Games] bbonzz:
done, but there's something strange. try the attached xml (the pics are the same as old release, lines are not branched but i obtain the same result with branches).

If you try to find the path from Duomo to QT8:

- at 14.25, when the line if fully served, you get the right path (duomo-->Qt8)

- at 14.30, when the line if fully served but the first train is directed to the other branch, the app tells you to get it anyway, and then to change train at node and get the one for the right branch (Duomo-->Conciliazione and then Conciliazione-->QT8). it's correct, but it's better to wait next train, isn't it?

- at 22.05 (when line starts from Amendola), you get a strange result (go to Amendola, 11 minutes. Finish: no way to go to Qt8. But total time is 43 minutes)

- without time (but now it's 2.30 am), you'll get a large path that i assume is the only one possible now

I' haven't understood the line 4: it's the reverse of which one? Of course i cannot add the all the stations of the main + the 2 branches, since the timetables are different, so i guess i miss something
[Windows Mobile Apps and Games] x_sliver:
for now, the search will calculate like this, because it will find the most short path to every station. when go to the next station from Duomo, take the current train will be faster than waiting to the next, so the current train will be the best solution. this kind of search is a little "mecanisme", it is one of the best solution, but not the best for us

the total time is the time from "Now" to the time arrive, and the time of a connection only means the time passed on the train (bus). i'll test it now and then give you the answer.

the default service time is 0:00~23:59 when you convert maps. when Duomo -> Q8 is blocked, it will try to get another path, so ... a large circuit. it is useful because someones it is too late, we can go back with "Nightshift" buses.
[Windows Mobile Apps and Games] x_sliver:
OK, i got the problem, the engine find a way, but the related WALK_CONNECT is 0 minute. after i fixed this in the map (make sure Time !=0 and set TimeConnecting = 0), i got the result like this:

that i think this is the right answer.

i fixed this bug, but i don't know why it still here, maybe i forget to publish it?:confused:

here gives you the map of fixed WALT_CONNECT while Time != 0, and ConnectingTime = 0
[Windows Mobile Apps and Games] bbonzz:
Dunno, i'm using the latest version of both CA (1.0.4.22) and MC...

Thanks, now this is fixed. x_sliver, i still haven't figured out your suggestion about Line 2 (the 3 lines and the 4th as reverse)
[Windows Mobile Apps and Games] x_sliver:
Just make sure there are no arcs take 0 minute, this problem will no longer exist.

i will set default value to -1 to avoid some "0 minute" arcs.

if you want Line 2 has Full Time Table, you can just create 3 independent lines (and reverse) and set different time table to them.

if the line is TimeRange - Start,End,Interval - check my IDF map M7, this line has 2 branches:

La Courneuve -> Ivry

La Courneuve -> Villejuif

I Created 4 lines:

1. M7 Direction Ivry - Villejuif. contains all stations from La courneuve to Maison Blanche

2. M7 Direction Mairie d'Ivry. contains all stations from Maison Blanche to Mairie d'Ivry

3. M7 Direction Villjuif.

4. M7 La courneuve : all arcs of reverse line (of course it has less precision. but works faster)

there is no such a line which Direction is "Ivry - Villjuif", but when your destination is a station before "Maison Blanche", you get M7 : Ivry - Villjuif. that tells the user to take any of the train to "Mairie d'Ivry" and "Villjuif".

this is the like of official Paris map from RATP.

http://www.ratp.info/orienter/f_plan.php?fm=pdf&loc=reseaux&nompdf=metro&lang=

this is my IDF map, you can load it in MC.
[Windows Mobile Apps and Games] bbonzz:
ok, got it: thanks
[Windows Mobile Apps and Games] bbonzz:
Another odd behaviour.

Use the attached Milan Map (small updates since this afternoon) and try to calculate the path Gorgonzola-->Cologno Nord at 23.15.

Here's the odd result. of course there's something wrong, since the same train that goes from Gobba to Cologno Sud, goes as well to Cologno Nord in a couple of minutes, no need to walk connect and to take a bus...

i think app takes last departure (that in this case in direction Cologno Nord is at 00.17, but starting from Abbiategrasso; so it reaches Cologno Nord 36 minutes later, at 00.53) as service stop instead, and stops trains also if they are running and not arrived to last station
[Windows Mobile Apps and Games] x_sliver:
i found some problems when we pass the midnight, i've done some analysis and improved some functions, but now it is easy to crush. i will try to fix it tomorrow and make it stable (ah, it's already tomorrow).
[Windows Mobile Apps and Games] x_sliver:
now this bug is fixed, i changed some rules of TimeTable, that the time table must be Sorted, so if the table in real is:

7:00, 9:00, 13:00, 15:00, 19:00, 23:00, 1:00

the table in MC and CA will be:

1:00, 7:00, 9:00, 13:00, 15:00, 19:00, 23:00

this function will be ensured in the next release of MapCreator (Today), and i will program this. Open and save the map by MapCreator, the map will be upgraded.

i think the next challenge is to "Wait" for the next train.
[Windows Mobile Apps and Games] x_sliver:
Both MC and CA were updated due to the bug found by bbonzz, thanks to you.

CityAdvisor 1.0.4 Build 23 Released on 2009-05-22

* Fixed: Time Calculation error when passed midnight

* Fixed: some 0 minute WALK_CONNECT problems

* Improved: Optimized Verification of Service Time, search will be a little faster when using Full TimeTable

MapCreator 1.0.3 Build 6 Released on 2009-05-22

* Fixed: TimeTable improvement to avoid Time Calculation error

open and save map to correct TimeTable problem if you use Full TimeTable.

ADD:

Map Creator 1.0.3 Build 7

* Fixed: Interval Rush and Interval Normal inversed when loading a map.
[Windows Mobile Apps and Games] bbonzz:
There's still something strange. Try Gorgonzola-->Fontana at 7.20, and here's the result. I don't see why i should stop at San Babila and wait the next train to Duomo, while these are adjacent stations and also they are before the line branch (and so the same train going to San Babila, after 1 minute arrives to Duomo)...

At 7.00, instead, the path is right

Then a request for a nex MC version: now if I want to delete or to add a station within a line, i have to delete the entire line and add it again... It should be useful, instead, the ability to add/delete a single station (bus lines vary very often, so it will be hard to recreate every time the entire line)
[Windows Mobile Apps and Games] Ruudfood:
I'm going to start the London Underground maps again. Don't ask when they'll be ready but with a bit of luck I should be able to start testing it in a couple of weeks.

Before I do x, can you tell me what the ZoneID, Coordinate and Reference fields are for the stations? Is there a user manual for this version as there was for the last?
[Windows Mobile Apps and Games] x_sliver:
i will try to find where the problem is about the result, it think there are some mistake on checking the time.

about MC, i thought about to add some functions like "Add/Remove Arcs", "Copy and paste arcs", change orders. i think these functions will realised in two weeks. and as you said, it should be useful.:)
[Windows Mobile Apps and Games] x_sliver:
ZoneID maybe used for further release - to calculate the price of a ticket

in paris, the ticket of a week or a month is calculated by the different zones, for example: Paris is Zone 1, the suburbans are from zone 2 to 6, more zones passed, the price is more expensive. you could just assign them as 1 (by default) when this function is not realised.

Coordinate: is the physical location of a station, when GPS location realised, we can find automatically the nearest station as our Departure. just ignored it for now.

Reference: this is the number of how many times a station has been used in the map, if a station has 0 reference, that is a dead station. normally, a station has 2 references (go, back). more reference of a station, more lines (or it's branches) passed by this station. it is a READONLY field just for information. you can't delete a station when its reference > 0.

surely, i will write something when i have time and i will also build a SAMPLE map to demonstrate all possible lines.
[Windows Mobile Apps and Games] bbonzz:
the same here

You can't also when it is=0 (or at least, i haven't found how: i've deleted them directly in xml)
[Windows Mobile Apps and Games] x_sliver:
it is easy. in view stations window, click the row head to select one or more row. and press delete
[Windows Mobile Apps and Games] bbonzz:
lol, it was too much simple :D

i did search for a contextual menu, never imagined it was enough to press "del" :D
[Windows Mobile Apps and Games] Ruudfood:
Thanks x_silver.

I guessed that's what the Zone was and it's the same here. Would it matter if I included it now even though it's not functional yet?