-
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
Soilmap: early exploration + creation of soilmap_simple #34
Commits on Sep 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4de3c07 - Browse repository at this point
Copy the full SHA 4de3c07View commit details
Commits on Oct 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 05c3c30 - Browse repository at this point
Copy the full SHA 05c3c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2514ab1 - Browse repository at this point
Copy the full SHA 2514ab1View commit details
Commits on Jan 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e7343a0 - Browse repository at this point
Copy the full SHA e7343a0View commit details
Commits on Jan 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 906fc7a - Browse repository at this point
Copy the full SHA 906fc7aView commit details
Commits on Apr 8, 2020
-
generate_soilmap_simple: explanations in non-spatial table *
Compared to keeping explan vars as columns, this saves about 30 MB. From this experience, experiments have been carried out (discarded!) to convert all factors to integers, and storing even the 'double'-type var 'bsm_poly_id' as an integer, and store the corresponding levels in non-spatial tables. However, this saved only about 4 MB, meaning that the storage as 'REAL' and as 'TEXT' in SQLite does not take up much more space (for 270550 rows) than storing as 'MEDIUMINTEGER'. Hence, discarded these extra steps to ease writing and reading.
Configuration menu - View commit details
-
Copy full SHA for 9417da0 - Browse repository at this point
Copy the full SHA 9417da0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 286438d - Browse repository at this point
Copy the full SHA 286438dView commit details -
generate_soilmap_simple: register non-spatial table *
Non-spatial tables need to be registered in the GeoPackage in order to conform to the GPKG standard. For now, this is done in a manual fashion, despite the ability of GDAL to take care of this for GPKG. I found no way to use this ability from R, so implemented the easy, though obsoleted approach of GeoPackage 1.0 to register non-spatial tables as data_type "aspatial" in the gpkg_contents table; see: https://gdal.org/drivers/vector/aspatial.html#vector-aspatial Question on implementation in R, see: r-spatial/sf#1345 The current way (GPKG 1.2) to handle this (data_type "attributes") is supported by GDAL, see: https://gdal.org/drivers/vector/gpkg.html#layer-creation-options . But it needs more work to do it manually, so made a GPKG 1.0 compliant version for now. See https://www.ogc.org/standards/geopackage . Note that GDAL is supportive when reading non-compliant gpkg-files, as it 'will also, by default, list non spatial tables that are not registered', which is why this worked beforehand with st_read(). See https://gdal.org/drivers/vector/gpkg.html#non-spatial-tables .
Configuration menu - View commit details
-
Copy full SHA for d231436 - Browse repository at this point
Copy the full SHA d231436View commit details
Commits on Apr 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3abfcad - Browse repository at this point
Copy the full SHA 3abfcadView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3c6696 - Browse repository at this point
Copy the full SHA b3c6696View commit details
Commits on Apr 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7c859d7 - Browse repository at this point
Copy the full SHA 7c859d7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.