Ticket #1426 (closed defect: duplicate)
EPSG lookup done for all layers
|Reported by:||banders@…||Owned by:||dmorissette|
Description (last modified by dmorissette) (diff)
This isn't a huge problem when projections are fully defined within each .map file layer. But when using "init=EPSG" syntax, Mapserver will go to the Proj "epsg" file once for each layer.
The issue is speed. My experiments have shown that this slows down GetMap? responses by a few hundred milliseconds to a few seconds (depending on the number of layers and the placement of the projection definition within the "epsg" file.
a) only resolve EPSG codes for layers that are involved in the current map request
b) cache the projection definitions, so we don't need to go to the "epsg" file for every layer