Use the capabilities getmap / gettile url as the "base" for templates #75
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @dromagnoli and @aaime
I noticed that I was having trouble with proxying this WMS because the capabilities URL that I got from a metadata file is different from that in the capabilities document, and yet you can't do a getmap off the base URL that was used as the WMSStore. Weird I know, but it seems safer to parse and use the capabilities request section than it does to use the capabilties URL as the base. WDYT?
This change may break a test but it's hard to tell because of the problem with junit at the moment.
I was very pleased that you tried to proxy the WMTS as well but it seems very sensitive to differences in the number of tile matrices on the proxy definition vs the remote actually implemented tile matrices. Maybe it should just check for the number of tile matrices being less than or equal to the number known to the TCRS? Anyway, I'll play with that next week if I have time.