Hello,
Je n'arrive pas à configurer correctement TileCache pour une projection GEOPORTALFXX sans buter sur le fameux
"An error occurred: Current x value 524288.000000 is too far from tile corner x 362865.446739"
Ma couche WMSC :
Mon fichier tilecacheviewer.getMap().addLayer( new Geoportal.Layer.WMSC(
'WMSC tilecache.py',
'http://test.vttrack.fr/cgi-bin/tilecache.py',
{
layers: 'topos_IGNFGEOPORTALFXX',
format: 'image/png',
transparent: true
},
{
projection: 'IGNF:GEOPORTALFXX',
nativeResolutions: [39135.75,19567.875,9783.9375,4891.96875,2445.984375,2048,1024,512,256,128,64,32,16,8,4,2,1,0.5,0.25,0.125,0.0625],
units: 'm',
maxExtent: new OpenLayers.Bounds(-13792910.553260745,-10018754.171394622,13792910.553260745,10018754.171394622),
opacity: opacityWMS,
extractAttributes: false,
visibility: true,
isBaseLayer : false
}
));
La page de test : http://test.vttrack.fr/index-dif-til...yers=B0FTTTFTF[topos_IGNFGEOPORTALFXX]
srs=IGNF:GEOPORTALFXX
type=MapServer
layers=topos
mapfile=/srv/d_vttrack/vttrack/test/mapserver/WMS-IGNFGEOPORTALFXX.map
extent_type=loose
bbox=-13792910.553260745,-10018754.171394622,13792910.553260745,10018754.171394622
resolutions=39135.75,19567.875,9783.9375,4891.96875,2445.984375,2048,1024,512,256,128,64,32,16,8,4,2,1,0.5,0.25,0.125,0.0625
metaTile=false
metaBuffer=30
metaSize=7,7
debug=yes
Surement une histoire de resolutions/bbox... tout essayé sans succès...
La couche WMS dans l'exemple montre que le mapfile est OK !
Config : debian testing avec proj contenant bien les contributions IGNF![]()
Partager