LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom Maps

Hi,

 

As I understand it, you can set the cache up to 2Gb.  I'm not sure how much information that amounts to though.  It saves everything that you have set during the cache though, so if you were to untick things like 'dining' or '3D buildings' etc, that will help save some space.  I wouldn't have thought 2Gb would be too much of an issue to handle and transfer around, but I guess that depends on your system.

 

If the Earth built in cache doesn't satisfy your needs, we can try with the maps version with one of the prefetch tools.  This is obviously all based on getting it working in CVI!

 

Perhaps you could give us a few more specifics on your deployment system?

 

Kind Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 11 of 30
(1,448 Views)

Hi Oli,

 

I'm just experimenting with 'GMapCatcher' now - it's written in Python, which I've never ever used (nor seen before!).

It does store the maps i lots (and lots and lots) of 'png' tiles, and I can't yet see how they are 'stched' together dependng on the area and zoom that the user requires.

More experimentation required!

 

Thanks for your help,

 

Allen

0 Kudos
Message 12 of 30
(1,448 Views)

Hi,

 

Alternatively, you can try map viewer provided by Qt (Qt mobility API) -- here is the link for the demo. I have not tried the sdk / code yet, but have tried the offline mode and on the downloaded map (on mobile phone).

0 Kudos
Message 13 of 30
(1,437 Views)

Hi Oli,

 

I think that the cache of 2GB will store enough data for the areas that are of interest - but do you have any ideas on where this cache is stored on the hard drive, and how it is accessed?

 Sorry, but we cannot go into too much detail about the system, except that the users will need to be able to pan around and zoom into a map of a selected area where they are working, and there will alos be a 'compass rose' type of pointer to show the bearing to the place of interest from where they are located.

 

Many thanks for your help,

 

Allen

0 Kudos
Message 14 of 30
(1,426 Views)

Hi Oli,

 

I've found the GE cache - now to try to access it!

 

Allen

0 Kudos
Message 15 of 30
(1,421 Views)

Hi Allen,

 

Beat me to it...

 

I came across this  and this last night, I don't know if they might be of some use if you haven't seen them already.

 

I had a look through the code for the gmapcatcher, but I'm not particularly familiar with python either.  I don't think it will be as useful as I first thought.

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 16 of 30
(1,430 Views)

Hi Oli,

 

I had already seen the two links that you have indicated, and I think that the first, as it uses an ActiveX component would be unsuitable as we have to take into account the cross-platform compatibility issue with Red Hat and the Linux CVI run-time.  I think the CVI Linux run-time does not support the 'ActiveX' components as with 'OCX'.

 

The second link, with the API, well, I'm a rather lost on how to start to impliment that within CVI, and also not certain how it is supported under Linux!  Can you give any clues please?

 

We have so many restrictive parameters with this part of the project!  But it is an essentail aspect, and we have to find a solution ..somehow!

 

All help is gratefully received!

 

Many thanks,

 

Allen

0 Kudos
Message 17 of 30
(1,425 Views)

Hi Allen,

 

You're right in thinking that ActiveX isn't supported with CVI and Linux, I'd forgotten that you had to run it cross-platform.

 

I'm afraid my knowledge of implementing the API in CVI is probably much the same as yours so any work that I do would be from guess work and trying things out on the off chance that they might work.

 

Perhaps it might be an idea to ask on the Google Earth forums to see if anyone knows the specifics of whether it will run ok under Red Hat or if anyone has any pointers to get started under CVI.

 

I know someone who works for Red Hat, so I'll see if he has any ideas.  I doubt that he's familiar with CVI though.

 

I'll let you know what he says tomorrow.

 

Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 18 of 30
(1,400 Views)

Good morning Oli,

 

Thanks for your response - it looks as though the limitations that we have (no Internet access, cross platform compatibility etc) are proving to be a significant obstacle.

I'm on the Google earth forums now, but again - all the work appears to assume an Internet connection, rather than reading from the downloaded 'cache'.   It also majors on Java as the programming language rather than 'C' as in CVI.

 

We have just GOT to solve this somehow - it is a major project for us!

 

I appreciate all the help you are giving,

 

Best wishes,

 

Allen

0 Kudos
Message 19 of 30
(1,397 Views)

Oli (and everyone)

 

Some good progress!

I have found a program by 'allallsoft.com' which downloads 'tiles' of the area of interest from Google (or Yahoo), and formats a text database of the tiles with their Lat and Long co-ordinates.  Different numbers of tiles can be downloaded according to the zoom level required.

 

The problems are now to combine these tiles, and somehow implement a 'click and drag' with the mouse to enable the normal 'panning' operation.  Any clues on that aspect would also be welcome!

 

Many thanks,

 

Allen

0 Kudos
Message 20 of 30
(1,386 Views)