[OSM-dev] making osm2pgsql import relations?

Ákos Maróy akos at maroy.hu
Wed Nov 7 21:20:31 GMT 2012


On 07/11/12 22:12, sly (sylvain letuffe) wrote:
> osm2pgsql only uses it's multipolygon building ability when relations
> have a tag "type" with value "multipolygon" or "boundary" (unless
> patched) relation n°25 for exemple hasn't. 
it hasn't on purpose. the relations I use are not used to stitch
together polygons. they are relations in the traditional sense: they
collect various data about the same thing, in this case, an airport. the
related data is a range of lines (runways), points (navigation aids) and
other stuff, like the 'airport reference point', etc.
> However, I'm unsure if it should or shound't end in the _rels table
> anyway. But in the end, you won't have it in _polygon wich mean you
> probably won't get what you want : the geometry 
see above, the geometries are imported fine, I do have the points and
the lines imported that are related to these airports. what I don't
have, but would want to have, is the relation itself in PostGIS



More information about the dev mailing list