Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intersection clustering #59

Merged
merged 8 commits into from
Jan 14, 2015
Merged

Intersection clustering #59

merged 8 commits into from
Jan 14, 2015

Commits on Jan 12, 2015

  1. Functions to search for highways with a common name and clusters of i…

    …ntersections.
    
    Highways with a common name but different IDs occur when a boulevard is represented as two separate ways.
    Clustered intersections occur when boulevards intersect. This results in a single "intersection," as a human would consider it, being represented by several way crossings. This is helpful for routing purposes, but not for user interactions.
    
    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    fa71e4a View commit details
    Browse the repository at this point in the history
  2. Changed type UTF8String's to standard Strings (their parent type).

    I was getting errors on OS X.
    
    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 12, 2015
    Configuration menu
    Copy the full SHA
    667b477 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2015

  1. Bug fixes for intersection consolidation feature.

    Now when a highway is reduced to 0 length, it is deleted in the replaceHighwayNodes! function.
    Now skip intersection consolidation when intersection has only one associated highway (ends of roads). This prevents the end of a boulevard (such as when cropped) from being joined together.
    Removed unused clustered_highways variable.
    
    Issue #31.
    
    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    ee39910 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:tedsteiner/OpenStreetMap.jl into …

    …IntersectionConsolidation
    
    Pulling in minor bug fix for plotMap.
    
    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
    tedsteiner committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    c0c80b1 View commit details
    Browse the repository at this point in the history
  3. Fixed bug in segmentHighways().

    Now if a highway has been removed from highways but still exists in the roadways classifier, it will simply be skipped during highway segmentation.
    Previously this resulted in a key not found error.
    
    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    d8e363e View commit details
    Browse the repository at this point in the history
  4. Tests and documentation for intersection clustering.

    Changed type HighwayCluster to HighwaySet.
    Intersection clustering requires nodes to be in ENU coordinates.
    
    Issue #31.
    
    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    371b68f View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2015

  1. Cleanup, commenting, and updates to intersection clustering code and …

    …documentation.
    
    The list of cluster IDs is no longer returned, since it can easily can be extracted from the intersection ID to cluster ID mapping dictionary.
    
    Issue #31
    
    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 14, 2015
    Configuration menu
    Copy the full SHA
    fc0dc9d View commit details
    Browse the repository at this point in the history
  2. Changed String types back to UTF8Strings. See discussion at #55.

    Signed-off-by: Ted Steiner <tsteiner2@gmail.com>
    tedsteiner committed Jan 14, 2015
    Configuration menu
    Copy the full SHA
    6447217 View commit details
    Browse the repository at this point in the history