Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom extent class type has incorrect interval field type #8

Closed
ernstdevreede opened this issue May 15, 2024 · 0 comments · Fixed by #9
Closed

Custom extent class type has incorrect interval field type #8

ernstdevreede opened this issue May 15, 2024 · 0 comments · Fixed by #9
Assignees

Comments

@ernstdevreede
Copy link

ernstdevreede commented May 15, 2024

The interval field in the Custom class (in extent.py) has the type interval: List[str].
According to the standard this should be: interval: List[List[str]] or even better interval: List[List[str|float]]

See: https://docs.ogc.org/is/19-086r6/19-086r6.html#_a2113fbe-7d9d-4295-bdfa-25b9cc89fa03 where the schema states:

type: object
required:
    - id
    - interval
    - reference
properties:
    id:
        type: string
    interval:
        type: array
        minItems: 1
        items:
            type: array
            minItems: 2
            items:
                anyOf:
                    - type: string
                    - type: number
            nullable: true
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants