[OSM-dev] osm2pgsql Error way_changed_mark

Martijn van Oosterhout kleptog at gmail.com
Sat Sep 19 17:35:22 BST 2009


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,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list