[mapserver-users] Raster pixel value

Stepan Kafka stepan.kafka at centrum.cz
Mon Nov 25 16:44:27 EST 2002


Frank,
  is it impossible to use GDALRasterIO function to get small (one pixel)
rectangle and then get its value as a mapserver query result ?

Stepan Kafka

> -----Pùvodní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Frank
> Warmerdam
> Odesláno: 21. listopadu 2002 21:55
> Komu: Brian Clark
> Kopie: mapserver
> Pøedmìt: Re: [mapserver-users] Raster pixel value
>
>
> Brian Clark wrote:
> > Is there a way, using Mapserver, to pick a point on a raster and return
> > the pixel value? Such as elevations from a DEM?
>
> Brian,
>
> I don't believe this is possible within mapserver.  The current
> architecture
> for rasters in MapServer is such that pretty much the only API interface
> between mapserver and the raster support is the msDrawRasterLayer() call.
> This is different than shapefiles where there are mapserver functions to
> fetch individual shapes from a shapefile accessable from mapscript.
>
> So, not it isn't available, and it would not be trivial to do so.
>
> 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