This is super, thanks!! However, I cannot read in my shapefile. I am using
readShapeSpatial and the error I receive is: Error in getinfo.shape(fn):
Error opening SHP file. The projection is Irish Transverse Mercator!!
Thanks in advance
On Mon, Feb 29, 2016 at 6:35 PM, Barry Rowlingson <
This probably on the limit of acceptable LOCs on this list but here goes:
makeVchopper <- function(pol){
bb = bbox(pol)
delta = (bb[2,2] - bb[2,1])/10
xmin = bb[1,1]-delta
ymin = bb[2,1]-delta
ymax = bb[2,2]+delta
choppoly = function(xmax){
Sounds like a fun little bit of code to write:
- write a function that will return the area of a slice as a function of a
parameter X that can vary between some bounds on your shape: left to right, or
top to bottom etc. E.g. if you want to slice vertically, this could be the area
of the part
ok thanks!!
I would like to slice it vertically and have 3 distinct areas of equal
area. So I need to chop it up into 3 areas of equal size essentially.
There is no tool to do it in QGIS!!
Thanks
On Mon, Feb 29, 2016 at 5:51 PM, Barry Rowlingson <
b.rowling...@lancaster.ac.uk> wrote:
> On
On Mon, Feb 29, 2016 at 5:37 PM, Shane Carey wrote:
> Hi,
>
> Is it possible to divide a polygon into 3 equal areas using R?
Yes, in an infinite number of ways. Want to narrow it down?
Specifically, you could slice it vertically, horizontally, or at any
angle between. You
The r-sig-geo list might be a better place for this post.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Feb 29, 2016 at 9:37 AM, Shane
Hi,
Is it possible to divide a polygon into 3 equal areas using R?
I cant seem to be able to do it in QGIS.
Thanks
--
Shane
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
7 matches
Mail list logo