03-07-2014 02:23 AM
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
Regards
Bård
03-07-2014 12:40 PM
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.
03-12-2014 09:09 AM
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... 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
03-14-2014 09:33 AM
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
03-02-2019 08:04 AM
please can you help me how displaying georeferenced jpeg image in mapwingis with c#
and can you show me exemple for code
03-02-2019 01:25 PM
@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?
02-18-2021 02:02 AM
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.
03-31-2021 08:04 PM
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.
08-27-2023
10:16 PM
- last edited on
08-28-2023
01:23 PM
by
NI_Community_Su
Dear emiliofernandez,
Could you share your example?
Thank you in advance.