Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to create moving map

I'm looking for a good way to create a moving map app on an semi-embedded device, comparable to a netbook. The source images are 400MB tiff files with associated world and projection files. The current approach I've taken is to create a tiled dataset for the desired zoomlevels in OSM map format. It works, but uses up way too much diskspace. Can anyone point me in the right direction here? Thanks.

like image 363
charles fox Avatar asked Sep 20 '10 14:09

charles fox


2 Answers

Unfortunately, you must trade-off between performance and disk space. Tiled maps are much faster to load and don't require much RAM, but multiple versions (form of cache copies) at multiple resolutions require much disk space.

If your program runs over network, you can set up a map server, maybe using WMS protocol (http://en.wikipedia.org/wiki/Web_Map_Service) so your client acts as a thin client, but if your program runs offline you must work hard. The article linked by cottsak is very good

I suggest you to try different combinations of tiles resolutions and test their performance directly until you find a good trade-off.

like image 193
usr-local-ΕΨΗΕΛΩΝ Avatar answered Oct 26 '22 19:10

usr-local-ΕΨΗΕΛΩΝ


This article includes a lot of links to free/open-source implementations of various web mapping components. Maybe you can find something in there to get you started?

like image 29
Matt Kocaj Avatar answered Oct 26 '22 21:10

Matt Kocaj