Opened 13 years ago

Closed 13 years ago

#1022 closed defect (fixed)

Change searched location of proj files when no proj variable

Reported by: robe Owned by: robe
Priority: low Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

PostGIS currently looks for proj grid shift files in share\contrib\postgis\proj and if present uses that.

As discussed in: http://www.postgis.org/pipermail/postgis-devel/2011-June/013594.html

I would like the default location changed to /share/contrib/postgis-whateverversion/proj

My plan is to release 2.0.0 with proj 4.7 instead of 4.6.1. This will not conflict with any 1.* installs since the generated file will be libproj-0.dll which seems to be what GDAL looks for by default when PROJSO environment variable is not set on windows.

It will also get rid of that nagging problem of people asking — what is that postgis folder for and thinking its some legacy thing they can delete. Now it will be legacy :)

Change History (4)

comment:1 by robe, 13 years ago

Owner: changed from pramsey to robe

comment:2 by robe, 13 years ago

Priority: highlow

comment:3 by strk, 13 years ago

@robe: planning to do this for 2.0 ? Could it be a good candidate for GUC ? See wiki:DevGUC

comment:4 by pramsey, 13 years ago

Resolution: fixed
Status: newclosed

I've committed a non-GUC version at r9051, please test :)

Note: See TracTickets for help on using tickets.