Jump to content

Photo

Detailed Airport Information Page

- - - - -

  • Please log in to reply
13 replies to this topic

#1
miller22 (inactive)

miller22 (inactive)

    AE Developer

  • AE Developer
  • 607 posts
  • AIM Screen Name:AeProjectManager
  • Website:http://www.airlineempires.org
Have a look at the new airport information page which you can view by clicking on any airport identifier in the game. I gave it a new table design, and added a map of all routes out of that city.

Bit by bit, we're improving.

#2
Glennos

Glennos

    toowit towoo

  • Veteran
  • 1,683 posts
  • WLM ID:badtothebone99@gmail.com
Looking good :)
Posted Image

#3
miller22 (inactive)

miller22 (inactive)

    AE Developer

  • AE Developer
  • 607 posts
  • AIM Screen Name:AeProjectManager
  • Website:http://www.airlineempires.org
I'd like to integrate that map into more and more of the site. It really brings out the visualization of an airline's success or failure and adds a lot to the game.

Sigh... I guess now we'll get to see how long it takes for that to be copied as well.

#4
YamazaruNinja

YamazaruNinja

    Senior Member

  • Member
  • 463 posts

Looking good ;)

Yep. Looks nice.:)

#5
mathewf

mathewf

    Junior Member

  • Member
  • 6 posts
What a great revision. The map of routes of of the city is outstanding!

#6
watchdog

watchdog

    Senior AE Manager

  • Member
  • 534 posts

Sigh... I guess now we'll get to see how long it takes for that to be copied as well.


Spy's are out looking at the good work Miller
Posted Image

#7
Maestro69

Maestro69

    El Original Mod, AE Beta Tester

  • AE Moderator
  • 4,010 posts

User's Awards

3    3   

I'd like to integrate that map into more and more of the site. It really brings out the visualization of an airline's success or failure and adds a lot to the game.

Sigh... I guess now we'll get to see how long it takes for that to be copied as well.


Part of the evolution process i guess. But no doubt, if they gotta copy AE, really makes u wonder if they actually think for themselves then :puzzled:

dleLlDN.png?raw=1


#8
Timsher

Timsher

    Just a ling

  • Member
  • 573 posts
  • WLM ID:Timsher@gmail.com
  • Yahoo ID:Timsher19

Sigh... I guess now we'll get to see how long it takes for that to be copied as well.

Imitation is the most sincere form of flattery ;)

Yeah I know that doesn't really help :)

Nice job on the city pages, anyway we can get the routes from the city clickable so we can see the route page?
Posted Image

#9
Timsher

Timsher

    Just a ling

  • Member
  • 573 posts
  • WLM ID:Timsher@gmail.com
  • Yahoo ID:Timsher19
Update: Now that there are more airlines in I can see what's going on, I guess it's just not displaying correctly in firefox

Posted Image
Posted Image

#10
FlyWorld Air

FlyWorld Air

    Olly - Data Collector

  • Member
  • 605 posts
Why does it sometimes have cities listed twice? Like on there it has LAX 65 times and LAX under it with 49 more. Is one to and one from? If so, it would be easier to have just destinations served FROM the airport, as opposed to both.
Posted Image

#11
miller22 (inactive)

miller22 (inactive)

    AE Developer

  • AE Developer
  • 607 posts
  • AIM Screen Name:AeProjectManager
  • Website:http://www.airlineempires.org
It's because some cities are listed as origins, and some are listed as destinations. I was unable to group them together based on the calculations being completed at the database level.

#12
costos

costos

    Junior Member

  • Member
  • 5 posts

I'd like to integrate that map into more and more of the site. It really brings out the visualization of an airline's success or failure and adds a lot to the game.

Sigh... I guess now we'll get to see how long it takes for that to be copied as well.


Miller, the only intellectual property behind this are your calculations. No?

#13
miller22 (inactive)

miller22 (inactive)

    AE Developer

  • AE Developer
  • 607 posts
  • AIM Screen Name:AeProjectManager
  • Website:http://www.airlineempires.org
And even that is difficult to define as intellectual property, which is difficult to define at all. I left a post on one of the other threads that talks about it. Can't remember where, though.

#14
Banjo Air

Banjo Air

    Junior Member

  • Member
  • 26 posts

It's because some cities are listed as origins, and some are listed as destinations. I was unable to group them together based on the calculations being completed at the database level.


SELECT (SELECT sum( *frequency col*) OR count(*some col*) FROM *route table* WHERE (*route_arrive == airport id))+(SELECT sum(*frequency col*) OR count(*some col*) FROM *route table* WHERE (*route_dep == airport_id)) AS `totcount`, `airport name`, `airport code...`, `etc`. FROM *airport table* WHERE EXISTS (SELECT 1 FROM *route table* WHERE *route_arrive* = $city OR *route_depart* = $city) ORDER BY `totcount` DESC, *secondary orderby; airport name?*, *tertiary orderby you get the drift*

(whoops. here. let me improve this rough query a moment. there. that should pull every city that flies into or out of $city, along with total frequency or total count of those routes (in+out))

should combine the two, while making it one query with the airport name, etc., and yes you can orderby an alias... you just can't do anything sooner by the alias it seems because mysql is dumb like that.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users