<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://weait.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>osm2pgsql</title>
 <link>http://weait.com/category/post/osm2pgsql</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>OSM database on SSD</title>
 <link>http://weait.com/content/osm-database-ssd</link>
 <description>&lt;p&gt;I&#039;m experimenting with importing the OSM database to a solid state disk.  I hear they can be pretty fast.  I expect it will take time to get the configuration right.  &lt;/p&gt;
&lt;h3&gt;Default settings, mounted with noatime&lt;/h3&gt;
&lt;p&gt;First try it with all settings as default as possible.  Mount the ssd with noatime to reduce writes to the ssd.   &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://weait.com/content/osm-database-ssd&quot;&gt;&amp;nbsp;read&amp;nbsp;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;fdisk whole disk as one partition
mke2fs -t ext3 /dev/sdd1
# /etc/fstab
/dev/sdd1  /ssd  ext3   noatime  0 0 
# create tablespace on ssd
# create db on tablespace</description>
 <comments>http://weait.com/content/osm-database-ssd#comments</comments>
 <category domain="http://weait.com/category/post/fdisk">fdisk</category>
 <category domain="http://weait.com/category/post/mke2fs">mke2fs</category>
 <category domain="http://weait.com/category/post/openstreetmap">OpenStreetMap</category>
 <category domain="http://weait.com/category/post/osm">osm</category>
 <category domain="http://weait.com/category/post/osm2pgsql">osm2pgsql</category>
 <category domain="http://weait.com/category/post/postgis">postGIS</category>
 <category domain="http://weait.com/category/post/postgres">postgres</category>
 <category domain="http://weait.com/category/post/ssd">ssd</category>
 <category domain="http://weait.com/category/post/wheeeee">wheeeee</category>
 <pubDate>Tue, 27 Apr 2010 14:01:19 -0400</pubDate>
 <dc:creator>rw</dc:creator>
 <guid isPermaLink="false">119 at http://weait.com</guid>
</item>
<item>
 <title>OpenStreetMap postgresql postGIS database on RAID</title>
 <link>http://weait.com/content/openstreetmap-postgresql-postgis-database-raid</link>
 <description>&lt;h2&gt;Configure a database for OpenStreetMap on another disk&lt;/h2&gt;
&lt;p&gt;Perhaps you need more space for your OpenStreetMap database and decide to move it to your shiny new big disk or RAID array?  Sound good?  Here we go.  We need to create a tablespace for the database, then use it.  &lt;/p&gt;
&lt;p&gt;Create a directory for the database&lt;br /&gt;
&lt;code&gt;sudo mkdir /raid/newgis&lt;br /&gt;
sudo chown postgres:postgres /raid/newgis&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;As the postgres user&lt;br /&gt;
&lt;code&gt;sudo -u postgres -i&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Create a user for this database.  Perhaps replace &lt;q&gt;username&lt;/q&gt; with your username? Sure. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://weait.com/content/openstreetmap-postgresql-postgis-database-raid&quot;&gt;&amp;nbsp;read&amp;nbsp;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://weait.com/content/openstreetmap-postgresql-postgis-database-raid#comments</comments>
 <category domain="http://weait.com/category/post/disk-space">disk space</category>
 <category domain="http://weait.com/category/post/openstreetmap">OpenStreetMap</category>
 <category domain="http://weait.com/category/post/osm2pgsql">osm2pgsql</category>
 <category domain="http://weait.com/category/post/planet">planet</category>
 <category domain="http://weait.com/category/post/postgis">postGIS</category>
 <category domain="http://weait.com/category/post/postgresql">postgresql</category>
 <category domain="http://weait.com/category/post/raid">RAID</category>
 <pubDate>Fri, 26 Mar 2010 17:26:10 -0400</pubDate>
 <dc:creator>rw</dc:creator>
 <guid isPermaLink="false">116 at http://weait.com</guid>
</item>
<item>
 <title>Build your own OpenStreetMap Server - Ubuntu 10.04 Lucid Lynx</title>
 <link>http://weait.com/content/build-your-own-openstreetmap-server</link>
 <description>&lt;p&gt;&lt;img src=&quot;http://weait.com/files/suny-buff.png&quot; alt=&quot;SUNY Buffalo campus as seen on OpenStreetMap.org in March of 2009&quot; /&gt;&lt;br /&gt;
&lt;q&gt;Build your own OpenStreetMap server.&lt;/q&gt; Build your own what?  &lt;/p&gt;
&lt;p&gt;OpenStreetMap is the editable World map of everything.  It is the Wikipedia of maps.  It is to other on-line maps as Wikipedia is to Britannica.  And it is awesome in every possible way. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://weait.com/content/build-your-own-openstreetmap-server&quot;&gt;&amp;nbsp;read&amp;nbsp;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://weait.com/content/build-your-own-openstreetmap-server#comments</comments>
 <category domain="http://weait.com/category/post/1004">10.04</category>
 <category domain="http://weait.com/category/post/lucid">Lucid</category>
 <category domain="http://weait.com/category/post/lynx">Lynx</category>
 <category domain="http://weait.com/category/post/mapnik">Mapnik</category>
 <category domain="http://weait.com/category/post/openstreetmap">OpenStreetMap</category>
 <category domain="http://weait.com/category/post/osm">osm</category>
 <category domain="http://weait.com/category/post/osm2pgsql">osm2pgsql</category>
 <category domain="http://weait.com/category/post/planet">planet</category>
 <category domain="http://weait.com/category/post/tile-server">tile server</category>
 <category domain="http://weait.com/category/post/tutorial">tutorial</category>
 <category domain="http://weait.com/category/post/ubuntu">ubuntu</category>
 <pubDate>Fri, 26 Mar 2010 15:13:48 -0400</pubDate>
 <dc:creator>rw</dc:creator>
 <guid isPermaLink="false">114 at http://weait.com</guid>
</item>
<item>
 <title>OpenStreetMap extracts</title>
 <link>http://weait.com/content/openstreetmap-extracts</link>
 <description>&lt;p&gt;&lt;img src=&quot;http://weait.com/files/lux-extract.png&quot; alt=&quot;OpenStreetMap of Luxembourg&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;http://openstreetmap.org&quot;&gt;OpenStreetMap&lt;/a&gt; database gets bigger every day.  The dataset is &lt;a href=&quot;http://wiki.openstreetmap.org/wiki/License&quot;&gt;freely licensed&lt;/a&gt; and available in what we call a &lt;a href=&quot;http://planet.openstreetmap.org&quot;&gt;&lt;q&gt;planet&lt;/q&gt; file&lt;/a&gt;.  This means that if you want the OpenStreetMap dataset, you can have it.  This also means that you are dealing with the entire dataset, for the whole planet, even if your interest is limited to a smaller area.  If your interest is geographically limited, pushing around 6G&lt;sup&gt;&lt;a href=&quot;planet-size&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; more data than you need to push around seems wasteful. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://weait.com/content/openstreetmap-extracts&quot;&gt;&amp;nbsp;read&amp;nbsp;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://weait.com/content/openstreetmap-extracts#comments</comments>
 <category domain="http://weait.com/category/post/extracts">extracts</category>
 <category domain="http://weait.com/category/post/importing">importing</category>
 <category domain="http://weait.com/category/post/maps">maps</category>
 <category domain="http://weait.com/category/post/openstreetmap">OpenStreetMap</category>
 <category domain="http://weait.com/category/post/osm">osm</category>
 <category domain="http://weait.com/category/post/osm2pgsql">osm2pgsql</category>
 <category domain="http://weait.com/category/post/osmosis">osmosis</category>
 <category domain="http://weait.com/category/post/tile-server">tile server</category>
 <category domain="http://weait.com/category/post/tutorial">tutorial</category>
 <pubDate>Sat, 29 Aug 2009 12:21:12 -0400</pubDate>
 <dc:creator>rw</dc:creator>
 <guid isPermaLink="false">88 at http://weait.com</guid>
</item>
<item>
 <title>Make your first map</title>
 <link>http://weait.com/content/make-your-first-map</link>
 <description>&lt;p&gt;&lt;img src=&quot;http://weait.com/files/first-map.png&quot; alt=&quot;make your first map with your OpenStreetMap tile server&quot; /&gt;&lt;br /&gt;
OpenStreetMap provides Free geodata and Free Software tools to use that data.  A previous article demonstrates &lt;a href=&quot;http://weait.com/content/build-your-own-openstreetmap-server&quot;&gt;building an OpenStreetMap tile server&lt;/a&gt;.  This article demonstrates populating it with OpenStreetMap geodata and having your server create a nice picture of a map for you. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://weait.com/content/make-your-first-map&quot;&gt;&amp;nbsp;read&amp;nbsp;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://weait.com/content/make-your-first-map#comments</comments>
 <category domain="http://weait.com/category/post/geodata">geodata</category>
 <category domain="http://weait.com/category/post/openstreetmap">OpenStreetMap</category>
 <category domain="http://weait.com/category/post/osm">osm</category>
 <category domain="http://weait.com/category/post/osm2pgsql">osm2pgsql</category>
 <category domain="http://weait.com/category/post/osmosis">osmosis</category>
 <category domain="http://weait.com/category/post/server">server</category>
 <category domain="http://weait.com/category/post/tile-server">tile server</category>
 <category domain="http://weait.com/category/post/tutorial">tutorial</category>
 <enclosure url="http://weait.com/files/z0_generate_tiles.py.txt" length="4197" type="text/plain" />
 <pubDate>Fri, 20 Mar 2009 11:49:11 -0400</pubDate>
 <dc:creator>rw</dc:creator>
 <guid isPermaLink="false">68 at http://weait.com</guid>
</item>
<item>
 <title>Build your own OpenStreetMap Server</title>
 <link>http://weait.com/content/build-your-own-openstreetmap-server-v1</link>
 <description>&lt;p&gt;&lt;img src=&quot;http://weait.com/files/suny-buff.png&quot; alt=&quot;SUNY Buffalo campus as seen on OpenStreetMap.org in March of 2009&quot; /&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;This article is now archived as &lt;a href=&quot;http://weait.com/content/build-your-own-openstreetmap-server-v1&quot; title=&quot;http://weait.com/content/build-your-own-openstreetmap-server-v1&quot;&gt;http://weait.com/content/build-your-own-openstreetmap-server-v1&lt;/a&gt;.  The &lt;a href=&quot;http://weait.com/content/build-your-own-openstreetmap-server&quot;&gt;updated article&lt;/a&gt; is based on Ubuntu 10.04 Lucid Lynx&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;q&gt;Build your own OpenStreetMap server.&lt;/q&gt; Build your own what?   &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://weait.com/content/build-your-own-openstreetmap-server-v1&quot;&gt;&amp;nbsp;read&amp;nbsp;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <comments>http://weait.com/content/build-your-own-openstreetmap-server-v1#comments</comments>
 <category domain="http://weait.com/taxonomy/term/77">Linux</category>
 <category domain="http://weait.com/category/post/mapnik">Mapnik</category>
 <category domain="http://weait.com/category/post/openlayers">OpenLayers</category>
 <category domain="http://weait.com/category/post/openstreetmap">OpenStreetMap</category>
 <category domain="http://weait.com/category/post/osm">osm</category>
 <category domain="http://weait.com/category/post/osm2pgsql">osm2pgsql</category>
 <category domain="http://weait.com/category/post/osmosis">osmosis</category>
 <category domain="http://weait.com/category/post/server">server</category>
 <category domain="http://weait.com/category/post/tile-server">tile server</category>
 <category domain="http://weait.com/category/post/ubuntu">ubuntu</category>
 <pubDate>Tue, 17 Mar 2009 21:34:15 -0400</pubDate>
 <dc:creator>rw</dc:creator>
 <guid isPermaLink="false">66 at http://weait.com</guid>
</item>
</channel>
</rss>

