raster maps and mapserver
Alexia81
alexia81 at EMAIL.IT
Wed Jan 25 10:10:20 PST 2006
Hi!
I took the mapserver demo1 with spearfish from grass.itc.it so i cannot have
any extents problems.
On my linux box, the application is ok except for raster data. When i select
the grass raster layer a white gif is generated without any error.
On my mac osx box the same demo works perfectly.
On both configurations i have grass60 without any library from previous
versions.
Thanks,
Alessia
> 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
>
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Solo 10 Euro per chiamare in tutto il mondo!! Scopri il vantaggio di Email
Phone Card, clicca subito
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2685&d=20060125
More information about the MapServer-users
mailing list