[Tile-serving] [openstreetmap/osm2pgsql] Cleanup reprojection (#1263)
Jochen Topf
notifications at github.com
Wed Aug 5 13:26:49 UTC 2020
@joto commented on this pull request.
> @@ -122,6 +122,21 @@ int expire_tiles::normalise_tile_x_coord(int x)
return x;
}
+/**
+ * Converts from target coordinates to tile coordinates.
+ *
+ * The zoom level for the coordinates is explicitly given in the
+ * parameter map_width.
+ */
+static void coords_to_tile(reprojection const &projection, double *tilex,
+ double *tiley, double lon, double lat, int map_width)
I added a commit with this.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1263#discussion_r465724834
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200805/8251a50a/attachment.htm>
More information about the Tile-serving
mailing list