I got a route database working!!! I’m super excited about this. Currently I have a grand total of, two, routes in the database. The first was the tester I already posted and the second is a portion of the Oregon Coast Bike Route between the Ft. George Brewery in Astoria and the Rogue Brewery is Newport. Both are excellent breweries and excellent places to start/end a ride.

As for some under the hood specifics, I’ve really only got a basic database functionality working. This update was more to show the progress that has been made than a new ‘version’ of the software. The scripts work by querying the database for a hard coded route id. In the future I want to make something more flexible but this works for now. I have the route published as a wordpress post because that allows comments on the route. I don’t like the idea of adding every single route as a post because that would get overwhelming if I open up the route creation to the public. For now if I open it up or post routes that aren’t super neat I’ll publish them silently without the ability to comment and create some kind of database index page.

Routes that do get their own post and section for comments will be a ‘featured route.’ I’m thinking about putting the US bike route system in as featured routes or ride maps that bike clubs organize. If you are part of a club and want your rides posted on the site give me a holler! I’d love to add your routes.

My next objective is to write a route creation page that will insert routes into the database. Hopefully that should go smoothly. I think figuring out the interface for that will be the hardest part.

I’ve been doing some research on how I want to move the bike map creator app forward. I know that I want to tackle the ‘saved routes’ feature next. I’ve been avoiding doing any real work on the problem because it is new territory for me and I just didn’t know how I should move proceed.

Today I decided to sit down and whip out a rough draft of what is to come. My goal was to code a simple route in a kml file and load it into the the map creator app. After a few hours of tinkering and researching I did it! I’d love to hear your feedback on this so don’t be afraid to blow up the comments on the article page.

Below is the bike map creator app with a custom initialization script that loads a route saved on the server and plots the way points onto the map. The route I chose is one of my favorite local rides, Bellingham, WA to Deception Pass State Park. You can use the bike map creator below just like the official one. The only difference is the preloaded way points. To jump to the route just press the “Route” button and the route will be created and centered in the map.


Click on the map to add way-points. When you are finished click Plot Route.

Total Distance:

Plot your route, divide it into pages pages, then print!
  1. Click on the map to create way-points. When finished click ‘Find Route.’
  2. Divide the route into pages by panning and zooming to a viewpoint that provides a good level of detail. Then click ‘+ Panel.’ Repeat until all of the route is represented in a page.
  3. Click the print button to move to print mode. Click the printer icon or user your browser’s print function to print the pages.

Notice the new panel buttons under the map.

Notice the new panel buttons under the map and the print icon in the top right.

I have been hard at work for for the past few days and I have upgraded the map creator once again! Still no new features but I got rid of all those awful orange panel links. Instead of the links I added buttons in the same style as the ones I created earlier. I’ve got some new features in mind and moving to these buttons will make writing them easier. Also in response to a comment left on the site I’ve added a print button as well. The button shows up when you enter print mode. Clicking on it replicates using your browser’s print command.

I probably won’t be updating the software for a while, however, the next upgrades I’ll work on will be functionality ones. I will work on making the plot and panel modes a little better. I am also getting excited to add some route saving features. Although I haven’t a clue how I’ll implement that. I will probably have to learn some database programming to get that working. I may go with a temporary offline solution just to get the ball rolling.

Let me know what you think of the new design in the comments. I’d love to get some feedback on this.