The data was imported using the following command:
osmosis --read-pbf file="/usr/local/lib/geoserver-2.1.3/data_dir/argentina.osm.pbf" --write-pgsql database="argosm" password="1234.5" user="argosm"
And previously these commands were issued:
sudo su postgres createdb argosm createlang plpgsql argosm psql -d argosm -f /usr/share/postgresql/9.1/contrib/postgis-2.0/postgis.sql psql -d argosm -f /usr/share/postgresql/9.1/contrib/postgis-2.0/spatial_ref_sys.sql psql -d argosm -f /usr/share/postlbs/routing_core.sql psql -d argosm -f /usr/share/postlbs/routing_core_wrappers.sql psql -d argosm -f /usr/share/postlbs/routing_topology.sql
The following tables have been created:
Then I added a store in Geoserver, but the only layer I can see with Openlayers, QGIS and so on is "nodes".
No rivers, streets, and no street names. I don't know what can I do with this data, or did I miss some step?
All processes ended normally, no errors during import.