-
I am looking for sample code to integrate this library into Google TileProvider. Can you help me? I want to read GeoTiff data and overlay it on Android Google Maps. Thank you so much, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here is an example of converting a RGB tiff to an Android Bitmap. This library is currently only a basic TIFF specification implementation, pulling only those base parts from the Geotiff.js library. Other than field tags, GeoTIFF functionality is not currently implemented. You could try following the origin and resolution implementations to pull that data out. Some spec info on geotiff tags We use this library in Android, but for a non visualization GeoPackage coverage data extension. We have non tiff image TileProviders that might have some useful tile bounds utilities. |
Beta Was this translation helpful? Give feedback.
Here is an example of converting a RGB tiff to an Android Bitmap.
For Java, here is an example of converting BufferedImage.
This library is currently only a basic TIFF specification implementation, pulling only those base parts from the Geotiff.js library. Other than field tags, GeoTIFF functionality is not currently implemented. You could try following the origin and resolution implementations to pull that data out.
Some spec info on geotiff tags
http://geotiff.maptools.org/spec/geotiff2.6.html
We use this library in Android, but for a non visualization GeoPackage coverage data extension. We have non tiff image TileProviders that might have some useful tile bounds utilities.