-
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
Segmentation fault on v0.7 #212
Labels
Comments
I'm not able to reproduce the error in #212 (comment), but it resulted in an error for me nonetheless: | | |_| | | | (_| | | Version 1.6.0 (2021-03-24)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using ArchGDAL; const AG=ArchGDAL
ArchGDAL
julia> AG.createlayer(
name="test",
geom=AG.GDAL.wkbPoint,
) do layer
AG.addfielddefn!(layer, "test", convert(AG.OGRFieldType, String))
end
ERROR: TypeError: in keyword argument geom, expected ArchGDAL.OGRwkbGeometryType, got a value of type GDAL.OGRwkbGeometryType
Stacktrace:
[1] createlayer(::var"#3#4"; kwargs::Base.Iterators.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:name, :geom), Tuple{String, GDAL.OGRwkbGeometryType}}})
@ ArchGDAL ~/.julia/packages/ArchGDAL/IuyJL/src/context.jl:265
[2] top-level scope
@ REPL[2]:1 Here's the environment:
|
Am now able to reproduce when I replace |
yeesian
added a commit
that referenced
this issue
Jul 3, 2021
yeesian
added a commit
that referenced
this issue
Jul 5, 2021
* Bugfix for dataset ownership when creating layers Fixes #212 * Update type for FeatureLayer It should have a corresponding dataset for "floating layers" that were constructed "layer-first"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In upgrading GeoDataFrames to ArchGDAL 0.7 (evetion/GeoDataFrames.jl#21) I hit a segmentation fault. I can reproduce it to the following code on macOS when using Julia 1.6. 1.7 seems to work, but most of the platforms fail the CI in the PR.
results in
The text was updated successfully, but these errors were encountered: