Ticket #1976 (assigned defect)

Opened 2 years ago

Last modified 2 months ago

Optimize lookup of EPSG projection codes

Reported by: dmorissette Assigned to: dmorissette (accepted)
Priority: high Milestone: 5.4 release
Component: WMS Server Version: unspecified
Severity: normal Keywords:
Cc: warmerdam, jmckenna

Description (Last modified by dmorissette)

A few weeks ago I was doing some benchmarks with MapServer 4.10 on a mapfile
with about 10 layers in it and replacing the 10 "init=epsg:xxxx" defns with
native PROJ.4 definitions made the WMS GetCapabilities requests go from 3
hits/seconds to 12 hits/seconds (4 times faster!).

Since EPSG codes are used a lot by all OGC services, optimizing the EPSG lookup
(or caching them at a minimum) is something that would be very valuable for all
OGC service users.

Change History

11/29/06 14:32:47 changed by dmorissette

  • owner changed from mapserverbugs to dmorissette.
  • milestone set to 5.0 release.
Let's see if we can address this in 5.0

11/29/06 14:33:14 changed by dmorissette

  • summary changed from Optimize parsing of EPSG projecion codes to Optimize lookup of EPSG projection codes.

07/20/07 13:47:35 changed by dmorissette

  • cc set to warmerda.
  • description changed.

07/20/07 13:50:38 changed by dmorissette

  • cc changed from warmerda to warmerdam.

08/01/07 11:26:38 changed by dmorissette

  • status changed from new to assigned.

Ticket #1426 was marked as duplicate of this ticket.

08/01/07 11:54:12 changed by dmorissette

I have started a thread discussing possible solutions on the PROJ list: http://lists.maptools.org/pipermail/proj/2007-August/003002.html

08/07/07 17:56:08 changed by hobu

This one isn't happening for 5.0, right?

08/08/07 08:46:04 changed by dmorissette

Depending on the outcome of the discussion on the PROJ list the issue may be fixed in 5.0 with very little or no changes to the code, it may end up only being a documentation issue (e.g. use PROJ v x.y with threads option enabled) so I'll wait until the last minute before pusing this to 5.2.

09/04/07 11:42:31 changed by dmorissette

  • milestone changed from 5.0 release to 5.2 release.

03/05/08 11:53:26 changed by jmckenna

  • cc changed from warmerdam to warmerdam, jmckenna.

06/18/08 14:53:26 changed by dmorissette

  • milestone changed from 5.2 release to 5.4 release.