raster maps and mapserver

Matthew Perry perrygeo at GMAIL.COM
Tue Jan 24 09:53:08 PST 2006


Alexia,

  Can you show us the URL of the image request? Most likely you are
requesting a map with different extents than your GRASS raster. In
GRASS, try r.info rastername and see if the extents line up with the
extents in your mapfile and/or the requested image URL.


matt

On 1/24/06, Alexia81 <alexia81 at email.it> wrote:
> Hi!
>
> i recompiled gdal with grass supports and its working, i recompiled
> mapserver with GDAL and now i have :
> "MapServer version 4.6.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=OGR
> INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG"
> Everything seems to be ok but mapserv did not produce any map.
>
> Here is the raster section of my map file :
>
> LAYER
>   NAME etna
>   TYPE RASTER
>   STATUS ON
>   CLASS
>       NAME 'Digital Raster Graphic'
>   END
>  DATA "/var/www/html/grassdata/etna/PERMANENT/cellhd/boveint"
> END
>
> Thank you,
> Alessia
>
> NB : i installed a copy of mapserv in my cgi-bin directory and here mapserv
> -v did not produce any output.
>
>
> > Yes it is possible to set up direct grass raster support in mapserver.
> >
> > Grass support is obtained through GDAL so if gdal supports grass, then
> > mapserver will too. You might be able to find an rpm for the
> > gdal-grass plugin.
> >
> > If you type "gdalinfo --formats" and you see GRASS, you'll know its
> > working. You can access the rasters in mapserver by setting your DATA
> > parameter to "/location/mapset/cellhd/rastername"
> >
> > matt
>
>
>
>
> > On 1/20/06, Alexia81 <alexia81 at email.it> wrote:
> > > Hi!
> > >
> > > How can i view raster map with mapserver directly from grass location
> > > without creating GEOTIF images?
> > > My rasters are contains float data.
> > >
> > > Configuration:
> > > - Fedora core 3
> > > - grass60 and 61 installed from binary package
> > > - mapserver-4.6 installed from binary package
> > >
> > > N.B. mapserver examples are running, but ./mapserv -v did not produce
> any
> > > output
>
>  --
>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
>  Sponsor:
>  Problemi di Liquidità? Con Logos Finanziaria 30.000 € in 24 ore a
> dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi clicca qui
>
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2907&d=20060124
>


--
Matt Perry
perrygeo at gmail.com
http://www.perrygeo.net


More information about the MapServer-users mailing list