[GRASS-user] r.in.onearth
Hamish
hamish_nospam at yahoo.com
Thu Aug 31 05:11:16 EDT 2006
Sören Gebbert wrote:
>
> the XML error message from the NASA server says the image you want
> to download is too big -> more than 4096 cols. You need to change your
> region resolution or you have to download the image in tiles smaller
> than 4096 cols or rows.
>
> The NASA server had send the XML error message instead of an image, so
> r.in.gdal was not able to import.
+++
eval `g.region -g | grep '^rows='`
eval `g.region -g | grep '^cols='`
if [ "$rows" -ge 4096 ] || [ "$cols" -ge 4096 ] ; then
echo "ERROR: Region too large for server. Must be smaller than 4096x4096." 1>&2
exit 1
fi
+++
Hamish
More information about the grass-user
mailing list