Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

plotting openstreetmap osm (xml) maps

871 views
Skip to first unread message

Ludwig

unread,
Jul 28, 2011, 6:04:29 PM7/28/11
to
Hi
I have downloaded an osm map from www.openstreetmap.org in form of an *.xml file and would now like to plot this osm map in MATLAB. I am mainly interested in plotting points and ways (the data primitives in OSM maps). I have managed to read my xml file into MATLAB, and extract points with long/lat coordinates, but struggle plotting ways. Has anybody managed to import and plot openstreetmap *.xml files in MATLAB before and has code?Many thanks for your help
L

Joerg

unread,
Aug 1, 2011, 10:06:27 AM8/1/11
to
"Ludwig " <remove_this_lu...@web.de> wrote in message <j0smdd$56n$1...@newscl01ah.mathworks.com>...

> Hi
> I have downloaded an osm map from www.openstreetmap.org in form of an *.xml file and would now like to plot this osm map in MATLAB. I am mainly interested in plotting points and ways (the data primitives in OSM maps). I have managed to read my xml file into MATLAB, and extract points with long/lat coordinates, but struggle plotting ways. Has anybody managed to import and plot openstreetmap *.xml files in MATLAB before and has code?Many thanks for your help
> L

Hi Ludwig,

How did you read your osm/xml file into Matlab? I am also looking for a solution to plot nodes and ways of OSM data using Matlab. What is your exact problem when plotting ways?

Joerg

Ioannis Filippidis

unread,
Mar 23, 2012, 10:24:17 AM3/23/12
to
"Joerg" wrote in message <j16bt3$ep6$1...@newscl01ah.mathworks.com>...
Hi
I have uploaded some functions for the purpose of importing, parsing, plotting and extracting the network connectivity from an OpenStreetMap XML Data file. You can find them here:
http://www.mathworks.com/matlabcentral/fileexchange/35819

Ioannis
0 new messages