[MapProxy] mapproxy with mapserver srs problem

karsten karsten at terragis.net
Tue Oct 15 02:40:05 PDT 2013


>>> It is not necessarily mentioned in Mapserver WMS documents that but I am
remembering that it must be EPSG. Send a message if it happens to be the
case.
>>> 
>> Good to know, thanks.
Thanks , Ah yes I think I had seen that years ago somewhere in an email but
actually never ran into any trouble with lower case, also as is the WMS is
working.
I still changed it to all upper case - but hat did not make any visible
difference I still get the same error

>> Because Mapserver is your own you can check the requests which are sent
by MapProxy by looking at what comes in for Mapserver from the Apache
access.log.
>> There aren't any separate Apache logs for MapServer since Karsten used
the integrated MapServer source-type in MapProxy.

Yes the only type of request I can find with either version (mapserver or
wms types is like this
http://terra2.terragis.net/mapproxy/service?LAYERS=gemeinde&FORMAT=image%2Fp
ng&SRS=EPSG%3A900913&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&TRANSPARENT
=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=888873.686294,59
72302.049725,1676765.531286,6575280.502525&WIDTH=784&HEIGHT=600

>> The source request log of MapProxy should list bbox and srs of the
requests however. The default log.ini should also create a
source-requests.log file with all requests >> made to MapServer. See:
http://mapproxy.org/docs/nightly/deployment.html#logging
Sorry I somehow still do not understand correctly  - I think - how to enable
this as I still get no log file after running
mapproxy-util create -t log-ini log.ini
At ldast that commad created an ini file in the same dierctory but no
source-requests.log fiel is to be found anyhwer o my serer so far...
I also chsnged the owner fo the log.ini file to www-data to make sure it can
be accessed ...

The loggers options 
mapproxy.system
mapproxy.config
mapproxy.source.XXX
mapproxy.source.request
Are only relevant inside python right ? or can I sue them in the yaml file
somehow to invoke logging ?
Any hints what I still need to do after running 
mapproxy-util create -t log-ini log.ini   ?

Thanks
Karsten
 


Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn










More information about the MapProxy mailing list