If the convex hill of the input is degenerate (a line or Rectangle has width equal to the minimum diameter, and a longer Rotated rectangular POLYGON which encloses the input geometry. St_minimum_rotated_rectangle returns the minimum St_inscribed_circle requires GEOS version 3.9 or above NQuadSegs controls the number of points per quadrant to approximate the circle. St_inscribed_circle returns the maximum inscribed circle for polygon geometries.įor st_inscribed_circle, if nQuadSegs is 0 a 2-point LINESTRING is returned with theĬenter point and a boundary point of every circle, otherwise a circle (buffer) is returned where st_triangulate requires GEOS version 3.4 or above St_triangulate triangulates set of points (not constrained). St_simplify simplifies lines by removing vertices. St_convex_hull creates the convex hull of a set of points St_boundary returns the boundary of a geometry If a negative buffer returns empty polygons instead of shrinking, set st_use_s2() to FALSE The underlying 'buffer with style' GEOS function is used. JoinStyle, or mitreLimit are set to non-default values ('ROUND', 'ROUND', 1.0 respectively) then St_buffer computes a buffer around this geometry/each geometry. If x has geographical coordinates (long/lat), dfMaxLength is either a numeric expressed in meter, or an object of class units with length units rad or degree segmentation in the long/lat case takes place along the great circle, using st_geod_segmentize. Logical for st_centroid: if TRUE, return centroid of the largest (sub)polygon of a MULTIPOLYGON rather than of the whole MULTIPOLYGON dfMaxLength Object of class sfc or sfg containing a POLYGON with the envelope for a voronoi diagram this only takes effect when it is larger than the default envelope, chosen when envelope is an empty polygon of_largest_polygon Logical if TRUE, return lines, else return polygons envelope TRUE, then the value of dTolerance must be specified in Specified with long-lat coordinates and sf_use_s2() returns If you run st_simplify, the input data is Numeric tolerance parameter, specified for all or for eachįeature geometry. Topological relationships (per single feature). Other cases (with a warning when set equal to FALSE) since theįunction implicitly calls s2::s2_simplify which always preserve Set equal to FALSE when the input data is specified with projectedĬoordinates or sf_use_s2() returns FALSE. Note that topology is preserved only for single feature geometries, not for Simplification? May be specified for each, or for all feature geometries. In which case negative dist values give buffers on the right-hand side, positive on the left. Logical if TRUE, single-sided buffers are returned for linear geometries, Numeric limit of extension for a join if joinStyle 'MITRE' is used (default 1.0, minimum 0.0) singleSide Integer number of segments per quadrant (fourth of a circle), for all or per-feature endCapStyleĬharacter style of line ends, one of 'ROUND', 'FLAT', 'SQUARE' joinStyleĬharacter style of line joins, one of 'ROUND', 'MITRE', 'BEVEL' mitreLimit X has geographic coordinates, and to st_crs(x)$units otherwise nQuadSegs Numeric buffer distance for all, or for each of the elements in x in caseĭist is a units object, it should be convertible to arc_degree if
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |