OpenStreetMap

OpenBrian's diary

Recent diary entries

Routing with OSRM

Posted by OpenBrian on 19 May 2017 in English (English)

Setting up OSRM is very easy because it's using Docker. Here are the steps to take to set up your own router. You can run this locally or on a server. To see this in action check out https://mappingdc.org/bike-router/.

OSRM on MappingDC

  1. Install Docker on your machine according to instructions for your operating system. https://docs.docker.com/engine/installation/
  2. Download a PBF file for your city from the Mapzen Metro Extracts (https://mapzen.com/data/metro-extracts/). If there is none, sign up and request a new one be built.
  3. Run the backend docker commands from here https://github.com/Project-OSRM/osrm-backend#using-docker This takes about 30 minutes as it precomputes some data.
  4. Run the frontend docker commands from here https://github.com/Project-OSRM/osrm-frontend#using-docker Start the front end with the -e option that specifies the URL to your backend, e.g. http://myhost/osrm-router/
  5. Open ports on your firewall, or set up a proxy in Apache like this:

    # Frontend
    ProxyPass /osrm http://127.0.0.1:9966/
    ProxyPassReverse /osrm http://127.0.0.1:9966/
    
    # Backend
    ProxyPass /osrm-router/ http://127.0.0.1:5000/
    ProxyPassReverse /osrm-router/ http://127.0.0.1:5000/
    
  6. Visit http://myhost/osrm-router/

Location: Mount Vernon, Alexandria, Alexandria City, Virginia, 22305, United States of America

Share with Twitter / Facebook

Posted by OpenBrian on 14 December 2016 in English (English)

Hey I just posted to my diary! Where's the checkbox on this form that says "Share with Twitter" or "Share with Facebook"?

In fact, where the link on this page that says "Provide Feedback on the Diary Feature of OpenStreetMap"?

Brian

Candidacy for OpenStreetMap US Board

Posted by OpenBrian on 2 December 2016 in English (English)

I'd like to announce my candidacy for the OpenStreetMap US Board election. I've posted my Position Statement on my OSM wiki page. I'm especially supporting Local Communities. If you have any questions, please feel free to ask.

Location: Mount Vernon, Alexandria, Alexandria City, Virginia, 22305, United States of America

Mapping Rogue Hopyard and Barley Farm

Posted by OpenBrian on 15 June 2014 in English (English)

My beer bottle has coordinates.

Roguenbier Rye Ale front Roguenbier Rye Ale back

What am i to do? Add them to OSM naturally

http://www.openstreetmap.org/changeset/22937297

http://www.openstreetmap.org/changeset/22937418

Location: Ross Road, Wasco County, Oregon, 97063, United States of America

MappingDC on GitHub

Posted by OpenBrian on 23 May 2014 in English (English)

I wrote a small article about how MappingDC now has a shared GitHub account and a couple ideas how we can use it. MappingDC on GitHub GitHub logo

Location: Logan Circle/Shaw, Washington, District of Columbia, 2005, United States of America

JOSM tip for squaring buildings

Posted by OpenBrian on 16 May 2014 in English (English)

We all know about Q in JOSM, which will make the angles in a building 90°. But isn't it annoying when you have one building, you are adding an adjacent building, and when you square the corners it affects the first building? Here's a pro-tip. When squaring the second building, select it, then add 2 nodes from the first building into your selection. Then hit Q. It will use the first building as a baseline for the second. Notice 2 nodes are highlighted red.

square building

Mappy Hour

Posted by OpenBrian on 13 August 2013 in English (English)

MappingDC Mappy Hour

Tuesday Aug 13th, 6PM

Capitol City Brewing Company

Washington, DC

Location: Downtown, Washington, District of Columbia, 20006, United States of America

Operation Cowboy Thanks

Posted by OpenBrian on 1 December 2012 in English (English)

I'd like to say thanks to all the non-US openstreetmappers for helping us fix our stuff.

Thanks!

Brian

MappingDC

Location: Logan Circle/Shaw, Washington, District of Columbia, 2005, United States of America
Older Entries | Newer Entries