-
Notifications
You must be signed in to change notification settings - Fork 41
Description
CI_Address.deliveryPoint
is a property of type CharacterSequence
documented in ISO 19115 as: "the address line for the location (as described in ISO 11180, Annex A)". Since ISO 19115 allows many occurrences of that property, it has been interpreted in GeoAPI as if a CI_Address
can have many delivery points. But the examples in data.gov file suggests that the multi-occurrence is rather for describing a single delivery point on many lines. Example (simplified):
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>151 Patton Avenue</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:deliveryPoint>
<gco:CharacterString>Veach-Baley Federal Building, Room 468</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>Asheville</gco:CharacterString>
</gmd:city>
<gmd:country>
<gco:CharacterString>USA</gco:CharacterString>
</gmd:country>
</gmd:CI_Address>
If the later interpretation is correct (e.g. the multi-occurrence is for a single delivery points on many lines, not for multiple delivery points), then the following method signature:
Collection<String> getDeliveryPoints();
should be changed as below. Note the singular (because only one delivery point) and the use of List
(because the order of those lines matter):
List<String> getDeliveryPoint();
In addition the documentation should clarify that interpretation.