Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:help:v2:maps:on-demand-create [2017/02/18 03:54] – alpinequest | en:help:v2:maps:on-demand-create [2019/05/01 09:29] – alpinequest |
---|
Note that the application will recognize the ''**{$x}**'', ''**{$y}**'' and ''**{$z}**'' variable and replace them with correct values. | Note that the application will recognize the ''**{$x}**'', ''**{$y}**'' and ''**{$z}**'' variable and replace them with correct values. |
| |
The source ''**id**'' field must be unique in the file, and contains only characters and numbers. It is used internally by the application to identify the data storage of the map. | The source ''"**id**"'' field must be unique in the file, and contains only characters and numbers. It is used internally by the application to identify the data storage of the map. |
| |
\\ | \\ |
| |
The ''**<update-delay>**'' tag indicates after how many time the stored map data should be updated if it's used again. The default is ''**None**'', meaning the application will never try to update the stored data. Must end with ''**D**'' (number of days), ''**W**'' (weeks), ''**M**'' (months) or ''**Y**'' (years). ''**3M**'' means ''**3 months**''. Use ''**0D**'' to force the application to update the data on each display. | The ''**<update-delay>**'' tag indicates after how many time the stored map data should be updated if it's used again. The default is ''**None**'', meaning the application will never try to update the stored data. Must end with ''**D**'' (number of days), ''**W**'' (weeks), ''**M**'' (months) or ''**Y**'' (years). ''**3M**'' means ''**3 months**''. Use ''**0D**'' to force the application to update the data on each display. |
| |
| \\ |
| |
| ===== Advanced example ===== |
| \\ |
| |
| |
| |
\\ | \\ |
<referer>http://server.example.com/wmts/</referer><!-- optional, default is empty --> | <referer>http://server.example.com/wmts/</referer><!-- optional, default is empty --> |
<server>http://server.example.com/wmts/{$z}/{$y}/{$x}.png</server> | <server>http://server.example.com/wmts/{$z}/{$y}/{$x}.png</server> |
</level> | </zoom-levels> |
| |
<zoom-levels z="9"> | <zoom-levels z="9"> |
<referer>http://server.example.com/wmts/</referer><!-- optional, default is empty --> | <referer>http://server.example.com/wmts/</referer><!-- optional, default is empty --> |
<server>http://server.example.com/wmts/{$z}/{$y}/{$x}.png</server> | <server>http://server.example.com/wmts/{$z}/{$y}/{$x}.png</server> |
</level> | </zoom-levels> |
| |
</source> | </source> |
| |
To get the ''**<projection-resolution>**'' from a ''**ScaleDenominator**'', just multiply this value by ''**0.00028**'' (which is the "standardized rendering pixel size", in meter). | To get the ''**<projection-resolution>**'' from a ''**ScaleDenominator**'', just multiply this value by ''**0.00028**'' (which is the "standardized rendering pixel size", in meter). |
| |
| If you want to use a projection which is not natively supported by the application, you need to import its definition using the ''**<import-ogc-wkt-def>**'' tag. You can find the OGC WKT definition of almost all projections here: [[http://www.spatialreference.org/]]. |
| |
\\ | \\ |