Opened 14 years ago

Closed 14 years ago

#228 closed task (fixed)

Add custom epsg codes for Canada to proj package

Reported by: Jeff McKenna Owned by: warmerdam
Priority: normal Milestone:
Component: OSGeo4W Keywords: proj
Cc: assefa

Description (last modified by warmerdam)

Some packages require the Canadian custom epsg codes. The following must be added to the 'epsg' file in the proj package:

## Custom projection codes for Canada
## WGS84 / LCC Canada
<42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77 +x_0=0 +y_0=-8000000.0 +datum=WGS84 +units=m no_defs <>
## NAD83 / BC Albers
<42102> +proj=aea +ellps=GRS80 +lat_0=45 +lon_0=-126.0 +lat_1=50.0 +lat_2=58.5 +x_0=1000000.0 +y_0=0 +datum=NAD83 +units=m no_defs <>
## NAD83 LCC for Canada
<42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83 +units=m no_defs <>

Change History (3)

comment:1 by warmerdam, 14 years ago

Description: modified (diff)
Status: newassigned

comment:2 by warmerdam, 14 years ago

Keywords: proj added

I'm working on this. I'll add other.extra into the epsg init file which includes the above definitions and various others as well.

I'll also package the datum shift files (now seemingly missing), and "regularize" the source package.

It also appears the DLL was being built as proj_fw.dll. I'll change this to the more normal proj.dll to avoid problems with GDAL dynamically loading it. This will mean mapserver and ogdi will need to be rebuilt.

comment:3 by warmerdam, 14 years ago

Resolution: fixed
Status: assignedclosed

I have applied the planned changes, including upgrading the ogdi package to use the new proj.4.

The new proj also includes the full set of datum shift files and so it quite large.

The mapserver package will need to be rebuilt against the latest proj_i.lib. In the meantime it is not working (missing proj_fw.dll).

Note: See TracTickets for help on using tickets.