-
Notifications
You must be signed in to change notification settings - Fork 3
Added Basic WMS #14
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
Added Basic WMS #14
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,14 +73,20 @@ | |
], | ||
"properties": { | ||
"wmts:layer": { | ||
"type": [ | ||
"string", | ||
"array" | ||
], | ||
"minItems": 1, | ||
"items": { | ||
"type": "string" | ||
} | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
{ | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
} | ||
] | ||
}, | ||
"wmts:dimensions": { | ||
"type": "object", | ||
|
@@ -95,6 +101,44 @@ | |
} | ||
] | ||
} | ||
}, | ||
{ | ||
"$comment": "Defines WMS links", | ||
"if": { | ||
"properties": { | ||
"rel": { | ||
"const": "wms" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"required": [ | ||
"wms:layers" | ||
], | ||
"properties": { | ||
"wms:layers": { | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
}, | ||
"wms:styles": { | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"minLength": 1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In WMS, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thus you can provide an empty array. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, I thought There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, that's the min length of the string. |
||
} | ||
}, | ||
"wms:dimensions": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
Uh oh!
There was an error while loading. Please reload this page.