diff --git a/src/main/java/no/nibio/vips/logic/entity/PointOfInterest.java b/src/main/java/no/nibio/vips/logic/entity/PointOfInterest.java index 425fd96c1714ce6c81c17694a4ceba28eebca450..33aaf8a0e4d5dcbe88baf9394b921bed4de517c0 100755 --- a/src/main/java/no/nibio/vips/logic/entity/PointOfInterest.java +++ b/src/main/java/no/nibio/vips/logic/entity/PointOfInterest.java @@ -276,6 +276,10 @@ public class PointOfInterest implements Serializable, Comparable { { this.properties.put("pointOfInterestTypeId", this.getPointOfInterestTypeId()); } + if(this.properties.get("pointOfInterestName") == null) + { + this.properties.put("pointOfInterestName", this.getName()); + } return this.properties; }