Crankfire.com
Connecticut Mountain Biking Community

Map Engine Part (Revved up like a) Deuce

Remember that list I made?

It was full of stuff to I wanted do to this site over the cold and lonely winter. Well, its spring and I almost finished one of them. In my defense though, I built this and, seeing how the winter was quite mild, I actually got out and rode a fair amount. So it had little to do with sloth.

What did you do Ray?

I rewrote our mapping engine. From scratch. It required a lot of thinking, which hurt because I am not the brightest bulb to begin with.

Remember the last one? On large maps you would see your track crossing lakes? It was inaccurate. And remember how the track lines were all ugly dotted-dashed red lines? It was ugly. And from a programming standpoint, it was sloppy, cumbersome and inefficient.

And there it is.

Whats new?

  • Accuracy. Trails line up all nice now.
  • Usability. I took a typical GIS software layer control approach - giving user the ability to dynamically hide and show tracks and waypoints.
  • Efficiency. It was designed to minimize the number of trips you would have to take to the server. For example, if you are viewing a specific track, I calculate what other related geographic information could be displayed within the current map boundaries and I load this information as well. Then I allow you to toggle it on and off. Otherwise, if you select a item that is not within the maps bounds, it will prompt you to reload the page.
  • Efficiency. Yes again. Each track is generated and cached on the server along with a 'projection' file that allows me to reuse this map on all subsequent map views. This saves me calls to the terraserver and spares my servers CPU.
  • Prettier. It looks soooo much better. Tracks are nice color coded solid smooth lines. The layer control dialogue slides and off the screen - and if you use a browser that supports it, it is transparent - which is not a big deal, but it looks damn cool.

I released this version in hopes of working out any bugs before I continue development. I am sure its not perfect and that there are some nice bugs in there, so if it explodes on you, please drop me an email and let me know what your were doing and what happened.

Whats to come?

  • Printing. One of the biggest requests was to provide a way to print these maps.
  • GPS Route Builder. Something just like we have on the Google Mapper. Create a GPS route and it will generate a GPX file for you to download and use in your GPS.
  • Email this Map thing. Ya know, you can to email a map to a pal.
  • GPX "Pit". Something to allow anyone to upload and view any GPX file. Kind of a public map utility like GPSVisualizer - obviously just not as full featured.

I have wasted enough of your time

Thats all. Hope you like it. If you have any suggestions, complaints, bugs to report - just drop me a line or post something in the forums.

Bye bye.




Comments / Discussion

( 1 )  charles nelson riley

I've seen better.

Posted March 31, 2006 at 2:25 PM [ 1868 ]
Trackback to this comment
Reply to this comment

Nathan Cloud

I will kill you. Or, an even worse fate, I will pull your profiles "tiny dancer" soundtrack.

One thing is for sure: there is trouble-a-brewing....

Reply posted on March 31, 2006 at 3:02 PM [ 1871 ]
Trackback to this comment
Reply to this comment

( 2 )  BOUNTAINMIKE

Is this setup somewhere that I can navigate to right off the home page. That you can just start toolin around to places? kinda like if you were to open google maps or somthing. Or is it just incorporated into the trail data.
If that question makes sense or not, I'm not sure but it sounded right in my head.


edit: never mind, that question sucked. that would prably be a pain in the ass to do.

Posted March 31, 2006 at 2:57 PM [ 1870 ]
Trackback to this comment
Reply to this comment

Nathan Cloud

I hear ya. It is pretty much only accessible from each trail, track or waypoint record. However, you can get to the trail record pretty quickly by clicking on the state map on the home page if that helps.

I can work something like that in though, would not be too bad to do.

Reply posted on March 31, 2006 at 3:05 PM [ 1872 ]
Trackback to this comment
Reply to this comment

BOUNTAINMIKE

10-4. Either way, it still kicks some major ass. Good job Nate.

Reply posted on March 31, 2006 at 3:14 PM [ 1873 ]
Trackback to this comment
Reply to this comment

( 3 )  Aeroplane

I am a big fan of this articles title. It immediately brings me to the guitar solo part in my head...neener-na neener-na neener-na neener-na neener-na neener-na neener-na neener-na neener-na neener-na nnnnnnnnnnnnnnnnnnnnnnneeeeeeeeeeeeer....

Posted April 3, 2006 at 7:47 AM [ 1903 ]
Trackback to this comment
Reply to this comment

( 4 )  willi

So in the "Things to Come" part... does the GPS Route builder mean i can put like 2 different routes together to create a mega trail route for a gps so i can follow that? That sounds so pimp!

What browsers support the transparent slider thingie? That looks phenomenal nate!

Posted April 5, 2006 at 4:50 PM [ 1982 ]
Trackback to this comment
Reply to this comment

Nathan Cloud

Transparent slider = firefox, safari so far. IE? Nope.

You confuse routes with tracks. Tracks are more or less trails, routes are sets of waypoints that essentially represent places to turn.

Reply posted on April 5, 2006 at 8:36 PM [ 1983 ]
Trackback to this comment
Reply to this comment

Add your comment



[ You must be logged in to enter comments ]