[osmosis-dev] Creating linestring when writing daily replications to Postgres-Server
Michel Seuthe
m.seuthe at gmail.com
Tue Dec 11 13:40:28 GMT 2012
Of course i have. It works fine when I import a regular planet-file on
to the DB server.
That's why i was wondering how to get the same results when importing
redaction-files.
2012/12/11, Paweł Paprota <ppawel at fastmail.fm>:
> 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ł
>
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
More information about the osmosis-dev
mailing list