Skip to content

Commit

Permalink
Go back to not using nodata values on the virtual datasets. Doing so …
Browse files Browse the repository at this point in the history
…only caused problems.
  • Loading branch information
asciipip committed Jun 29, 2012
1 parent a12e641 commit de2906e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions prep_toposm_data
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,11 @@ for y in `seq $BOTTOM $TOP`; do
done; done

# generate overviews and VRT layers
pushd . ; cd $HILLSHADE_DIR
gdalbuildvrt -overwrite all.vrt *.tif
popd
pushd . ; cd $HYPSORELIEF_DIR
gdalbuildvrt -vrtnodata "128 128 128" -overwrite all.vrt *.tif
popd
for d in $HILLSHADE_DIR $HYPSORELIEF_DIR ; do
pushd . ; cd $d
gdalbuildvrt all.vrt *.tif
popd
done

# reproject NLCD data, add overviews, and copy VRT file (with
# the custom color table).
Expand Down

0 comments on commit de2906e

Please sign in to comment.