Skip to content

Should locations be compared as Strings? #35

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions