Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Update resources.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavblazek authored Jun 2, 2017
1 parent 5d9f508 commit 4948ceb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,17 @@ definition = {
Optional String geoidGrid // name of Proj.4's geoid grid file (e.g. `egm96_15.gtx`)
Optional Array<String> layers // list of layers names
Optional String format // output file format, so far only "geodataJson" is supported (default)
String styleUrl // URL to default geodata style
Optional String styleUrl // URL to default geodata style
Int displaySize // Nominal size of tile in pixels.
Optional Object introspection // Extended configuration for mapConfig.json served by mapproxy
}
```

`styleUrl` handling is as follows:
* if there is no `styleUrl` element present mapproxy serves its built-in default style via `style.json` file under resources URL;
* or if `styleUrl` element is present and starts with `file:` prefix then contents of this file (either absolute or relative to dataset directory) are server via the same `style.json` file (NB: this is not a file URI);
* otherwise, the URL from `styleUrl` element is reported in the `freelayer.json` as is

Introspection can be used to serve mapConfig where geodata are show with some surface which in turn can have its own
introspection configuration.

Expand Down

0 comments on commit 4948ceb

Please sign in to comment.