[OSM-dev] osm2pgsql and complex buildings

Jon Burgess jburgess777 at gmail.com
Wed Nov 2 20:44:07 GMT 2011


On Wed, 2011-11-02 at 21:32 +0100, marqqs at gmx.eu wrote:
> Hi!
> 
> Is there a way how osm2pgsql would consider complex buildings?
> 
> Example:
> There is a hospital (building) which is defined by a multipolygon. That multipolygon has some ways as members, one of them with the role "outer" the others with the role "inner".
> The hospital's tags are applied to the multipolygon relation only and not to the ways.
> 
> osm2pgsql seems not to recognize this kind of objects, I cannot find it in planet_osm_polygon.
> 
> Did I make a mistake? Does the program need the tag "building"? What should I do?

That combination should work. Can you provide the ID of the relation?

  Jon





More information about the dev mailing list