Changes between Initial Version and Version 1 of Ticket #22835, comment 6


Ignore:
Timestamp:
2023-04-25T14:40:11+02:00 (3 years ago)
Author:
westnordost

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22835, comment 6

    initial v1  
    772. speed of point-in-polygon queries with that many polygons around
    88
    9 ... you may want to consider using this library, too. It is (AFAIK) currently used by StreetComplete and Vespucci. The upcoming version will use a revised serialization format that further shrinks the distribution file to 200 - 900 KB (the bigger the file, the faster a point-in-country query will be on average - i.e. which size you use depends on how frequently you need the country in which a point is located in JOSM).
     9... you may want to consider using this library, too. It is (AFAIK) currently used by StreetComplete and Vespucci. The upcoming version will use a revised serialization format that further shrinks the distribution file to 200 - 900 KB - containing the same data as the .osm file (the bigger the file, the faster a point-in-country query will be on average - i.e. which size you use depends on how frequently you need the country in which a point is located in JOSM).
    1010
    1111Now, anyway, for countryboundaries, it is actually beneficial if the boundaries do not span half the ocean but keep closer to the coast even if that means that there are a few more vertices. It makes the file size even smaller (and queries in the ocean faster 🤷‍♀️).