<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>gismemento</title>
	<atom:link href="http://gismemento.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gismemento.wordpress.com</link>
	<description>Geographic Information Systems Weblog</description>
	<lastBuildDate>Sat, 21 May 2011 03:18:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gismemento.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>gismemento</title>
		<link>http://gismemento.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gismemento.wordpress.com/osd.xml" title="gismemento" />
	<atom:link rel='hub' href='http://gismemento.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Creating a Ruby on Rails with GeoRuby and spatial_adapter</title>
		<link>http://gismemento.wordpress.com/2010/03/25/creating-a-ruby-on-rails-with-georuby-and-spatial_adapter/</link>
		<comments>http://gismemento.wordpress.com/2010/03/25/creating-a-ruby-on-rails-with-georuby-and-spatial_adapter/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 09:42:39 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=113</guid>
		<description><![CDATA[I spent some time investigating on how to query spatial objects in a postgis environment using Rails. I accomplish this using GeoRuby and spatial adapter gems, mashed a simple startup project using Google Maps API v2 and I got my hello world kind of project. Created some interaction between objects on the Web map while [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=113&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I spent some time investigating on how to query spatial objects in a postgis environment using Rails.</p>
<p>I accomplish this using GeoRuby and spatial adapter gems, mashed a simple startup project using Google Maps API v2 and I got my hello world kind of project. Created some interaction between objects on the Web map while updating the database.</p>
<p><strong>Links</strong></p>
<p>Repository and instructions here: <a href="https://www.assembla.com/wiki/show/rorgeotesting">https://www.assembla.com/wiki/show/rorgeotesting</a></p>
<p>GeoRuby extentions: <a href="http://georuby.rubyforge.org/" target="_blank">http://georuby.rubyforge.org/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=113&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2010/03/25/creating-a-ruby-on-rails-with-georuby-and-spatial_adapter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Some PostGIS notes</title>
		<link>http://gismemento.wordpress.com/2010/02/09/some-postgis-notes/</link>
		<comments>http://gismemento.wordpress.com/2010/02/09/some-postgis-notes/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 10:36:52 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=103</guid>
		<description><![CDATA[These are some notes regarding the creation and some manipulation of a georeferenced table. First let&#8217;s create a table in our database. Note that in this step we do not add the geometry column yet: CREATE TABLE item (    id INTEGER,    type VARCHAR ); Creating the geometry column (a point in my case). [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=103&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These are some notes regarding the creation and some manipulation of a georeferenced table.</p>
<p>First let&#8217;s create a table in our database. Note that in this step we do not add the geometry column yet:</p>
<pre>CREATE TABLE item (
   id INTEGER,
   type VARCHAR
);
</pre>
<p>Creating the geometry column (a point in my case). After this a new column will be added to the <em>item </em>table named <em>item_location</em>:</p>
<pre>SELECT AddGeometryColumn('item','item_location',27492,'POINT',2);</pre>
<p>Inserting a point in the database table (in the previous step a restriction was created forcing the verification of the coordinates, so be sure that those are correct):</p>
<pre>INSERT INTO item
  VALUES(1,'item_type',
  ST_GeomFromText('POINT(-43833.469 166045.598)',27492));</pre>
<p>While inserting a new point with a diferent SRID one must use the transform PostGIS function:</p>
<pre>INSERT INTO item
  VALUES(...,
  transform(
    ST_GeomFromText('POINT (lat long)', &lt;point_srid&gt;), &lt;destination_srid&gt;));
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=103&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2010/02/09/some-postgis-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert Shapefiles to SQL</title>
		<link>http://gismemento.wordpress.com/2009/12/18/convert-shapefiles-to-sql/</link>
		<comments>http://gismemento.wordpress.com/2009/12/18/convert-shapefiles-to-sql/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 16:36:48 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Shapefiles]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=94</guid>
		<description><![CDATA[The PostgreSQL /bin folder contains an executable capable to perform the conversion: shp2pgsql shape_file_name myschema.dbtable_name &#62; output_file.sql psql -d database_name -f output_file.sql One command conversion and upload to the PostgreSQL can be done all in one step using UNIX pipes: shp2pgsql shape_file_name myschema.dbtable_name &#124; psql -d database_name<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=94&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The PostgreSQL /bin folder contains an executable capable to perform the conversion:</p>
<blockquote><p>shp2pgsql shape_file_name myschema.dbtable_name &gt; output_file.sql</p>
<p>psql -d database_name -f output_file.sql</p></blockquote>
<p>One command conversion and upload to the PostgreSQL can be done all in one step using UNIX pipes:</p>
<blockquote><p>shp2pgsql shape_file_name myschema.dbtable_name | psql -d database_name</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=94&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/12/18/convert-shapefiles-to-sql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Import OpenStreetMap data into GeoServer/PostGIS</title>
		<link>http://gismemento.wordpress.com/2009/12/02/import-openstreetmap-data-into-geoserverpostgis/</link>
		<comments>http://gismemento.wordpress.com/2009/12/02/import-openstreetmap-data-into-geoserverpostgis/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:45:35 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[GeoServer]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[shp]]></category>
		<category><![CDATA[uDig]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=75</guid>
		<description><![CDATA[It is possible to download map data from the OpenStreetMap (OSM) dataset in a number of ways. The full dataset is available from the OSM website download area. This dataset (Planet.osm) is a large file, currently about 4GB when compressed and about 100GB when uncompressed. It is also possible to select smaller areas to download. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=75&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is possible to download map data from the OpenStreetMap (OSM) dataset in a number of ways. The full dataset is available from the OSM website <a href="http://" target="_blank">download</a> area. This dataset (Planet.osm) is a large file, currently about 4GB when compressed and about 100GB when uncompressed. It is also possible to select smaller areas to download. Data normally comes in the form of XML formatted .osm files (an OpenStreetMap markup language).</p>
<p>I have downloaded today a part of the city of Porto using the OSM API,  converted it into shape files, added a new store to geoserver (using those shape files) and finaly visualized the new layers in GoogleEarth and uDig.</p>
<p><strong> </strong></p>
<ul>
<li><strong>Obtaining the contents from OpenStreetMap using the OSM API</strong></li>
</ul>
<p style="padding-left:30px;">First you will have to define your region specified by a bounding box which consists of a minimum and maximum latitude and longitude. An easy way to accomplish that task is to use Google Earth. Hovering the mouse in the desired corner of the rectangle to export, look at the coordinates and take notes (you only need two coordinates - opposite corners of the rectangle).</p>
<p style="padding-left:30px;">Then use those values to create the HTTP request using the folowing URL:</p>
<blockquote><p>http://api.openstreetmap.org/api/0.6/map?bbox=left,bottom,right,top</p></blockquote>
<p style="padding-left:30px;">for example:</p>
<blockquote><p><span style="color:#000000;"><span style="text-decoration:none;"><a href="http://api.openstreetmap.org/api/0.6/map?bbox=11.54,48.14,11.543,48.145" target="_blank">http://api.openstreetmap.org/api/0.6/map?bbox=11.54,48.14,11.543,48.145</a></span></span></p></blockquote>
<p style="padding-left:30px;">Where left is the maximum longitude, right is the value for the minimum longitude, bottom the minimum latitude and top the maximum latitude.</p>
<p style="padding-left:30px;">However there is a constraint, the API is limited to bounding boxes of about 0.5 degree by 0.5 degree. For larger areas you could try <a title="Osmxapi" href="http://wiki.openstreetmap.org/wiki/Osmxapi" target="_blank">Osmxapi</a> like so (this will also return a .osm file):</p>
<blockquote><p><a href="http://www.informationfreeway.org/api/0.6/map?bbox=11.54,48.14,11.543,48.145" target="_blank">http://www.informationfreeway.org/api/0.6/map?bbox=11.54,48.14,11.543,48.145</a></p></blockquote>
<p style="padding-left:30px;">The .osm file is not currently not supported by geoserver, so we got 2 ways to get around this. Convert it to shape files, or insert directly in PostGIS database. However I discovered a <a href="http://download.geofabrik.de/osm/" target="_blank">Web page</a> that offers subsets of the original OSM dataset. They do this by dividing the datasets by country offering the information both in .osm or .shp files, very handy.</p>
<ul>
<li><strong>Convert .osm files to shape</strong></li>
</ul>
<p style="padding-left:30px;">Not easy to find, cause I did it in Windows OS, but there is an application out there called <em>osm2shp</em>, which comes with a GUI that does this conversion in a very easy way. If having trouble finding it, just ask me. If you are working in linux, you&#8217;re be glad to know that Ubuntu (and Debian-based OSes) repositories have this package.</p>
<ul>
<li><strong>Creating a datastore in geoserver uing the new shape files</strong></li>
</ul>
<p style="padding-left:30px;">The output of the previous convertion can be copied to the data folder in the geoserver path. Just create a folder (for instance <em>osmdata</em>) containing the shape files in:</p>
<p style="padding-left:30px;">path\to\geoserver\data_dir\data\osmdata</p>
<p style="padding-left:30px;">then create a new datastore using the GeoServer Web interface. (<a href="http://docs.geoserver.org/2.0.0/user/gettingstarted/shapefile-quickstart/index.html" target="_blank">check this tutorial</a>)</p>
<p style="padding-left:30px;">Just pay attention so that the projection of the source data be configured as 900913, the projection used in Google Maps, and the default for OpenStreetMap.</p>
<ul>
<li><strong>Direct input into PostGIS database</strong></li>
</ul>
<p style="padding-left:30px;">There is a converter that allows you to load the OpenStreetMap data into PostGIS called <em>osm2pgsql</em>.  This program is a package available on Debian-based distributions (such as Ubuntu), and is also available as a binary on Windows.</p>
<p style="padding-left:30px;">Running the command:</p>
<blockquote><p>osm2pgsql -E 900913 -d myDataBase TheOsmFile.osm</p></blockquote>
<p style="padding-left:30px;">This will process the XML information and load the data into a PostGIS database called “myDataBase”. The -E defines the projection of the source data, which in this case is 900913, the projection used in Google Maps, and the default for OpenStreetMap.</p>
<p style="padding-left:30px;">If successful, the database will contain the following tables:</p>
<p style="padding-left:60px;"><code>planet_osm_line<br />
planet_osm_point<br />
planet_osm_polygon<br />
planet_osm_roads</code></p>
<p style="padding-left:30px;">There are two different tables that contain line data, <code>planet_osm_line </code>and <code>planet_osm_roads</code>. The former includes railroads, subways, and other linear information.  The latter is made up exclusively of roads.  The <code>planet_osm_point</code> table has a range of data: subway stations, shopping centers, universities, and even brothels. Lastly the <code>planet_osm_polygon</code> table has, but is not limited to, parks, bodies of water, and even buildings in certain urban areas.</p>
<p style="padding-left:30px;">After these steps map info can be easily viewed in GIS apps like uDig/ArcView. The GeoServer Web interface also has directs links for KML for previewing the layer in GoogleEarth if installed.</p>
<p style="padding-left:30px;">Also today, I had a small rendez-vous with openLayers and I was able to visualize the new OSM data in a Web page. It is quite easy to create and customize, but have a peek in the <a href="http://blog.geoserver.org/wp-content/uploads/openstreetmaphtml.zip">sources</a> that I used as a guide. I will have to explore this some day later.</p>
<p><span style="color:#000000;"><strong><span style="color:#808080;">Information sources: </span></strong></span></p>
<p style="padding-left:30px;"><a href="http://blog.geoserver.org/2009/01/30/geoserver-and-openstreetmap/" target="_blank"><span style="color:#000000;"><span style="text-decoration:none;"><span style="color:#808080;">http://blog.geoserver.org/2009/01/30/geoserver-and-openstreetmap/</span></span></span></a><span style="color:#808080;"> </span></p>
<p style="padding-left:30px;"><a href="http://wiki.openstreetmap.org/wiki/Getting_Data" target="_blank"><span style="color:#000000;"><span style="text-decoration:none;"><span style="color:#808080;">http://wiki.openstreetmap.org/wiki/Getting_Data</span></span></span></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=75&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/12/02/import-openstreetmap-data-into-geoserverpostgis/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert between projection stantards</title>
		<link>http://gismemento.wordpress.com/2009/12/02/convert-between-projection-stantards/</link>
		<comments>http://gismemento.wordpress.com/2009/12/02/convert-between-projection-stantards/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 16:25:45 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=72</guid>
		<description><![CDATA[How to transform the geometry of a postgis table from one projection to another: UPDATE table_name SET the_geom = TRANSFORM(the_geom, 4326); Where the_geom is the name of the field holding the geometry, and 4326 is the EPSG code you wish to transform to.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=72&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to transform the geometry of a postgis table from one projection to another:</p>
<blockquote><p>UPDATE table_name SET the_geom = TRANSFORM(the_geom, 4326);</p></blockquote>
<p>Where the_geom is the name of the field holding the geometry, and 4326 is the EPSG code you wish to transform to.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=72&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/12/02/convert-between-projection-stantards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Converting DXF files to Shape files (.SHP)</title>
		<link>http://gismemento.wordpress.com/2009/11/27/converting-dxf-files-to-shape-files-shp/</link>
		<comments>http://gismemento.wordpress.com/2009/11/27/converting-dxf-files-to-shape-files-shp/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 14:40:44 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=61</guid>
		<description><![CDATA[This is a tool for converting AutoCad DXF (Data eXchange Format) files into ESRI Shapefiles (SHP). May be useful while inserting DXF shapes to a PostGIS database which only supports SHP. Find it here. After  the conversion is made, one will have to apply a command in order to insert it into the database. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=61&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a tool for converting AutoCad DXF (Data eXchange Format) files into ESRI Shapefiles (SHP). May be useful while inserting DXF shapes to a PostGIS database which only supports SHP.</p>
<p><img class="alignnone" src="http://www.wanderingidea.com/graphics/screenshot_dxftoshape.jpg" alt="" width="298" height="368" /></p>
<p>Find it <a href="http://www.wanderingidea.com/content/view/12/25/" target="_blank">here</a>.</p>
<p>After  the conversion is made, one will have to apply a command in order to insert it into the database.</p>
<p>I will post this tutorial soon.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=61&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/11/27/converting-dxf-files-to-shape-files-shp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>

		<media:content url="http://www.wanderingidea.com/graphics/screenshot_dxftoshape.jpg" medium="image" />
	</item>
		<item>
		<title>GIS introduction videos on youtube</title>
		<link>http://gismemento.wordpress.com/2009/11/27/gis-introduction-video-on-youtube/</link>
		<comments>http://gismemento.wordpress.com/2009/11/27/gis-introduction-video-on-youtube/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 00:11:27 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[lesson vids]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=58</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=58&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<span style="text-align:center; display: block;"><a href="http://gismemento.wordpress.com/2009/11/27/gis-introduction-video-on-youtube/"><img src="http://img.youtube.com/vi/z5s8kbEdB68/2.jpg" alt="" /></a></span>
<span style="text-align:center; display: block;"><a href="http://gismemento.wordpress.com/2009/11/27/gis-introduction-video-on-youtube/"><img src="http://img.youtube.com/vi/Yy-8e3sCr0U/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=58&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/11/27/gis-introduction-video-on-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse plug-in development (the basics)</title>
		<link>http://gismemento.wordpress.com/2009/11/26/eclipse-plug-in-development-the-basics/</link>
		<comments>http://gismemento.wordpress.com/2009/11/26/eclipse-plug-in-development-the-basics/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 22:54:17 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[uDig]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/?p=50</guid>
		<description><![CDATA[Looking for some help of how to create a google maps visualizer layer for uDig, and because it lives in a rich client platform any developer is able to create addons in order to extend it&#8217;s functionalities. Developing a background layer for the main panel is one of the solutions. Today I received a tweet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=50&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Looking for some help of how to create a google maps visualizer layer for uDig, and because it lives in a rich client platform any developer is able to create addons in order to extend it&#8217;s functionalities. Developing a background layer for the main panel is one of the solutions. Today I received a tweet about how to accomplish that. The source of this tutorial is really trustful (IBM). Here are the links:</p>
<ul>
<li><a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-plugindev2/index.html?ca=dgr-twtrPlug-ins-P2dth-WD&amp;S_TACT=105AGY83&amp;S_CMP=TWDW">part #1</a></li>
<li><a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-plugindev2/index.html?ca=dgr-twtrPlug-ins-P2dth-WD&amp;S_TACT=105AGY83&amp;S_CMP=TWDW">part #2</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=50&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/11/26/eclipse-plug-in-development-the-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>
	</item>
		<item>
		<title>Create a spatial database with PostGIS</title>
		<link>http://gismemento.wordpress.com/2009/11/25/create-a-spatial-database-with-postgis/</link>
		<comments>http://gismemento.wordpress.com/2009/11/25/create-a-spatial-database-with-postgis/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 09:25:01 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/2009/11/25/create-a-spatial-database-with-postgis/</guid>
		<description><![CDATA[Ensure your PostgreSQL database is correctly installed and running. Do do it just check the connection using PgAdmin III client. If an error arrises, probabily your server isn&#8217;t running. nu Start it using the &#8220;Start server&#8221; entry in the start menu of your operating system or else on Ubuntu this will work (if the server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=36&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ensure your PostgreSQL database is correctly installed and running. Do do it just check the connection using PgAdmin III client. If an error arrises, probabily your server isn&#8217;t running. nu Start it using the &#8220;Start server&#8221; entry in the start menu of your operating system or else on Ubuntu this will work (if the server was installed as in <a href="http://gismemento.wordpress.com/2009/11/24/installing-postgesql-with-postgis/">this</a> previous post)</p>
<p><code>sudo /opt/PostgreSQL/8.4/installer/server/startserver.sh</code></p>
<p><strong>1)</strong> Open the Databases tree item and have a look at the available databases. The postgres database is the user database for the default postgres user and is not too interesting to us. The template_postgis database is what we are going to use to create spatial databases. Right-click on the Databases item and select New Database.</p>
<p><img src="http://revenant.ca/www/postgis/workshop/_images/install-27.png" alt="" width="507" height="367" /></p>
<blockquote><p><strong>Note:</strong> If you receive an error indicating that the source database (template_postgis) is being accessed by other users, this is likely because you still have it selected. Right-click on the PostgreSQL 8.4 item and select Disconnect. You can then double-click the same item to reconnect and try again.</p></blockquote>
<p><strong>2)</strong> Fill in the New Database form with the info below and click OK.</p>
<div style="padding-left:10px;">Name: your_database_name</div>
<div style="padding-left:10px;">Owner: postgres</div>
<div style="padding-left:10px;">Encoding: UTF8</div>
<div style="padding-left:10px;">Template: template_postgis</div>
<div style="padding-left:10px;"><span style="color:#ffffff;">.</span></div>
<p><strong>3)</strong> Select the new database and click on the SQL query button (or go to Tools &gt; Query Tool).</p>
<p><strong>4)</strong> Enter the following query into the query text field:</p>
<p><code>SELECT postgis_full_version();</code></p>
<p><strong>5)</strong> Click the play button in the toolbar (F5 will work also) to execute the query. The query will return a string that confirms that PostGIS is properly enabled in the database.</p>
<p><img src="http://revenant.ca/www/postgis/workshop/_images/install-29.png" alt="" width="500" height="415" /></p>
<p><a href="http://revenant.ca/www/postgis/workshop/creatingdb.html" target="_blank">Information source</a>/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=36&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/11/25/create-a-spatial-database-with-postgis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>

		<media:content url="http://revenant.ca/www/postgis/workshop/_images/install-27.png" medium="image" />

		<media:content url="http://revenant.ca/www/postgis/workshop/_images/install-29.png" medium="image" />
	</item>
		<item>
		<title>Installing PostgeSQL and PostGIS</title>
		<link>http://gismemento.wordpress.com/2009/11/24/installing-postgesql-with-postgis/</link>
		<comments>http://gismemento.wordpress.com/2009/11/24/installing-postgesql-with-postgis/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 20:53:21 +0000</pubDate>
		<dc:creator>Helder Nunes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://gismemento.wordpress.com/2009/11/24/installing-postgesql-with-postgis/</guid>
		<description><![CDATA[This is a simple method I found to install postgres and postgis in ubuntu/windows. Browse to this url http://www.postgresql.org/download/ and in &#8220;Binary Packages&#8221; you may choose the operating system where you will be using the server. Choosing windows or linux you will download an executable, but the problem in linux you will have to chmod [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=8&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a simple method I found to install postgres and postgis in ubuntu/windows. Browse to this url <a href="http://www.postgresql.org/download/" target="_blank">http://www.postgresql.org/download/</a> and in &#8220;Binary Packages&#8221; you may choose the operating system where you will be using the server. Choosing windows or linux you will download an executable, but the problem in linux you will have to chmod it in order to use it as one. This will do the trick using the terminal:</p>
<pre><span style="font-family:'Courier New,courier';">  chmod 700 filename.bin</span></pre>
<p>and that&#8217;s it. The binary file can now be run:</p>
<pre><span style="font-family:'Courier New,courier';">  sudo ./filename.bin</span></pre>
<p>This will show a GUI installer interface where you will be able to define the root password. The final process will be the selection of addons like database connectors, web components to work with, wikis and the spatial extension we are looking for &#8211; postgis. First select the server already running in your OS platform:</p>
<p><img src="http://www.bostongis.com/images/snippets/app_stackbuilder_postgis.png" alt="" width="493" height="336" /></p>
<p>In the next screen be sure to check the PostGIS extension.</p>
<p><img src="http://www.bostongis.com/images/snippets/app_stackbuilder_postgis02.png" alt="" width="491" height="333" /></p>
<p>The installer will then download and install the selected extensions. Open PgAdmin III and be sure that a database called <em>template_postgis</em> exists.</p>
<p><img src="http://revenant.ca/www/postgis/workshop/_images/install-26.png" alt="" width="491" height="333" /></p>
<p>That was a peace of cake&#8230; the next post will be about creating a georeferenced enabled database.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gismemento.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gismemento.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gismemento.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gismemento.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gismemento.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gismemento.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gismemento.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gismemento.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gismemento.wordpress.com&amp;blog=10660241&amp;post=8&amp;subd=gismemento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gismemento.wordpress.com/2009/11/24/installing-postgesql-with-postgis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15e2dd147ca23d96287be0e9bcaab2a3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gismemento</media:title>
		</media:content>

		<media:content url="http://www.bostongis.com/images/snippets/app_stackbuilder_postgis.png" medium="image" />

		<media:content url="http://www.bostongis.com/images/snippets/app_stackbuilder_postgis02.png" medium="image" />

		<media:content url="http://revenant.ca/www/postgis/workshop/_images/install-26.png" medium="image" />
	</item>
	</channel>
</rss>
