Skip to content

Conversation

@brownag
Copy link
Contributor

@brownag brownag commented Dec 28, 2025

This pull request updates the documentation for available raster datatypes in the datatype.Rd file. The main changes include correcting the value range for INT2U, adding documentation for the INT1S type, clarifying how NA values are stored, and providing additional notes about datatype support and requirements.

Documentation corrections and enhancements:

  • Corrected the maximum possible value for INT2U from 65,534 to 65,535
  • Added documentation for the INT1S datatype, including its value range.
  • Clarified the handling of NA values for both integer/byte and float types, specifying the use of NaN for floats and noting the use of extreme values for integers.
  • Added notes about datatype support in R, including the recommendation to avoid INT4U and INT8U due to lack of native support, and provided details about NA storage for INT8U.
  • Specified GDAL version requirements for INT8U, INT8S, and INT1S datatypes.
  • Included a note that NaN handling may vary across different implementations, such as OGR SQL and SQLite.

 - fix: INT2U max value in table
 - update notes:
   - NaN for float types
   - large unsigned integers and decimal precision
   - minimum required GDAL version for INT8U, INT8S, INT1S
@brownag brownag changed the title docs docs: datatype INT1S and NA flags Dec 28, 2025
@rhijmans rhijmans merged commit 59fd22a into rspatial:master Dec 28, 2025
6 checks passed
@rhijmans
Copy link
Member

Awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants