Exemplo n.º 1
0
 /**
  * send a streetLight in the dsf file.
  *
  * @param osmPolygon osm polygon
  * @return true if a streetlight has been written in the dsf file.
  */
 private boolean processStreetLights(OsmPolygon osmPolygon) {
   Boolean result = false;
   if (XplaneOptionsHelper.getOptions().isGenerateStreetLights()
       && OsmUtils.isTagInTagsList("highway", "residential", osmPolygon.getTags())) {
     writeStreetLightToDsf(osmPolygon);
     result = true;
   }
   return result;
 }