The GRASS PNG driver (e.g., GRASS_PNGFILE) controls GRASS display **output**, 
not input. There is no problem importing a png into GRASS. But you cannot 
display a png usefully in a GIS unless it is georeferenced.

Maybe I don't understand your request, but it sounds like you don't understand 
the difference between a georeferenced, geospatial data file and a graphics 
image file. This is a fundamental concept for raster GIS.

Michael Barton
School of Human Evolution &Social Change
Center for Social Dynamics & Complexity
Arizona State University

...Sent from my iPad

On Aug 13, 2011, at 4:00 AM, "Sudeep Singh" 
<[email protected]<mailto:[email protected]>> wrote:

Thanks Rashad, Michael and Luca for the suggestions. I am trying with it, if 
something works out I will post it back. Also Maris suggested to use GRASS_PNG 
and GRASS_PNGFILE , I am looking into that also. If someone has worked before 
with GRASS_PNG , please let me know.

thanks
sudeep

On Sat, Aug 13, 2011 at 12:21 PM, Luca Delucchi 
<<mailto:[email protected]>[email protected]<mailto:[email protected]>>
 wrote:
2011/8/12 Sudeep Singh 
<<mailto:[email protected]>[email protected]<mailto:[email protected]>>:
> Not always, depends on WMS service. Without geotiff any other way to display
> it ? like i think d.rast does ?
>

I suggest you to see wms_request.py [0] (specially GetTiles() and
__set_options() functions)

[0] 
<http://trac.osgeo.org/grass/browser/grass/trunk/scripts/r.in.wms/wms_request.py>
 http://trac.osgeo.org/grass/browser/grass/trunk/scripts/r.in.wms/wms_request.py

--
ciao
Luca

<http://gis.cri.fmach.it/delucchi/>http://gis.cri.fmach.it/delucchi/
<http://www.lucadelu.org>www.lucadelu.org<http://www.lucadelu.org>

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

Reply via email to