MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Hello everyone! I'm new to MapWindow and i have some doubts about scripts (more like i don't know how to write them, even though i understand what they do). My problem is the following: I have shp with a lot of points and another shp that is made of polygons. All the p
Getting Data from polygon to point
Posted by: Miticus ()
Date: May 25, 2012 09:16AM

Hello everyone!

I'm new to MapWindow and i have some doubts about scripts (more like i don't know how to write them, even though i understand what they do).

My problem is the following: I have shp with a lot of points and another shp that is made of polygons. All the points are over the polygon's shp and what i want to do is:
- to check for each point which polygon they are on and get from the polygon's table the ID of that polygon and write it on the point's table.

I have seen this post before writing mine: [www.mapwindow.org]

But i can't seem to replicate for my case what was done in there. I have no experience with VB.net and C# (even though i know C++).

Any help will be appreciated, thanks.

Options: ReplyQuote
Re: Getting Data from polygon to point
Posted by: sindizzy ()
Date: May 29, 2012 08:34AM

I would recommend that you get very familiar with the programming language. If you dont have a good base in your programming language then you will certainly have a hard time understanding more complex frameworks like MapWindow. Afetr you have a good base of your language you can take a look at the documenation and examples:

[mapwingis.codeplex.com]

AGP

Options: ReplyQuote
Re: Getting Data from polygon to point
Posted by: Miticus ()
Date: May 30, 2012 10:05AM

Hello sindizzy.

After seeing some examples in C# and reading the documentation I learned how to do it.

The program is working at the moment, thanks for the help.

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: