Get from Ico-github-logo

Highlights from
OpenStreetMap Functions

  • ...
    get the x,y coordinates of unique nodes at road intersections
  • ...
    EXTRACT_CONNECTIVITY extract road connectivity from parsed OpenStreetMap
  • assign_from_parsed(parsed...
    assign from parsed osm structure
  • get_way_tag_key(tag)
    get tags and key values for ways
  • load_osm_xml(filename)
    load OpenStreetMap XML file contents as a MATLAB structure
  • main_mapping(varargin)
    handle application map
  • parse_openstreetmap(opens...
    PARSE_OPENSTREETMAP parse an OpenStreetMap XML file (OSM XML)
  • parse_osm(osm_xml)
    PARSE_OSM Parse into a structure a loaded OSM XML structure.
  • plot_nodes(ax, parsed_osm...
    plot (selected) nodes and label each with index and id
  • plot_road_network(ax, con...
    plot the nodes and edges connecting them
  • plot_route(ax, route, par...
    plot (over map) the route found by route planner
  • plot_way(ax, parsed_osm, ...
    PLOT_WAY plot parsed OpenStreetMap file
  • route_planner(dg, S, T)
    find shortest path in graph of road intersections (nodes)
  • show_map(ax, bounds, map_...
    plot raster map in figure and fix plot bounds
  • debug_openstreetmap.m
    example script for using the OpenStreetMap functions
  • usage_example.m
    example script for using the OpenStreetMap functions
  • View all files
image thumbnail

OpenStreetMap Functions

by

 

22 Mar 2012 (Updated )

Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file.

All files
/johnyf-openstreetmap-bb37962/.gitignore
/johnyf-openstreetmap-bb37962/LICENSE
/johnyf-openstreetmap-bb37962/README.md
/johnyf-openstreetmap-bb37962/assign_from_parsed.m
/johnyf-openstreetmap-bb37962/debug_openstreetmap.m
/johnyf-openstreetmap-bb37962/extract_connectivity.m
/johnyf-openstreetmap-bb37962/get_unique_node_xy.m
/johnyf-openstreetmap-bb37962/get_way_tag_key.m
/johnyf-openstreetmap-bb37962/load_osm_xml.m
/johnyf-openstreetmap-bb37962/main_mapping.m
/johnyf-openstreetmap-bb37962/parse_openstreetmap.m
/johnyf-openstreetmap-bb37962/parse_osm.m
/johnyf-openstreetmap-bb37962/plot_nodes.m
/johnyf-openstreetmap-bb37962/plot_road_network.m
/johnyf-openstreetmap-bb37962/plot_route.m
/johnyf-openstreetmap-bb37962/plot_way.m
/johnyf-openstreetmap-bb37962/route_planner.m
/johnyf-openstreetmap-bb37962/show_map.m
/johnyf-openstreetmap-bb37962/usage_example.m

Contact us