POST
|
So I think I understand your script and that kind of works thanks - but... 1. It looks like the small polygons (protected areas) need to be single part for it to work, even though it looks like the loop does look at multipart (?). I tried with sample data - did not work with multipart but worked fine with single. 2. My new random polygons always fall within the extent of the study area, but not always within the actual study area (which is a complex multipart polygon too). Although only using a large single part study area still did not work. Note that I'm a Python newbie (but work well in R) so obvious things to you might not be obvious to me I'll then have to loop that randomisation n times and calculate values based on intersection between new polygons and other layers for every randomisation... steep learning curve but will get there!
... View more
02-09-2017
03:33 PM
|
0
|
1
|
1406
|
POST
|
Oh wow, thank you very much for this (and so quick), I'm looking forward to try it! May I ask what you used it for (and if the work can be read somewhere - just curious)?
... View more
02-08-2017
02:07 PM
|
0
|
2
|
1406
|
POST
|
Hi Mike, I know this is a long call since the subject is old but... I am trying to do something very similar and I'm wondering if you ever wrote that script and would like to share it? Was this work published? Thanks in advance Mel
... View more
02-07-2017
10:01 PM
|
1
|
8
|
1406
|
Title | Kudos | Posted |
---|---|---|
1 | 02-07-2017 10:01 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|