Interpolating a raster layer from a point layer...
Frank Warmerdam
fwarmerdam at GMAIL.COM
Wed Apr 6 14:39:37 PDT 2005
On Apr 6, 2005 5:07 PM, Jeremy Malczyk <jmalczyk at yahoo.com> wrote:
> Apologies, Yahoo Mail spell check somehow managed to garble my post.
>
> Again:
>
> Is it possible for MapServer to render a raster layer that is derived entirely from values in a
> vector (in this case, point) datasource.
>
> For example, I have regularly spaced point data (a grid of sorts), and I want MapServer to color
> pixels based on the nearest point in that layer (instead of just displaying the point itself as
> a symbol). The points would be coming in via an OGRVRTDataSource pulling from an ODBC Connection
> to an MS-SQL database. So basically I need Mapserver to query the point layer for each pixel in
> the raster being generated, determine the nearest point, and then classify it according to an
> attribute of that point.
>
> Make sense? If so, can this be done? The point data would be changing rather frequently (daily)
> so precompiling the raster in a regular GIS would be impractical.
Jeremy,
There is no support in MapServer (or GDAL/OGR) for on-the-fly
interpolation of a grid from point data.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list