Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:help:1.4:maps:stored-create [2014/01/04 13:03] – alpinequest | en:help:1.4:maps:stored-create [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Custom stored maps ====== | ||
- | |||
- | AlpineQuest allows you to create your own stored map configurations and access a wide range of on-line map servers. | ||
- | |||
- | Stored maps are defined using an XML based file format offering a powerful configuration flexibility. Files must have a "'' | ||
- | |||
- | |||
- | ===== The AQX file format ===== | ||
- | |||
- | The AQX format used to create custom stored maps requires only few information. | ||
- | |||
- | ==== Basic example ==== | ||
- | |||
- | Here is a simple example to access an OSM-like tile server: | ||
- | |||
- | <file xml example_1.aqx> | ||
- | <?xml version=" | ||
- | <aqx version=" | ||
- | |||
- | < | ||
- | |||
- | <source id=" | ||
- | < | ||
- | <level type=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | |||
- | </ | ||
- | </ | ||
- | \\ | ||
- | \\ | ||
- | This example is composed of the following required elements:\\ | ||
- | \\ | ||
- | |||
- | * The generic XML and AQX declarations: | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <aqx version=" | ||
- | </ | ||
- | \\ | ||
- | |||
- | * The name of the AQX file maps set: | ||
- | <code xml>< | ||
- | \\ | ||
- | |||
- | * The definition of the first map inside the AQX file: | ||
- | <code xml>< | ||
- | |||
- | The "'' | ||
- | Other maps can be added to the file.\\ | ||
- | \\ | ||
- | |||
- | * The name of the map: | ||
- | <code xml>< | ||
- | \\ | ||
- | |||
- | * The definition of the zoom levels of the map: | ||
- | <code xml>< | ||
- | The "'' | ||
- | \\ | ||
- | |||
- | * The zoom values being used for this map: | ||
- | <code xml>< | ||
- | \\ | ||
- | |||
- | * The URL of the tile servers: | ||
- | <code xml> | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | |||
- | Any number of "'' | ||
- | The '' | ||
- | |||
- | |||
- | ==== Quadtree encoded tiles ==== | ||
- | |||
- | Instead of using the classical '' | ||
- | |||
- | <code xml> | ||
- | <source id=" | ||
- | < | ||
- | <level type=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | |||
- | |||
- | ==== Custom variables / Expression ==== | ||
- | |||
- | In addition to the variables provided by default, you can create your own variables defined by mathematical expressions for each levels: | ||
- | |||
- | <code xml> | ||
- | <source id=" | ||
- | < | ||
- | <level type=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | |||
- | The "'' | ||
- | |||
- | |||
- | ==== WMS servers ==== | ||
- | |||
- | To access WMS servers, you must use the level type '' | ||
- | |||
- | You can specify the coordinate system of the bounding box using the '' | ||
- | |||
- | Here is an example of how to access tiles from a WMS server: | ||
- | |||
- | <code xml> | ||
- | <source id=" | ||
- | < | ||
- | <level type=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | </ | ||