Changes between Initial Version and Version 1 of Ticket #22835, comment 6
- Timestamp:
- 2023-04-25T14:40:11+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22835, comment 6
initial v1 7 7 2. speed of point-in-polygon queries with that many polygons around 8 8 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). 10 10 11 11 Now, 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 🤷♀️).


