[Proj] Optimizing lookup of init files

Gerald I. Evenden geraldi.evenden at gmail.com
Wed Aug 1 12:46:17 EDT 2007


On Wednesday 01 August 2007 11:49 am, Daniel Morissette wrote:
> Hi,
>
> Users of applications such as MapServer that make use of the
> "+init=epsg:4326" type of syntax to initialize projection definitions
> have reported a performance issue when their maps contain multiple
> projections (see http://trac.osgeo.org/mapserver/ticket/1976).
	...
> There are pros and cons to both approaches. Can anyone think of a 3rd
> option that would be even less disruptive?

Yes.  Remove the +init from proj.  That was the first thing I did when 
upgrading to libproj4 and lproj.  Seems like something more appropriate for 
mysql or other DBMS.

> Comments and suggestions welcome. I'm especially interested in feedback
> from developers of applications using PROJ.

Sorry.  I am sure that suggestion was not appreciated but it follows my 
approach of keeping operations separated into appropriate categories.
Like datum shifting is not appropriate within the projection software element, 
extracting initialization information from a database is also not 
appropriate.

-- 
The whole religious complexion of the modern world is due
to the absence from Jerusalem of a lunatic asylum.
-- Havelock Ellis (1859-1939)  British psychologist


More information about the Proj mailing list