[OpenLayers-Users] WMTS strange output

Martin Kokes shr3k at typo3-hosting.com
Fri Aug 3 12:39:32 PDT 2012


Hello OL gurus,

I'm really helpless. Can anyone try this WMTS layer (derived from 
http://geoportal.cuzk.cz/WMTS_ORTOFOTO/WMTService.aspx?service=WMTS&request=GetCapabilities) 
over Google Sat/OSM layer and advice me, if that shift is my fault or a 
service fault?

new OpenLayers.Layer.WMTS({
  name: 'Letecké snímky ČÚZK',
  url: 'http://geoportal-orto.cuzk.cz/WMTS_ORTOFOTO/service.svc/get',
  layer: 'orto',
  style: 'default',
  matrixSet: 'openlayerssphericalmercator:epsg:900913',
  matrixIds: [{
    identifier: '0',
    scaleDenominator: 7315200
  }, {
    identifier: '1',
    scaleDenominator: 3657600
  }, {
    identifier: '2',
    scaleDenominator: 1828800
  }, {
    identifier: '3',
    scaleDenominator: 914400
  }, {
    identifier: '4',
    scaleDenominator: 457200
  }, {
    identifier: '5',
    scaleDenominator: 228600
  }, {
    identifier: '6',
    scaleDenominator: 114300
  }, {
    identifier: '7',
    scaleDenominator: 57150
  }, {
    identifier: '8',
    scaleDenominator: 28575
  }, {
    identifier: '9',
    scaleDenominator: 14287.5
  }, {
    identifier: '10',
    scaleDenominator: 7143.75
  }, {
    identifier: '11',
    scaleDenominator: 3571.875
  }, {
    identifier: '12',
    scaleDenominator: 1785.9375
  }, {
    identifier: '13',
    scaleDenominator: 892.96875
  }, {
    identifier: '14',
    scaleDenominator: 446.484375
  }],
  tileOrigin: new OpenLayers.LonLat(1292959.109670989900, 
6709371.698800910300),
  tileFullExtent: new OpenLayers.Bounds(1292959.109670989900, 
6185018.162800910000, 1817312.645670990000, 6709371.698800910300),
  format: 'image/jpeg'
})

Thank you in advance, I'm

Martin 




More information about the Users mailing list