Updated Rasterlite (markdown)
parent
88c42537f9
commit
08b5dd92c4
1 changed files with 8 additions and 11 deletions
|
@ -5,8 +5,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#!html
|
```html
|
||||||
<h2 style="text-align: left; color: red">WARNING: experimental !</h1>
|
<h2 style="text-align: left; color: red">WARNING: experimental !</h1>
|
||||||
|
```
|
||||||
|
|
||||||
This plugin supports reading georaster files embedded into sqlite databases using [RasterLite](http://www.gaia-gis.it/spatialite/index.html) of the excellent Spatialite project.
|
This plugin supports reading georaster files embedded into sqlite databases using [RasterLite](http://www.gaia-gis.it/spatialite/index.html) of the excellent Spatialite project.
|
||||||
|
|
||||||
|
@ -14,8 +15,7 @@ The use of rasterlite allows to use jpeg / wavelets compressed rasters in sqlite
|
||||||
|
|
||||||
* Note: You must use at least the development version [2.4.0-RC2](http://www.gaia-gis.it/spatialite-2.4.0/index.html) to compile the input plugin.
|
* Note: You must use at least the development version [2.4.0-RC2](http://www.gaia-gis.it/spatialite-2.4.0/index.html) to compile the input plugin.
|
||||||
|
|
||||||
For other plugins see: PluginArchitecture
|
For other plugins see: [[PluginArchitecture]]
|
||||||
|
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
|
@ -29,22 +29,19 @@ TODO
|
||||||
|| base || string || optional base path where to search for the sqlite database file || ||
|
|| base || string || optional base path where to search for the sqlite database file || ||
|
||||||
|| table || string || table in database which contains raster data || ||
|
|| table || string || table in database which contains raster data || ||
|
||||||
|
|
||||||
|
|
||||||
# Styling
|
# Styling
|
||||||
|
|
||||||
To style a layer use the RasterSymbolizer
|
To style a layer use the RasterSymbolizer
|
||||||
|
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
## Python
|
## Python
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
== XML ==
|
## XML
|
||||||
|
|
||||||
|
```xml
|
||||||
#!xml
|
|
||||||
<!-- NOTE: must be in the same SRS as your map-->
|
<!-- NOTE: must be in the same SRS as your map-->
|
||||||
<Layer name="Raster">
|
<Layer name="Raster">
|
||||||
<StyleName>raster</StyleName>
|
<StyleName>raster</StyleName>
|
||||||
|
@ -54,6 +51,7 @@ TODO
|
||||||
<Parameter name="table">my_raster</Parameter>
|
<Parameter name="table">my_raster</Parameter>
|
||||||
</Datasource>
|
</Datasource>
|
||||||
</Layer>
|
</Layer>
|
||||||
|
```
|
||||||
|
|
||||||
## C++
|
## C++
|
||||||
|
|
||||||
|
@ -61,8 +59,7 @@ Plugin datasource initialization example code can be found on PluginArchitecture
|
||||||
|
|
||||||
A Raster datasource may be created as follows:
|
A Raster datasource may be created as follows:
|
||||||
|
|
||||||
|
```cpp
|
||||||
#!C
|
|
||||||
{
|
{
|
||||||
parameters p;
|
parameters p;
|
||||||
p["type"]="rasterlite";
|
p["type"]="rasterlite";
|
||||||
|
@ -75,7 +72,7 @@ A Raster datasource may be created as follows:
|
||||||
lyr.add_style("raster");
|
lyr.add_style("raster");
|
||||||
m.addLayer(lyr);
|
m.addLayer(lyr);
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Further References
|
## Further References
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue