<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Readme.md for snapshot-server is not quite accurate. I’ve got an updated readme at <a href="https://github.com/pnorman/snapshot-server/blob/patch-3/README.md">https://github.com/pnorman/snapshot-server/blob/patch-3/README.md</a> that covers enabling PostGIS and hstore but Andy hasn’t had time to update upstream.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rob Nickerson [mailto:rob.j.nickerson@gmail.com] <br><b>Sent:</b> Thursday, December 27, 2012 6:41 AM<br><b>To:</b> Andy Allan; dev@openstreetmap.org<br><b>Subject:</b> [OSM-dev] Snapshot Server<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi All,<br><br>I am a complete newbie when it comes to databases and the like so please bear with me...<br><br>I am attempting to set up a snapshot server in order to feed UK Public Rights of Way data into Potlatch 2's merging tool. I am following Andy's guide at [1]. I am doing this in debian (raspberry pi version) as an initial proof of concept work. So far I have managed to get postgreSQL 9.1.7 set up and I have created a user "role":<br><br>sudo -u postrgres psql<br># create role <username> login createdb;<br># \q<br><br>(where lines 2 and 3 are run within postgresql). I have also put this username in config/database.yml and executed "rake db:create".<br><br>However, when I run "rake db:migrate" I get the following error:<br><br>PG::Error: ERROR relation “geometry_columns” does not exist<br>LINE 1: SELECT * FROM geometry_columns WHERE f_table_name='schema_migrations'<br><br>Any ideas?<br><br>Regards,<br>Rob<br><br>[1] <a href="https://github.com/gravitystorm/snapshot-server">https://github.com/gravitystorm/snapshot-server</a><o:p></o:p></p></div></div></div></body></html>