XML Script WMTS Export

From OCAD Wiki - English
Revision as of 10:28, 3 July 2020 by Admin (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This function is available in OCAD Mapping Solution.

OCAD can export map tiles for Leaflet with XML Scirpt.

<?xml version="1.0" encoding="ISO-8859-1"?>
<OcadScript>
  <File.Open>
    <File>S:\O Map ZG\ZG.ocd</File>
  </File.Open>
  <File.ExportWmts>                                        
    <ExportPath>S:\O Map ZG\13_Leaflet\</ExportPath>
    <Format>Leaflet</Format>
    <PartOfMap>  
      <Enabled>true</Enabled>
      <Coordinates>m</Coordinates>
      <L>2600000</L>
      <R>2610000</R>
      <B>1200000</B>
      <T>1210000</T>
    </PartOfMap>  
    <MinZoom>0</MinZoom>
    <MaxZoom>6</MaxZoom>
    <PixelSize>0.25</PixelSize>
    <TileSize>1000</TileSize>
  </File.ExportWmts>
 <File.Save>
    <Enabled>false</Enabled>  
  </File.Save>
  <File.Close>
    <Enabled>true</Enabled>  
  </File.Close>
</OcadScript>