[OSM-dev] [strange osm2pgsql behaviour?]
Tom Hughes
tom at compton.nu
Mon Jul 13 10:12:13 BST 2009
On 13/07/09 09:59, Sergiusz Pawlowicz wrote:
> On Mon, Jul 13, 2009 at 08:44, Tom Hughes<tom at compton.nu> wrote:
>> On 13/07/09 07:16, Sergiusz Pawlowicz wrote:
>>
>>> hello, i have noticed a strange osm2pgsql behavior, when you import
>>> planet without a slim option, it does not create the same tables as
>>> with using --slim, which results you cannot apply any changes later -
>>> is it a bug?
>> No, it's a feature. Incremental updates are only possible in slim mode.
>>
>> Basically the tables that are used by slim mode to store the data that would
>> otherwise be held in memory are the same tables that track the objects and
>> allow updates to be applied.
>
> Sorry, I am not talking about incremental updates, but about an
> initial, first load of the database.
>
> I can fully agree updates should be possible only in slim update.
Yes, but unless you use slim mode for the initial load you won't have
the object tracking tables (which aren't needed in non-slim mode) in the
database so you won't be able to do any updates.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list