maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] Issue to install ocitysmap2: missing "addr:housenam


From: Vincent de Chateau-Thierry
Subject: Re: [Maposmatic-dev] Issue to install ocitysmap2: missing "addr:housename" column
Date: Sun, 04 Dec 2011 18:01:20 +0100
User-agent: Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20111105 Thunderbird/8.0

Hi,

Le 04/12/2011 17:42, David MENTRE a écrit :
Hello,

I'm trying to install a fresh maposmatic, following instructions
maposmatic/INSTALL and ocitysmap/INSTALL.lucid. I have adapted the
install instruction to use pre-compiled package of my Ubuntu 11.10.

I have followed all steps and everything seemed to go smoothly...
except ocitysmap2-render fails when I launch it! :-(

"""
./ocitysmap2-render -t "Ceci n'est pas Paris" -b 48.7268,1.9946 48.6801,2.0742
[...]
RuntimeError: PSQL error:
ERROR:  column "addr:housename" does not exist
LINE 2:       (select way,"addr:housename" from planet_osm_polygon w...
                           ^
Full sql was: 'select * from
       (select way,"addr:housename" from planet_osm_polygon where
"addr:housename" is not null and building is not null
        union
        select way,"addr:housename" from planet_osm_point where
"addr:housename" is not null
       ) as housenames
        limit 0'
  (encountered during parsing of layer 'housenames')
"""

Apparently, column "addr:housename" is missing from my maposmatic
database. Any idea how to create it? Any special config for osm2pgsql?


According to
http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style
addr:housename only applies to points and lines :
node,way   addr:housename      text  linear

Maybe replacing "linear" with "polygon" for this entry in your style file could help ?

With regards,
vincent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]