juliaearth / geoio.jl Goto Github PK
View Code? Open in Web Editor NEWLoad/save geospatial data compatible with the GeoStats.jl framework
Home Page: https://github.com/JuliaEarth/GeoStats.jl
License: MIT License
Load/save geospatial data compatible with the GeoStats.jl framework
Home Page: https://github.com/JuliaEarth/GeoStats.jl
License: MIT License
The images are loaded as Julia arrays that are rotated compared to the convention of the X-Y axis. We need to rotate them lazily after loading with ImageIO.jl
1 - GeoJSON.jl writes table columns in arbitrary order;
2 - Shapefile.jl saves Chains and Polygons as Multi;
3 - The default number type in GeoJSON.jl is Float32
, set this option with numbertype
kwarg;
4 - GeoJSON.jl writes Date
columns as string because the JSON format has no date types;
5 - KML file is failing to save with Shapefile.jl;
MWE:
t = georef(nothing, CartesianGrid(3,3))
GeoIO.save("test.shp", t)
The backend packages are Feather.jl for version v1 and possibly Arrow.jl for version v2.
This function should return a table-like object showing:
If an entry is not available, it should show as missing
.
It would be useful to write GeoIO.save("foo.csv", geotable)
and save the coordinates of the centroids of the geometry column as new columns X
, Y
, Z
, ...
Similarly, we should be able to write GeoIO.load("foo.csv", coords=("X","Y","Z"))
.
Sometimes the columns with coordinates have missing values. We should discard all rows with missing coordinates before georefering the table.
Currently we do not allow saving a subgrid, but that should be possible if we save the underlying grid with an unview
and introduce a MASK
column. That way users can save subgrids and reload later with an additional mask step.
The tests are raising a warning in the test suite, and there are 2 tests failing locally for me.
The pre-compilation of backends is taking an absurd amount of time. We need to find and fix possible invalidations.
Currently .tif
files which contain spatial coordinates with respect to a CRS are being read as an image losing information about he coordinates and also the values do not need to be colors. We can fix it by reading the file with ArchGDAL.jl
and make the conversion to Meshes.jl
.
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
extension | load | save |
---|---|---|
.vtu | ✅ | ✅ |
.vtp | ✅ | ✅ |
.vtr | ✅ | ✅ |
.vti | ✅ | ✅ |
.vts | ✅ | ✅ |
.ply | ✅ | ✅ |
.nc | ✅ | ✅ |
.grib | ✅ | |
.msh | ✅ | ✅ |
.obj | ✅ | ✅ |
.off | ✅ | ✅ |
.stl | ✅ | ✅ |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.