[Mapserver-users] Layer interpolation
Aaron D. Hunt
hunt at zedxinc.com
Tue Jul 27 08:19:21 PDT 2004
You maybe right. It was a thought I had and just wanted to see if there
was any interest out there beside me. In my every day work, I use a lot
of data sets that needs interploated on the fly (ie Yield data from a
Corn field). I either have to wast time trying to paste together a
script to do it or wait for one of our programs to do it for me. Most of
the time I just need a quick and dirty interp the would nice if I could
have mapserver do it (even if it took mapserver a few more seconds to do
it).
Aaron
Frank Warmerdam wrote:
> Aaron D. Hunt wrote:
>
>> Has there ever been any thought on adding a interpolation object.
>> What I am thinking of is the ability to have point layer and then
>> tell mapserver to interpolation the data into a raster layer. The
>> interpolation could be done using some fast inverse distance
>> weighting method.
>> example:
>> LAYER
>> TYPE INTERPOLATION
>> DATA point_shape_data
>> INTERPOLATIONITEM"[column]"
>> CLASSITEM "[pixel]"
>> INTERPOLATION
>> R_VALUE 4
>> RESOLUTION_UNIT meter
>> RESOLUTION 5
>> END
>> CLASS
>> EXPRESSION ([pixel] < 64)
>> COLOR 0 0 0
>> END
>> CLASS
>> EXPRESSION ([pixel] >= 64 AND [pixel] < 128)
>> COLOR 255 0 0
>> END
>>
>> END
>
>
> Aaron,
>
> This is an interesting idea, but in my mind it falls into the
> "MapServer is
> not a GIS" category of putting too much analysis into MapServer
> itself. Also,
> point interpolation for any significant number of points can be pretty
> expensive
> to do in a web mapping context.
>
> Best regards,
More information about the MapServer-users
mailing list