## Details

## Description

A coordinate is a collection of ordinates. `DirectPosition` can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore `DirectPosition` "has" one single coordinate and the method name should be:

```
DirectPosition.getCoordinate() // note the singular
```

Note that ISO 19107 uses the singular form as well.

FIx will be to add the method above, deprecate `DirectPosition.getCoordinates()` and fix the javadoc.

Reference: DirectPosition.getCoordinates() javadoc

patch attached.

## Activity

Martin Desruisseaux
made changes -

Field | Original Value | New Value |
---|---|---|

Description |
A cooridinate is a collection of ordinates. DirectPosition can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore DirectPosition "has" one single coordinate and the method name should be: DirectPosition.getCoordinate() //note the singular FIx will be to add the method above, deprecate DirectPosition.getCoordinates() and fix the javadoc. patch attached |
A coordinate is a collection of ordinates. {{DirectPosition}} can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore {{DirectPosition}} "has" one single coordinate and the method name should be: {code:java} DirectPosition.getCoordinate() //note the singular {code} Note that ISO 19107 uses the singular form as well. FIx will be to add the method above, deprecate {{DirectPosition.getCoordinates()}} and fix the javadoc. patch attached. |

Priority | Major [ 3 ] | Minor [ 4 ] |

Martin Desruisseaux
made changes -

Description |
A coordinate is a collection of ordinates. {{DirectPosition}} can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore {{DirectPosition}} "has" one single coordinate and the method name should be: {code:java} DirectPosition.getCoordinate() //note the singular {code} Note that ISO 19107 uses the singular form as well. FIx will be to add the method above, deprecate {{DirectPosition.getCoordinates()}} and fix the javadoc. patch attached. |
A coordinate is a collection of ordinates. {{DirectPosition}} can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore {{DirectPosition}} "has" one single coordinate and the method name should be: {code:java} DirectPosition.getCoordinate() // note the singular {code} Note that ISO 19107 uses the singular form as well. FIx will be to add the method above, deprecate {{DirectPosition.getCoordinates()}} and fix the javadoc. http://geoapi.sourceforge.net/2.2/javadoc/org/opengis/geometry/DirectPosition.html#getCoordinates() patch attached. |

Martin Desruisseaux
made changes -

Description |
A coordinate is a collection of ordinates. {{DirectPosition}} can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore {{DirectPosition}} "has" one single coordinate and the method name should be: {code:java} DirectPosition.getCoordinate() // note the singular {code} Note that ISO 19107 uses the singular form as well. FIx will be to add the method above, deprecate {{DirectPosition.getCoordinates()}} and fix the javadoc. http://geoapi.sourceforge.net/2.2/javadoc/org/opengis/geometry/DirectPosition.html#getCoordinates() patch attached. |
A coordinate is a collection of ordinates. {{DirectPosition}} can be considered a structure consisting of one group of ordinates and some referent describing what those ordinates mean. Therefore {{DirectPosition}} "has" one single coordinate and the method name should be: {code:java} DirectPosition.getCoordinate() // note the singular {code} Note that ISO 19107 uses the singular form as well. FIx will be to add the method above, deprecate {{DirectPosition.getCoordinates()}} and fix the javadoc. Reference: [DirectPosition.getCoordinates() javadoc|http://geoapi.sourceforge.net/2.2/javadoc/org/opengis/geometry/DirectPosition.html#getCoordinates()] patch attached. |

Martin Desruisseaux
made changes -

Component/s | coverage [ 11093 ] |

Martin Desruisseaux
made changes -

Resolution | Fixed [ 1 ] | |

Status | Open [ 1 ] | Closed [ 6 ] |

Assignee | Martin Desruisseaux [ desruisseaux ] |

Martin Desruisseaux
made changes -

Resolution | Fixed [ 1 ] | |

Status | Closed [ 6 ] | Reopened [ 4 ] |

Martin Desruisseaux
made changes -

Fix Version/s | 2.2 [ 12386 ] | |

Resolution | Fixed [ 1 ] | |

Fix Version/s | 2.2-M1 [ 14472 ] | |

Status | Reopened [ 4 ] | Closed [ 6 ] |

ISO 19111 said:

However other standards (ISO 19107, ISO 19123) seems to use "coordinate" in the sense of "coordinate tuple". The following classes are singular in ISO standards:

TM_Coordinatein ISO 19108CV_GridCoordinatein ISO 19123. Note that the ISO document mixes the singular and plural forms (both in textual description and in UML diagrams), but the later seems to be a typo since the section which is precisely aboutCV_GridCoordinateuses the singular form.We need to bring a little bit more consistency in GeoAPI. Using the singular form seems reasonable, but in such case we need to rename

GridCoordinatesas well: