-
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
Support GeoMakie from other packages? #312
Comments
Hey! As long as you have Makie integration things should "just work" here. The closest thing to a "GeoMakieCore" would actually be GeoInterface and GeoInterfaceMakie, for vector data. If you really need to edit some functionality, I would just use an extension. I've been trying to add "automagic" CRS support for a while in GeoMakie, but it seems to cause infinite loops for some reason. When I try again, I'll let you know - probably this weekend. But the way to embed those parameters would be through implementing Feel free to ping me if you have any more questions - or any cool plots to show off! |
|
@asinghvi17 - quick question for you, I think: is returning the crs as a proj string enough? |
Yes, that should be fine. You may want to wrap in You should also make sure your Proj-string has a |
Cool. I'm really trying to minimize the amount of external dependencies, so needing GeoFormatTypes and Extents in addition to GeoInterface doesn't seem worth it just for GeoMakie plotting. I'll probably revisit in the future. Thanks for the help anyway! |
They are already brought in by GeoInterface, so you don't really lose much :) |
I didn't catch that when reading the doc. That's where a simple example for rasters would be useful - my understanding is that to add the interface I would need three dependencies - is this not the case? |
Not at all, you can get away with just The way you'd do the plot now is |
Hi!
I'm interested in building support for GeoMakie in SpeciesDistributionToolkit - the package is already well integrated with makie, but geomakie would make sense to support as well.
The raster data store their projection info, so I am mostly after two pieces of info.
What's the easiest way to add GeoMakie? Is there a
GeoMakieCore
or equivalent package I can add to minimze dependencies?How can I set some
GeoAxis
parameters when plotting? Because our layers have their own projection, this would be useful to set thesource
string when adding to a geoaxis.Thanks!
The text was updated successfully, but these errors were encountered: