[Tile-serving] [openstreetmap/osm2pgsql] Add support for data generalization (PR #1942)
Paul Norman
notifications at github.com
Mon Mar 6 09:18:54 UTC 2023
@pnorman commented on this pull request.
> + }
+
+ // XXX other geometry types?
+
+ return 0;
+}
+
+void canvas_t::save(std::string const &filename) const
+{
+ m_rast.save(filename.c_str());
+}
+
+std::string canvas_t::to_wkb(tile_t const &tile, double margin) const
+{
+ std::string wkb;
+ wkb.reserve(61 + 2 + m_rast.size());
Use variables for magic numbers
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1942#pullrequestreview-1325794291
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1942/review/1325794291 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230306/3cd21b75/attachment.htm>
More information about the Tile-serving
mailing list