/*
rasterlite2 -- main header file
version 0.1, 2013 March 29
Author: Sandro Furieri a.furieri@lqt.it
-----------------------------------------------------------------------------
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is the RasterLite2 library
The Initial Developer of the Original Code is Alessandro Furieri
Portions created by the Initial Developer are Copyright (C) 2013
the Initial Developer. All Rights Reserved.
Alternatively, the contents of this file may be used under the terms of
either the GNU General Public License Version 2 or later (the "GPL"), or
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
in which case the provisions of the GPL or the LGPL are applicable instead
of those above. If you wish to allow use of your version of this file only
under the terms of either the GPL or the LGPL, and not to allow others to
use your version of this file under the terms of the MPL, indicate your
decision by deleting the provisions above and replace them with the notice
and other provisions required by the GPL or the LGPL. If you do not delete
the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL.
*/
/**
\file rasterlite2.h
Main RasterLite2 header file
*/
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#ifdef _WIN32
#ifdef DLL_EXPORT
#define RL2_DECLARE __declspec(dllexport)
#else
#define RL2_DECLARE extern
#endif
#else
#define RL2_DECLARE __attribute__ ((visibility("default")))
#endif
#endif
#ifndef _RASTERLITE2_H
#ifndef DOXYGEN_SHOULD_SKIP_THIS
#define _RASTERLITE2_H
#endif
#ifdef __cplusplus
extern "C"
{
#endif
#include "rasterlite2/sqlite.h"
/** RasterLite2 flag: FALSE */
#define RL2_FALSE 0
/** RasterLite2 flag: TRUE */
#define RL2_TRUE 1
/** RasterLite2 ret-value: OK (success) */
#define RL2_OK 0
/** RasterLite2 ret-value: ERROR (failure) */
#define RL2_ERROR -1
/** RasterLite2 constant: INVALID/UNDEFINED Pyramid Level */
#define RL_INVALID_PYRAMID_LEVEL -1
/** RasterLite2 constant: Sample Type UNKNOWN */
#define RL2_SAMPLE_UNKNOWN 0xa0
/** RasterLite2 constant: Sample Type 1-bit */
#define RL2_SAMPLE_1_BIT 0xa1
/** RasterLite2 constant: Sample Type 2-bit */
#define RL2_SAMPLE_2_BIT 0xa2
/** RasterLite2 constant: Sample Type 4-bit */
#define RL2_SAMPLE_4_BIT 0xa3
/** RasterLite2 constant: Sample Type 8 bit Integer */
#define RL2_SAMPLE_INT8 0xa4
/** RasterLite2 constant: Sample Type 8 bit Unsigned Integer */
#define RL2_SAMPLE_UINT8 0xa5
/** RasterLite2 constant: Sample Type 16 bit Integer */
#define RL2_SAMPLE_INT16 0xa6
/** RasterLite2 constant: Sample Type 16 bit Unsigned Integer */
#define RL2_SAMPLE_UINT16 0xa7
/** RasterLite2 constant: Sample Type 32 bit Integer */
#define RL2_SAMPLE_INT32 0xa8
/** RasterLite2 constant: Sample Type 32 bit Unsigned Integer */
#define RL2_SAMPLE_UINT32 0xa9
/** RasterLite2 constant: Sample Type Floating Point Single Precision */
#define RL2_SAMPLE_FLOAT 0xaa
/** RasterLite2 constant: Sample Type Floating Point Double Precision */
#define RL2_SAMPLE_DOUBLE 0xab
/** RasterLite2 constant: Sample Type NONE */
#define RL2_SAMPLE_NONE 0xff
/** RasterLite2 constant: Pixel Type UNKNOWN */
#define RL2_PIXEL_UNKNOWN 0x10
/** RasterLite2 constant: Pixel Type Monochrome - Bilevel */
#define RL2_PIXEL_MONOCHROME 0x11
/** RasterLite2 constant: Pixel Type Palette based */
#define RL2_PIXEL_PALETTE 0x12
/** RasterLite2 constant: Pixel Type Grayscale */
#define RL2_PIXEL_GRAYSCALE 0x13
/** RasterLite2 constant: Pixel Type Red-Green-Blue */
#define RL2_PIXEL_RGB 0x14
/** RasterLite2 constant: Pixel Type Multiband (arbitrary) */
#define RL2_PIXEL_MULTIBAND 0x15
/** RasterLite2 constant: Pixel Type Data-Grid */
#define RL2_PIXEL_DATAGRID 0x16
/** RasterLite2 constant: Pixel Type NONE */
#define RL2_PIXEL_NONE 0xff
/** RasterLite2 constant: Opaque Pixel */
#define RL2_PIXEL_OPAQUE 0x80
/** RasterLite2 constant: Transparent Pixel */
#define RL2_PIXEL_TRANSPARENT 0x40
/** RasterLite2 constant: Compression UNKNOWN */
#define RL2_COMPRESSION_UNKNOWN 0x20
/** RasterLite2 constant: Compression None */
#define RL2_COMPRESSION_NONE 0x21
/** RasterLite2 constant: Compression Deflate Delta (zip) */
#define RL2_COMPRESSION_DEFLATE 0x22
/** RasterLite2 constant: Compression Deflate noDelta (zip) */
#define RL2_COMPRESSION_DEFLATE_NO 0xd2
/** RasterLite2 constant: Compression LZMA Delta */
#define RL2_COMPRESSION_LZMA 0x23
/** RasterLite2 constant: Compression LZMA noDelta */
#define RL2_COMPRESSION_LZMA_NO 0xd3
/** RasterLite2 constant: Compression GIF */
#define RL2_COMPRESSION_GIF 0x24
/** RasterLite2 constant: Compression PNG */
#define RL2_COMPRESSION_PNG 0x25
/** RasterLite2 constant: Compression JPEG */
#define RL2_COMPRESSION_JPEG 0x26
/** RasterLite2 constant: Compression WEBP (lossy mode) */
#define RL2_COMPRESSION_LOSSY_WEBP 0x27
/** RasterLite2 constant: Compression WEBP (lossless mode) */
#define RL2_COMPRESSION_LOSSLESS_WEBP 0x28
/** RasterLite2 constant: Compression CCITTFAX3 */
#define RL2_COMPRESSION_CCITTFAX3 0x29
/** RasterLite2 constant: Compression CCITTFAX4 */
#define RL2_COMPRESSION_CCITTFAX4 0x30
/** RasterLite2 constant: Compression LZW */
#define RL2_COMPRESSION_LZW 0x31
/** RasterLite2 constant: Compression JPEG2000 (lossy mode) */
#define RL2_COMPRESSION_LOSSY_JP2 0x33
/** RasterLite2 constant: Compression JPEG2000 (lossless mode) */
#define RL2_COMPRESSION_LOSSLESS_JP2 0x34
/** RasterLite2 constant: Compression LZ4 Delta */
#define RL2_COMPRESSION_LZ4 0x35
/** RasterLite2 constant: Compression LZ4 noDelta */
#define RL2_COMPRESSION_LZ4_NO 0xd4
/** RasterLite2 constant: Compression ZSTD Delta */
#define RL2_COMPRESSION_ZSTD 0x36
/** RasterLite2 constant: Compression ZSTD noDelta */
#define RL2_COMPRESSION_ZSTD_NO 0xd5
/** RasterLite2 constant: UNKNOWN number of Bands */
#define RL2_BANDS_UNKNOWN 0x00
/** RasterLite2 constant: Red Band */
#define RL2_RED_BAND 0
/** RasterLite2 constant: Green Band */
#define RL2_GREEN_BAND 1
/** RasterLite2 constant: Blue Band */
#define RL2_BLUE_BAND 2
/** RasterLite2 constant: Grayscale Band */
#define RL2_GRAYSCALE_BAND 0
/** RasterLite2 constant: Data-Grid Band */
#define RL2_DATAGRID_BAND 0
/** RasterLite2 constant: Monochrome Band */
#define RL2_MONOCHROME_BAND 0
/** RasterLite2 constant: Palette Band */
#define RL2_PALETTE_BAND 0
/** RasterLite2 constant: No Georeferencing infos */
#define RL2_GEOREFERENCING_NONE -1
/** RasterLite2 constant: Undefined Tile size */
#define RL2_TILESIZE_UNDEFINED 0
/** RasterLite2 constant: reproduction scale 1:1 */
#define RL2_SCALE_1 0x31
/** RasterLite2 constant: reproduction scale 1:2 */
#define RL2_SCALE_2 0x32
/** RasterLite2 constant: reproduction scale 1:4 */
#define RL2_SCALE_4 0x33
/** RasterLite2 constant: reproduction scale 1:8 */
#define RL2_SCALE_8 0x34
/** RasterLite2 constant: output format UNKNOWN */
#define RL2_OUTPUT_FORMAT_UNKNOWN 0x70
/** RasterLite2 constant: output format JPEG */
#define RL2_OUTPUT_FORMAT_JPEG 0x71
/** RasterLite2 constant: output format PNG */
#define RL2_OUTPUT_FORMAT_PNG 0x72
/** RasterLite2 constant: output format TIFF */
#define RL2_OUTPUT_FORMAT_TIFF 0x73
/** RasterLite2 constant: output format PDF */
#define RL2_OUTPUT_FORMAT_PDF 0x74
/** RasterLite2 constant: contrast enhancement NONE */
#define RL2_CONTRAST_ENHANCEMENT_NONE 0x90
/** RasterLite2 constant: contrast enhancement NORMALIZE */
#define RL2_CONTRAST_ENHANCEMENT_NORMALIZE 0
没有合适的资源?快使用搜索试试~ 我知道了~
【QGIS跨平台编译】之【rasterlite2跨平台编译】:MacOS环境下编译成果(支撑QGIS跨平台编译,以及二次研发)
共22个文件
h:14个
dylib:8个
0 下载量 170 浏览量
2024-02-12
07:38:26
上传
评论
收藏 4.63MB ZIP 举报
温馨提示
一、内容概况 QGIS是一个开源的、跨平台的地理信息系统(GIS)软件,用于浏览、编辑和分析地理空间数据,提供了一套丰富的功能,包括地图制作、空间分析、数据管理等。QGIS可以在Windows、Mac OS和Linux等操作系统上运行。 QGIS的跨平台编译需要一系列开源库的支持,本系列提供QGIS相关的编译成果。 本资源的内容为:基于Qt的rasterlite2跨平台编译成果(MacOS版本)。 二、使用人群 QGIS编译、QGIS跨平台编译的人员或研究者。 三、使用场景及目标 在MacOS环境下使用。 既可以支撑QGIS在MacOS环境下的编译工作,也可以进行rasterlite2的二次研发。 四、其他说明 在MacOS环境下,基于Qt Creator进行编译的rasterlite2开源库。包含有头文件include、库文件dylib等,提供了Debug、Release版本。 当前采用的版本为rasterlite2-1.1.0,如果下载者,需要其他版本的rasterlite2,请在评论区留言。
资源推荐
资源详情
资源评论
收起资源包目录
rasterlite2-MacOS.zip (22个子文件)
include
rasterlite2
._rasterlite2.h 4KB
rl2wms.h 74KB
sqlite.h 2KB
rl2mapconfig.h 17KB
._rl2mapconfig.h 4KB
._rl2tiff.h 4KB
._rl2graphics.h 4KB
._rl2wms.h 4KB
._rl2svg.h 4KB
rl2graphics.h 68KB
rl2svg.h 4KB
._sqlite.h 4KB
rl2tiff.h 9KB
rasterlite2.h 206KB
lib
librasterlite2.1.dylib 1.44MB
librasterlite2.1.0.0.dylib 1.44MB
librasterlite2.1.0.dylib 1.44MB
librasterlite2d.1.dylib 2.2MB
librasterlite2.dylib 1.44MB
librasterlite2d.1.0.dylib 2.2MB
librasterlite2d.dylib 2.2MB
librasterlite2d.1.0.0.dylib 2.2MB
bin
共 22 条
- 1
资源评论
翰墨之道
- 粉丝: 3569
- 资源: 182
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 服务器生成的一个自用的模型
- MATLAB图片调整亮度算法
- 【python毕业设计】基于python的抑郁症患者看护系统(完整前后端源码).zip
- 【python毕业设计】基于Python的电影票房数据分析系统的设计与实现(完整前后端源码).zip
- 基于OSGEarth引擎,实现三维动态海洋流场可视化C++源码(高分项目)
- java新手小游戏学习资料练手游戏.zip
- .obsidian.zip
- 【python毕业设计】基于Django的个性化餐饮管理系统(完整前后端源码).zip
- 使用C#进行Yolov5模型的训练以及推理
- 【python毕业设计】django食堂外卖系统(完整前后端源码).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功