[GRASS-dev] way to create PROJ_INFO and PROJ_UNITS
Hamish
hamish_b at yahoo.com
Wed Feb 27 15:02:19 EST 2008
If GRASS is installed you can try a small batch script:
echo "g.proj -w > PROJ_INFO.WKT" > /tmp/get_grass_proj_info.sh
MAPSET="~/grassdata/spearfish60/user1/"
GRASS_BATCH_JOB=/tmp/get_grass_proj_info.sh
export GRASS_BATCH_JOB
grass63 "$MAPSET"
unset GRASS_BATCH_JOB
cat PROJ_INFO.WKT
As mentioned earlier in the thread 'g.proj -c epsg=' will create a new
location from an epsg code. But WKT from EPSG doesn't need GRASS.
Hamish
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the grass-dev
mailing list