Rank: 314 based on 185 downloads (last 30 days) and 10 files submitted
photo

Ioannis Filippidis

E-mail
Company/University
California Institute of Technology

Personal Profile:

http://www.caltech.edu/~ifilippi

Professional Interests:
Multi-Agent Control, Motion Planning, Formal Methods

 

Watch this Author's files

 

Files Posted by Ioannis View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jul 2012 Screenshot Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis 3d, u3d, graphics, export, save, plot 78 15
  • 4.33333
4.3 | 7 ratings
10 May 2012 Take & Restore hold Hold axes temporarily, optionally respecting the previous hold state. Author: Ioannis Filippidis hold, hold on, hold off, axes, axis, plot 3 0
10 May 2012 Vectorized hold Vectorized version of hold function. Author: Ioannis Filippidis hold, vectorization, plot, axes, figure, matrix 2 0
03 May 2012 Screenshot OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis data import, automotive, transportation, geography, mapping, openstreetmap 75 21
  • 5.0
5.0 | 6 ratings
19 Apr 2012 Screenshot Normalize N-D Vectors in Single Matrix or N Component Matrices Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. Author: Ioannis Filippidis normalize, matrices, vector, unit vector, norm, vectorization 2 0
Comments and Ratings by Ioannis View all
Updated File Comments Rating
27 Jul 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis

Hi Nermeen,

Thank you, I would suggest against parsing 30GB files in any context, MATLAB certainly cannot handle that, but neither does any other tool. The issue is that your RAM and virtual memory won't support this, unless you have a very unusual hardware or software setup.

So what I would suggest is file-based operations, where you gradually process your input, while at the same time dumping the results into a (possibly big) output file. Then you can access them from that file.

You may also consider if your task really requires brute-force parsing of whole countries, vs somehow pre-filtering the information at the source from where you get it (I don't know if that's possible in this case, but it's an option worth considering, if you don't need all that data).

The PBF format is currently not supported by this toolbox. There is already a Python solution here:
http://blog.lifeeth.in/2011/02/extract-pois-from-osm-pbf.html
(pointed to by this: http://wiki.openstreetmap.org/wiki/PBF_Format)
and I'm suggesting switching to Python anyway (see below).

Please feel free to contribute towards that, btw motivated by people's interest, it will probably migrate to github not far in the future.

Finally I would advise switching to Python for heavy GIS tasks as the one you describe, as it is more suited for system-oriented operations and you will find a much wider set of tools already available, though it takes more searching. Starting points (though haven't tried them):
http://wiki.openstreetmap.org/wiki/PythonOsmApi
http://stackoverflow.com/questions/11321718/how-can-i-display-osm-tiles-using-python/11325174#11325174
https://ep2013.europython.eu/media/conference/slides/making-use-of-openstreetmap-data-with-python.pdf
http://nzjrs.github.io/osm-gps-map/

22 Jul 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis

Happy that it proves useful. No, I haven't considered processing administrative boundaries. If you write some enhancement, please consider sending it in.

Also, when I find some time this project will probably appear in github for people to contribute.

21 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis

Hi Ben,

Thanks for the note, there is an OS X fix I've posted below (04 Dec 2012), but there is something else, please send me the fix. I planned to update the files here when time permitted.

24 May 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis

Hi Devin,

Including the colorbar is not an implemented feature. The axes are included by plotting them in fig2u3d.m with the function plot_axes.

A suggestion would be to plot the colorbar within the axes (not as it is created by default, i.e., as a separate graphics object). An example which can be adapted according to your needs can be found here:

http://marine.rutgers.edu/~nstrands/MATLAB/googleplot/colorbarlegend.m

It looks like it needs some updating, but besides that it has the main idea of a colorbar comprised of patches. Then you can also select its preferred position and orientation.

Thanks for the idea, I will keep it mind for incorporating it in the next release.

Best,
Ioannis

11 May 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis

Hi Richard,

It appears that the Java Virtual Machine run out of memory, you can increase that (depending on the limits of your system). Please see here:
http://www.mathworks.com/support/solutions/en/data/1-18I2C/
This can also be the case when plotting a lot of data.

I would suggest trying to instead reduce the piece of the map you attempt to import, based on what is the purpose for further processing.
Otherwise even if it does load after increasing the java heap size, it will still be cumbersome to process.

Another suggestion might be to break into pieces and load those separately, one at a time, extracting the structure of interest and then identifying common nodes between different patches. However this is much more involved, because it involves the global (unique) IDs of the nodes, representing them in the openstreetmap database (and file).

Comments and Ratings on Ioannis' Files View all
Updated File Comment by Comments Rating
27 Jul 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis Filippidis, Ioannis

Hi Nermeen,

Thank you, I would suggest against parsing 30GB files in any context, MATLAB certainly cannot handle that, but neither does any other tool. The issue is that your RAM and virtual memory won't support this, unless you have a very unusual hardware or software setup.

So what I would suggest is file-based operations, where you gradually process your input, while at the same time dumping the results into a (possibly big) output file. Then you can access them from that file.

You may also consider if your task really requires brute-force parsing of whole countries, vs somehow pre-filtering the information at the source from where you get it (I don't know if that's possible in this case, but it's an option worth considering, if you don't need all that data).

The PBF format is currently not supported by this toolbox. There is already a Python solution here:
http://blog.lifeeth.in/2011/02/extract-pois-from-osm-pbf.html
(pointed to by this: http://wiki.openstreetmap.org/wiki/PBF_Format)
and I'm suggesting switching to Python anyway (see below).

Please feel free to contribute towards that, btw motivated by people's interest, it will probably migrate to github not far in the future.

Finally I would advise switching to Python for heavy GIS tasks as the one you describe, as it is more suited for system-oriented operations and you will find a much wider set of tools already available, though it takes more searching. Starting points (though haven't tried them):
http://wiki.openstreetmap.org/wiki/PythonOsmApi
http://stackoverflow.com/questions/11321718/how-can-i-display-osm-tiles-using-python/11325174#11325174
https://ep2013.europython.eu/media/conference/slides/making-use-of-openstreetmap-data-with-python.pdf
http://nzjrs.github.io/osm-gps-map/

23 Jul 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis Ahmed, Nermeen

Hi,

The tool has been magically helpful in my environment classification project. I was just wondering about the osm file size limitation that can be parsed. As i need to parse files of complete countries; osm files that can reach up to 30 GB. Also is there a way to parse PBF files instead of XML using this tool? Thanks in advance

22 Jul 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis Filippidis, Ioannis

Happy that it proves useful. No, I haven't considered processing administrative boundaries. If you write some enhancement, please consider sending it in.

Also, when I find some time this project will probably appear in github for people to contribute.

21 Jul 2013 OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis Biass, Seb

Hi there,

This toolbox is brilliant. I was wondering if you saw a way to extract and perform connectivity analysis on a road network that is within an administrative boundary of a given level. I am looking at the API, but fairly new, so still struggling...
Please do let me know if you do, and again, a bunch of thanks!

27 Jun 2013 Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis Francesco

Hi Loannis,

This is a great tool and I've gotten it to work on my computer for the example files you provided. Unfortunately, it doesn't seem to work when I apply it to a figure produced by the "vol3d.m" function (by Joe Conti), which produces a volume rendering of 3-D data using the matlab "surface" function. I get a lot of outputs in the command line that say "Empty cdata". I don't get an error with fig2u3d.m but when I convert the u3d result to 3d pdf with acrobat, I get an empty white box. If I use fig2pdf3d.m I get the following error "Undefined function or variable "use_vertex_color". Error in shaders_materials_modifiers (line 49)". Do you know what could be wrong?

Top Tags Applied by Ioannis
plot, mathematics, figure, matrix, vectorization
Files Tagged by Ioannis View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jul 2012 Screenshot Export figure to 3D interactive PDF Export figure as a U3D file or directly to 3D interactive graphics within a PDF. Author: Ioannis Filippidis 3d, u3d, graphics, export, save, plot 78 15
  • 4.33333
4.3 | 7 ratings
10 May 2012 Take & Restore hold Hold axes temporarily, optionally respecting the previous hold state. Author: Ioannis Filippidis hold, hold on, hold off, axes, axis, plot 3 0
10 May 2012 Vectorized hold Vectorized version of hold function. Author: Ioannis Filippidis hold, vectorization, plot, axes, figure, matrix 2 0
03 May 2012 Screenshot OpenStreetMap Functions Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. Author: Ioannis Filippidis data import, automotive, transportation, geography, mapping, openstreetmap 75 21
  • 5.0
5.0 | 6 ratings
19 Apr 2012 Screenshot Normalize N-D Vectors in Single Matrix or N Component Matrices Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. Author: Ioannis Filippidis normalize, matrices, vector, unit vector, norm, vectorization 2 0

Contact us