Epsg code in python
Python script to store epsg code, params and title in a dictionary and a simple search tool.
It's just a try ... episg.py
How to run in python :
>>from episg import *
>>test() # print out some examples
# rep3('path to epsg','order',str('order'),'a')
# order (code,param,title)
# 'c' epsg code
# 't' title
# 'p' parameters
# 'a' all
# input : epsg code
# output param, code, title (all)
>>>output = rep3('/Users/sasha/Desktop/epsg','code',str('4326'),'a')
>>>print output
['proj=longlat', 'ellps=WGS84', 'datum=WGS84', 'no_defs'] 4326 WGS 84 $python episg.py /Users/sasha/Desktop/epsg code 3004 t
$Monte Mario - Italy zone 2

Post new comment