-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Construct ArchGDAL. IFeatureLayer via named tuples or DataFrame #152
Comments
@zerefwayne I suggest starting a draft PR in GADM.jl and linking to this issue. It is hard to know exactly what you are trying to achieve otherwise. 👍 |
We currently support https://tables.juliadata.org/stable/#Implementing-the-Interface-(i.e.-becoming-a-Tables.jl-source)-1 in It will be nice to support the creation of an ArchGDAL.Dataset (or FeatureLayer) from a corresponding table via https://tables.juliadata.org/stable/#Using-the-Interface-(i.e.-consuming-Tables.jl-compatible-sources)-1: here's an example of how it can be done. Here's a second example: https://discourse.julialang.org/t/how-to-create-a-new-shapefile-containing-a-few-points. |
Shameless plug (I'm the author), I've made a first implementation over at https://github.com/evetion/GeoDataFrames.jl. |
@yeesian (cc: @evetion) I'm could work on this by creating IFeatureLayer constructor for table types (creating an associated a "Memory" driver Dataset). Writing to a file, could then be handled by a write, leaving GDAL handling the driver restrictions as pointed in #147 (comment) |
That'll be really awesome @mathieu17g! I also agree that the analogous GDAL object is a feature layer and have updated the title to reflect it. Somewhat related: #153 |
I have a use case of filtering rows out of an ArchGDAL table and then return
ArchGDAL.Table
datatype. It would be helpful to construct anArchGDAL.Table
using an array of named tuples or even aDataFrame
from DataFrames.jl.ArchGDAL.jl/src/tables.jl
Lines 7 to 9 in 0bdcb00
cc: @juliohm @visr
The text was updated successfully, but these errors were encountered: