This is still a preliminary observation, but for some testing, I now used the
new 'openstreetmap-carto-flex' and the --flat-nodes option of osm2pgsql.
While, if I have understood it well from previous discussions here in the
repository, the loading data as 3857 is faster in general due to some shortcuts
in the code, I generally assumed this would not relate to the --flat-nodes
loading stage, as I assumed the major difference would likely be in processing
ways and relations in the different projections.
But I now noticed a slightly higher node loading speed (7k/s versus 5.8k/s)
using the new 'openstreetmap-carto-flex' style that loads data as 3857, while
I routinely process the data as 4326 using my own custom flex style, which
results in the lower figure.
This also raises another question: does --flat-nodes store node data always in
4326 as per the OpenStreetMap PBF, or in the style's defined projection (which
might explain the difference I am seeing)?
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2272
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving