Osm2pgsql/Key:way area

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg way_area
Osm element key.svg
DescriptionHelp translate this into osm2pgsql/key!
Synthetic key created by osm2pgsql during import for Mapnik. It is calculated by the get_area function. Edit or translate this description.
Used on these elementsHelp translate this into osm2pgsql/key!
use on nodes unspecifieduse on ways unspecifieduse on areas unspecifieduse on relations unspecified
WikidataHelp translate this into osm2pgsql/key!
StatusHelp translate this into osm2pgsql/key!unspecifiedHelp translate this into osm2pgsql/key!

The key way_area=* is a synthetic key created by osm2pgsql during import for Mapnik. It is calculated by the get_area function.

The unit of the area depends on how the data was imported, if it was with osm2pgsql -l (latlon), it will be square degrees, otherwise square meters.

Note of warning: the square meters are projected square meters. With the default Spherical Mercator projection, this means that same sized areas appear larger in the way_area column the further from the equator they are.

See also