Am 08.11.2012 01:04, schrieb Martin Koppenhoefer:
2012/11/7 Ákos Maróy <[email protected]>:
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.

You could have everything inside the airport polygon with the PostGIS
function ST_Within and without any special relation, but if you are
after special roles in your relation you won't have them with
osm2pgsql. If you use Osmosis for the import you will get everything,
but in the API db schema.
if you use osmosis, even the snapshot schema may be an option. This very much depends on your needs.

regards
Peter

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to