@@ -84,6 +84,9 @@ private void convertTagsToDocument(PointDocument pointDocument, WithTags feature
8484 if (feature .hasTag ("name" )) {
8585 CoalesceIntoMap (pointDocument .name , "default" , feature .getString ("name" ));
8686 }
87+ if (feature .hasTag ("description" )) {
88+ CoalesceIntoMap (pointDocument .description , "default" , feature .getString ("description" ));
89+ }
8790 pointDocument .wikidata = feature .getString ("wikidata" );
8891 pointDocument .image = feature .getString ("image" );
8992 pointDocument .wikimedia_commons = feature .getString ("wikimedia_commons" );
@@ -454,6 +457,9 @@ private void addNonIconFeaturesToElasricseach(SourceFeature feature) throws Geom
454457 if (feature .hasTag ("name" )) {
455458 CoalesceIntoMap (pointDocument .name , "default" , feature .getString ("name" ));
456459 }
460+ if (feature .hasTag ("description" )) {
461+ CoalesceIntoMap (pointDocument .description , "default" , feature .getString ("description" ));
462+ }
457463 pointDocument .wikidata = feature .getString ("wikidata" );
458464 pointDocument .image = feature .getString ("image" );
459465 pointDocument .wikimedia_commons = feature .getString ("wikimedia_commons" );
@@ -556,6 +562,9 @@ private void setFeaturePropertiesFromPointDocument(Feature tileFeature, PointDoc
556562 if (pointDocument .name .containsKey ("default" )) {
557563 tileFeature .setAttr ("name" , pointDocument .name .get ("default" ));
558564 }
565+ if (pointDocument .description .containsKey ("default" )) {
566+ tileFeature .setAttr ("description" , pointDocument .description .get ("default" ));
567+ }
559568 }
560569
561570 private boolean isBBoxFeature (SourceFeature feature , String [] supportedLanguages ) {
0 commit comments