[GRASS-dev] GRASS GIS Map Display

Michael Barton Michael.Barton at asu.edu
Sat Aug 13 12:18:35 EDT 2011


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" <sudeep495 at gmail.com<mailto:sudeep495 at gmail.com>> 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:lucadeluge at gmail.com>lucadeluge at gmail.com<mailto:lucadeluge at gmail.com>> wrote:
2011/8/12 Sudeep Singh <<mailto:sudeep495 at gmail.com>sudeep495 at gmail.com<mailto:sudeep495 at gmail.com>>:
> 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>



More information about the grass-dev mailing list