<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://spatialguru.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Epifanio&#039;s Blog Posts on Spatialguru.com</title>
 <link>http://spatialguru.com/epifanio/feed2</link>
 <description>Epifanios blog view in RSS format</description>
 <language>en</language>
<item>
 <title>Datum transformation in Python</title>
 <link>http://spatialguru.com/epifanio/datum-transformation-python</link>
 <description>&lt;p&gt;I’ll describe here a procedure for the evaluation of the tranforming parameters necessary to effect coordinates change among reference frames materialized on different Datum. &lt;/p&gt;
&lt;p&gt;
In order to have the changing of Datum it is used a 
geometric transformation of correspond (conforme) type through the resolution of a last squares system based on a homologous points series, in order toobtain the direct changing from plane coordinates in one of the two Datum 
to the corresponding in the other Datum.
&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://spatialguru.com/epifanio/datum-transformation-python&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://spatialguru.com/epifanio/datum-transformation-python#comments</comments>
 <pubDate>Sat, 14 Feb 2009 05:53:46 -0900</pubDate>
 <dc:creator>epifanio</dc:creator>
 <guid isPermaLink="false">49 at http://spatialguru.com</guid>
</item>
<item>
 <title>Epsg code in python</title>
 <link>http://spatialguru.com/epifanio/epsg-code-python</link>
 <description>&lt;p&gt;
Python script to store epsg code, params and title in a dictionary and a simple search tool. 
&lt;/p&gt;
&lt;p&gt;
It&#039;s just a try ... &lt;a href=&quot;http://www.geofemengineering.it/data/episg.py&quot;&gt;episg.py&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
How to run in python :
&lt;/p&gt;

&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;geshifilter-text&quot;&gt;    &amp;gt;&amp;gt;from episg import *
&amp;nbsp;
    &amp;gt;&amp;gt;test()  # print out some examples
&amp;nbsp;
	#  rep3(&#039;path to epsg&#039;,&#039;order&#039;,str(&#039;order&#039;),&#039;a&#039;)
	#  order (code,param,title)
	# &#039;c&#039; epsg code 
	# &#039;t&#039; title
	# &#039;p&#039; parameters
	# &#039;a&#039; all
	# input : epsg code
	# output param, code, title (all)
&amp;nbsp;
	&amp;gt;&amp;gt;&amp;gt;output = rep3(&#039;/Users/sasha/Desktop/epsg&#039;,&#039;code&#039;,str(&#039;4326&#039;),&#039;a&#039;)
	&amp;gt;&amp;gt;&amp;gt;print output
&amp;nbsp;
[&#039;proj=longlat&#039;, &#039;ellps=WGS84&#039;, &#039;datum=WGS84&#039;, &#039;no_defs&#039;] 4326 WGS 84&lt;/pre&gt;&lt;/div&gt;

How to run in bash :

&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;geshifilter-text&quot;&gt;    $python episg.py /Users/sasha/Desktop/epsg code 3004 t
    $Monte Mario - Italy zone 2&lt;/pre&gt;&lt;/div&gt;

The epsg file comes from the proj4-source code.

&lt;p&gt;&lt;a href=&quot;http://spatialguru.com/epifanio/epsg-code-python&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://spatialguru.com/epifanio/epsg-code-python#comments</comments>
 <pubDate>Mon, 09 Feb 2009 15:50:08 -0900</pubDate>
 <dc:creator>epifanio</dc:creator>
 <guid isPermaLink="false">45 at http://spatialguru.com</guid>
</item>
</channel>
</rss>
