This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
terrain and wmts interfaces display listing and provide README file
- Loading branch information
1 parent
00e2cf8
commit 73fdfae
Showing
13 changed files
with
143 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# VTS Mapproxy resource Cesium Terrain Provider interface | ||
|
||
## Generail info | ||
|
||
Cesium Terrain Proviver interface allowd VTS surface resource to be used in any | ||
Cesium application as a terrain provider. | ||
|
||
For every terrain-enabled reference frame mapproxy provides a | ||
[layer.json](layer.json) file containing layer description and | ||
appropriateterrain files. | ||
|
||
If the original dataset doesn't cover whole Earth the undefined height is | ||
replaced with zero height. | ||
|
||
There's an [interactive browser](browser.html) provided by mapproxy for testing | ||
and evaluation. | ||
|
||
You can the use the [URL of this directory[(.) to add this resource as a terrain | ||
provider to your Cesium application. | ||
|
||
var terrainProvider = new Cesium.CesiumTerrainProvider({ | ||
url: "path-to-this-resource" | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# VTS Mapproxy resource WMTS interface | ||
|
||
## Generail info | ||
|
||
WMTS interface allowd VTS raster resource to be used in WMTS enabled WWW clients | ||
or GIS tool. | ||
|
||
For every WMTS-enabled reference frame mapproxy provides a | ||
[WMTSCapabilities.xml](WMTSCapabilities.xml) file containing single layer for | ||
this particular resource. | ||
|
||
There's an [interactive browser](browser.html) provided by mapproxy for testing | ||
and evaluation. | ||
|
||
You can the use the [URL of this directory[(.)in tools like | ||
[GDAL](https://www.gdal.org/) or [QGIS](https://qgis.org/en/site/). | ||
|
||
## Examples | ||
|
||
### GDAL | ||
|
||
* GDAL: warp whole dataset into a TIF file 1024 px wide with aspect ratio kept | ||
|
||
# gdalwarp wmts:http://.../WMTSCapabilities.xml output.tif -ts 1024 0 -r cubic | ||
|
||
(please notice the `wmts:` URL prefix) | ||
|
||
### QGIS | ||
In QGIS desktop application: | ||
|
||
* Open the "Add Layer(s) from a WM(T)S Server" dialog: | ||
* either via menu: `Layer` -> `Add Layer` -> `Add WMT/WMTS Layer...` | ||
* or by keyboard shortcut: `Ctrl+Shift+W` | ||
* Click the `New` button to add new server connection | ||
* Choose name for new server in tha `Name` field | ||
* Paste the use [WMTSCapabilities.xml URL](WMTSCapabilities.xml) in the `URL` field | ||
* Click OK to save the connection | ||
* New server connection should become selected in the drop-down list | ||
* Click the `Connect` button | ||
* Select the only layer available | ||
* Click the `Add` butto | ||
|
||
--- | ||
|
||
*Nota bene*: If you want to use WMTS interface outside of introspection browser | ||
you have to have properly configured the `http.externalUrl` mapproxy | ||
configuration options. For example: | ||
|
||
[http] | ||
externalUrl = http://myserver.mydomain.com/mapproxy/root |