Changeset 2731 for trunk/MapFish/server/python/mapfish/lib/protocol.py
- Timestamp:
- 07/23/09 21:47:41 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/MapFish/server/python/mapfish/lib/protocol.py
r2711 r2731 80 80 epsg = int(request.params['epsg']) 81 81 82 if 'box' in request.params: 82 # "box" is an alias to "bbox" 83 box = None 84 if 'bbox' in request.params: 85 box = request.params['bbox'] 86 elif 'box' in request.params: 87 box = request.params['box'] 88 89 if box is not None: 83 90 # box spatial filter 84 91 filter = Spatial( 85 92 Spatial.BOX, 86 93 geom_column, 87 box= request.params['box'].split(','),94 box=box.split(','), 88 95 tolerance=tolerance, 89 96 epsg=epsg
