131 |
self.error_msg = _('EPSG projection code %s not found!\n'\ |
self.error_msg = _('EPSG projection code %s not found!\n'\ |
132 |
'Setting projection to "None".\n'\ |
'Setting projection to "None".\n'\ |
133 |
'Please set an appropriate projection yourself.'\ |
'Please set an appropriate projection yourself.'\ |
134 |
% epsg_id) |
% top_srs) |
135 |
|
|
136 |
# pre-determine the used format |
# pre-determine the used format |
137 |
self.wmsformat, self.format = \ |
self.wmsformat, self.format = \ |
201 |
image/wbmp or WBMP which refers to WAP bitmap format and is |
image/wbmp or WBMP which refers to WAP bitmap format and is |
202 |
not supported by the included render engine. |
not supported by the included render engine. |
203 |
""" |
""" |
204 |
prio = ['png', 'jpeg', 'jpg', 'tif', 'gif', 'bmp'] |
prio = ['jpeg', 'bmp'] |
205 |
for p in prio: |
for p in prio: |
206 |
for f in formats: |
for f in formats: |
207 |
if f.lower().find(p) > -1: |
if f.lower().find(p) > -1: |