Suggestion: Eastbound and Westbound on trips map

Need tech support using the forum? Check for answers here or post a question.
iamtheari
Posts: 45
Joined: Mon Feb 27, 2017 1:12 am
Zip Code: 58854
Foster?: No
Pilot?: Yes
Airport identifier: S25
Distance willing to fly one way: 500

Suggestion: Eastbound and Westbound on trips map

Post by iamtheari » Tue Jan 30, 2018 5:52 pm

My apologies if this is the wrong place or if this has been suggested before. I am in North Dakota, a flyover state, and all of the trips I have been able to help with were long-distance eastbound or westbound trips. But since the map color-codes trips by northbound and southbound only, those trips close to a heading of 90 or 270 degrees are hard to decipher without opening them up. I envy the people who can easily see, for example, that there is a request to go from Oklahoma to Texas and a corresponding request to go from Texas back to Oklahoma. It would be really nice if the trip requests map would use different colors for those eastbound and westbound flights. Maybe 316-360 and 0-45 headings would be northbound, 46-135 headings would be eastbound, 136-225 headings would be southbound, and 226-315 headings would be westbound, to make it more obvious which direction each request is going.

mikegreen
Posts: 892
Joined: Fri Nov 19, 2010 9:33 am
Zip Code: 80204
Foster?: Yes
Pilot?: Yes
Airport identifier: KBJC
Distance willing to fly one way: 75
Location: Denver

Re: Suggestion: Eastbound and Westbound on trips map

Post by mikegreen » Wed Mar 07, 2018 12:50 pm

Hi -
Just saw this thread - Never thought about more than 2 colors...

I can look into it this week and see if we can do it.. Alternatively, if anyone knows PHP and Javascript feel free to take a stab at it :-) Source code is here - https://github.com/mikegreen/pnp_maps/b ... _trips.php

-Mike
---
Mike
part time forum, maps, and web server jockey with occasional flying

joligario
Posts: 41
Joined: Mon Feb 19, 2018 3:34 pm
Zip Code: 28306
Foster?: No
Pilot?: Yes
Airport identifier: KLBT
Distance willing to fly one way: 0

Re: Suggestion: Eastbound and Westbound on trips map

Post by joligario » Wed Mar 07, 2018 2:50 pm

I recommend changing the line type rather than color. Otherwise you run the risk of having 6 colors.

I dabble in in PHP/MYSQL. I'll play around with it on my test machine and offer up some code.
-Jeremiah
Private/INST
Piper Cherokee 180

mikegreen
Posts: 892
Joined: Fri Nov 19, 2010 9:33 am
Zip Code: 80204
Foster?: Yes
Pilot?: Yes
Airport identifier: KBJC
Distance willing to fly one way: 75
Location: Denver

Re: Suggestion: Eastbound and Westbound on trips map

Post by mikegreen » Wed Mar 07, 2018 3:05 pm

Yeah, 6 would be rough. I like the line style idea.

If you want access to the database let me know and I can arrange. thanks!
---
Mike
part time forum, maps, and web server jockey with occasional flying

joligario
Posts: 41
Joined: Mon Feb 19, 2018 3:34 pm
Zip Code: 28306
Foster?: No
Pilot?: Yes
Airport identifier: KLBT
Distance willing to fly one way: 0

Re: Suggestion: Eastbound and Westbound on trips map

Post by joligario » Wed Mar 07, 2018 4:32 pm

Another thought: We can add an arrowhead to the line for direction if that would make sense. Then you could use your 2 colors for the typical pilot directions of 0-179 and 180-359 which determine the cruising altitudes.
Image
-Jeremiah
Private/INST
Piper Cherokee 180

joligario
Posts: 41
Joined: Mon Feb 19, 2018 3:34 pm
Zip Code: 28306
Foster?: No
Pilot?: Yes
Airport identifier: KLBT
Distance willing to fly one way: 0

Re: Suggestion: Eastbound and Westbound on trips map

Post by joligario » Wed Mar 07, 2018 7:45 pm

-Jeremiah
Private/INST
Piper Cherokee 180

mikegreen
Posts: 892
Joined: Fri Nov 19, 2010 9:33 am
Zip Code: 80204
Foster?: Yes
Pilot?: Yes
Airport identifier: KBJC
Distance willing to fly one way: 75
Location: Denver

Re: Suggestion: Eastbound and Westbound on trips map

Post by mikegreen » Thu Mar 08, 2018 2:20 pm

Awesome - thanks!

I put it up here to see how you guys like it:
https://pilotsnpaws.org/maps/maps_trips_test.php
---
Mike
part time forum, maps, and web server jockey with occasional flying

iamtheari
Posts: 45
Joined: Mon Feb 27, 2017 1:12 am
Zip Code: 58854
Foster?: No
Pilot?: Yes
Airport identifier: S25
Distance willing to fly one way: 500

Re: Suggestion: Eastbound and Westbound on trips map

Post by iamtheari » Thu Mar 08, 2018 2:40 pm

It looks good to me. Thanks to those who took the time to think about and code a solution to my small frustration!

mikegreen
Posts: 892
Joined: Fri Nov 19, 2010 9:33 am
Zip Code: 80204
Foster?: Yes
Pilot?: Yes
Airport identifier: KBJC
Distance willing to fly one way: 75
Location: Denver

Re: Suggestion: Eastbound and Westbound on trips map

Post by mikegreen » Thu Apr 05, 2018 5:58 pm

Hey folks -
Just FYI - this is now the standard map functionality when you view the transport map - https://pilotsnpaws.org/maps/maps_trips.php

thanks joligario for the help!

-Mike
---
Mike
part time forum, maps, and web server jockey with occasional flying