01-13-2013 01:36 AM
Hello,
I am using DIADem 2012 Advance Edition .
I need to synchronize my gps graph( Latitude and longitude) on the map in offline mode.
I understood it is possible. i succeed to load my gps data on the map from the gallery examples, the map there shows a little area, i need different area.
I read that i can download some file from OpenStreetMap (something on OSM file and PBF),
in my script i using : cacheType= "Cache"
cachePath= the path of the folder in the exmples folder: mapCache
useCache= true
***so the main question is : how do i downloading and loading bigger area from OpenStreetmap and what
script commands i need to use?
thanks and waiting for reply
01-14-2013 12:04 PM
Hi OmerK,
You will need to be connected to the internet to download new maps from Open Street Maps. Load the map like you normally would, then zoom in or out using View.ActiveSheet.ActiveArea.DisplayObj.ZoomLevel. See the help here. When you load the map from a cache, you will only be able to see the zoom level that you selected; zooming in or out will show no image.
Let me know if this helps!
Regards,
Alexandra
01-14-2013 04:02 PM
Hello Alexandra,
I meant that on the OpenStreetMap download like to all plant and for smaller areas in osm format. could i load this OSM file to diadem in offline mode?
link to file: http://planet.openstreetmap.org/
thanks ant waiting for reply
01-15-2013 12:21 PM
Hi OzShimon,
It looks like the files for the planet images are .osm files. DIAdem loads the images in .png format. You would have to convert the data from OSM to PNG before DIAdem can load it. DIAdem also stores the map images in a specific file hierarchy, so you would have to follow that structure as well. It may be easiest to run the code online first and let DIAdem cache the necessary files, then switch to offline mode.
Regards,
Alexandra
03-12-2013 08:56 AM
Hi,
I need the planet map, i am working in offline mode. how could i load the all planet map into DIADem map?
thanks
03-13-2013 08:52 AM
Hi OzShimon,
As was mentioned you will still need to connect to the internet to download the required maps, and then you can put them on the machine in question. I may not quite understand what you mean by planet map, and loading it into the DIADem map. Could you explain a little more on what you are trying to accomplish?
Regards,
03-13-2013 09:00 AM
03-13-2013 10:34 AM
Hi,
Hi, my program include map that show the plane trace . The plane could be at any point in the map and i want to be able to see tha plane position in all zoom levels.
I need internet connection and download the all planet map by moving on the map in all zoom levels?
Thanks
03-14-2013 07:58 AM
Hi OzShimon,
As Alex+ra mentioned, you will need to have an internet connection to download the entire map. Once you do, you will also need to pre-cache each of the zoom levels. Having spoken with Alex+ra, it sounds like the idea of getting a map to a machine and getting all zoom levels available is not exactly the performance DIADem is going to offer if you do not have precached versions of the map at all zoom levels
.
Regards,
03-14-2013 11:34 AM
Hi Oz,
I spoke with R&D again about this idea of downloading ALL map data from OpenStreetMaps. It turns out that the OpenStreetMaps organization actively blocks individual requests for huge amounts of map information, among other reasons to protect their server up-time and responsiveness.
It is possible to download the raw data and create your own *.osm files, but the process is complicated:
http://wiki.openstreetmap.org/wiki/Creating_your_own_tiles
R&D estimates that a full download of all OpensStreetMaps data for all zoom levels to *.osm files would comprise 342 TB (342000 GB).
Brad Turpin
DIAdem Product Support Engineer
National Instruments