[OSM-dev] osm2pgsql Error way_changed_mark

Andrew Ayre andy at britishideas.com
Sat Sep 19 18:22:01 BST 2009


Martijn van Oosterhout wrote:
> On Sat, Sep 19, 2009 at 1:22 AM, Andrew Ayre <andy at britishideas.com> wrote:
>>> I think you can fix it by creating a DB with empty tables and then
>>> loading your data using --append:
>>>
>>> $ echo "<osm></osm>" > empty.osm
>>> $ osm2pgsql -d mapnik -p opt -U username -W -c -m -s empty.osm
>>> $ osm2pgsql --append -d mapnik -p opt -U username -W -c -m -s opt.osm
>> Hi Jon,
>>
>> It is related to making local edits on the data before importing it into
>> the db. Unfortuantely adding an empty data set then appending doesn't
>> work around it.
> 
> Definitely wierd. Can you paste the entire output you get when you run
> the above commands? The only thing I can imagine is that you're
> missing intarray support, but you havn't given enough info to be sure.
> 
> Have a nice day,

Ah, yes. I remember seeing a warning about intarray missing now that you 
mention it. So that will stop the append operation from working, right?

Andy

-- 
Andy
PGP Key ID: 0xDC1B5864




More information about the dev mailing list