[Qgis-user] custom crs and output prj

Carson Farmer carson.farmer at gmail.com
Tue Apr 27 05:59:44 PDT 2010


Just a quick question that a colleague of mine asked me last night...

Are there any known issues with standard parallels when creating the
prj file of an output layer from qgis using a custom CRS?

Basically, my colleague imported a layer of points into QGis from
their postgis database, and then created a custom CRS (Settings >
Custom CRS) with the following proj4 string:
+proj=lcc +lat_1=50 +lat_2=50 +lat_0=50 +lon_0=-107 +x_0=5632642.22547
+y_0=4612545.65137 +a=6371200 +b=6371200 +units=m +no_defs
and assigned it to the imported layer within the layer properties.
When they then right-clicked on the layer and selected 'Save as
shapefile..' and selected their custom CRS from the dialog that pops
up, the output prj file was this:
PROJCS["Lambert_Conformal_Conic",GEOGCS["unnamed
ellipse",DATUM["D_unknown",SPHEROID["Unknown",6371200,0]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["latitude_of_origin",50],PARAMETER["central_meridian",-107],PARAMETER["scale_factor",1],PARAMETER["false_easting",5632642.22547],PARAMETER["false_northing",4612545.65137],UNIT["Meter",1]]

Obviously the first & second standard parallel have not been properly
defined within the output .prj file. Is this a known issue, or perhaps
something that we've both missed?

Cheers,

Carson


-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/



More information about the Qgis-user mailing list