-
Notifications
You must be signed in to change notification settings - Fork 0
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
repo structure? #1
Comments
Hey, thanks for giving this a start! It turned out that I had made this repo a while ago, probably looking to do a similar thing, but then didn't end up doing it. I just tried the package, but couldn't seem to get it to instantiate - Julia was unable to download the initial artifact, and when I tried that link on Github it hung indefinitely. Strangely, even when I tried to get the raw file from Github I had the same issue. We could download the Shapefile zips directly from the source, which is hosted by AWS and has a considerably faster download. That means that we'd need to somewhat "roll our own" artifacts, and we couldn't use artifact-strings in that case, using artifacts only as a storage solution. I wouldn't mind writing that up, and it shouldn't require too much maintenance either. Discovery is actually possible through their Github repo, so there's that advantage as well. Unfortunately, in this case, we would not be able to track by version as we might on Github, All in all I think the design looks good! We should definitely download from tags - we will have to manually update them as time goes by but it shouldn't be too hard; it could conceivably be automated using e.g. Github Actions as well.
Agreed. We probably only need GeoJSON as a dependency (or GeoJSON2 if it looks like we need speed).
This should slot nicely into GeoMakie as a dependency so we can supply coastlines in a more flexible way. No changes will be needed on this end AFAIK. |
I think I've fixed instantiation errors now, and also moved to installing by tags. Let me know if you still have any issues. Running |
I found githack.com which can act as a CDN for github, so we can use that as a secondary download link if the first one fails. With that change, it works on my machine. Will push this up shortly. GeoJSON is getting some perf improvements now, so I'm not too worried about that. The issue with zips is that |
githack looks really neat! Looks like
|
Yeah, I like the framework we have going on now. One thing I do want to do is to add a basic dataset search, i.e., I should be able to do some kind of search like Would you be interested in moving this package to the JuliaGeo org? If so I can reach out to them and ask. It would probably make this package a little more discoverable, as well as having more people around to help with maintenance etc.
Tarballs and gzips are, but |
Yeah, I totally agree with search. It may also possibly be convenient with some helper functions that guide users through the "hierarchy" of vectors: i.e. Also, very happy about moving the package to JuliaGeo. I was just invited as collaborator there earlier today, so that wouldn't make any difference to me. (ps: apologies, I just force pushed to master to fix a stupid bug I introduced in a small change I just made, I hope you didn't notice) |
Sounds good - looks like that and rasters are our only TODOs before this is ready to go for all available data! About JuliaGeo: I just realized that I'm a member there already, so I'll transfer the repo now. No worries - also I'm not reading a force push on my end, so I think it's fine. But yeah, now that it's semi-working we should probably not push directly to master anymore :D |
@asinghvi17 Do you have any thoughts about how to structure this repo?
My initial commit is a rough sketch of how I imagine we can maintain this repo:
geojson_files.jl
looks up all available datasets from this github directory: link.create_artifacts.jl
does the job of creatingArtifacts.toml
. I imagine we can hook that up to GitHub CI to periodically check for new datasets or updates to existing datasets.[...]/master/[...]
, but we should probably do this by tags or something to ensure reproducibility. Although I thinkArtifacts
will fail if a file is updated upstream since the SHA will change... Anyways -- just some food for thought.Project.toml
are not really necessary, and, along with the aforementioned files, should be moved to some subdirectory that is tied to Github CI or tests.GeoMakie
.The text was updated successfully, but these errors were encountered: