File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/main/java/il/org/osm/israelhiking Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -426,14 +426,12 @@ private void addNonIconFeaturesToElasricseach(SourceFeature feature) throws Geom
426426 return ;
427427 }
428428 var shouldBeIncluded = false ;
429- if (feature .hasTag ("amenity" , "place_of_worship" )) {
430- shouldBeIncluded = true ;
431- }
432- if (feature .hasTag ("shop" , "bicycle" )) {
433- shouldBeIncluded = true ;
434- }
435-
436- if (feature .hasTag ("railway" , "station" )) {
429+ if (feature .hasTag ("amenity" , "place_of_worship" ) ||
430+ feature .hasTag ("shop" , "bicycle" ) ||
431+ feature .hasTag ("railway" , "station" ) ||
432+ feature .hasTag ("aerialway" , "station" ) ||
433+ feature .hasTag ("natural" , "valley" , "ridge" ) ||
434+ (feature .hasTag ("landuse" , "recreation_ground" ) && feature .hasTag ("sport" , "mtb" ))) {
437435 shouldBeIncluded = true ;
438436 }
439437
You can’t perform that action at this time.
0 commit comments