LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mapwingis

Thanks Roman

 

Would it be too much to ask for a tiny little VI example that loads a *.shp file and displays the map in a ActiveX container? Then I can just install v4.7 and run it on LV2011 to see if it works, as I have messed around a lot with different versions of MWG and LV without success. I've tried to make a VI like the loadMaps.vi you showed an image of, but it didnt work and I dont know if its my code or the ActiveX component that's not working. I downloaded Visual Studio 2010 and it works in VB (or C#), but LV is my prefered language and want to make a final attempt before I go that route. Mr Valko from NI said in an earlier post that he would try to make some code for it, but after that nothing was heard so I guess he ran into problems as well, and the MWG community wont deal with it either as LV is such a small language that they dont bother, or have the ability to do so. Anyway if this doesn't work I'll get some good motivation to learn some new programming languages, C# or VB Smiley Wink

 

Regards

Bård 

0 Kudos
Message 11 of 19
(2,006 Views)

Hi BBend,

I attached you a example, I made this example but I could not load fine the tiff files but I could loaded the shape file.


If you advance more, tell me, please. I used google map.

 

Now I don't work in this proyect.

 

 

Regards,
Emilio.

Note: version mapwingis 4.7 32 bit, labview 2009 sp1. You must change the path of file *.shp and *.tiff in this example by your path.

I attach in this link the images (tiff,and shape) and vi. https://www.dropbox.com/s/0qxots2xzm4cmi2/maps.zip. If anybody can upload this file here, it's the best.

Message 12 of 19
(1,987 Views)

It finally worked!

 

Thank you very much Emilio. The problem for me was mainly in my code regarding the reference inputs to the Invoke nodes, so with that sorted out it is possible to make the simple map-app I need. I will play with it for a while and see if I come up with anything useful and I can post it on this thread later, but dont hold your breath...Smiley Wink as this is my first attempt on map programming. 

 

Emilio: Regarding the VI u posted, the eventoExtentsChanged.vi was missing, so I had to disable some of the code to make it run. I dont know what it does, but if you have it, maybe u can post it as well, or explain what it does?

 

Regards

Bård

 

PS It works also on LV2013

0 Kudos
Message 13 of 19
(1,953 Views)

Hi BBend

I'm glad that works. I'm sorry, I forgot to include the enventoExtentsChanged.vi file. With this file, you can use the events of the ActiveX MapWinGIS in Labview.

I have attached the missing file.

You can download full example in the following link:

 

https://www.dropbox.com/s/0qxots2xzm4cmi2/maps.zip

 

 

Regards, 

 

Emilio

 

 

Message 14 of 19
(1,935 Views)

please can you help me how displaying georeferenced jpeg image in mapwingis with c#

and can you show me exemple for code 

 

0 Kudos
Message 15 of 19
(1,549 Views)

@anas34a wrote:

please can you help me how displaying georeferenced jpeg image in mapwingis with c#

and can you show me exemple for code 


Since you posted in the LabVIEW forums, can you explain how your question relates to LabVIEW?

0 Kudos
Message 16 of 19
(1,546 Views)

Dear Emilio,

 

Good afternoon, I am doing some project relevant to this mapping system and would like to download the example, but the link seem error dy, I was wondering is that possible to download this example via other links?

 

Thank you, looking forward for your reply, thanks.

0 Kudos
Message 17 of 19
(1,272 Views)

Hi, unfortunately it's been a long time since I've used Labview, today I logged into an old computer and found this. I am going to try to pass you the example I made, anyway, in the time that has passed surely there are other options that you should evaluate.

 

 

0 Kudos
Message 18 of 19
(1,209 Views)

Dear emiliofernandez,

 

Could you share your example? 

 

Thank you in advance.

0 Kudos
Message 19 of 19
(727 Views)