[Tile-serving] [osm2pgsql] Convert geometries to WKB instead of WKT (#511)
Paul Norman
notifications at github.com
Sat Nov 28 03:04:07 UTC 2015
> @@ -224,12 +227,12 @@ geometry_builder::maybe_wkt_t geometry_builder::get_wkt_simple(const nodelist_t
> auto coords = nodes2coords(gf, nodes);
> if (polygon && is_polygon_line(coords.get())) {
> auto geom = create_simple_poly(gf, std::move(coords));
> - wkt = std::make_shared<wkt_t>(geom.get(), projection);
> + wkt = std::make_shared<wkt_t>(geom.get(), true, projection);
should this be changed to `wkb = ... <wkb_t> ...`?
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/511/files#r46075245
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151127/5d0529bb/attachment.html>
More information about the Tile-serving
mailing list