You can view a PNG in most graphic viewers. Probably it will come up in 
something if you double click it on almost any desktop platform.

d.rast is for displaying GRASS raster files within the GRASS GIS environment. 
You would need to import the PNG and convert it to a GRASS raster format to 
display in GRASS. Unless there is some kind of geocoded version of PNG's (I 
don't know of any), the PNG would not be georeferenced and hence not useable in 
any way for the GIS without some kind of transformation. Nothing would overlay 
it correctly. This is one of the very important differences between GIS and a 
graphics program.

Michael


______________________________
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
www:    http://csdc.asu.edu, http://shesc.asu.edu
                http://www.public.asu.edu/~cmbarton

On Aug 12, 2011, at 5:49 AM, Sudeep Singh wrote:

> Not always, depends on WMS service. Without geotiff any other way to display 
> it ? like i think d.rast does ? 
> 
> On Fri, Aug 12, 2011 at 12:39 PM, Luca Delucchi <[email protected]> wrote:
> 2011/8/12 Sudeep Singh <[email protected]>:
> > Thank you Michael. The PNG file which I want to display is actually a WMS
> > getmap requests response. Now once I have this reponse from WMS, I want this
> > image returned to be displyed as a layer in GRASS GIS Map Display.
> >
> 
> Could you return a geotiff instead a png?
> 
> >
> > Sudeep
> >
> 
> --
> ciao
> Luca
> 
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> 

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to