<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-364033301580477460</id><updated>2012-02-16T16:10:00.010+01:00</updated><category term='geodata'/><category term='Python'/><category term='QGIS'/><category term='PostGIS'/><category term='software'/><category term='OSM'/><category term='Postgresql'/><category term='OpenERP'/><category term='Geoserver'/><title type='text'>Spatial Mounty</title><subtitle type='html'>Location with Information</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-6830358360271537502</id><published>2011-12-09T08:45:00.001+01:00</published><updated>2011-12-09T09:11:28.856+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PostGIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Postgresql'/><title type='text'>Postgresql PostGIS How to set your search_path</title><content type='html'>&lt;br /&gt;&lt;b&gt;The problem:&lt;/b&gt;&lt;br /&gt;You want to have all your spatial data in a schema other than "public" in your Postgresql PostGIS database and don't want to have to always specify the schema.tablename when creating new tables.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The solution:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Close the connection to the database you want to change&lt;/li&gt;&lt;li&gt;run the sql query &amp;nbsp; &amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ALTER DATABASE DatabaseName SET search_path = '$user','geodata', 'public'; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;in this example the schema 'geodata' is the primary schema where I want to store all my spatial tables. &amp;nbsp;The order in which Postgresql "searches" where to create the table is then defined in the same order as you have listed in your SET search_path statement.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;If you just want to change the search_path for a current session you can use:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;SET search_path = '$user','geodata', 'public';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;now you can merrily go and create a new table and it will automatically be created in your 'geodata' schema.&lt;br /&gt;&lt;br /&gt;if you already have the tables in the 'public' schema and want to move them to your new shiny 'geodata' schema it is really easy to do:&lt;br /&gt;&lt;br /&gt;&lt;pre class="SYNOPSIS" style="margin-left: 4ex;"&gt;&lt;span class="Apple-style-span" style="background-color: #cccccc;"&gt;ALTER TABLE &lt;tt class="REPLACEABLE"&gt;&lt;i&gt;name&lt;/i&gt;&lt;/tt&gt; SET SCHEMA &lt;tt class="REPLACEABLE"&gt;&lt;i&gt;new_schema&lt;/i&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;now if you do this don't forge that your geometry_columns won't automatically reflect your schema changes and must be updated by using&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #2e2e2e; font-family: 'Lucida Grande', Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 14px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="programlisting" style="background-attachment: initial; background-clip: initial; background-color: #f8f8f9; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(247, 147, 30); border-bottom-left-radius: 2px 2px; border-bottom-right-radius: 2px 2px; border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(247, 147, 30); border-left-style: solid; border-left-width: 0px; border-right-color: rgb(247, 147, 30); border-right-style: solid; border-right-width: 0px; border-top-color: rgb(247, 147, 30); border-top-left-radius: 2px 2px; border-top-right-radius: 2px 2px; border-top-style: solid; border-top-width: 2px; font-family: 'Courier New', Courier, Monaco, monospace; font-size: 11px; line-height: 16px; margin-bottom: 10px; margin-top: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;"&gt;SELECT Populate_Geometry_Columns('geodata.myspatial_table'::regclass);&lt;/pre&gt;&lt;br /&gt;cheers&lt;br /&gt;Michael&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-6830358360271537502?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/6830358360271537502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/12/postgresql-postgis-set-your-searchpath.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/6830358360271537502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/6830358360271537502'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/12/postgresql-postgis-set-your-searchpath.html' title='Postgresql PostGIS How to set your search_path'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-238075996560561681</id><published>2011-11-23T12:42:00.001+01:00</published><updated>2011-11-23T12:49:26.115+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Geoserver'/><title type='text'>How to upgrade Geoserver 2.1.1 to 2.1.2</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 id="From2.1.1to2.1.2Nov17th" style="font-family: Arial, Verdana, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 14px; font-weight: bold; letter-spacing: -0.018em; margin-left: -18px; page-break-after: avoid;"&gt;From 2.1.1 to 2.1.2, Ubuntu 10.04 Server, Tomcat6&lt;/h3&gt;Note: all those commands need to be done as root (or alternatively, run sudo before the command)&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Stop Apache tomcat:&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;/etc/init.d/tomcat stop &lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Backup the your directories, this could be different from your own installation: /var/geoserver-data, /opt/tomcat/webapps/geoserver/ &amp;nbsp;&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;tar -cf geoserver-data-nov-17.tar /var/geoserver-data # takes quite long on current geoserver installation (orthofotos, ...)&lt;br /&gt;gzip geoserver-data-nov-17.tar&lt;br /&gt;tar -cf geoserver-app-nov-17.tar /opt/tomcat/webapps/geoserver&lt;br /&gt;gzip geoserver-app-nov-17.tar&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Additionally, backup web.xml file from WEB-INF directory:&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;cp /opt/tomcat/webapps/geoserver/WEB-INF/web.xml web-backup-nov17.xml&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Download latest (in this case: 2.1.2) geoserver version (war archive)&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;wget http://downloads.sourceforge.net/geoserver/geoserver-2.1.2-war.zip&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Unzip it&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;unzip geoserver-2.1.2-war.zip&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Copy it to the tomcat webapps directory&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;cp geoserver.war /opt/tomcat/webapps/geoserver.war&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Delete old geoserver installation&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;rm -rf /opt/tomcat/webapps/geoserver/&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Start Tomcat again&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;/etc/init.d/tomcat start&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Wait... (this can take a while, monitor CPU usage via htop or other tools)&lt;/li&gt;&lt;li&gt;Check /opt/tomcat/webapps/ directory, you should see a subdirectory geoserver very soon&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;ls -la /opt/tomcat/webapps/&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Verify that new geoserver version is running by trying to access&amp;nbsp;&lt;a class="ext-link" href="http://gs1.gomogi.com:8080/geoserver/" style="border-bottom-color: rgb(187, 187, 187); border-bottom-style: dotted; border-bottom-width: 1px; color: #bb0000; text-decoration: none;"&gt;&lt;span class="icon" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://trac.gomogi.com/gomogi/chrome/common/extlink.gif); background-origin: initial; background-position: 50% 50%; background-repeat: no-repeat no-repeat; padding-left: 12px;"&gt;&amp;nbsp;&lt;/span&gt;http://gs1.gomogi.com:8080/geoserver/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;We're not done yet, let's put the old configuration file in place again:&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;cp web-backup-nov17.xml /opt/tomcat/webapps/geoserver/WEB-INF/web.xml&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Restart tomcat once again and all should be good in update land.&lt;pre class="wiki" style="background-attachment: initial; background-clip: initial; background-color: #f7f7f7; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(215, 215, 215); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(215, 215, 215); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(215, 215, 215); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(215, 215, 215); border-top-style: solid; border-top-width: 1px; margin-bottom: 1em; margin-left: 1.75em; margin-right: 1.75em; margin-top: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0.25em;"&gt;/etc/init.d/tomcat restart&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-238075996560561681?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/238075996560561681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/11/how-to-upgrade-geoserver-211-to-212.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/238075996560561681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/238075996560561681'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/11/how-to-upgrade-geoserver-211-to-212.html' title='How to upgrade Geoserver 2.1.1 to 2.1.2'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total><georss:featurename>Lakeside, 9020 Klagenfurt, Austria</georss:featurename><georss:point>46.6152299 14.2637949</georss:point><georss:box>46.613866400000006 14.2613274 46.6165934 14.2662624</georss:box></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-6715502038300426751</id><published>2011-07-10T15:05:00.002+02:00</published><updated>2011-07-10T15:08:04.927+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenERP'/><title type='text'>Why use OpenERP in a small business</title><content type='html'>Well it did take more than 1/2 hour to get &lt;a href="http://www.openerp.com/"&gt;OpenERP &lt;/a&gt;up and running last night.&amp;nbsp; To be precise it took exactly 4,75 hours. I must say that I'm impressed with the modules, features and useability.&amp;nbsp;&amp;nbsp; Now I need at least 1 week to play/customize it and we are off to the races.&lt;br /&gt;&lt;br /&gt;Why did I install an &lt;a href="http://en.wikipedia.org/wiki/Enterprise_resource_planning"&gt;Enterprise Resource Planning (ERP)&lt;/a&gt; web application for my small business? Well my company &lt;a href="http://www.gomogi.com/"&gt;GOMOGI&lt;/a&gt;&amp;nbsp; like all other small businesses around the world need to do all the same stuff like big companies on a smaller scale like:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;manage and engage customers (Customer Relationship Management (&lt;a href="http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CD0QFjAA&amp;amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FCustomer_relationship_management&amp;amp;rct=j&amp;amp;q=crm&amp;amp;ei=YaAZTrPRFs2AhQe5x6DMBQ&amp;amp;usg=AFQjCNFsgG4bc5pDXSqZdZPsrWYnloKEcg&amp;amp;sig2=8AsasaJHxht5H6oaJF77xA&amp;amp;cad=rja"&gt;CRM&lt;/a&gt;))&lt;/li&gt;&lt;li&gt;marketing our products &lt;/li&gt;&lt;li&gt;write bills/invoices&lt;/li&gt;&lt;li&gt;manage projects with &lt;a href="http://www.scrumalliance.org/"&gt;AGILE&lt;/a&gt;&amp;nbsp; &lt;a href="http://www.scrumalliance.org/"&gt;SCRUM&lt;/a&gt;&amp;nbsp; methodology&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.davidco.com/"&gt;Getting Things Done&lt;/a&gt; way to organize my busy multitasking days, weeks, months and years&lt;/li&gt;&lt;/ul&gt;This keeps all our STUFF in one place and accessible online at anytime no matter where I am (onsite with a customer, traveling, anywhere). No backing up issues since our hosting provider takes care of that for us. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.openerp.com/"&gt;OpenERP &lt;/a&gt;with its modular design allowed me to install only the modules I need now to keep me running with&amp;nbsp; the ability to expand and add new features easily when I need them as we grow as a company. &lt;br /&gt;&lt;br /&gt;I also have a biased view since I love technology and &lt;a href="http://www.openerp.com/"&gt;OpenERP&amp;nbsp;&lt;/a&gt; in the background uses my favourite things &lt;a href="http://www.python.org/"&gt;Python &lt;/a&gt;as its development language and &lt;a href="http://www.postgresql.org/"&gt;Postgresql &lt;/a&gt;as its database, both things I use for my spatial work load.&amp;nbsp; &lt;a href="http://www.posgis.org/"&gt;PostGIS &lt;/a&gt;the spatial extension of &lt;a href="http://www.postgresql.org/"&gt;Postgresql &lt;/a&gt;and &lt;a href="http://www.python.org/"&gt;Python &lt;/a&gt;the scripting language of &lt;a href="http://www.esri.com/"&gt;ESRI &lt;/a&gt;products.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-6715502038300426751?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/6715502038300426751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/07/install-openerp-on-ubuntu-1004.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/6715502038300426751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/6715502038300426751'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/07/install-openerp-on-ubuntu-1004.html' title='Why use OpenERP in a small business'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-5797296175821844665</id><published>2011-06-08T12:33:00.001+02:00</published><updated>2011-06-08T12:46:24.273+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>What Python version do my geospatial apps/libraries use?</title><content type='html'>Setting up a new PC and I was interested to know what version of Python is being installed and used by various GIS applications and libraries.&lt;br /&gt;&lt;br /&gt;The problem many new users have is finding what version to install with what software.&amp;nbsp; So here is the run down of what is using what Python Version. &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://home.gdal.org/fwtools/FWTools247.exe"&gt;FWTools 2.4.7 (Windows 32bit)&lt;/a&gt;&amp;nbsp; uses Python 2.3.4&lt;/li&gt;&lt;li&gt;ESRI ArcGIS 10 uses Python 2.6.5&amp;nbsp; on installation&lt;/li&gt;&lt;li&gt;ESRI ArcGIS 9.3 uses Python 2.5.1&lt;/li&gt;&lt;li&gt;&lt;a href="http://trac.osgeo.org/osgeo4w/"&gt;OSGeo4w&amp;nbsp; &lt;/a&gt;uses Python 2.5.2&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/appengine/docs/python/overview.html"&gt;Google AppEngine&lt;/a&gt; as of 08.06.2011 uses Python 2.5.2&amp;nbsp;&amp;nbsp; Roadmap has 2.7 in sight&lt;/li&gt;&lt;li&gt;Ubuntu Server 10.04 has Python 2.6.5&amp;nbsp; as a standard instal &lt;/li&gt;&lt;li&gt;&lt;a href="https://www.djangoproject.com/"&gt;Django &lt;/a&gt;supports any Python version from 2.4 to 2.7&lt;/li&gt;&lt;/ul&gt;&amp;nbsp;A quick note&lt;br /&gt;&lt;a href="http://trac.osgeo.org/gdal/wiki/GdalOgrInPython"&gt;GdalOgrInPython GDAL this link for details&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dependencies&lt;br /&gt;&lt;div class="section" id="dependencies"&gt;&lt;h1 style="font-weight: normal;"&gt;&lt;/h1&gt;&lt;ul class="simple"&gt;&lt;li&gt;Python 2.X (and 3.X since GDAL 1.7.0). Python 2 versions known to work range from 2.3 to 2.7.&lt;/li&gt;&lt;li&gt;libgdal (1.5.0 or greater) and header files (gdal-devel)&lt;/li&gt;&lt;li&gt;numpy (1.0.0 or greater) and header files (numpy-devel) (not  explicitly required, but many examples and utilities will not work without it).  Note that at the time of writing, there's not yet any Python 3 port of  NumPy.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;Michael&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-5797296175821844665?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/5797296175821844665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/06/what-python-version-do-my-geospatial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/5797296175821844665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/5797296175821844665'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/06/what-python-version-do-my-geospatial.html' title='What Python version do my geospatial apps/libraries use?'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-431358461652204493</id><published>2011-03-21T21:51:00.004+01:00</published><updated>2011-03-21T21:57:20.844+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSM'/><title type='text'>Quick Start Guide to OpenStreetMap (OSM)</title><content type='html'>As I find myself teaching more and more people to get started with the OpenStreetMap (OSM)&amp;nbsp; project the first "Newbie" steps are just still to complicated for non - tech users who want to add a simple house or Point of Interest based off Bing Images aka not using GPS. &lt;br /&gt;&lt;br /&gt;It is really quite straight forward. Lets take for example I want to add a parking lot as&amp;nbsp; POINT so the parking lot symbol will show when rendered with the standard mapnik renderer aka the main map you see when first starting to us OSM maps.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Register&lt;/b&gt; for a &lt;b style="color: blue;"&gt;&lt;a href="http://wiki.openstreetmap.org/w/index.php?title=Special:UserLogin&amp;amp;returnto=Main_Page"&gt;free account here &lt;/a&gt;&lt;/b&gt;you need this to do editing.&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;Zoom to a small area&lt;/span&gt;&lt;/b&gt; where you want to add some data using the map interface. If you can see your entire city that is to much and is not allowed, try zooming in on a smaller area it will be faster too.&lt;/li&gt;&lt;li&gt;&lt;b style="color: blue;"&gt;Select the online editor&lt;/b&gt; by just holding your mouse over the Edit Tab and select the online editor for this example I'm using Potlatch2 (You need &lt;a href="http://get.adobe.com/flashplayer/"&gt;FLASH &lt;/a&gt;installed) .&lt;br /&gt;&lt;a href="https://lh4.googleusercontent.com/-Mqf6QakQLQA/TYezj6tNDQI/AAAAAAAAACU/BX9x_jBXWNU/s1600/StartWithOSM-01.jpg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="107" src="https://lh4.googleusercontent.com/-Mqf6QakQLQA/TYezj6tNDQI/AAAAAAAAACU/BX9x_jBXWNU/s400/StartWithOSM-01.jpg" width="400" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Now &lt;b style="color: blue;"&gt;double click&lt;/b&gt; one time on the sport where you want the parking symbol to show up. Then select the type of object using the drop down list and select "Car Parking".&lt;a href="https://lh6.googleusercontent.com/-B2GJGi1vEio/TYe4QyqTuvI/AAAAAAAAACY/FtmWE3E8IHk/s1600/StartWithOSM-02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="165" src="https://lh6.googleusercontent.com/-B2GJGi1vEio/TYe4QyqTuvI/AAAAAAAAACY/FtmWE3E8IHk/s320/StartWithOSM-02.jpg" width="320" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Add a Name like&amp;nbsp; "guest parking" if you don't know it you can ignore it.&lt;/li&gt;&lt;li&gt;Add the number of spaces if you know how many there are if not just ignore it.&lt;/li&gt;&lt;li&gt;Click Save in the upper right hand corner and add a simple comment like "added parking spot"&lt;/li&gt;&lt;li&gt;DONE&lt;/li&gt;&lt;/ol&gt;I managed to keep it under 10 Steps.&amp;nbsp; I hope this helps those of you just starting out and wishing for quick bang introduction to OSM.&lt;br /&gt;&lt;br /&gt;Please feel free to let me know if this works out for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-431358461652204493?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/431358461652204493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/03/quick-start-guide-for-osm-openstreetmap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/431358461652204493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/431358461652204493'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/03/quick-start-guide-for-osm-openstreetmap.html' title='Quick Start Guide to OpenStreetMap (OSM)'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-Mqf6QakQLQA/TYezj6tNDQI/AAAAAAAAACU/BX9x_jBXWNU/s72-c/StartWithOSM-01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-4745153175075869172</id><published>2011-01-26T11:14:00.003+01:00</published><updated>2011-01-31T09:41:26.934+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='geodata'/><title type='text'>Free Geodata</title><content type='html'>Whenever you have a spatial project it usually begins with some data.&amp;nbsp; Now what if you don't have any data?&amp;nbsp; Well here come some sources to your rescue.&lt;a href="http://ergodd.zoo.ox.ac.uk/eden/index.php?p=57"&gt; EDEN Data Archive&lt;/a&gt;&amp;nbsp; has a huge list of free data sources&lt;br /&gt;&lt;br /&gt;OpenStreetMap&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://download.geofabrik.de/osm/"&gt;GeoFabrik&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://downloads.cloudmade.com/"&gt;Cloudmade&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;International &lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color: #ede8dd; font-family: Arial; font-size: small;"&gt;&lt;a href="http://igskmncnwb015.cr.usgs.gov/adds/"&gt;ADDS - Africa Data Dissemination Service&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://www.naturalearthdata.com/"&gt;Natural Earth&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.gisdatadepot.com/catalog/index.html"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Data Depot's Country List&lt;/span&gt;&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://www.geobase.ca/"&gt;GeoBase: Canadian site for sources of free GIS data&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://geogratis.cgdi.gc.ca/clf/en"&gt;GeoGratis: Canada's National Digital Atlas&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="https://www.ga.gov.au/products/servlet/controller?event=DEFINE_PRODUCTS"&gt;Geoscience Australia&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://www.ciesin.org/datasets/gpw/globldem.doc.html"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Gridded Population of the World&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://www.gogeo.ac.uk/"&gt;GoGeo GIS Database (UK)&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://wagda.lib.washington.edu/data/geography/world/russia/license.html"&gt;Russian Federation Digital Data&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: #ede8dd; font-family: Arial; font-size: small;"&gt;&lt;a href="http://www.daac.ornl.gov/S2K/safari.html"&gt;Southern Africa Regional Science Initiative (SAFARI)&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="color: black;"&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;Imagery&lt;/span&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://aria.arizona.edu/"&gt;Arizona Regional Image Archive&lt;/a&gt; (AVHRR, AVIRIS, MSS, TM, SPOT for six southwestern states including California)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://geodiscover.cgdi.ca/"&gt;Canadian Geospatial Data Infrastructure&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://earthexplorer.usgs.gov/"&gt;Earth Explorer&lt;/a&gt; (Landsat, AVHRR and aerial photos)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://edcimswww.cr.usgs.gov/pub/imswelcome/"&gt;Earth Observing System Data Gateway&lt;/a&gt; (Atmosphere, land, ocean, solar and cryosphere imagery)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://www.auslig.gov.au/download/#satellite"&gt;Geoscience Australia&lt;/a&gt; (Free Landsat 7, MODIS &amp;amp; AVHRR data)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://glcf.umiacs.umd.edu/data/"&gt;Global Land Cover Facility&lt;/a&gt; (ASTER, Landsat, MODIS, AVHRR)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://glovis.usgs.gov/"&gt;Global Visualization Viewer&lt;/a&gt; (Free ASTER, MODIS and Landsat Imagery)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://www.landsat.org/"&gt;Landsat.org &lt;/a&gt;(Huge collection of Landsat imagery; not all free)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="https://zulu.ssc.nasa.gov/mrsid/"&gt;&lt;span style="font-size: small;"&gt;NASA Image Server &lt;/span&gt;&lt;/a&gt;(Landsat 4,5,7)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://www.terraserver.microsoft.com/"&gt;Terraserver&lt;/a&gt; (Quickie air photo images from Microsoft)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;&lt;a href="http://keck.library.unr.edu/data/landsat/pathrow.html"&gt;University of Nevada L&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://keck.library.unr.edu/data/landsat/pathrow.html"&gt;andsat TM Archive&lt;/a&gt; (State of Nevada)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://edcwww.cr.usgs.gov/products/satellite.html"&gt;USGS EROS Data Center&lt;/a&gt; (Many sensors with links to data access)&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Land Cover Data&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;The U.S. Environmental Protection Agency's &lt;a href="http://www.epa.gov/owowwtr1/watershed/landcover/lulcusa.html"&gt;Land Cover Data Directory&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://www-gvm.jrc.it/glc2000/"&gt;Global Land Cover 2000&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://glcf.umiacs.umd.edu/data/"&gt;Global Land Cover Facility&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://gapanalysis.nbii.gov/"&gt;GAP analysis program&lt;/a&gt; (land cover data by U.S. State)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://edc.usgs.gov/geodata/"&gt;USGS Geographic Data Download &lt;/a&gt;(older LULC data)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;a href="http://agdc.usgs.gov/data/usgs/erosafo/"&gt;National Land Cover Dataset from USGS&lt;/a&gt; (seamless and the most current for the US)&lt;/span&gt;&lt;/li&gt;&lt;ol&gt;&lt;li type="square"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;NLCD Class Definitions in &lt;a href="http://landcover.usgs.gov/classes.php"&gt;html &lt;/a&gt;or &lt;a href="http://library.stanford.edu/depts/gis/LC_codes.DBF"&gt;EXCEL .dbf&lt;/a&gt; format&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #ede8dd; font-family: Arial; font-size: small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-4745153175075869172?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/4745153175075869172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/01/free-geodata.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/4745153175075869172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/4745153175075869172'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/01/free-geodata.html' title='Free Geodata'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-714766560882977366</id><published>2011-01-07T11:02:00.014+01:00</published><updated>2011-07-10T14:45:01.199+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>Python and related spatial resources</title><content type='html'>&lt;span lang="EN-US"&gt;To start the first post of the new year here are some thoughts and resources to anyone just starting out in GIS who has NO computer science training at all and wants quick access to great python spatial resources in print and on the web. James Fee over at his &lt;/span&gt;&lt;a href="http://www.spatiallyadjusted.com/2011/01/03/2011-the-year-python-takes-over-gis/"&gt;&lt;span lang="EN-US"&gt;blog post &lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US"&gt;has also some thoughts on python for 2011.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang="EN-US"&gt;Why &lt;/span&gt;&lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US"&gt;? well &lt;/span&gt;&lt;a href="http://www.esri.com/"&gt;&lt;span lang="EN-US"&gt;ESRI &lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US"&gt;the "world number one" in GIS uses it as its scripting language of choice and VBA will eventually die. Plus the open source GIS scene is also in love with python and of course I just like it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US"&gt; books I invested some money into when I started out.&amp;nbsp; The rest of the python resources are of course all coming from web sources, blog posts and from reading a TON of documentation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First off here are two good free books to get you started: &lt;br /&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://www.swaroopch.com/notes/Python"&gt;Byte of Python&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://greenteapress.com/"&gt;&lt;span lang="EN-US"&gt;How to think like a computer scientist &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span lang="EN-US"&gt;These ones cost some money if you still read hard copies ( I do )&lt;/span&gt;&lt;br /&gt;&lt;span lang="EN-US"&gt;&lt;a href="http://www.amazon.com/Head-First-Programming-Learners-Language/dp/0596802374?ie=UTF8&amp;amp;tag=spatia-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Head First Programming: A Learner's Guide to Programming Using the Python Language" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=0596802374&amp;amp;tag=spatia-20" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=spatia-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0596802374" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;&lt;a href="http://www.amazon.com/Python-Geospatial-Development-Erik-Westra/dp/1849511543?ie=UTF8&amp;amp;tag=spatia-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Python Geospatial Development" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=1849511543&amp;amp;tag=spatia-20" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=spatia-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=1849511543" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;&lt;a href="http://www.amazon.com/Learning-Python-Powerful-Object-Oriented-Programming/dp/0596158068?ie=UTF8&amp;amp;tag=spatia-20&amp;amp;link_code=bil&amp;amp;camp=213689&amp;amp;creative=392969" imageanchor="1" target="_blank"&gt;&lt;img alt="Learning Python: Powerful Object-Oriented Programming" src="http://ws.amazon.com/widgets/q?MarketPlace=US&amp;amp;ServiceVersion=20070822&amp;amp;ID=AsinImage&amp;amp;WS=1&amp;amp;Format=_SL160_&amp;amp;ASIN=0596158068&amp;amp;tag=spatia-20" /&gt;&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=spatia-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0596158068" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=spatia-20&amp;amp;l=bil&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0521725968" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;img border="0" height="1" src="file:///C:/Users/mdiener/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif" style="border-style: none; border-width: medium; margin: 0px; padding: 0px;" width="1" /&gt; &lt;img border="0" height="1" src="file:///C:/Users/mdiener/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif" style="border-style: none; border-width: medium; margin: 0px; padding: 0px;" width="1" /&gt;&lt;img border="0" height="1" src="file:///C:/Users/mdiener/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif" style="border-style: none; border-width: medium; margin: 0px; padding: 0px;" width="1" /&gt;&lt;br /&gt;&lt;span lang="DE"&gt;&lt;a href="http://greenteapress.com/"&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul type="disc"&gt;&lt;/ul&gt;&lt;span lang="EN-US"&gt;Second on the list are bloggers who use &lt;/span&gt;&lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://sgillies.net/blog"&gt;Sean Gillies&lt;/a&gt;&amp;nbsp; New York, US&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://lucumr.pocoo.org/"&gt;Armin Ronacher&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graz, Austria&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://www.paolocorti.net/"&gt;Paolo Corti&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://geospatialpython.com/"&gt;GeoSpatialPython&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://gispython.org/"&gt;&lt;span lang="EN-US"&gt;GIS and Python Lab&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span lang="DE"&gt; a web blog with reference to GISPYTHONLAB &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span lang="EN-US"&gt;Other spatial &lt;/span&gt;&lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt; &lt;span lang="EN-US"&gt;sources or projects on the web:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;span lang="EN-US"&gt;&lt;a href="http://geodjango.org/"&gt;GeoDjango&amp;nbsp; &lt;/a&gt;a cool fast web framework based on &lt;a href="http://www.djangoproject.com/"&gt;Django&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;span lang="EN-US"&gt;&lt;a href="http://www.mapfish.org/"&gt;Mapfish&amp;nbsp; &lt;/a&gt;a mapping framework using &lt;strike&gt;Pylons&lt;/strike&gt; &lt;a href="http://pylonsproject.org/"&gt;Pyramid&lt;/a&gt;, &lt;a href="http://www.openlayers.org/"&gt;Openlayers&lt;/a&gt;, &lt;a href="http://www.geoext.org/"&gt;Geoext&lt;/a&gt;, &lt;a href="http://www.sencha.com/"&gt;ExtJS&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://trac.gispython.org/lab/wiki"&gt;&lt;span lang="EN-US"&gt;GISPythonLab&amp;nbsp; &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;open source GIS tools for &lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt; programmers &lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://geoscript.org/"&gt;&lt;span lang="EN-US"&gt;Geoscript&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt; &amp;nbsp; adds spatial capabilities to      dynamic scripting languages&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="DE"&gt;&lt;a href="http://mapnik.org/"&gt;&lt;span lang="EN-US"&gt;Mapnik&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span lang="EN-US"&gt; a web mapping library for      making nice maps&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span lang="EN-US"&gt;&lt;a href="http://pysal.org/"&gt;Pysal &lt;/a&gt;v1&amp;nbsp; &lt;/span&gt;cross-platform library of spatial analysis functions written in &lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;a href="http://pypi.python.org/pypi?:action=browse&amp;amp;show=all&amp;amp;c=385&amp;amp;c=391"&gt;Python Package index&lt;/a&gt; listing available GIS packages&lt;/li&gt;&lt;/ul&gt;&lt;span lang="EN-US"&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang="EN-US"&gt;Non Spatial &lt;/span&gt;&lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt; &lt;span lang="EN-US"&gt;web resources and training materials for &lt;/span&gt;&lt;a href="http://www.python.org/"&gt;&lt;span lang="EN-US"&gt;Python&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.lfd.uci.edu/%7Egohlke/pythonlibs/"&gt;Compiled python binaries pythonlibs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Python Pycon Videos &lt;a href="http://python.mirocommunity.org/"&gt;http://python.mirocommunity.org/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://code.google.com/edu/languages/google-python-class/index.html"&gt;Google's Python Class&lt;/a&gt;&lt;a href="http://code.google.com/edu/languages/google-python-class/"&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span lang="EN-US"&gt;F&lt;/span&gt;&lt;span lang="EN-US"&gt;eel free to help me out add to this collection of links and post a comment.&lt;/span&gt;&lt;br /&gt;cheers michael&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-714766560882977366?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/714766560882977366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2011/01/python-and-spatial-into-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/714766560882977366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/714766560882977366'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2011/01/python-and-spatial-into-2011.html' title='Python and related spatial resources'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-5325803517597714186</id><published>2010-12-28T09:44:00.004+01:00</published><updated>2011-10-25T09:07:41.535+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>Open spatial software and others</title><content type='html'>For anyone just starting out in OPEN GIS or spatial technologies in general its hard to find the wright tools/software for the job.  Here is a list of free and some open source, software (not just spatial ones) I use all the time.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Database:  &lt;a href="http://www.postgresql.org/"&gt;Postgresql &lt;/a&gt;  with &lt;a href="http://www.postgis.org/"&gt;PostGIS&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Desktop GIS:  &lt;a href="http://www.qgis.org/"&gt;Quantum GIS&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Web Map Server: &lt;a href="http://www.geoserver.org/"&gt;Geoserver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Web Map Javascript Library:  &lt;a href="http://www.openlayers.org/"&gt;Openlayers&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Web Rich Internet Application (RIA):  &lt;a href="http://www.sencha.com/"&gt;ExtJS&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Web Map RIA:  &lt;a href="http://www.geoext.org/"&gt;Geoext&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Web Map environment:  &lt;a href="http://www.opengeo.org/"&gt;Opengeo&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.google.com/earth/index.html"&gt;Google Earth&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Spatial Libraries:  &lt;a href="http://fwtools.maptools.org/"&gt;FWTools&lt;/a&gt;, &lt;a href="http://www.geotools.org/"&gt;Geotools&lt;/a&gt;&lt;/li&gt;&lt;li&gt;OpenStreetMap Import to Postgresql: &lt;a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql"&gt;osm2pgsql&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Windows Mobile 5.x, 6.x OSM data collection:  &lt;a href="http://wiki.openstreetmap.org/wiki/OSMtracker"&gt;osmtracker&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Scripting Languages:  &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt;, Javascript&lt;/li&gt;&lt;li&gt;Desktop Graphics:  &lt;a href="http://www.inkscape.org/"&gt;Inkscape &lt;/a&gt;(vector),  &lt;a href="http://www.gimp.org/"&gt;GIMP &lt;/a&gt;(raster)&lt;/li&gt;&lt;li&gt;Mind Mapping:  &lt;a href="http://freemind.sourceforge.net/wiki/index.php/Main_Page"&gt;FreeMind&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Screen capure:  &lt;a href="http://getgreenshot.org/"&gt;Greenshot &lt;/a&gt;(windows only)&lt;/li&gt;&lt;li&gt;Text editor:  &lt;a href="http://notepad-plus-plus.org/"&gt;Notepad++&lt;/a&gt; (windows only)&lt;/li&gt;&lt;li&gt;Versioning subversion: Tortoise SVN (windows)&lt;/li&gt;&lt;li&gt;Virtual Machines:  &lt;a href="http://www.vmware.com/products/player/"&gt;VMWare Player&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Operating Systems:  Windows 7 and &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu &lt;/a&gt;10.10&lt;/li&gt;&lt;li&gt;Windows Explorer: &lt;a href="http://www.blogger.com/www.ghisler.com"&gt;Total Commander&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://keepass.info/"&gt;Organizing:  Keepass&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Zipping:  &lt;a href="http://www.izarc.org/"&gt;Izarc&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Integrated Development Environment (IDE):  &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt;, &lt;a href="http://www.aptana.com/"&gt;Aptana&lt;/a&gt;, &lt;a href="http://www.jetbrains.com/pycharm/"&gt;PyCharm&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Web Project tracking:  &lt;a href="http://trac.edgewall.org/"&gt;trac&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Business Software &lt;a href="http://www.openerp.com/"&gt;OpenERP &lt;/a&gt;for customer relation managment, and project management&lt;/li&gt;&lt;/ul&gt;All of these are either free for personal use or open source so you can download them now and get started. &lt;br /&gt;&lt;br /&gt;cheers for now&lt;br /&gt;michael&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-5325803517597714186?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/5325803517597714186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/open-spatial-software-and-others.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/5325803517597714186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/5325803517597714186'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/open-spatial-software-and-others.html' title='Open spatial software and others'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-3550682596887892592</id><published>2010-12-23T15:24:00.000+01:00</published><updated>2010-12-23T22:54:27.737+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Postgresql'/><title type='text'>Postgresql pgagent Windows 7 32bit trouble starting service</title><content type='html'>Another adventure with datbase stuff.&amp;nbsp; I have a new machine and need to back up my Postgresql/PostGIS databases and want to use PGAGENT.&amp;nbsp; I have used my trusty .bat files and windows scheduler up until now and just want to try something new.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;First I read the great post from postgresonline journal &lt;a href="http://www.postgresonline.com/journal/archives/19-Setting-up-PgAgent-and-Doing-Scheduled-Backups.html"&gt;Setting up PgAgent and Doing Scheduled Backups.&lt;/a&gt;&amp;nbsp; Its old 2008 but no matter. So I followed all the steps and then damm..&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Trouble getting pgagent to start.&amp;nbsp; On my German machine this nice error shows when I try to start the service/dienst " Dienst "PostgreSQL Scheduling Agent - pgagent" wurde auf "Lokaler Computer" gestartet und dann angehalten. Einige Dienste werden automatisch angehalten, wenn sie nicht von anderen Diensten oder Programmen verwendet werden."&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;This basically says screw you because of one or more of the following causes:&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;ol&gt;&lt;li&gt;wrong username&lt;/li&gt;&lt;li&gt;wrong password&lt;/li&gt;&lt;li&gt;user has no access privaleges to the db&lt;/li&gt;&lt;li&gt;user has no wrights to execute stuf&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;So I check the pgpass.conf file located %APPDATA%\postgresql\pgpass.conf&amp;nbsp;&amp;nbsp; You can get the location by typing&amp;nbsp;&amp;nbsp; echo %appdata% inthe command prompt window&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Solution is that the user ./postgres&amp;nbsp; didn't have the correct permissions so I just did a quick permissions change and super duper its working!&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Well its now working!&lt;/li&gt;&lt;/ol&gt;I'll try to post all the steps next time in the installation to compliment the good work done Posted by &lt;a href="http://www.postgresonline.com/"&gt;Leo Hsu and Regina Obe&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-3550682596887892592?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/3550682596887892592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/postgresql-pgagent-windows-7-32bit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/3550682596887892592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/3550682596887892592'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/postgresql-pgagent-windows-7-32bit.html' title='Postgresql pgagent Windows 7 32bit trouble starting service'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-97062088285071821</id><published>2010-12-20T09:13:00.000+01:00</published><updated>2010-12-23T10:29:01.312+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSM'/><title type='text'>Transform OSM data to epsg: 4326 known as wgs84</title><content type='html'>&amp;nbsp;The data is already in my Postgresql PostGIS set up using the &lt;a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql"&gt;osm2pgsql.exe&lt;/a&gt; to load it.&amp;nbsp; You can of course specify other &lt;a href="http://spatialreference.org/ref/epsg/4326/"&gt;EPSG codes&lt;/a&gt; upon loading, but it seems to "not work" all the time so I prefer to go with the defaults then transform my data.&amp;nbsp;&amp;nbsp; &lt;a href="http://spatialreference.org/"&gt;Spatialreference.org&amp;nbsp;&lt;/a&gt; is your best bet for more info.&lt;br /&gt;&lt;br /&gt;This is the SQL I used to create a new column to store the OSM data in WGS84 or EPSG 4326.&amp;nbsp; Be sure to change the bits you need for your data. &lt;br /&gt;&lt;br /&gt;&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; --Transforming to Another spatial reference system  &lt;br /&gt; --first we create a new column to hold the new geometry in the new projection  &lt;br /&gt; SELECT AddGeometryColumn( 'planet_osm_line', 'geom_wgs84', 4326, 'LINESTRING', 2);  &lt;br /&gt; -- now we populate the new column with the transformed data using:  &lt;br /&gt; -- transform(geometrycol, new EPSG)  &lt;br /&gt; UPDATE planet_osm_line SET geom_wgs84 = transform(way, 4326);  &lt;br /&gt; --Transforming to Another spatial reference system  &lt;br /&gt; --first we create a new column to hold the new geometry in the new projection  &lt;br /&gt; SELECT AddGeometryColumn( 'planet_osm_point', 'geom_wgs84', 4326, 'POINT', 2);  &lt;br /&gt; -- now we populate the new column with the transformed data using:  &lt;br /&gt; -- transform(geometrycol, new EPSG)  &lt;br /&gt; UPDATE planet_osm_point SET geom_wgs84 = transform(way, 4326);  &lt;br /&gt; --Transforming to Another spatial reference system  &lt;br /&gt; --first we create a new column to hold the new geometry in the new projection  &lt;br /&gt; SELECT AddGeometryColumn( 'planet_osm_polygon', 'geom_wgs84', 4326, 'POLYGON', 2);  &lt;br /&gt; -- now we populate the new column with the transformed data using:  &lt;br /&gt; -- transform(geometrycol, new EPSG)  &lt;br /&gt; UPDATE planet_osm_POLYGON SET geom_wgs84 = transform(way, 4326);  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-97062088285071821?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/97062088285071821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/transform-osm-data-in-postgis-to-wgs84.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/97062088285071821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/97062088285071821'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/transform-osm-data-in-postgis-to-wgs84.html' title='Transform OSM data to epsg: 4326 known as wgs84'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-2988839488648707285</id><published>2010-12-10T14:09:00.001+01:00</published><updated>2011-01-26T11:02:02.735+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSM'/><title type='text'>OSM data to shapefile with specific OSM Tags</title><content type='html'>Well I had a unique problem or I should say not so unique problem in preparing some &lt;a href="http://www.openstreetmap.org/"&gt;OpenStreetMap &lt;/a&gt;(OSM) data for import into &lt;a href="http://www.postgis.org/"&gt;PostGIS &lt;/a&gt;and then export to Shapefiles for my students.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Job at hand:&lt;/b&gt;&lt;br /&gt;Generate some shapefiles based on specific &lt;a href="http://www.openstreetmap.org/"&gt;OSM &lt;/a&gt;data tags more specifically wheelchair access tags.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tools:&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; &lt;a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql"&gt;osm2pgsql.exe&lt;/a&gt;&lt;/li&gt;&lt;li&gt;python 3.1 custom script see below&lt;/li&gt;&lt;li&gt;pgsql2shp.exe&amp;nbsp; this is installed with PostGIS located in the /bin&amp;nbsp; directory&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Prerequisites:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.postgresql.org/"&gt;Postgresql 8.4.4 &lt;/a&gt;with PostGIS 1.5.2 &lt;/li&gt;&lt;li&gt;Download and unzip the &lt;a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql"&gt;osm2pgsql&lt;/a&gt;.exe for import&lt;/li&gt;&lt;li&gt;Windows 7 Pro&amp;nbsp; (this is not a prereq, just letting you know what I used) &lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Procedure&lt;/b&gt;:&lt;br /&gt;&lt;ol&gt;&lt;a href="http://1.bp.blogspot.com/_Vn7GWd97Awo/TT_s4APag2I/AAAAAAAAACM/--d4yQQNA0Y/s1600/OSM_Export_as_osm_fromWebsite.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="178" src="http://1.bp.blogspot.com/_Vn7GWd97Awo/TT_s4APag2I/AAAAAAAAACM/--d4yQQNA0Y/s320/OSM_Export_as_osm_fromWebsite.jpg" width="320" /&gt;&lt;/a&gt;&lt;li&gt;Download OSM data as .osm for your region using the web tab "Export" on the osm website (see screenshot) or visit &lt;a href="http://download.geofabrik.de/osm/"&gt;GeoFabrik &lt;/a&gt;or &lt;a href="http://downloads.cloudmade.com/"&gt;Cloudmade &lt;/a&gt;for shapefiles/OSM data.&lt;/li&gt;&lt;li&gt;Prepare data for &lt;a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql"&gt;osm2pgsql.exe&lt;/a&gt; by&amp;nbsp;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Edit the import &amp;nbsp; .style file&amp;nbsp; to limit what is actually going into PostGIS so only our needed fields come across.&amp;nbsp; See the &lt;a href="http://wiki.openstreetmap.org/wiki/Osm2pgsql"&gt;wiki &lt;/a&gt;page for details&lt;/li&gt;&lt;li&gt;Edit the .osm file to replace all the Tag names so they conform to support the &lt;a href="http://en.wikipedia.org/wiki/Shapefile"&gt;shapefile limitations&lt;/a&gt;.&amp;nbsp; I used a custom PYTHON 3.1 script shown below to do this dirty work.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;Quick example of what is not supported by shapefiles:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;field names larger than 10 characters&lt;/li&gt;&lt;li&gt;field names with ":", ";" "&amp;nbsp; "&amp;nbsp; &lt;/li&gt;&lt;/ol&gt;I wanted to for example use this osm tag "wheelchair:access"&amp;nbsp; as my field header but it would only use "wheelchair:" if I don't modify the .osm data (xml data)&amp;nbsp; Not good so the job is to rename this to something that is able to be used in a shapefile like "wch_access".&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: #cccccc;"&gt;Here is the python code that I used to do the data text search and replace of multiple words in preparing the .osm file for import.&amp;nbsp; Just copy the code below and save it as&amp;nbsp; myfilename.py&amp;nbsp; and be sure to change the location of your .osm file and the name of the new output file.&lt;/div&gt;&lt;div style="background-color: #cccccc;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: #cccccc;"&gt;#&lt;a href="http://gomputor.wordpress.com/2008/09/27/search-replace-multiple-words-or-characters-with-python/"&gt;http://gomputor.wordpress.com/2008/09/27/search-replace-multiple-words-or-characters-with-python/&lt;/a&gt;&lt;/div&gt;&lt;pre style="background: url(&amp;quot;http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif&amp;quot;) repeat scroll 0% 0% rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"&gt;&lt;code style="color: black; word-wrap: normal;"&gt; import sys, os  &lt;br /&gt; def replace_all(text, dic):  &lt;br /&gt;   for i, j in dic.items():  &lt;br /&gt;     text = text.replace(i, j)  &lt;br /&gt;   return text  &lt;br /&gt; # create a dictionary / hash to store the values to replace  &lt;br /&gt; # keys are the current words to replace and values are the new replacement words  &lt;br /&gt; #so the first word is replaced with the second word  &lt;br /&gt; dic = {  &lt;br /&gt; 'wheelchair:':'wch_',  &lt;br /&gt; 'wheelchair':'wch',  &lt;br /&gt; 'surface':'surf',  &lt;br /&gt; 'smoothness':'smth',  &lt;br /&gt; 'inclination':'incl',  &lt;br /&gt; 'capacity:disabled':'cap_dis',  &lt;br /&gt; 'footway:left:':'fw_L_',  &lt;br /&gt; 'footway:left.':'fw_L_',  &lt;br /&gt; 'footway:right:':'fw_R_',  &lt;br /&gt; 'footway:right.':'fw_R_',  &lt;br /&gt; 'opening_hours':'open_hrs',  &lt;br /&gt; 'addr:':'addr_',  &lt;br /&gt; 'housenumber':'housnum',  &lt;br /&gt; 'guided_tour':'guidtour'  &lt;br /&gt; }  &lt;br /&gt; # Here we open the osm file we want to update and prepare so that the shapefile we produce is happy  &lt;br /&gt; osmfile = open('map.osm', encoding='utf-8')  &lt;br /&gt; filein = osmfile.read()  &lt;br /&gt; # now create the new file that we will use for conversion  &lt;br /&gt; newfile = open('map2.osm', 'w', encoding='utf-8')  &lt;br /&gt; # write the output into the new file  &lt;br /&gt; newfile.write(replace_all(filein, dic))  &lt;br /&gt; #close the 2 open files  &lt;br /&gt; newfile.close()  &lt;br /&gt; osmfile.close()  &lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Finally import the .osm file into PostGIS using osm2pgsql.exe&lt;/li&gt;&lt;li&gt;Immediately EXPORT to shapefile with pgsql2shp.exe&lt;/li&gt;&lt;/ol&gt;wheeoowee &amp;nbsp; it should now be working...this all could be automated into one singel python script but I just haven't had the time to do it but when I do I'll post it up on www.openstreetmap.org and here on my blog.&lt;br /&gt;&lt;br /&gt;later spatial geeks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-2988839488648707285?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/2988839488648707285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/osm-data-to-shapefile-with-specific-osm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/2988839488648707285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/2988839488648707285'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/osm-data-to-shapefile-with-specific-osm.html' title='OSM data to shapefile with specific OSM Tags'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Vn7GWd97Awo/TT_s4APag2I/AAAAAAAAACM/--d4yQQNA0Y/s72-c/OSM_Export_as_osm_fromWebsite.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-8125450471284426114</id><published>2010-12-06T09:18:00.002+01:00</published><updated>2011-01-26T10:39:51.022+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PostGIS'/><title type='text'>ArcGIS 9.3 FME import shapefile into Postgresql PostGIS</title><content type='html'>&lt;div class="entry-content"&gt;Here is the task that I am tackling or I should say finished  tackling.&lt;br /&gt;&lt;br /&gt;Import some Shapefiles into an already existing Postgresql /  PostGIS  database schema called "demo" (not public schema) with already existing tables  for  each shapefile that have predefined fields but are lacking any data   what so ever.  Basically I’m importing only 2 fields one is the   geometry column aka the actual geometry of the data in the shapefile and  one field with attribute data.&lt;br /&gt;&lt;br /&gt;Prerequisits:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Postgresql 8.4 with PostGIS 1.4 or 1.5 installed on local machine (I'm using Win 7 Pro)&lt;/li&gt;&lt;li&gt;ArcGIS 9.3 with FME&amp;nbsp; Interoperability Extension enabled&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Lets get started:&amp;nbsp;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;First firing up my trusty ArcCatalog 9.3 I created a new “Spatial ETL Tool”  to handle the work (Right Click an existing Toolbox&amp;nbsp; select create new.create new Spatial ETL ).&amp;nbsp;&lt;/li&gt;&lt;li&gt;Then following the instructions filling in the  source files and specifying the Postgresql PostGIS database on my  localhost as the destination all things good so far.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Take the defaults  and hit run.&lt;/li&gt;&lt;/ol&gt;oops some not so expected results happend as I trusted the defaults blindly.   So what actually went wrong&lt;br /&gt;&lt;ol&gt;&lt;li&gt;wrong schema namely ‘public’  ( I wanted my schema ‘demo’)&lt;/li&gt;&lt;li&gt;wrong SRID is defined  (my local srid 31258 is what I wanted I got 900914)&lt;/li&gt;&lt;li&gt;new field is created namely gid (not wanted since I already have ‘id’ defined as the primary key with its appropriate sequence).&lt;/li&gt;&lt;/ol&gt;To deal with the errors or I should say misconfigurations I made were easily handled by the following three points:&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div class="entry-content"&gt;&lt;b&gt;1. Error 1 Solution. &lt;/b&gt; we need to go to Postgresql  and change the default search  path value to my database as defined in the PG connection string in FME  &lt;ul&gt;&lt;li&gt;          SQL:    ALTER USER myusername SET search_path =’$user’,'demo’,'public’;&lt;/li&gt;&lt;li&gt;          SQL:    ALTER DATABASE mydbname SET search_path = demo, public;&lt;/li&gt;&lt;/ul&gt;see this helpful link &lt;a href="http://groups.google.com/group/fmetalk/browse_thread/thread/cd0b14509351e61f" target="_self"&gt;http://groups.google.com/group/fmetalk/browse_thread/thread/cd0b14509351e61f&lt;/a&gt;   for more info.&lt;/div&gt;&lt;div class="entry-content"&gt;&lt;br /&gt;&lt;b&gt;2. Error 2 Solution&lt;/b&gt;. is to set the Geometry Column SRID to 31258 not “Inherit_FROM_WRITER”&lt;ul&gt;&lt;/ul&gt;&lt;b&gt;3. Error 3 Solution&lt;/b&gt;. clicking each feature in my FME model and changing the  Feature Type Properties to the following settings here in this  screenshot.&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_Vn7GWd97Awo/TT_rokA9Z6I/AAAAAAAAACI/QQv9klZPvUk/s1600/fme_FeatureTypeProperties.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="280" src="http://2.bp.blogspot.com/_Vn7GWd97Awo/TT_rokA9Z6I/AAAAAAAAACI/QQv9klZPvUk/s320/fme_FeatureTypeProperties.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="entry-content"&gt;Notice that “Create with OIDs” NO is what prevents the  creation of the ‘gid’ column that I didn’t want.&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;Run the model again and woola it worked.  The shapefiles were  uploaded into the correct Postgresql schema, the data had the correct  SRID defined and no more silly GID column added to my predefined table  structure.&lt;br /&gt;What a fun night I had playing with this.  I hope this helps you out in your need to transform and play with ETL with ArcGIS and Postgresql-PostGIS.&lt;br /&gt;&lt;br /&gt;Cheereo&lt;br /&gt;Michael&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-8125450471284426114?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/8125450471284426114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/arcgis-93-fme-import-shapefile-into.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/8125450471284426114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/8125450471284426114'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/arcgis-93-fme-import-shapefile-into.html' title='ArcGIS 9.3 FME import shapefile into Postgresql PostGIS'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Vn7GWd97Awo/TT_rokA9Z6I/AAAAAAAAACI/QQv9klZPvUk/s72-c/fme_FeatureTypeProperties.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364033301580477460.post-1781745131541743917</id><published>2010-12-06T09:10:00.000+01:00</published><updated>2010-12-06T09:23:07.927+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='QGIS'/><title type='text'>How to calculate the length value for a field in QGIS</title><content type='html'>&lt;div class="entry-content"&gt;&lt;blockquote&gt;Really I should have titled this article. "&lt;b&gt;How to create a shapefile with a field to store length values and then fill the field with length values using &lt;a href="http://www.qgis.org/" target="_blank" title="quantum gis"&gt;Quantum GIS&lt;/a&gt; aka.&amp;nbsp; &lt;a href="http://www.qgis.org/" target="_blank" title="quantum gis"&gt;QGIS "&lt;/a&gt;&lt;/b&gt;&lt;/blockquote&gt;&lt;div style="padding-left: 30px;"&gt;NOTES:&lt;br /&gt;- Using Quantum GIS 1.7 r14693&amp;nbsp; from the osgeo4w-setup.exe&lt;br /&gt;- OS&amp;nbsp; Windows 7 Professional 32 bit&lt;br /&gt;- example will use &lt;a href="http://www.epsg.org/" target="_blank" title="epsg"&gt;EPSG &lt;/a&gt;31258 but you can of course use your own local EPSG code.&lt;br /&gt;- Generally I already have some other data in EPSG 31258 I use as   background data so I can see where my new file is in the world.&amp;nbsp; When   QGIS starts it has a default location of 0.00 x&amp;nbsp; and&amp;nbsp; 0.00 y at the   center of your map window which = no where in particular.&amp;nbsp; You should   then define your project coordinate system under Settings &amp;gt;&amp;nbsp; Project   Properties &amp;gt; tab coordiate reference systems and set to EPSG 31258.&lt;/div&gt;For more funky spatial reference EPSG&amp;nbsp; fun check out&amp;nbsp;&amp;nbsp; &lt;a href="http://spatialreference.org/" target="_blank" title="spataialreference.org"&gt;spatialreference.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Part 1. Creating an empty Shapefile to store our data with lengths.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open Quantum GIS Go to Layer &amp;gt; New &amp;gt; New Shapefile Layer…&lt;/li&gt;&lt;li&gt;Select the radio box&amp;nbsp;&amp;nbsp; Line&lt;/li&gt;&lt;li&gt;Select your local coordinate system for us here in Klagenfurt,   Austria we are going to use EPSG 31258 (ESRI “MGI_Austria_GK_M31″).&lt;/li&gt;&lt;li&gt;Add a new attribute field one called id.&amp;nbsp; (this can later be used as a primary key value)&lt;br /&gt;Name:&amp;nbsp; id&lt;br /&gt;Type: whole number&lt;br /&gt;Length: 10&amp;nbsp; (default)&lt;/li&gt;&lt;li&gt;Click&amp;nbsp;&amp;nbsp; Add to attributes list&lt;/li&gt;&lt;li&gt;Add a new attribute field one called length.&amp;nbsp; (here we will store our length value)&lt;br /&gt;Name:&amp;nbsp; length&lt;br /&gt;Type: real&lt;br /&gt;Length: 10&amp;nbsp; (default)&lt;/li&gt;&lt;li&gt;Click Add to attributes list&lt;/li&gt;&lt;li&gt;Click OK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save As menu pops up and now give your shapefile a name and a location to save it on your computer.&amp;nbsp; Enter filename:&amp;nbsp; examplename&lt;/li&gt;&lt;li&gt;Click SAVE&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: large;"&gt;Part 2.&amp;nbsp; Editing our newly created shapefile and then finally populating the length field with values&lt;/span&gt;.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Select your newly created shapefile in the Layers by clicking on   the name (this will highlight the name in blue on windows 7 pro default   settings)&lt;/li&gt;&lt;li&gt;Click the Toggle editing button in the editing toolbar (the one that looks like a pen)&lt;/li&gt;&lt;li&gt;Click the Capture line button and start clicking to draw your line&amp;nbsp;   (left click, left click , left click ,left click … Right Click = DONE)&lt;/li&gt;&lt;li&gt;Click the Open Attribute Table button&lt;/li&gt;&lt;li&gt;Click the Open Field calculator button (looks like a calculator)&lt;/li&gt;&lt;li&gt;Select update existing field&lt;/li&gt;&lt;li&gt;select the length field&lt;/li&gt;&lt;li&gt;select the button called Length with a double click&amp;nbsp; (now $length&amp;nbsp; should show up in the field calculator expression box)&lt;/li&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;/ol&gt;&amp;nbsp;and wolla! you now have some funky length data in your length field !&amp;nbsp; only x clicks and you have it.&lt;br /&gt;If you have any feedback please let me know.&lt;br /&gt;Unitl next time&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364033301580477460-1781745131541743917?l=spatialmounty.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spatialmounty.blogspot.com/feeds/1781745131541743917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/how-to-calculate-length-value-for-field.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/1781745131541743917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364033301580477460/posts/default/1781745131541743917'/><link rel='alternate' type='text/html' href='http://spatialmounty.blogspot.com/2010/12/how-to-calculate-length-value-for-field.html' title='How to calculate the length value for a field in QGIS'/><author><name>spatialmounty</name><uri>http://www.blogger.com/profile/08543463902774792149</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='28' height='32' src='http://4.bp.blogspot.com/_Vn7GWd97Awo/TPyWoth3BDI/AAAAAAAAAAU/GXoqn9zylj4/S220/MD_head_220px.png'/></author><thr:total>0</thr:total></entry></feed>
