Open mathieu17g opened 3 years ago
(Just tossing out some thoughts not necessarily helpful to implement what was described in https://github.com/yeesian/ArchGDAL.jl/issues/247#issue-1013215922, but to understand whether it should be pursued and how it might be implemented.)
At its heart, it sounds like it's proposing a new type corresponding to a FeatureLayer. To scope out the design, it might be helpful to clarify when users will prefer to use it over the alternatives:
It sounds like the feature/vector counterpart of DiskArrays / GeoData in the raster setting of
ArchGDAL.Dataset
and ArchGDAL.RasterBand
,My guess is that such an offering will be compelling if it's able to provide the ergonomics of using DataFames without making copies of the data:
Investigate the possibility and interest (cf. https://github.com/yeesian/ArchGDAL.jl/pull/238#issuecomment-930769271) to modify an
AbstractFeatureLayer
from an object implementing the Tables.jl interface via not copying fields and geoms of an AbstractFeatureLayer when converting it to a table.Here are some thoughts for discussion. It may suppose to: