Skip to content

Commit 56294a7

Browse files
Change CURVE-like sf types to "line" (#3682)
1 parent 119c9c8 commit 56294a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/geom-sf.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ geom_sf_text <- function(mapping = aes(), data = NULL,
299299
sf_types <- c(GEOMETRY = "other", POINT = "point", LINESTRING = "line",
300300
POLYGON = "other", MULTIPOINT = "point", MULTILINESTRING = "line",
301301
MULTIPOLYGON = "other", GEOMETRYCOLLECTION = "collection",
302-
CIRCULARSTRING = "line", COMPOUNDCURVE = "other", CURVEPOLYGON = "other",
303-
MULTICURVE = "other", MULTISURFACE = "other", CURVE = "other",
302+
CIRCULARSTRING = "line", COMPOUNDCURVE = "line", CURVEPOLYGON = "other",
303+
MULTICURVE = "line", MULTISURFACE = "other", CURVE = "line",
304304
SURFACE = "other", POLYHEDRALSURFACE = "other", TIN = "other",
305305
TRIANGLE = "other")

0 commit comments

Comments
 (0)