[osmosis-dev] Creating linestring when writing daily replications to Postgres-Server
Paweł Paprota
ppawel at fastmail.fm
Tue Dec 11 13:09:48 GMT 2012
Hi Michel,
On 12/11/2012 10:43 AM, Michel Seuthe wrote:
>
> is it possible to tell osmosis to create the linestring on the
> way-table as done during the import of a planet-file?
>
Do you have the "linestring" geometry column in the "ways" table?
Osmosis should automatically decide to create linestring and bbox for
ways depending on what columns you have in your database.
See documentation for more details:
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#PostGIS_Tasks_.28Snapshot_Schema.29
You just need to run the pgsnapshot_schema_0.6_linestring.sql script to
get that column.
Paweł
More information about the osmosis-dev
mailing list