mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-12-05 00:39:09 +01:00
Compare commits
2 Commits
90c75aafe9
...
e2cf5fe483
Author | SHA1 | Date | |
---|---|---|---|
e2cf5fe483 | |||
96a4b30e3a |
21
doc.html
21
doc.html
@ -147,7 +147,7 @@
|
||||
<h3 id="online">Online maps</h3>
|
||||
|
||||
<p>Online maps are represented by map source definition XML files. For the formal
|
||||
map source file syntax see the <a href="map/1.4/map.xsd">map source
|
||||
map source file syntax see the <a href="map/1.5/map.xsd">map source
|
||||
XSD file</a>. The paragraphs below are a "human-readable" summary of the XSD
|
||||
syntax/semantics divided by map type.</p>
|
||||
|
||||
@ -160,7 +160,7 @@
|
||||
|
||||
<pre>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map xmlns="http://www.gpxsee.org/map/1.4" type="OSM">
|
||||
<map xmlns="http://www.gpxsee.org/map/1.5" type="OSM">
|
||||
<name>USGS Imagery</name>
|
||||
<url>https://navigator.er.usgs.gov/tiles/aerial_Imagery.cgi/$z/$x/$y</url>
|
||||
<zoom min="2" max="15"/>
|
||||
@ -179,7 +179,7 @@
|
||||
|
||||
<pre>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map xmlns="http://www.gpxsee.org/map/1.4">
|
||||
<map xmlns="http://www.gpxsee.org/map/1.5">
|
||||
<name>OSM - HiDPI</name>
|
||||
<url>https://a.osm.rrze.fau.de/osmhd/$z/$x/$y.png</url>
|
||||
<tile pixelRatio="2"/>
|
||||
@ -193,7 +193,7 @@
|
||||
|
||||
<pre>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map xmlns="http://www.gpxsee.org/map/1.4">
|
||||
<map xmlns="http://www.gpxsee.org/map/1.5">
|
||||
<name>MapTiler</name>
|
||||
<url>https://maps.tilehosting.com/data/v3/$z/$x/$y.pbf?key=apikey</url>
|
||||
<tile type="vector" size="512"/>
|
||||
@ -228,7 +228,7 @@
|
||||
|
||||
<pre>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map xmlns="http://www.gpxsee.org/map/1.4" type="WMTS">
|
||||
<map xmlns="http://www.gpxsee.org/map/1.5" type="WMTS">
|
||||
<name>CUZK</name>
|
||||
<url>http://geoportal.cuzk.cz/WMTS_ZM_900913/WMTService.aspx</url>
|
||||
<layer>zm</layer>
|
||||
@ -242,7 +242,7 @@
|
||||
|
||||
<pre>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map xmlns="http://www.gpxsee.org/map/1.4" type="WMTS">
|
||||
<map xmlns="http://www.gpxsee.org/map/1.5" type="WMTS">
|
||||
<name>Wien - Ortho</name>
|
||||
<url type="REST">http://maps1.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml</url>
|
||||
<layer>lb</layer>
|
||||
@ -280,7 +280,7 @@
|
||||
|
||||
<pre>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map xmlns="http://www.gpxsee.org/map/1.4" type="WMS">
|
||||
<map xmlns="http://www.gpxsee.org/map/1.5" type="WMS">
|
||||
<name>Katastr nemovitostí</name>
|
||||
<url>http://services.cuzk.cz/wms/wms.asp</url>
|
||||
<layer>polygony_parcel,polygony_budov,polygony_k_u</layer>
|
||||
@ -288,6 +288,12 @@
|
||||
</map>
|
||||
</pre>
|
||||
|
||||
<h4 id="headers">Server access</h4>
|
||||
<p>If the map server requires HTTP authentication, you can use the <i>authorization</i>
|
||||
element to specify HTTP basic authorization credentials. Since version 13.3 you may
|
||||
also specify additional HTTP request headers using the <i>header</i> element.</p>
|
||||
|
||||
|
||||
<h3 id="offline">Offline maps</h3>
|
||||
<p>OziExplorer maps, TrekBuddy maps/atlases, Garmin JNX & IMG/GMAP maps,
|
||||
TwoNav RMaps, MBTiles, KMZ maps, AlpineQuest AQM maps, Locus/OsmAnd/RMaps SQLite
|
||||
@ -444,6 +450,7 @@
|
||||
<div class="h6l"><a href="#QuadTiles">QuadTiles</a></div>
|
||||
<div class="h6l"><a href="#WMTS">WMTS</a></div>
|
||||
<div class="h6l"><a href="#WMS">WMS</a></div>
|
||||
<div class="h6l"><a href="#headers">Server access</a></div>
|
||||
<div class="h5l"><a href="#offline">Offline maps</a></div>
|
||||
<div class="h6l"><a href="#IMG">IMG maps</a></div>
|
||||
<div class="h6l"><a href="#JNXKML">JNX & KMZ maps</a></div>
|
||||
|
17
index.html
17
index.html
@ -193,6 +193,15 @@
|
||||
</div>
|
||||
<div class="latest-news">
|
||||
<h2>Releases</h2>
|
||||
<div class="news-item">
|
||||
<p class="date">May 21 2023</p>
|
||||
<h3>Version 13.3</h3>
|
||||
<ul>
|
||||
<li>Improved vector maps zooming speed/performance.</li>
|
||||
<li>Added support for custom HTTP headers in map tile requests.</li>
|
||||
<li>Improved Mapsforge maps rendering.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="news-item">
|
||||
<p class="date">May 12 2023</p>
|
||||
<h3>Version 13.2</h3>
|
||||
@ -226,14 +235,6 @@
|
||||
<li>Minor fixes.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="news-item">
|
||||
<p class="date">Mar 26 2023</p>
|
||||
<h3>Version 12.3</h3>
|
||||
<ul>
|
||||
<li>Improved ENC maps rendering.</li>
|
||||
<li>Minor fixes.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="changelog-link">
|
||||
<a href="https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes">Full changelog</a>
|
||||
|
27
map/1.5/index.html
Normal file
27
map/1.5/index.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Map version 1.5 XML file format</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||
<style>
|
||||
body {
|
||||
max-width: 50em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Map version 1.5 XML file format</h1>
|
||||
<p>For human-readable Map format description, see the
|
||||
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
||||
XML validation use the <a href="http://www.gpxsee.org/map/1.5/map.xsd">XSD
|
||||
file</a>.</p>
|
||||
|
||||
<p>Changes since 1.4:</p>
|
||||
<ul>
|
||||
<li>Added support for custom HTTP request headers
|
||||
(<code>header</code> element).</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
124
map/1.5/map.xsd
Normal file
124
map/1.5/map.xsd
Normal file
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0"?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://www.gpxsee.org/map/1.5"
|
||||
xmlns="http://www.gpxsee.org/map/1.5"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="mapType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="OSM"/>
|
||||
<xs:enumeration value="WMTS"/>
|
||||
<xs:enumeration value="WMS"/>
|
||||
<xs:enumeration value="TMS"/>
|
||||
<xs:enumeration value="QuadTiles"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="urlType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="REST"/>
|
||||
<xs:enumeration value="KVP"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="axisOrder">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="xy"/>
|
||||
<xs:enumeration value="yx"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="tileType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="raster"/>
|
||||
<xs:enumeration value="vector"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:element name="map">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||
<xs:element name="url" minOccurs="1" maxOccurs="1">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="type" type="urlType"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="tile" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="size" type="xs:nonNegativeInteger"/>
|
||||
<xs:attribute name="pixelRatio" type="xs:decimal"/>
|
||||
<xs:attribute name="type" type="tileType"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="zoom" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="min" type="xs:nonNegativeInteger"/>
|
||||
<xs:attribute name="max" type="xs:nonNegativeInteger"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="bounds" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="top" type="xs:decimal"/>
|
||||
<xs:attribute name="bottom" type="xs:decimal"/>
|
||||
<xs:attribute name="left" type="xs:decimal"/>
|
||||
<xs:attribute name="right" type="xs:decimal"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="copyright" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="format" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="layer" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="style" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element name="crs" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="axis" type="axisOrder"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="set" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="axis" type="axisOrder"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="dimension" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="authorization" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:attribute name="username" type="xs:string" use="required"/>
|
||||
<xs:attribute name="password" type="xs:string" use="required"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="header" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:simpleContent>
|
||||
<xs:extension base="xs:string">
|
||||
<xs:attribute name="name" type="xs:string" use="required"/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
|
||||
<xs:attribute name="type" type="mapType" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
Loading…
Reference in New Issue
Block a user