-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Implemented GeoInterface. #175
Implemented GeoInterface. #175
Conversation
@sjkelly Is it ok if we bump the minimum required Julia version to 1.6 here? It's a requirements for GeoInterface and since this will be a breaking release, it might be ok? |
Makie also still has julia 1.3 compat I see (though it seems CI from 1.6). Why would this be breaking by the way? It just adds a feature right? |
Well the GeoInterface is a breaking release, so what worked in the old version won't work in the new one. I'd say it's breaking, but it depends on what you consider part of the package. |
I'd say since the GeoInterface is only added now that it is v1 it is not breaking, for GeometryBasics. |
I am not opposed to dropping pre-1.6. @SimonDanisch does the next version of Makie targeting 1.3 compat? |
I think we're slowly giving up on 1.3, so fine by me I suppose! |
@SimonDanisch do you want to check this for load time regressions since it adds a few new dependencies? |
Aqua.jl doing work before registrator denies you :P |
For the deprecation warnings, they come from
I'll add those plus a few Base.convert methods that will allow us to convert geometry types through the interface, https://juliageo.org/GeoInterface.jl/dev/guides/developer/#Conversion |
The trait names can get quite long and are exported, and not much else is exported.
Not strictly needed since they trigger AssertionErrors if not ok, but good to count towards the tests since they return true if they don't fail.
Ok I finished the remaining items, this is good to go. |
wow! @visr rocks!!! |
Haha many have worked on this in some way. But I'm glad it's merged, it will definitely help the interoperability of the ecosystems. using GADM, CairoMakie, GeoInterface
using CairoMakie: MultiPolygon
gdalgeom = only(GADM.get("UKR").geom)
basicgeom = GeoInterface.convert(MultiPolygon, gdalgeom)
poly(basicgeom) |
Slim down implementation/types