[GRASS-user] Importing From GeoPDF

Jón Eiríksson jeir at hi.is
Sun Aug 19 13:19:08 PDT 2012


Have you tried r.composite, e.g. for band files file_tif.*

r.composite b=file_tif.blue g=file_tif.green r=file_tif.red out=file_colour 
 
?

Jon

Þann sunnudagur 19 Augúst 2012 15:00 GMT, skrifaði Dave Kindem <dkindem at gmail.com>: 
 
> Hello,
> 
> I'm trying to import a new-style GeoPDF USGS topo map into an existing GRASS location as a raster layer.  I've converted the file to a GeoTIFF with gdal_translate and then adjusted to projection using gdalwarp.  When I import the GeoTIFF into GRASS, each color band is written as a separate layer:
> > r.in.gdal input=/Users/dkindem/MI_Grand_Haven_20110923_TM_geo_wgs.tif output=MI_Grand_Haven_20110923_TM_geo_wgs
> > Projection of input dataset and current location appear to match
> > r.in.gdal complete. Raster map <MI_Grand_Haven_20110923_TM_geo_wgs.red> created.
> > r.in.gdal complete. Raster map <MI_Grand_Haven_20110923_TM_geo_wgs.green> created.
> > r.in.gdal complete. Raster map <MI_Grand_Haven_20110923_TM_geo_wgs.blue> created.
> > (Sun Aug 19 10:50:07 2012) Command finished (2 sec)                
> 
> 
> Each layer displays (in monochrome), but I'd like to create a single, color, layer.
> 
> I'm curious to know if others have encountered this, or have thoughts on the issue.
> 
> Thanks in advance,
> 
> Dave
> 
> Dave Kindem
> Grand Haven, MI
> 
 
 



More information about the grass-user mailing list