I'm not sure about the best way to document these to be honest.  They've accumulated over time.  But in case it helps, some comments are below.<br><br><div class="gmail_quote">On Thu, Dec 3, 2009 at 8:44 PM, Marco Lechner - FOSSGIS e.V. <span dir="ltr"><<a href="mailto:marco.lechner@fossgis.de">marco.lechner@fossgis.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
is there  (somewhere in the wiki or wherever) information about what is<br>
done by which of the scripts in the osmosis scripts folder?<br>
Especially since api0.6 I'm loosing task. And if there's akind of little<br>
documentation I don't have to open all the files and interpret the SQl<br>
od script-ciode to find out what is done by each of them.<br>
<br>
/osm/applications/osmosis-0.31.2/script/fix_line_endings.sh<br></blockquote><div> </div><div>Used by me during development to add the correct subversion properties to text files.  This is necessary for test data in particular which must have different line endings for Linux and Windows. <br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/pgsql_simple_schema_0.6.sql<br></blockquote><div><br>Described at <a href="http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks">http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks</a><br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/contrib/dump_apidb.sh<br>
/osm/applications/osmosis-0.31.2/script/contrib/CreateGeometryForWays.sql<br>
/osm/applications/osmosis-0.31.2/script/contrib/apidb_0.6_osmosis_xid_indexing.sql<br></blockquote><div><br>A patch to the production schema for adding an index to a transaction id column.  This is not required by most users unless they wish to use osmosis replication for reading changes out of their database.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/contrib/apidb_0.6.sql<br></blockquote><div><br>A script for creating the production API database schema.  This is a number of versions behind real production because I don't have a working rails installation at the moment.  Only provided here for convenience.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/contrib/replicate_osm_file.sh<br></blockquote><div><br>A simple script for automating the patching of a local OSM extract using diffs.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

/osm/applications/osmosis-0.31.2/script/pgsql_simple_schema_0.6_linestring.sql<br></blockquote><div><br>Described at <a href="http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks">http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks</a><br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/pgsql_simple_load_0.6.sql<br></blockquote><div><br>Described at <a href="http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks">http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks</a><br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/pgsql_simple_schema_0.6_action.sql<br></blockquote><div><br>Described at <a href="http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks">http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks</a><br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/osm/applications/osmosis-0.31.2/script/pgsql_simple_schema_0.6_bbox.sql<br></blockquote><div><br>Described at <a href="http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks">http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#PostGIS_Tasks</a><br>
</div></div><br>Hope that helps,<br>Brett<br><br>