Skip to content

Should locations be compared as Strings? #35

@albertopq

Description

@albertopq

I'm running into an issue when ordering by Locations.location.
I think that should compare results by coordinates, but the test is comparing as a String, according to:

https://github.com/opengeospatial/ets-sta10/blob/master/src/main/java/org/opengis/cite/sta10/filteringExtension/Capability3Tests.java#L537

We are delegating that orderby to SQL (postgres) directly and it seems that the result is different:

coordinates: [-117.05, 51.05] < coordinates: [-100.05,50.05]

when the test is expecting the opposite.

Could somebody please elaborate on the idea behind this test?
Thanks!

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions