From b5bcaea3a08f25a5b0143fae4fd569464b0d5099 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 14 Nov 2013 12:48:06 +0100 Subject: [PATCH] Proj4js no longer needed for wmts-from-capabilities example The WMTS capabilities document of the Vienna map has changed. It no longer defines a tileset for EPSG:31256, so it can be parsed without having Proj4js and a projection definition for EPSG:31256. --- examples/data/WMTSCapabilities.xml | 134 --------------------------- examples/wmts-from-capabilities.html | 1 - examples/wmts-from-capabilities.js | 6 -- 3 files changed, 141 deletions(-) diff --git a/examples/data/WMTSCapabilities.xml b/examples/data/WMTSCapabilities.xml index 11701a5f6f..b58c4644b5 100644 --- a/examples/data/WMTSCapabilities.xml +++ b/examples/data/WMTSCapabilities.xml @@ -179,140 +179,6 @@ - - viennagis31256 - - -11500 330500 - 18500 354000 - - urn:ogc:def:crs:EPSG::31256 - - 0 - 500000.0 - 355000.0 -13500.0 - 256 - 256 - 2 - 1 - - - 1 - 250000.0 - 355000.0 -13500.0 - 256 - 256 - 3 - 2 - - - 2 - 125000.0 - 355000.0 -13500.0 - 256 - 256 - 5 - 3 - - - 3 - 64000.0 - 355000.0 -13500.0 - 256 - 256 - 9 - 6 - - - 4 - 32000.0 - 355000.0 -13500.0 - 256 - 256 - 17 - 12 - - - 5 - 16000.0 - 355000.0 -13500.0 - 256 - 256 - 33 - 24 - - - 6 - 8000.0 - 355000.0 -13500.0 - 256 - 256 - 66 - 47 - - - 7 - 5000.0 - 355000.0 -13500.0 - 256 - 256 - 105 - 74 - - - 8 - 4000.0 - 355000.0 -13500.0 - 256 - 256 - 132 - 93 - - - 9 - 3000.0 - 355000.0 -13500.0 - 256 - 256 - 175 - 124 - - - 10 - 2000.0 - 355000.0 -13500.0 - 256 - 256 - 263 - 185 - - - 11 - 1500.0 - 355000.0 -13500.0 - 256 - 256 - 350 - 247 - - - 12 - 1000.0 - 355000.0 -13500.0 - 256 - 256 - 525 - 370 - - - 13 - 500.0 - 355000.0 -13500.0 - 256 - 256 - 1049 - 739 - - google3857 diff --git a/examples/wmts-from-capabilities.html b/examples/wmts-from-capabilities.html index caf9292e1a..855e23256e 100644 --- a/examples/wmts-from-capabilities.html +++ b/examples/wmts-from-capabilities.html @@ -43,7 +43,6 @@ - diff --git a/examples/wmts-from-capabilities.js b/examples/wmts-from-capabilities.js index a67b05c21f..e826adc5d6 100644 --- a/examples/wmts-from-capabilities.js +++ b/examples/wmts-from-capabilities.js @@ -6,12 +6,6 @@ goog.require('ol.parser.ogc.WMTSCapabilities'); goog.require('ol.source.WMTS'); -// the getCapabilities document uses EPSG:31256 projection -Proj4js.defs['EPSG:31256'] = '+proj=tmerc +lat_0=0 ' + - '+lon_0=16.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel ' + - '+towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 ' + - '+units=m +no_defs'; - var map, capabilities; var parser = new ol.parser.ogc.WMTSCapabilities();