#3059: r.external.out does not write CRS information
----------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.5
Component: Default | Version: 7.0.4
Keywords: r.external.out | CPU: Unspecified
Platform: Unspecified |
----------------------------+-------------------------
At least for GeoTiffs, which is the format I used, files created with
r.external.out do not contain any CRS information.
The CRS is a central piece of information for a spatial data set and
should not get lost during export.
In order to reproduce try:
{{{
g.proj -g
r.external.out directory=tmp extension=.tif format=GTiff
options="COMPRESS=LZW,PREDICTOR=2"
r.mapcalc expression="test=1"
gdalinfo $GISDBASE/$LOCATION/$MAPSET/tmp/test.tif | grep -A 5 "Coordinate
System"
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3059>
GRASS GIS <https://grass.osgeo.org>