MASON-INTEREST-L Archives

July 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Timothy R Gulden <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sat, 13 Jul 2013 21:40:18 +0000
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1201 bytes) , text/html (2036 bytes)
Making polygon roads into line roads is going to be difficult -- particularly if you want to preserve the turn restrictions that you need for routing (e.g. one way streets, no left turns, etc.).

It would be better to start with a different road base.  I think OpenStreetMap will serve well for this kind of thing, though I haven't done routing with it myself.  I think I am seeing an extract of the DC metro area in shapefile format here:

http://download.bbbike.org/osm/bbbike/WashingtonDC/
specifically this:
WashingtonDC.osm.shp.zip<http://download.bbbike.org/osm/bbbike/WashingtonDC/WashingtonDC.osm.shp.zip>

I am not certain that it will serve, but I suspect it will.

Cheers,

Tim

On Jul 11, 2013, at 1:24 PM, David Masad wrote:

Hey guys,

This might end up being more of a GIS question than a MASON question, but I hope someone here has dealt with this before.

I'm working on a model involving agents moving along an urban road system. My test case was DC, and it turns out that the DC road data on the city's website (http://1.usa.gov/1aei0L8) has the roads as polygons rather than lines. Is there a good technique or tool for turning polygonal road data into a network of linestrings?

Thanks!
-David





ATOM RSS1 RSS2