Displaying 3 results from an estimated 3 matches for "labpt".
Did you mean:
labpc
2011 Feb 11
1
Extract a slot value from a 'SpatialPolygons' class object
..."sp"] with 4 slots
.. ..@ polygons :List of 1
.. .. ..$ :Formal class 'Polygons' [package "sp"] with 5 slots
.. .. .. .. ..@ Polygons :List of 1
.. .. .. .. .. ..$ :Formal class 'Polygon' [package "sp"] with 5 slots
.. .. .. .. .. .. .. ..@ labpt : num [1:2] 709374 -1507888
.. .. .. .. .. .. .. ..@ area : num 11542604
.. .. .. .. .. .. .. ..@ hole : logi FALSE
.. .. .. .. .. .. .. ..@ ringDir: int 1
.. .. .. .. .. .. .. ..@ coords : num [1:23, 1:2] 706840 706657 706840 707294 707585 ...
.. .. .. .. .. .. .. .. ..- attr(*, &qu...
2009 Feb 05
1
Does the "labpt" object in the Polygons-class represent the centroid of the polygon
Hello,
I need to calculate the centroids of some spatial polygons that I have
placed into a Polygons-class object. Is the labeling point in the
Polygons-class the centroid of the polygon?
Thank you for your help.
2009 Mar 21
3
Retrieving Vertices Coordinates from SpatialPolygons
Dear List,
I'm trying to use different R packages for my Teaching Assistantship
classes. And I cam out to an (apparently) very simple problem. I would
like to retrieve the vertices coordinate of a SpatialPolygon data. I
know this is stored in the "coords" slot, but I can't get access to
it! I tried to coerce the SpatialPolygon into a data.frame but it
doesn't work.