<span style>the book "Postgis in action" has a very good explanation about Organizing spatial data, and the example used includes uploading a OSM database from Paris, using different data models.</span><div style>
<br></div><div style>Also, Bostongis has a very nice tutorial  of <a href="http://www.bostongis.com/?content_name=loading_osm_postgis#229" target="_blank" style="color:rgb(17,85,204)"><font color="#696969" face="verdana, arial, helvetica"><span style="border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:rgb(105,105,105)">Loading OpenStreetMap data into PostGIS: An Almost Idiot's Guide</span></font><span style="color:rgb(51,51,51);font-family:verdana,arial,helvetica"> </span></a><span style="padding-left:0px;padding-right:0px;padding-top:0px;text-align:left;color:rgb(51,51,51);font-family:verdana,arial,helvetica;padding-bottom:0px"><br>
</span><div><br></div><div>Hope it helps.</div><div><br></div><div>Alexandre Neto</div></div><br><div class="gmail_quote">On Sun, Mar 4, 2012 at 4:26 AM, mick <span dir="ltr"><<a href="mailto:bareman@tpg.com.au">bareman@tpg.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm having a devil of a time getting my head around creating database to store parts of the open street map dataset.<br>

<br>
I wish to store some of the elements (relating to the landscape and the Roman occupation of Britain with the possibility of adding other periods) and only relevant tag values.<br>
<br>
Is there a wizzard that can help with this task or a genius who could develop one.<br>
<br>
My thoughts on the process are:<br>
<br>
scan the .osm file and create a list of keys that have been used<br>
<br>
present the list of keys for inclusion or exclusion<br>
<br>
produce code to create the table(s) according to the selections above<br>
<br>
create a process to import the file.<br>
<br>
I have no idea how much effort this would take or how universal this kind of tool would be. If it is too much work and/or too specific a few hints might get me going.<br>
<span class="HOEnZb"><font color="#888888"><br>
mick<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</font></span></blockquote></div><br>