[GRASS-user] Loosing color table when reprojecting raster file

Hi folks,

I was preparing a some maps for a presentation and ran into a snag. I am trying to reproject raster maps from a Lat/Long to Irish national grid. I've done this before. This time I found that I had no color. I am using William Kyngesburye's GRASS 6.4.1-5. I also tried Michael Bartons GRASS 7 SVN. There are tiles already in the Project location that I reprojected before. They still have their color. It's just that these latest attempts seemed be be stripped of their color and I can just use r.color to put it back. That doesn't seem to work either.

Any ideas as to what the problem might be?

Kurt D. Springs

On Mon, Feb 13, 2012 at 3:42 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi folks,

I was preparing a some maps for a presentation and ran into a snag. I am trying to reproject raster maps from a Lat/Long to Irish national grid. I've done this before. This time I found that I had no color. I am using William Kyngesburye's GRASS 6.4.1-5. I also tried Michael Bartons GRASS 7 SVN. There are tiles already in the Project location that I reprojected before. They still have their color. It's just that these latest attempts seemed be be stripped of their color and I can just use r.color to put it back. That doesn't seem to work either.

Please also report if the map is FP or categorical and which resampling
method you used for r.proj.

Markus

The map is a digital elevation model. Interpolation is set to nearest.

On Feb 13, 2012, at 3:46 AM, Markus Neteler wrote:

On Mon, Feb 13, 2012 at 3:42 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi folks,

I was preparing a some maps for a presentation and ran into a snag. I am trying to reproject raster maps from a Lat/Long to Irish national grid. I've done this before. This time I found that I had no color. I am using William Kyngesburye's GRASS 6.4.1-5. I also tried Michael Bartons GRASS 7 SVN. There are tiles already in the Project location that I reprojected before. They still have their color. It's just that these latest attempts seemed be be stripped of their color and I can just use r.color to put it back. That doesn't seem to work either.

Please also report if the map is FP or categorical and which resampling
method you used for r.proj.

Markus

On Mon, Feb 13, 2012 at 3:55 PM, Kurt Springs <ferret_bard@mac.com> wrote:

The map is a digital elevation model. Interpolation is set to nearest.

For a DEM I would avoid nearest to obtain a better (smooth) result.

Markus

I tried shifting the interpolation method. Nothing worked. When I try to change the color rules, in 6.4.1 it runs the change, but doesn't add any color. When I try in 7.0 svn, it grays the apply and okay button.

Kurt
On Feb 13, 2012, at 10:58 AM, Markus Neteler wrote:

On Mon, Feb 13, 2012 at 3:55 PM, Kurt Springs <ferret_bard@mac.com> wrote:

The map is a digital elevation model. Interpolation is set to nearest.

For a DEM I would avoid nearest to obtain a better (smooth) result.

Markus