[GRASS-dev] Dead code

Pietro peter.zamb at gmail.com
Thu Oct 30 03:38:53 PDT 2014

On Thu, Oct 30, 2014 at 10:49 AM, Markus Neteler wrote:
> On Thu, Oct 30, 2014 at 8:40 AM, Glynn Clements wrote:
>> Are the replacements sufficient? g.setproj had a lot of logic for
>> dealing with the relationships between various parameters. Has that
>> been incorporated into the GUI? Is it unnecessary? Or does everyone
>> just use EPSG codes now?
> No, EPSG codes do not represent all. Especially since we still need to
> update the CSV files included in lib/proj/ which are pretty dated now.
> See README.txt therein for a better approach.

If the connection is available why not retrieve these information
directly from the web?
something like:

In [1]: import urllib2

In [2]: def get_epsg_wkt(epsg):
   ...:     response =
   ...:     return response.read()

In [3]: print(get_epsg_wkt(3003))
PROJCS["Monte Mario / Italy zone 1",GEOGCS["Monte

More information about the grass-dev mailing list