[mapserver-users] Projection errors

Daniel Morissette morissette at dmsolutions.ca
Mon Nov 4 17:32:43 PST 2002


You are likely getting this because your 'epsg' file does not contain
the 42103 projection definition.  This code (42103) is not part of the
epsg standard, so you'll have to add a PROJ4 definition for it to your
epsg file.  On Unix it should be in /usr/local/share/proj/epsg and on
Windows either in C:\PROJ or C:\PROJ\NAD

Here is the definition in WKT format for projection 42103 that I got
from Cubewerx a little while ago, converting it to PROJ4 format
shouldn't be too hard:

EPSG:42103,"PROJCS[\"WGS 84 / LCC USA\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS_1978\",6378135,298.26]],PRIMEM[\"Greenwich\",0],UNIT[\"Decimal_Degree\",0.0174532925199433]],PROJECTION[\"Lambert_Conformal_Conic\"],PARAMETER[\"central_meridian\",-100.0],PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"standard_parallel_1\",33.0],PARAMETER[\"standard_parallel_2\",45.0],PARAMETER[\"false_easting\",0.0],PARAMETER[\"false_northing\",0.0],UNIT[\"Meter\",1]]"


Daniel


Armando Scalise wrote:
> 
> I am getting the folowing error
> 
>                 msProcessProjection(): Projection library error. no options found in
> 'init' file
> 
>  when I try to add the following projection to my map
>                 PROJECTION
>                         "init=epsg:42103"
>                 END
> 
>  along with this projection definition to all layers
>         PROJECTION
>                  "init=epsg:42103"
>         END
> 
> Any leads greatly appreciated
> 
> Armando Scalise
> geoVue
> 200 Lincoln Street  5th Floor
> Boston, Massachusetts  02111  USA
> p  617.451.2520 x122
> f  617.486.3066
> www.geoVue.com
> LOCATION INTELLIGENCE
> ascalise at geovue.com




More information about the MapServer-users mailing list