How do I determine area of multiple polygons within a Land Parcel Polygon

612 views
Skip to first unread message

Dan Burrell

unread,
Apr 16, 2013, 12:09:40 AM4/16/13
to mapi...@googlegroups.com
Hi All
 
I am still quite new to GIS concepts but have been mucking around with MapInfo for a while.
I have an interesting question.
 
I have two sets of data.
 
1) One which is the land parcel outline for land parcels in my district ( And land areas )
 
2) Another which is forestry areas in our district. (and Area of each polygon )
 
 
I have determined hectare areas for both polygons.
I am looking to find out which land parcels have a forestry area greater than 20 hectares.
 
 
I can determine which forestry polygons are 20 hectares and over, but how would I go about determining if multiple polygons added UPTO 20 hectares... within a land polygon.
 
I am not scared to do some Map Basic if need be.
 
Screenshot shows my problem. Multiple Polygons (black) inside land parcel (green)
 
Any suggestion or help would be amazing
 
thanks!
 
 
 
 
20 hectares .jpg

Kannan Krish

unread,
Apr 16, 2013, 12:17:16 AM4/16/13
to mapi...@googlegroups.com
I


--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
 
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
KTG Infotech
GIS (Mineral Exploration)
Data Integration, Analysis, Capturing and Data Conversion
for Geochemistry,IP and Drill logs
Skypes-ktgcad

Kannan Krish

unread,
Apr 16, 2013, 12:18:20 AM4/16/13
to mapi...@googlegroups.com
i would first update the area of the polygon in a column, and do thematic maps based on their area measurement, hence will get what i want is that you are trying to do?

Dan Burrell

unread,
Apr 16, 2013, 1:57:41 AM4/16/13
to mapi...@googlegroups.com

Thank you for your reply.

Sort of. I do want to create a thematic map eventually.

First i simply want to be able to identify the total area of the forest polygons the lie within the land parcel.. (some overlap many parcels.. )
If the total for the parcel exceeds 20ha. I want to select it. Or colour it or whatever.

The land parcels are one table and the forest polygons are another table. So visually they do overlay.

You received this message because you are subscribed to a topic in the Google Groups "MapInfo-L" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapinfo-l/B1gvCExN8nM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to mapinfo-l+...@googlegroups.com.

Peter H

unread,
Apr 16, 2013, 2:08:50 AM4/16/13
to MapInfo-L
Hi Dan,

SQL select will be your friend........
Let's assume you have a unique identifier for each land parcel. If
not, you will need to create one.

Under Query - SQL select

Fields {*}
Tables {Fparcels, Lparcels}
Where {Fparcels.obj within Lparcels.obj}
Group {}
Order {}
Into {FPLP}

This will assign the LP unique id to the FP.
Then using SQL select again

Fields {Sum(FP_area), LPid}
Tables {FPLP}
Where {}
Group {LPid}
Order {}
Into {Selection}

This will now show LPid with the sum of the forestry area within them.
Just select the ones that are 20 ha and greater

Good luck
Pete
>  20 hectares .jpg
> 26KViewDownload

Thomas Bacon

unread,
Apr 16, 2013, 4:16:37 AM4/16/13
to mapi...@googlegroups.com
Hi Dan,

Peter's response will work assuming that all Forestry areas are entirely contained within a land parcel. As this is most likely not the case, I would suggest you have a look at the ProportionOverlap() function. You will probably need to loop through your parcels, select any intersecting forestry areas and then loop through these returning the proportion overlap for each and adding it to the previous value (cumulatively summing the overlapping areas). There may be a better way to do it purely with SQL, but this is an option.

Regards,

Tom Bacon
GIS Engineer, Mouchel
T 01444 472380 │ E thomas...@mouchel.com │ W www.mouchel.com
Our values: innovation │ excellence │ integrity │ responsibility
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Mouchel Limited (Mouchel) is registered in England and Wales with registered number 01686040 at Export House, Cawsey Way, Woking, Surrey, UK, GU21 6QX. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Mouchel. No contracts may be concluded on behalf of Mouchel by means of email communications. Mouchel reserves the right to monitor and intercept emails sent and received on our network.

Lars I. Nielsen

unread,
Apr 16, 2013, 4:18:41 AM4/16/13
to mapi...@googlegroups.com
SQL Select is indeed your friend.

But I would utilize the functions Overlap(), and possibly AreaOverlap() and/or ProportionOverlap(), to get the result.

And use "Intersects" between the regions in the two tables.

The functions are documented in the MapBasic reference manual.


Kind regards / Med venlig hilsen
Lars I. Nielsen
----------------------------------------------------------------
Landinspektør, Senior GIS Programmør og Konsulent
Hvenegaard og Jens Bo Landinspektører A/S
Rugaardsvej 55, DK-5000 Odense C
Denmark
Tel. +45 6313 5050
http://www.hvenegaard.dk

-----Oprindelig meddelelse-----
Fra: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] På vegne af Peter H
Sendt: 16. april 2013 08:09
Til: MapInfo-L
Emne: [MI-L] Re: How do I determine area of multiple polygons within a Land Parcel Polygon

Dan Burrell

unread,
Apr 16, 2013, 7:33:35 PM4/16/13
to mapi...@googlegroups.com
Hi All
 
Thanks for your amazing replies there guys. I really appreciate it.
You guys were onto an answer very quickly!
 
I did a bit of trawling around to see how to select the objects. I see the help actually has some useful pages around these operators.
 
I have come across this problem in particular and I dont understand what it means in relation to the intersects operator. ( attached screenshot)
 
There was some suggestion that my unique identifer fields had to be interger ( which they are now...) and indexed, which I have done.
 
I googled and couldnt find much help.
 
Any ideas?


You received this message because you are subscribed to a topic in the Google Groups "MapInfo-L" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapinfo-l/B1gvCExN8nM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to mapinfo-l+...@googlegroups.com.
Numeric Value Required.jpg

Timothy Mashford

unread,
Apr 17, 2013, 12:53:12 AM4/17/13
to mapi...@googlegroups.com
I think it's a cryptic way of MapInfo telling you that you can't have a hyphen in your results name. Change it to e.g. Land_Forestry

Mats Elfström

unread,
Apr 17, 2013, 1:23:30 AM4/17/13
to mapi...@googlegroups.com
Yes, the hyphen is treated as a minus operator. As a rule, avoid hyphens in file, folder, table, field names and variables. Eventually, they will cause trouble, even when they are not rejected at once. 

Hälsning / Regards
Mats.E

Skickat från min / Sent from my iPhone, Ursäkta att jag är kortfattad / Excuse my brevity. 
Reply all
Reply to author
Forward
0 new messages