Changeset 15681
- Timestamp:
- Nov 2, 2008, 4:49:45 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/gdal/ogr/ogr_srs_proj4.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gdal/ogr/ogr_srs_proj4.cpp
r15643 r15681 203 203 * pszProj4 = "+proj=utm +zone=11 +datum=WGS84" 204 204 * 205 * This method is the equivelent of the C function OSRImportFromProj4(). 205 * Some parameters, such as grids, recognised by PROJ.4 may not be well 206 * understood and translated into the OGRSpatialReference model. It is possible 207 * to add the +wktext parameter which is a special keyword that OGR recognises 208 * as meaning "embed the entire PROJ.4 string in the WKT and use it literally 209 * when converting back to PROJ.4 format". 210 * 211 * For example: 212 * "+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 +ellps=intl 213 * +units=m +nadgrids=nzgd2kgrid0005.gsb +wktext" 214 * 215 * will be translated as : 216 * \code 217 * PROJCS["unnamed", 218 * GEOGCS["International 1909 (Hayford)", 219 * DATUM["unknown", 220 * SPHEROID["intl",6378388,297]], 221 * PRIMEM["Greenwich",0], 222 * UNIT["degree",0.0174532925199433]], 223 * PROJECTION["New_Zealand_Map_Grid"], 224 * PARAMETER["latitude_of_origin",-41], 225 * PARAMETER["central_meridian",173], 226 * PARAMETER["false_easting",2510000], 227 * PARAMETER["false_northing",6023150], 228 * UNIT["Meter",1], 229 * EXTENSION["PROJ4","+proj=nzmg +lat_0=-41 +lon_0=173 +x_0=2510000 230 * +y_0=6023150 +ellps=intl +units=m +nadgrids=nzgd2kgrid0005.gsb +wktext"]] 231 * \endcode 232 * 233 * This method is the equivalent of the C function OSRImportFromProj4(). 206 234 * 207 235 * @param pszProj4 the PROJ.4 style string.
Note:
See TracChangeset
for help on using the changeset viewer.
