Не подскажите, в чём проблема, поставит twms, ссылка http://localhost/wms/?layers=yhsat&bbox=38.2645676,56.1453162,39.4603353,56.8057105&srs=EPSG:4326&width=500&height=499 отображается в браузере картинкой - вроде всё работает.
Прописываю в merkaartor wms-сервер: http://localhost/wms/?layers=yhsat&
Загружаю москву и вижу в логах merkaartor-а:
ImageMapLayer::drawFull: getting: “/wms/?layers=yhsat&&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&TRANSPARENT=TRUE&LAYERS=yasat&SRS=&STYLES=&FORMAT=image/jpeg&WIDTH=1077&HEIGHT=793&BBOX=4188547.050088,7505192.442148,4189097.635557,7505597.840734”
requesting: “localhost/wms/?layers=yhsat&&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&TRANSPARENT=TRUE&LAYERS=yasat&SRS=&STYLES=&FORMAT=image/jpeg&WIDTH=1077&HEIGHT=793&BBOX=4188547.050088,7505192.442148,4189097.635557,7505597.840734”
getting: “http://localhost/wms/?layers=yhsat&&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&TRANSPARENT=TRUE&LAYERS=yasat&SRS=&STYLES=&FORMAT=image/jpeg&WIDTH=1077&HEIGHT=793&BBOX=4188547.050088,7505192.442148,4189097.635557,7505597.840734”
Bg image ratio 1
Bg image scale 1 QSize(1077, 793) : QSize(1077, 793)
500 error: 662
В логах апача:
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/usr/lib/python2.6/site-packages/web/application.py”, line 242, in process
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] return self.handle()
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/usr/lib/python2.6/site-packages/web/application.py”, line 233, in handle
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] return self._delegate(fn, self.fvars, args)
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/usr/lib/python2.6/site-packages/web/application.py”, line 415, in _delegate
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] return handle_class(cls)
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/usr/lib/python2.6/site-packages/web/application.py”, line 390, in handle_class
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] return tocall(*args)
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/var/www/latlon/wms/twms.py”, line 47, in GET
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] return handler()
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/var/www/latlon/wms/twms.py”, line 36, in handler
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] resp, ctype, content = twms_main(data)
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/var/www/latlon/wms/twms/twms.py”, line 90, in twms_main
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] req_bbox = projections.from4326((27.6518898,53.8683186,27.6581944,53.8720359), srs)
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/var/www/latlon/wms/twms/projections.py”, line 158, in from4326
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] return transform(line, “EPSG:4326”, srs)
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] File “/var/www/latlon/wms/twms/projections.py”, line 189, in transform
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] pr2 = projs[srs2][“proj”]
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1] KeyError: u’’
[Sat Nov 06 18:22:04 2010] [error] [client 127.0.0.1]