[MapProxy] problem with WMS srs and bbox parameters in
0.9.0
Sebastian Schwarz
Sebastian.Schwarz at rostock.de
Fri Oct 22 08:53:37 EDT 2010
At 10/22/2010, 2:32 PM, Oliver Tonnhofer wrote:
> But besides the large BBOX in the demo client, does the WMS work?
Nope, I tried to integrate it in Mapbender and to open it with OpenJUMP as well as with QGIS and none of these operations succeeded - it always led to the same problem with the BBOX parameter.
> I need at least your grid definition to reproduce it.
Here is again an excerpt of my mapproxy.yaml, this time including the "grids" section:
services:
wms:
srs: ['EPSG:2398', 'EPSG:4326', 'EPSG:900913']
...
layers:
test:
title: Test
sources: [test_cache]
...
caches:
test_cache:
format: image/png
link_single_color_images: true
grids: [geoport_2398, geoport_4326]
sources: [test_wms]
...
sources:
test_wms:
type: wms
req:
url: http://localhost/cgi-bin/mapserv?
layers: Luftbilder
map: /umn/geodienste/luftbild07.map
...
grids:
geoport_2398:
srs: 'EPSG:2398'
bbox: [4480000, 5984000, 4534000, 6021000]
bbox_srs: 'EPSG:2398'
res_factor: 1.5
num_levels: 25
geoport_4326:
srs: 'EPSG:4326'
bbox: [4480000, 5984000, 4534000, 6021000]
bbox_srs: 'EPSG:2398'
res_factor: 1.5
num_levels: 25
...
Initially I was convinced that the definition of custom grids would be necessary for TMS services only and now I tried it and everything worked - with TMS but not with WMS. Would you say that I should put the parameter "grids: [geoport_2398, geoport_4326]" also in the "sources" section where I define my WMS source named "test_wms"?
Kind regards,
Sebastian
--
Sebastian Schwarz
Stadtverwaltung Rostock
Kataster-, Vermessungs- und Liegenschaftsamt
+49 (0)381 381-6256
More information about the MapProxy
mailing list