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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev