osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.65k stars 1.02k forks source link

Aboriginal_land and border_zone relationships do not appear in the search results #16652

Closed BikeRoad closed 9 months ago

BikeRoad commented 1 year ago

Aboriginal_land relationships do not appear in the search results.

Example: https://www.openstreetmap.org/relation/11032268

xmd5a2 commented 1 year ago

Dev notes: If you add a line in poi_types.xml it will not work:

<poi_type name="aboriginal_lands" tag="boundary" value="aboriginal_lands" no_edit="true"/>
BikeRoad commented 1 year ago

The problem that I reported also happens with the relationship boundary=border_zone

vshcherb commented 10 months ago

@xmd5a2 Added line to poi_types.xml - tested on https://www.openstreetmap.org/export#map=11/39.8721/-113.9357

<poi_type name="aboriginal_lands" tag="boundary" value="aboriginal_lands" no_edit="true" />

Shows in OBF as expected

natural: aboriginal_lands Confederated Tribes of the Goshute Reservation / Aipimpaa Newe Lat 39.872288 Lon -113.988785 osmid=2213087278080  alt_name:en='Deep Creek Valley' name:shh='Aipimpaa Newe' name:en='Confederated Tribes of the Goshute Reservation'
xmd5a2 commented 9 months ago

Fixed

natural: aboriginal_lands Aboriginal lands Lat 45.73328 Lon 36.49716 osmid=-4587632351537669355 
natural: aboriginal_lands  Lat 45.7372 Lon 36.578957 osmid=-4587632351537669470 
natural: aboriginal_lands Aboriginal lands Lat 45.73726 Lon 36.575123 osmid=-4587632351537669349 
natural: aboriginal_lands Aboriginal_lands_boundary Lat 45.73789 Lon 36.582584 osmid=-6078318031171014656 
natural: aboriginal_lands Aboriginal lands multipoly Lat 45.737774 Lon 36.5796 osmid=-6078318031170996224 
natural: aboriginal_lands  Lat 45.737835 Lon 36.581966 osmid=-4587632351537669469 
natural: aboriginal_lands  Lat 45.737236 Lon 36.583473 osmid=-4587632351537669468 
natural: aboriginal_lands  Lat 45.73859 Lon 36.582317 osmid=-4587632351537669467 
natural: aboriginal_lands Aboriginal lands Lat 45.739326 Lon 36.580357 osmid=-4587632351537669358 
natural: aboriginal_lands  Lat 45.737583 Lon 36.580303 osmid=-4587632351537669351 
natural: aboriginal_lands  Lat 45.73631 Lon 36.578976 osmid=-4587632351537669350 

Relation to test: https://www.openstreetmap.org/relation/11032268#map=7/-11.048/-70.676 Map of Peru will be regenerated soon

yuriiurshuliak commented 8 months ago

This has been fixed. Mashco Piro Indigenous Reserve is currently displayed in the search.

OsmAnd~ 4.7.0#1497m, released: 2024-02-02