JuliaGeo / GeoFormatTypes.jl

Wrapper types for spatial data formats like well known text, KML, Proj4 strings.
https://juliageo.github.io/GeoFormatTypes.jl/stable
MIT License
6 stars 0 forks source link

Decide on blessed conversion implementation or API #21

Open evetion opened 1 year ago

evetion commented 1 year ago

Related to #2.

With https://github.com/JuliaGeo/Proj.jl/pull/74 Proj could also convert between GFT.CRS instances. Proj itself is a lighter dependency than ArchGDAL, and is actually what GDAL itself uses (indirectly).

rafaqz commented 1 year ago

A counter argument is that the main current use of this conversion is in ArchGDAL reproject (from Rasters and GeoDataframes). I would prefer no to add a Proj dep where we already have ArchGDAL. You would have to add it to GeoDataframes.jl as well.

I think we just need to make a backend interface so ArchGDAL also still works. We can use the Val{:ArchGDAL} dispatch trick.