aboutsummaryrefslogtreecommitdiff
path: root/nad/IGNF
AgeCommit message (Collapse)Author
2017-08-07Adding info functions to proj.h API. (#551)Kristian Evers
* Adding info functions to proj.h API. Four new functions are added with this commit: proj_info(), proj_pj_info(), proj_grid_info() and proj_init_info(). Additionally four new data types are added: PJ_INFO, PJ_PROJ_INFO, PJ_GRID_INFO and PJ_INIT_INFO. The functions return the corresponding data types. These functions allows users of the PROJ.4 library to get information about various PROJ.4 entities and the library itself. The new data types are structs that contain specific information about either the library instance, a PJ instance, a grid or an init file. Together the four new functions cover a big part of the functionality in the semi-public projects.h API and should hopefully make it easier for user to migrate their code to the proj.h API in the future. Besides covering already existing functionality in the old API, this commit introduces the ability to add metadata to init-files. This is primarily added to give users a way of knowing which version of the EPSG database they are using, but it also comes in handy for other init-files. The init-file metadata is added directly to the init-file as a special "projection" called "metadata". The info projection of the epsg init-file is thus described as: <metadata> +version=9.0.0 +origin=EPSG +lastupdate=2017-01-10 The proj_init_info() function uses the internal pj_param() to read the metadata. As a consequence, "metadata" will not be available as a the name of a projection in the future. This is a reasonable price to pay considering the ease of the implementation of adding metadata to init-files this way, and of course that "metadata" is a very unlikely name for a projection in any case. A metadata tag has been added to all init-files in the nad-directory. For most only a subset of the possible parameters has been added. * Replaced calls to sprintf and strncpy with safer options. Added pj_strlcpy for internal use. * Fail gracefully when getting non-initialized PJ in proj_pj_info() * Change length of filename member in PJ_INIT_INFO and PJ_GRID_INFO to 260 (MAX_PATH)
2011-11-27Update IGNF projections definitions for CRS identified as being equivalent ↵Didier Richard
to WGS84 (+towgs84 equals 0,0,0 or 0,0,0,0,0,0) : addition of +nadgrids=@null +wktext for such CRS and set +towgs84=0,0,0. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2122 4e78687f-474d-0410-85f9-8d5e500ac6b2
2011-06-09In reply to http://trac.osgeo.org/proj/ticket/88 : the updated IGNF catalogueDidier Richard
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2050 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-07-28Switching stmerc (simplified transverse mercator) to gstmerc ↵Didier Richard
(Gauss-Schreiber transverse mercator) : IGNF catalogue Gauss-Laborde Reunion entry changed. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1465 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-07-26InvalidEncodingDidier Richard
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1462 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-04-20Change identifier LAMBCCxx to RGF93CCxx.Didier Richard
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1444 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-03-04RGF93 Lambert conic conform projections (LAMBCC42 to LAMBCC50) standard ↵Didier Richard
parallels corrected git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1440 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-02-22Wrong lat_1, lat_2 for LAMBC42-LAMBCC50.Didier Richard
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1439 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-01-18IGNF catalogue updated due to eqr/eqc merge. More unit tests added. ↵Didier Richard
proj_outIGNF.dist-real added with control points. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1433 4e78687f-474d-0410-85f9-8d5e500ac6b2
2008-01-05French Mapping Agency PROJ.4 catalogue and little-endian NTV2 grid for NTF ↵Didier Richard
to RGF93 transformations. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1427 4e78687f-474d-0410-85f9-8d5e500ac6b2