We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c6a490 commit 178cf7aCopy full SHA for 178cf7a
src/output-pgsql.cpp
@@ -47,7 +47,7 @@
47
48
static double calculate_area(bool reproject_area,
49
geom::geometry_t const &geom4326,
50
- geom::geometry_t const &geom)
+ geom::geometry_t const &projected_geom)
51
{
52
static thread_local auto const proj3857 =
53
reprojection::create_projection(3857);
@@ -56,7 +56,7 @@ static double calculate_area(bool reproject_area,
56
auto const ogeom = geom::transform(geom4326, *proj3857);
57
return geom::area(ogeom);
58
}
59
- return geom::area(geom);
+ return geom::area(projected_geom);
60
61
62
void output_pgsql_t::pgsql_out_way(osmium::Way const &way, taglist_t *tags,
0 commit comments