Hello Yves
I succeeded to get it running with Mapserver, after some testing and
additional settings also with PHP MapScript. For others who might be
interested in the various steps, I added a short how-to to the Mapserver
Wiki, see
http://trac.osgeo.org/mapserver/wiki/RasterVrtDerivedBands
Sure. Here is what I am trying to do.
The raw data has some junk on the front end of the file that needs to
be skipped:
xxx
9587
2
2952
MSB
Then, apply the scaling factor:
xxx.vrt
1
0
0.707
So, I'm not clear if the SourceProperties tag can be used
Le mercredi 15 février 2012 16:51:28, Eli Adam a écrit :
> Hi all,
>
> I'm trying to use OGR SQL to CAST and field name aliasing together and
> getting incorrect results (or issuing incorrect commands) when
> combined with two LEFT JOINs on MDB (both ODBC and MDB drivers). The
> results are incor
Hi Solomon,
I believe you can just specify the following tag within the ComplexSource:
(of course setting the correct values)
In this tag you can explicitly indicate the type of the source.
For a more definite answer can you please give an example of the two VRT
files that you create.
Anton
>
I have raw data stored as UInt16 that needs to be scaled by a
(floating point) calibration factor and presented as Float32. I can
successfully load the UInt data using VRTRawRasterBand and scale it
using VRT ComplexSource. However, this seems to mean creating two
separate VRT datasets and files.
I
Hello,
I used the Makefile file in an archive I found in a GDAL ticket. So I guess I
am
using a .so file.
Y.
Le jeudi 16 février 2012 10:15:58, Armin Burger a écrit :
> Yves
>
> thanks a lot for the help.
>
> So it is sufficient to add SetEnv GDAL_DRIVER_PATH ..., place the file with
> the pi
Armin,
I am using such application stack: netcdf > vrt and pixel functions > GDAL >
MapServer
We have a tiled layer inside PostGIS and we juste configure the layer like all
other tiled datasource:
LAYER
STATUS ON
NAME "layer_idx"
TYPE POLYGON
CONNECTION "dbname=mydb host=localhost user=myU
Yves
thanks a lot for the help.
So it is sufficient to add SetEnv GDAL_DRIVER_PATH ..., place the file with the
pixel function there, and Mapserver can find pixel function referenced in the
VRT file? What kind of compilation did you use? Create a shared library *.so or
is the *.o object file