opengisch / OSGeo4A

OSGeo4A is a build environment to cross-compile opensource GIS software for android devices
MIT License
30 stars 22 forks source link

Support ECW & MrSid & jp2k #14

Open mbernasocchi opened 8 years ago

mbernasocchi commented 8 years ago

just a reminder to eventually have a look at this

nirvn commented 4 years ago

"Easy" JP2K support via OpenJPEG library (see gdal's driver page https://gdal.org/drivers/raster/jp2openjpeg.html).

nirvn commented 4 years ago

Just to add a bit of motivation here: a 16gb geotif can be reduced to a 2.5gb jp2; that kind of compression is pretty good for mobile where space is often limited.

m-kuhn commented 4 years ago

@mbernasocchi what do we do with this?

mbernasocchi commented 4 years ago

@m-kuhn you did jp2K no?

m-kuhn commented 4 years ago

yes

mbernasocchi commented 4 years ago

MrSID

I asked extensis.com about MrSID licensing policy in our case since I could not really get a understand the EULA ( https://www.extensis.com/support/developers/mrsidsdkeula)

Hi we are the main developers of the leading opensource field app QField for QGIS. We are considering adding MrSID support to it and would be interested in knowing what are the license requirements to distribute QField (via various stores) including read-only support for MrSID files.

ECW

https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v55-update-1-linux from the EULA (https://www.hexagongeospatial.com/technical-documents/erdas-ecw-jp2-sdk-user-guide) it seems that there would be no licensing fee for local images below 1 gigapixel and there is an android (NDK 4.7+) and iOS version

No license fee required: Mobile Read-Only Redistributable (local decoding restrictions apply)

the local decoding restrictions are:

For mobile platforms, decoding is free up to 1 gigapixel input size for local images on the device, but free for unlimited ECWP images. .... Decompression in the SDK remains unlimited on Desktop, Server licenses and limited to 1 gigapixel on Mobile. An OEM Key is required to unlock unlimited decoding on mobile platforms.

Gigapixel definition

Thesize of a file in gigapixels can be calculated by multiplying the number of rows (height) by the number of columns (width). For example,an image with 20,000 rows and 20,000 columns would equal 400,000,000 pixels or 0.4 gigapixels. Note the number of bands are not included in the gigapixel calculation.

mbernasocchi commented 4 years ago

also see https://github.com/qgis/QGIS-Mac-Packager/issues/15