mapProperties
fun <G : Geometry?, P1, P2> Feature<G, P1>.mapProperties(transform: (P1) -> P2): Feature<G, P2>(source)
Transforms the properties of a Feature using the provided transform function.
Return
A new Feature with the same geometry and transformed properties.
Parameters
fun <G : Geometry?, P1, P2> FeatureCollection<G, P1>.mapProperties(transform: (P1) -> P2): FeatureCollection<G, P2>(source)
Transforms the properties of all features in a FeatureCollection using the provided transform function.
Return
A new FeatureCollection with the same geometries and transformed properties.