Skip to content

sfc objects #29

@ghost

Description

0.6.2 returns an unnamed list for XY, and a named list for XYZ[M] sfc objects.

Should the both be made consistent, and / or return an sfencoded object?

library(sf)

encode( sf::st_sfc(sf::st_point(1:2) ) )

# [[1]]
# [1] "_seK_ibE"
# attr(,"sfc")
# [1] "POINT"

encode( sf::st_sfc(sf::st_point(1:3) ) )

# $XY
# $XY[[1]]
# [1] "_seK_ibE"
# attr(,"sfc")
# [1] "POINT"
# 
# 
# $ZM
# $ZM[[1]]
# [1] "?_}hQ"
# attr(,"zm")
# [1] "XYZ"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions