[GRASS-user] display image (photo / jpeg) with PNG driver (i.e. add logo to map).

Hamish hamish_b at yahoo.com
Thu Sep 3 00:04:10 EDT 2009


Tim Holland wrote:
> I am getting an error message with r.in.gdal, though:
> >WARNING: G_set_window(): Illegal latitude for North

in gr6.5 and 7 there is a new flag -l to get around that.
"Force Lat/Lon maps to fit into geographic coordinates (90N,S; 180E,W)"

if earlier ver, use gdal_translate to convert to geotiff and
assign dummy lat/lon coords to it. then fix it with r.region
once it is inside.


> At present, the file I have is not georeferenced at all -
> it is just a normal jpeg. 

usually a simple-xy location is for that, but then you have
to rectify it into a geo-location.


> Also, I was not sure how to import as separate r,g,b maps.

often r.in.gdal does this for you.


Hamish



      



More information about the grass-user mailing list