Closed garborg closed 8 years ago
See tedsteiner/OpenStreetMap.jl#61 for discussion on adding convenience methods here in Geodesy.jl for converting point types of containers like Dict{Int,ENU}
-- for now left as a TBD until language design settles a bit.
One good solution would have been to define map
on Bounds
to map the points in the Bounds
container according to some function...
I think this issue isn't relevant anymore? Closing
ENU(Bounds{LLA}...)
and friends aren't idiomatic because their return type is notENU
. Other conversions should probably be defined as conversions rather than constructors (assuming constructions that require a reference point are a fit forconvert
) so both forms work.I tried to change this already, but it seemed more of a hassle than it's worth to support both 0.3 and 0.4 right now. Perhaps best to wait until 0.4 settles a bit (idioms will be better formed then, too).