Vector graphics format
+5
stetre76
joeuser
daaho
hansdampf
orux
9 posters
OruxMaps :: ENGLISH :: IMPROVEMENTS
Page 1 of 1
Vector graphics format
It would be very very nice if it would be possible to use a vector graphics format or the maps as well. Vector graphics are much smaller and it would be possible to save bigger areas offline as well. Navit or Osmand are using vector graphics (both are OpenSource), google maps fpr Android also supports a verctor graphics format. This would be a really important und needy improvement. What do you think about it?
hansdamp- Guest
Re: Vector graphics format
hansdamp wrote:It would be very very nice if it would be possible to use a vector graphics format or the maps as well. Vector graphics are much smaller and it would be possible to save bigger areas offline as well. Navit or Osmand are using vector graphics (both are OpenSource), google maps fpr Android also supports a verctor graphics format. This would be a really important und needy improvement. What do you think about it?
You are right;
I will work with vector maps in next versions.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
GREAT!
That's a really good news, I am looking forward! Thanks a lot! By the way: You are doing a great job! ORUX is BEST
hansdampf- Cantidad de envíos : 18
Fecha de inscripción : 2011-07-28
Vector graphics format
Hello Orux,
do you know this project?
MapsForge
bye, daaho
do you know this project?
MapsForge
The overall goal of mapsforge is to provide a free and open toolbox that enables the community to easily create new OpenStreetMap based applications. Provided tools and APIs include solutions for map rendering, route planning and navigation, POI indexing and search, map overlays and more.
bye, daaho
daaho- Cantidad de envíos : 12
Fecha de inscripción : 2011-01-06
MapsForge and NAVIT
daaho wrote:Hello Orux,
do you know this project?
mapsforgeThe overall goal of mapsforge is to provide a free and open toolbox that enables the community to easily create new OpenStreetMap based applications. Provided tools and APIs include solutions for map rendering, route planning and navigation, POI indexing and search, map overlays and more.
bye, daaho
Just for interest I did have a look at this project. It seems like they still use tiles (no vector maps, as far as I could see in there AdvancedMapViewer-APK which I installed on my Android, but I might be wrong). Nevertheless: The map data are surprisingly small! Wou! I tried out Berlin: 12MB in size and very very detailed. I don't know how they do it.
Another interesting approach would be the rendering engine the use in the NAVIT project, which is also available for android. You can get maps in a binary format, extracted from OSM. And they can also render Garmin maps as well. And the rendering is pretty fast.
hansdampf- Cantidad de envíos : 18
Fecha de inscripción : 2011-07-28
Vector graphics format
Hello hansdampf,
From the MapsForge Web page:
And here is an article which describes the map rendering
bye, daaho
It seems like they still use tiles (no vector maps, as far as I could see in there AdvancedMapViewer
From the MapsForge Web page:
The overall goal of mapsforge is to provide a free and open toolbox that enables the community to easily create new OpenStreetMap based applications.
Provided tools and APIs include solutions for map rendering, route planning and navigation, POI indexing and search, map overlays and more.
Features
Fast on-device rendering of OpenStreetMap data
Powerful and flexible overlay API
Compact file format for map data storage
Support for multi-touch gestures (e.g. pinch-to-zoom)
Runs on all devices with Android 1.5 and higher
Small library (~ 400 KB, including sources and images)
100% free and open source (LGPL license)
And here is an article which describes the map rendering
bye, daaho
daaho- Cantidad de envíos : 12
Fecha de inscripción : 2011-01-06
Re: Vector graphics format
daaho wrote:Hello hansdampf,It seems like they still use tiles (no vector maps, as far as I could see in there AdvancedMapViewer
From the MapsForge Web page:The overall goal of mapsforge is to provide a free and open toolbox that enables the community to easily create new OpenStreetMap based applications.
Provided tools and APIs include solutions for map rendering, route planning and navigation, POI indexing and search, map overlays and more.
Features
Fast on-device rendering of OpenStreetMap data
Powerful and flexible overlay API
Compact file format for map data storage
Support for multi-touch gestures (e.g. pinch-to-zoom)
Runs on all devices with Android 1.5 and higher
Small library (~ 400 KB, including sources and images)
100% free and open source (LGPL license)
And here is an article which describes the map rendering
bye, daaho
Hi, thanks;
You are right; still not vector support.
I am investigating about garmin format. Therea are some libraries.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Vector graphics format
orux wrote:It seems like they still use tiles (no vector maps, as far as I could see in there AdvancedMapViewer
From the MapsForge Web page:The overall goal of mapsforge is to provide a free and open toolbox that enables the community to easily create new OpenStreetMap based applications.
Provided tools and APIs include solutions for map rendering, route planning and navigation, POI indexing and search, map overlays and more.
Features
Fast on-device rendering of OpenStreetMap data
Powerful and flexible overlay API
Compact file format for map data storage
Support for multi-touch gestures (e.g. pinch-to-zoom)
Runs on all devices with Android 1.5 and higher
Small library (~ 400 KB, including sources and images)
100% free and open source (LGPL license)
And here is an article which describes the map rendering
bye, daaho
Hi, thanks;
You are right; still not vector support.
I am investigating about garmin format. Therea are some libraries.
orux
Hello Orux,
the data are vector data, they are only rendered to tile maps on the fly on the android device (instead of prerendering the data with MOBAC).
One big advantage of this approach is the small size of the map data. E.g. Germany has only 1 GByte.
How the data is display relays only on the rendering engine (Canvas, Mapnik or OpenCycleMap).Maybe you can adjust the style of the rendering engine, so that only streets are displayed.
bye, daaho
PS To use Garmin maps would be fantastic
daaho- Cantidad de envíos : 12
Fecha de inscripción : 2011-01-06
Re: Vector graphics format
of course mapsforge uses vector maps, thats the whole point of offline osm rendering isnt it? they just render it into tiles before sending them to the display engine. mapsforge is by far oruxmaps best bet for direct osm support. everything is basically served on a silver platter .
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: Vector graphics format
joeuser wrote:of course mapsforge uses vector maps, thats the whole point of offline osm rendering isnt it? they just render it into tiles before sending them to the display engine. mapsforge is by far oruxmaps best bet for direct osm support. everything is basically served on a silver platter .
Well, let's see it relaxed. If you look at mapsforge presentation layer the maps are not in a vector graphics format. If you have a look at Garmin you can see that they really use a vector graphic format, which gives you different results e.g. if you rotate your map: In this case labels stay horizontal.
Nevertheless: The main goal about mapsforge is that they bring the data in a binary data format and do some live rendering. This is a very interesting and promising approach and has the big advantage that the row data are very small. I like it! It seems to be a brillant choice to use in oruxmaps (small libray optimized for android, small data, nice maps). As it is optimized for Android maybe it is not to much effort to use in Oruxmaps? What do you think about it, Orux?
On the other hand it would be very nice to have garmin maps in oruxmaps as well, which also has a lot of advantages (plenty of nice topo maps etc.). And of course, thousands of Garmin users would be very happy.
The best would be to have both. I know this is a lot of work to do. I am just dreaming... :-)
hansdampf- Cantidad de envíos : 18
Fecha de inscripción : 2011-07-28
Re: Vector graphics format
the .map source file format for mapsforge is still osm vector data. it's just arranged/sorted/packed in a way that makes it very quick to access, contrary to the original osm source files (.osm/.pbf). for example, regions are broken down into tiles, features are sorted from top to bottom, coordinates are stored in decimal microdegrees, etcpp.
the specification is in
https://code.google.com/p/mapsforge/wiki/SpecificationBinaryMapFile
and the description of how to assemble raw osm data into .map file with osmosis is in
https://code.google.com/p/mapsforge/wiki/MapFileWriterOsmosis
no rendering is taking place while .map files are created, the data is still pure vector data afterwards. it is simply better suited for offline realtime rendering by the mapsforge android library.
the specification is in
https://code.google.com/p/mapsforge/wiki/SpecificationBinaryMapFile
and the description of how to assemble raw osm data into .map file with osmosis is in
https://code.google.com/p/mapsforge/wiki/MapFileWriterOsmosis
no rendering is taking place while .map files are created, the data is still pure vector data afterwards. it is simply better suited for offline realtime rendering by the mapsforge android library.
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: Vector graphics format
joeuser wrote:the .map source file format for mapsforge is still osm vector data. it's just arranged/sorted/packed in a way that makes it very quick to access, contrary to the original osm source files (.osm/.pbf). for example, regions are broken down into tiles, features are sorted from top to bottom, coordinates are stored in decimal microdegrees, etcpp.
the specification is in
https://code.google.com/p/mapsforge/wiki/SpecificationBinaryMapFile
and the description of how to assemble raw osm data into .map file with osmosis is in
https://code.google.com/p/mapsforge/wiki/MapFileWriterOsmosis
no rendering is taking place while .map files are created, the data is still pure vector data afterwards. it is simply better suited for offline realtime rendering by the mapsforge android library.
Hi;
thanks;
I will take a look,
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Vector graphics format
There is a thread in the mapsforge development google group that deals with a local tile server:
http://groups.google.com/group/mapsforge-dev/browse_thread/thread/b7c3aa36c882e31e
Maybe something good will come out of it.
In my opinion, this kind of separation (tileserver app that does the osm rendering) would be preferable to stuffing the code into oruxmaps directly. Oruxmaps would hardly need to be changed at all. Depending on what the tileserver does, caching for localhost tiles might need to be handled differently. But thats about it.
The slight overhead of transfering tiles through a http pipe shouldnt really matter a lot.
http://groups.google.com/group/mapsforge-dev/browse_thread/thread/b7c3aa36c882e31e
Maybe something good will come out of it.
In my opinion, this kind of separation (tileserver app that does the osm rendering) would be preferable to stuffing the code into oruxmaps directly. Oruxmaps would hardly need to be changed at all. Depending on what the tileserver does, caching for localhost tiles might need to be handled differently. But thats about it.
The slight overhead of transfering tiles through a http pipe shouldnt really matter a lot.
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: Vector graphics format
joeuser wrote:There is a thread in the mapsforge development google group that deals with a local tile server:
http://groups.google.com/group/mapsforge-dev/browse_thread/thread/b7c3aa36c882e31e
Maybe something good will come out of it.
In my opinion, this kind of separation (tileserver app that does the osm rendering) would be preferable to stuffing the code into oruxmaps directly. Oruxmaps would hardly need to be changed at all. Depending on what the tileserver does, caching for localhost tiles might need to be handled differently. But thats about it.
The slight overhead of transfering tiles through a http pipe shouldnt really matter a lot.
Hi;
Meanwhile, OruxMaps is ready for reading offline .map files
With minor changes in mapsforge library.
I will have a beta soon.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Vector graphics format
I am surprised
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: Vector graphics format
orux wrote:
Hi;
Meanwhile, OruxMaps is ready for reading offline .map files
I will have a beta soon.
orux
just a short question - were do you have to put the .map file?
and when will this new beta be out?
i've got a couple of vector files and would like to try them in oruxmaps.
stetre76- Cantidad de envíos : 8
Fecha de inscripción : 2011-06-22
Re: Vector graphics format
stetre76 wrote:orux wrote:
Hi;
Meanwhile, OruxMaps is ready for reading offline .map files
I will have a beta soon.
orux
just a short question - were do you have to put the .map file?
and when will this new beta be out?
i've got a couple of vector files and would like to try them in oruxmaps.
Hi;
-->http://www.oruxmaps.com/cs
Create a new directory inside mapfiles/ directory, put your .map inside, then 'restart map sources'
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Vector graphics format
thanks for the latest update - vector maps work like a charm!!!
stetre76- Cantidad de envíos : 8
Fecha de inscripción : 2011-06-22
Great!!!
Hi Orux,
Oruxmaps with mapsforge works fine! I love it! Thank you for implementing it. Now I don't have to bother to have the map I need at the moment.
Thank you!!!
Oruxmaps with mapsforge works fine! I love it! Thank you for implementing it. Now I don't have to bother to have the map I need at the moment.
Thank you!!!
hansdampf- Cantidad de envíos : 18
Fecha de inscripción : 2011-07-28
Re: Vector graphics format
Hi, I'd like to know how could I get or create vector maps. Thank you.
jech- Cantidad de envíos : 4
Fecha de inscripción : 2011-10-23
Re: Vector graphics format
You can get more information and get maps from mapsforge
http://code.google.com/p/mapsforge/
http://code.google.com/p/mapsforge/
twoten- Cantidad de envíos : 115
Fecha de inscripción : 2010-10-04
Re: Vector graphics format
You can get maps from:
http://download.mapsforge.org/
Create a folder mapsforge in /oruxmaps/mapfiles on your android.
Copy the *.map files to /oruxmaps/mapfiles/mapsforge
After that you can select the maps from offline maps inside oruxmaps.
http://download.mapsforge.org/
Create a folder mapsforge in /oruxmaps/mapfiles on your android.
Copy the *.map files to /oruxmaps/mapfiles/mapsforge
After that you can select the maps from offline maps inside oruxmaps.
hansdampf- Cantidad de envíos : 18
Fecha de inscripción : 2011-07-28
Re: Vector graphics format
Thanks, this works fine. I'm wondering, if it is possible to display the map in other formats (for example like Opencyclemap or Hike & Bike map). Also are there any plans to implement routing now that vector maps are supported?
Anyway thank you for your great work!
Anyway thank you for your great work!
jech- Cantidad de envíos : 4
Fecha de inscripción : 2011-10-23
Cool
It's so cool ... Thanks.
jonny-blue- Cantidad de envíos : 28
Fecha de inscripción : 2011-08-03
Localización : Germany
Re: Vector graphics format
How can i make oruxmaps display a vector .map file to look just like opencyclemap with topo lines?
Do i need to create a different .map or is the source the same, you just need to code a different render engine?
Do i need to create a different .map or is the source the same, you just need to code a different render engine?
syl35- Cantidad de envíos : 1
Fecha de inscripción : 2012-01-20
Similar topics
» google maps(vector format) support and polygon area download support
» Support for vector maps or polish format maps
» Statistics Graphics Grid
» 4.7.3 beta graphics color
» Heading Vector (HDG)
» Support for vector maps or polish format maps
» Statistics Graphics Grid
» 4.7.3 beta graphics color
» Heading Vector (HDG)
OruxMaps :: ENGLISH :: IMPROVEMENTS
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum