text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: src/iso19111/internal.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ***********************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/internal.cpp", "license": "mit", "size": 12112}
### File: src/iso19111/io.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *****************************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/io.cpp", "license": "mit", "size": 525382}
### File: src/iso19111/metadata.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ***********************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/metadata.cpp", "license": "mit", "size": 52129}
### File: src/iso19111/operation/concatenatedoperation.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/concatenatedoperation.cpp", "license": "mit", "size": 41980}
### File: src/iso19111/operation/conversion.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ***********************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/conversion.cpp", "license": "mit", "size": 201837}
### File: src/iso19111/operation/coordinateoperation_internal.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *****************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/coordinateoperation_internal.hpp", "license": "mit", "size": 10007}
### File: src/iso19111/operation/coordinateoperation_private.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ******************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/coordinateoperation_private.hpp", "license": "mit", "size": 4003}
### File: src/iso19111/operation/coordinateoperationfactory.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *******************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/coordinateoperationfactory.cpp", "license": "mit", "size": 333674}
### File: src/iso19111/operation/esriparammappings.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/esriparammappings.hpp", "license": "mit", "size": 3142}
### File: src/iso19111/operation/operationmethod_private.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * **********************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/operationmethod_private.hpp", "license": "mit", "size": 2298}
### File: src/iso19111/operation/oputils.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * **************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/oputils.cpp", "license": "mit", "size": 22984}
### File: src/iso19111/operation/oputils.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * **************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/oputils.hpp", "license": "mit", "size": 4797}
### File: src/iso19111/operation/parametervalue.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *******************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/parametervalue.cpp", "license": "mit", "size": 12056}
### File: src/iso19111/operation/parammappings.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ********************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/parammappings.cpp", "license": "mit", "size": 77004}
### File: src/iso19111/operation/parammappings.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ********************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/parammappings.hpp", "license": "mit", "size": 3993}
### File: src/iso19111/operation/projbasedoperation.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ***************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/projbasedoperation.cpp", "license": "mit", "size": 11968}
### File: src/iso19111/operation/singleoperation.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ******************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/singleoperation.cpp", "license": "mit", "size": 205844}
### File: src/iso19111/operation/transformation.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *******************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/transformation.cpp", "license": "mit", "size": 85121}
### File: src/iso19111/operation/vectorofvaluesparams.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/vectorofvaluesparams.cpp", "license": "mit", "size": 4764}
### File: src/iso19111/operation/vectorofvaluesparams.hpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/operation/vectorofvaluesparams.hpp", "license": "mit", "size": 4117}
### File: src/iso19111/static.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * *************************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/static.cpp", "license": "mit", "size": 27300}
### File: src/iso19111/util.cpp /****************************************************************************** * * Project: PROJ * Purpose: ISO19111:2019 implementation * Author: Even Rouault <even dot rouault at spatialys dot com> * ***************************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/iso19111/util.cpp", "license": "mit", "size": 23226}
### File: src/latitudes.cpp /* * Project: PROJ * * Helper functions to compute latitudes * * Some from Map Projections - A Working Manual. 1987. John P. Snyder * https://neacsu.net/docs/geodesy/snyder/2-general/sect_3/ * * Copyright (c) 2025 Javier Jimenez Shaw */ #include <math.h> #include "proj_internal.h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/latitudes.cpp", "license": "mit", "size": 7337}
### File: src/lib_proj.cmake message(STATUS "Configuring proj library:") find_package(Threads QUIET) if(Threads_FOUND AND CMAKE_USE_PTHREADS_INIT) add_definitions(-DPROJ_HAS_PTHREADS) endif() option(ENABLE_IPO "Build library with interprocedural optimization (if available)." OFF) if(ENABLE_IPO) cmake_policy(SET...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/PROJ", "path": "src/lib_proj.cmake", "license": "mit", "size": 19806}
### File: src/list.cpp /* Projection System: default list of projections */ #define DO_NOT_DEFINE_PROJ_HEAD #include "proj.h" #include "proj_internal.h" /* Generate prototypes for projection functions */ #define PROJ_HEAD(id, name) \ extern "C" struct PJconsts ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/list.cpp", "license": "mit", "size": 875}
### File: src/log.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of pj_log() function. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/log.cpp", "license": "mit", "size": 7329}
### File: src/malloc.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Memory management for proj.4. * This version includes an implementation of generic destructors, * for memory deallocation for the large majority of PJ-objects ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/malloc.cpp", "license": "mit", "size": 8354}
### File: src/memvfs.c /* Derived from https://www.sqlite.org/src/doc/tip/ext/misc/memvfs.c */ /* ** 2016-09-07 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive oth...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/PROJ", "path": "src/memvfs.c", "license": "mit", "size": 14387}
### File: src/memvfs.h #ifndef MEMVFS_H #define MEMVFS_H #include <sqlite3.h> #ifdef __cplusplus extern "C" { #endif int pj_sqlite3_memvfs_init(sqlite3_vfs *vfs, const char *vfs_name, const void *buffer, size_t bufferSize); void pj_sqlite3_memvfs_deallocate_user_data(sqlite3_vfs *vfs); #i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/PROJ", "path": "src/memvfs.h", "license": "mit", "size": 346}
### File: src/mlfn.cpp #include "proj_internal.h" #include <math.h> /* meridional distance for ellipsoid and inverse using 6th-order expansion in ** the third flattening n. This gives full double precision accuracy for |f| ** <= 1/150. */ #define Lmax 6 // Evaluation sum(p[i] * x^i, i, 0, N) via Horner's method. N...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/mlfn.cpp", "license": "mit", "size": 2765}
### File: src/msfn.cpp /* determine constant small m */ #include "proj.h" #include "proj_internal.h" #include <math.h> double pj_msfn(double sinphi, double cosphi, double es) { return (cosphi / sqrt(1. - es * sinphi * sinphi)); }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/msfn.cpp", "license": "mit", "size": 211}
### File: src/mutex.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Mutex (thread lock) functions. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 20...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/mutex.cpp", "license": "mit", "size": 2421}
### File: src/networkfilemanager.cpp /****************************************************************************** * Project: PROJ * Purpose: Functionality related to network access and caching * Author: Even Rouault, <even.rouault at spatialys.com> * *********************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/networkfilemanager.cpp", "license": "mit", "size": 92065}
### File: src/param.cpp /* put parameters in linked list and retrieve */ #include <ctype.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "proj.h" #include "proj_internal.h" /* create parameter list entry */ paralist *pj_mkparam(const char *str) { paralist *newitem; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/param.cpp", "license": "mit", "size": 6892}
### File: src/phi2.cpp /* Determine latitude angle phi-2. */ #include <algorithm> #include <limits> #include <math.h> #include "proj.h" #include "proj_internal.h" double pj_sinhpsi2tanphi(PJ_CONTEXT *ctx, const double taup, const double e) { /**********************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/phi2.cpp", "license": "mit", "size": 5592}
### File: src/pipeline.cpp /******************************************************************************* Transformation pipeline manager Thomas Knudsen, 2016-05-20/2016-11-20 ******************************************************************************** Geodetic t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/pipeline.cpp", "license": "mit", "size": 26142}
### File: src/pj_list.h #ifdef DO_PJ_LIST_ID static const char PJ_LIST_H_ID[] = "@(#)pj_list.h 4.5 95/08/09 GIE REL"; #endif /* Full list of current projections for Tue Jan 11 12:27:04 EST 1994 ** ** Copy this file and retain only appropriate lines for subset list */ PROJ_HEAD(adams_hemi, "Adams Hemisphere in a Squ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/PROJ", "path": "src/pj_list.h", "license": "mit", "size": 7897}
### File: src/pr_list.cpp /* print projection's list of parameters */ #include <stddef.h> #include <stdio.h> #include <string.h> #include "proj.h" #include "proj_internal.h" #define LINE_LEN 72 static int pr_list(PJ *P, int not_used) { paralist *t; int l, n = 1, flag = 0; (void)putchar('#'); for (t ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/pr_list.cpp", "license": "mit", "size": 2797}
### File: src/proj.h /****************************************************************************** * Project: PROJ.4 * Purpose: Revised, experimental API for PROJ.4, intended as the foundation * for added geodetic functionality. * * The original proj API (defined previously in projects.h) h...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/PROJ", "path": "src/proj.h", "license": "mit", "size": 94429}
### File: src/proj_constants.h /****************************************************************************** * * Project: PROJ * Purpose: Constants * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************************************** * Copyright (c)...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/PROJ", "path": "src/proj_constants.h", "license": "mit", "size": 40236}
### File: src/proj_experimental.h /****************************************************************************** * * Project: PROJ * Purpose: Experimental C API * Author: Even Rouault <even dot rouault at spatialys dot com> * ****************************************************************************** * C...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/PROJ", "path": "src/proj_experimental.h", "license": "mit", "size": 1894}
### File: src/proj_internal.h /****************************************************************************** * Project: PROJ.4 * Purpose: Internal plumbing for the PROJ.4 library. * * Author: Thomas Knudsen, <thokn@sdfe.dk> * ****************************************************************************** * C...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/proj_internal.h", "license": "mit", "size": 39416}
### File: src/proj_json_streaming_writer.cpp /****************************************************************************** * * Project: CPL - Common Portability Library * Purpose: JSon streaming writer * Author: Even Rouault, even.rouault at spatialys.com * **************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/proj_json_streaming_writer.cpp", "license": "mit", "size": 7930}
### File: src/proj_json_streaming_writer.hpp /****************************************************************************** * * Project: CPL - Common Portability Library * Purpose: JSon streaming writer * Author: Even Rouault, even.rouault at spatialys.com * **************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/proj_json_streaming_writer.hpp", "license": "mit", "size": 5394}
### File: src/proj_mdist.cpp /* ** libproj -- library of cartographic projections ** ** Copyright (c) 2003, 2006 Gerald I. Evenden */ /* ** Permission is hereby granted, free of charge, to any person obtaining ** a copy of this software and associated documentation files (the ** "Software"), to deal in the Software w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/proj_mdist.cpp", "license": "mit", "size": 3825}
### File: src/projections/adams.cpp /* * Implementation of the Guyou, Pierce Quincuncial, Adams Hemisphere in a * Square, Adams World in a Square I & II projections. * * Based on original code from libproj4 written by Gerald Evenden. Adapted to * modern PROJ by Kristian Evers. Original code found in file src/proj_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/adams.cpp", "license": "mit", "size": 16880}
### File: src/projections/aea.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the aea (Albers Equal Area) projection. * and the leac (Lambert Equal Area Conic) projection * Author: Gerald Evenden (1995) * Tho...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/aea.cpp", "license": "mit", "size": 8223}
### File: src/projections/aeqd.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the aeqd (Azimuthal Equidistant) projection. * Author: Gerald Evenden * *****************************************************************************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/aeqd.cpp", "license": "mit", "size": 10732}
### File: src/projections/airocean.cpp /* enable predefined math constants M_* for MS Visual Studio */ #if defined(_MSC_VER) || defined(_WIN32) #ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES #endif #endif #include <cmath> #include <cstdint> #include <errno.h> #include "proj.h" #include "proj_internal.h" PROJ_HE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/airocean.cpp", "license": "mit", "size": 37542}
### File: src/projections/airy.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the airy (Airy) projection. * Author: Gerald Evenden (1995) * Thomas Knudsen (2016) - revise/add regression tests * **********************...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/airy.cpp", "license": "mit", "size": 4894}
### File: src/projections/aitoff.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the aitoff (Aitoff) and wintri (Winkel Tripel) * projections. * Author: Gerald Evenden (1995) * Drazen Tutic, Lovro Gradiser (2...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/aitoff.cpp", "license": "mit", "size": 8743}
### File: src/projections/august.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(august, "August Epicycloidal") "\n\tMisc Sph, no inv"; #define M 1.333333333333333 static PJ_XY august_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ PJ_XY xy = {0.0, 0.0}; double t, c1, c,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/august.cpp", "license": "mit", "size": 722}
### File: src/projections/bacon.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" #define HLFPI2 2.46740110027233965467 /* (pi/2)^2 */ #define EPS 1e-10 namespace { // anonymous namespace struct pj_bacon { int bacn; int ortl; }; } // anonymous namespace PROJ_HEAD(apian, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/bacon.cpp", "license": "mit", "size": 2090}
### File: src/projections/bertin1953.cpp /* Created by Jacques Bertin in 1953, this projection was the go-to choice of the French cartographic school when they wished to represent phenomena on a global scale. Formula designed by Philippe Rivière, 2017. https://visionscarto.net/bertin-projection-1953 Port ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/bertin1953.cpp", "license": "mit", "size": 2481}
### File: src/projections/bipc.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" #include <math.h> PROJ_HEAD(bipc, "Bipolar conic of western hemisphere") "\n\tConic Sph"; #define EPS 1e-10 #define EPS10 1e-10 #define ONEEPS 1.000000001 #define NITER 10 #define lamB -.348949767262...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/bipc.cpp", "license": "mit", "size": 5241}
### File: src/projections/boggs.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(boggs, "Boggs Eumorphic") "\n\tPCyl, no inv, Sph"; #define NITER 20 #define EPS 1e-7 #define FXC 2.00276 #define FXC2 1.11072 #define FYC 0.49931 static PJ_XY boggs_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/boggs.cpp", "license": "mit", "size": 1007}
### File: src/projections/bonne.cpp #include "proj.h" #include "proj_internal.h" #include <errno.h> #include <math.h> PROJ_HEAD(bonne, "Bonne (Werner lat_1=90)") "\n\tConic Sph&Ell\n\tlat_1="; #define EPS10 1e-10 namespace { // anonymous namespace struct pj_bonne_data { double phi1; double cphi1; double ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/bonne.cpp", "license": "mit", "size": 4434}
### File: src/projections/calcofi.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(calcofi, "Cal Coop Ocean Fish Invest Lines/Stations") "\n\tCyl, Sph&Ell"; /* Conversions for the California Cooperative Oceanic Fisheries Investigations Line/Station coordinate system following the algori...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/calcofi.cpp", "license": "mit", "size": 5503}
### File: src/projections/cass.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(cass, "Cassini") "\n\tCyl, Sph&Ell"; #define C1 .16666666666666666666 #define C2 .00833333333333333333 #define C3 .04166666666666666666 #define C4 .33333333333333333333 #define C5 .0666666...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/cass.cpp", "license": "mit", "size": 4152}
### File: src/projections/cc.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(cc, "Central Cylindrical") "\n\tCyl, Sph"; #define EPS10 1.e-10 static PJ_XY cc_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ PJ_XY xy = {0.0, 0.0}; if (fabs(fabs(lp.phi) - M_HALFPI) <= EPS10)...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/cc.cpp", "license": "mit", "size": 738}
### File: src/projections/ccon.cpp /****************************************************************************** * Copyright (c) 2017, Lukasz Komsta * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/ccon.cpp", "license": "mit", "size": 3370}
### File: src/projections/cea.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" namespace { // anonymous namespace struct pj_cea_data { double qp; double *apa; }; } // anonymous namespace PROJ_HEAD(cea, "Equal Area Cylindrical") "\n\tCyl, Sph&Ell\n\tlat_ts="; #define EPS...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/cea.cpp", "license": "mit", "size": 3065}
### File: src/projections/chamb.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" typedef struct { double r, Az; } VECT; namespace { // anonymous namespace struct pj_chamb { struct { /* control point data */ double phi, lam; double cosphi, sinphi; ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/chamb.cpp", "license": "mit", "size": 4762}
### File: src/projections/col_urban.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(col_urban, "Colombia Urban") "\n\tMisc\n\th_0="; // Notations and formulas taken from IOGP Publication 373-7-2 - // Geomatics Guidance Note number 7, part 2 - March 2020 namespace { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/col_urban.cpp", "license": "mit", "size": 2483}
### File: src/projections/collg.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(collg, "Collignon") "\n\tPCyl, Sph"; #define FXC 1.12837916709551257390 #define FYC 1.77245385090551602729 #define ONEEPS 1.0000001 static PJ_XY collg_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/collg.cpp", "license": "mit", "size": 1248}
### File: src/projections/comill.cpp /* The Compact Miller projection was designed by Tom Patterson, US National Park Service, in 2014. The polynomial equation was developed by Bojan Savric and Bernhard Jenny, College of Earth, Ocean, and Atmospheric Sciences, Oregon State University. Port to PROJ.4 by Bojan Savric, 4 ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/comill.cpp", "license": "mit", "size": 2057}
### File: src/projections/crast.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(crast, "Craster Parabolic (Putnins P4)") "\n\tPCyl, Sph"; #define XM 0.97720502380583984317 #define RXM 1.02332670794648848847 #define YM 3.06998012383946546542 #define RYM 0.32573500793527994772 #define THI...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/crast.cpp", "license": "mit", "size": 908}
### File: src/projections/denoy.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(denoy, "Denoyer Semi-Elliptical") "\n\tPCyl, no inv, Sph"; #define C0 0.95 #define C1 -0.08333333333333333333 #define C3 0.00166666666666666666 #define D1 0.9 #define D5 0.03 static PJ_XY denoy_s_forward(PJ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/denoy.cpp", "license": "mit", "size": 729}
### File: src/projections/eck1.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(eck1, "Eckert I") "\n\tPCyl, Sph"; #define FC 0.92131773192356127802 #define RP 0.31830988618379067154 static PJ_XY eck1_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ PJ_XY xy = {0.0, 0.0}; (...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eck1.cpp", "license": "mit", "size": 718}
### File: src/projections/eck2.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(eck2, "Eckert II") "\n\tPCyl, Sph"; #define FXC 0.46065886596178063902 #define FYC 1.44720250911653531871 #define C13 0.33333333333333333333 #define ONEEPS 1.0000001 static PJ_XY eck2_s_forward(PJ_LP lp, PJ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eck2.cpp", "license": "mit", "size": 1230}
### File: src/projections/eck3.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(eck3, "Eckert III") "\n\tPCyl, Sph"; PROJ_HEAD(putp1, "Putnins P1") "\n\tPCyl, Sph"; PROJ_HEAD(wag6, "Wagner VI") "\n\tPCyl, Sph"; PROJ_HEAD(kav7, "Kavrayskiy VII") "\n\tPCyl, Sph"; namesp...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eck3.cpp", "license": "mit", "size": 2848}
### File: src/projections/eck4.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(eck4, "Eckert IV") "\n\tPCyl, Sph"; // C_x = 2 / sqrt(4 * M_PI + M_PI * M_PI) constexpr double C_x = .42223820031577120149; // C_y = 2 * sqrt(M_PI / (4 + M_PI)) constexpr double C_y = 1.32650042817700232218...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eck4.cpp", "license": "mit", "size": 2604}
### File: src/projections/eck5.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(eck5, "Eckert V") "\n\tPCyl, Sph"; #define XF 0.44101277172455148219 #define RXF 2.26750802723822639137 #define YF 0.88202554344910296438 #define RYF 1.13375401361911319568 static PJ_XY eck5_s_forward(PJ_LP...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eck5.cpp", "license": "mit", "size": 774}
### File: src/projections/eqc.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" namespace { // anonymous namespace struct pj_eqc_data { double rc; }; } // anonymous namespace PROJ_HEAD(eqc, "Equidistant Cylindrical (Plate Carree)") "\n\tCyl, Sph\n\tlat_ts=[, lat_0=0]"; stat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eqc.cpp", "license": "mit", "size": 1373}
### File: src/projections/eqdc.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" #include <math.h> namespace { // anonymous namespace struct pj_eqdc_data { double phi1; double phi2; double n; double rho; double rho0; double c; double *en; int ellip...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eqdc.cpp", "license": "mit", "size": 4715}
### File: src/projections/eqearth.cpp /* Equal Earth is a projection inspired by the Robinson projection, but unlike the Robinson projection retains the relative size of areas. The projection was designed in 2018 by Bojan Savric, Tom Patterson and Bernhard Jenny. Publication: Bojan Savric, Tom Patterson & Bernhard Jen...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/eqearth.cpp", "license": "mit", "size": 4699}
### File: src/projections/fahey.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(fahey, "Fahey") "\n\tPcyl, Sph"; #define TOL 1e-6 static PJ_XY fahey_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ PJ_XY xy = {0.0, 0.0}; (void)P; xy.x = tan(0.5 * lp.phi); xy.y =...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/fahey.cpp", "license": "mit", "size": 778}
### File: src/projections/fouc_s.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(fouc_s, "Foucaut Sinusoidal") "\n\tPCyl, Sph"; #define MAX_ITER 10 #define LOOP_TOL 1e-7 namespace { // anonymous namespace struct pj_fouc_s_data { double n, n1; }; } // anonymous n...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/fouc_s.cpp", "license": "mit", "size": 2025}
### File: src/projections/gall.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(gall, "Gall (Gall Stereographic)") "\n\tCyl, Sph"; #define YF 1.70710678118654752440 #define XF 0.70710678118654752440 #define RYF 0.58578643762690495119 #define RXF 1.41421356237309504880 static PJ_XY gall...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/gall.cpp", "license": "mit", "size": 772}
### File: src/projections/geos.cpp /* ** libproj -- library of cartographic projections ** ** Copyright (c) 2004 Gerald I. Evenden ** Copyright (c) 2012 Martin Raspaud ** ** See also (section 4.4.3.2): ** https://www.cgms-info.org/documents/pdf_cgms_03.pdf ** ** Permission is hereby granted, free of charge, to an...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/geos.cpp", "license": "mit", "size": 7702}
### File: src/projections/gins8.cpp #include "proj.h" #include "proj_internal.h" PROJ_HEAD(gins8, "Ginsburg VIII (TsNIIGAiK)") "\n\tPCyl, Sph, no inv"; #define Cl 0.000952426 #define Cp 0.162388 #define C12 0.08333333333333333 static PJ_XY gins8_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ PJ_XY xy =...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/gins8.cpp", "license": "mit", "size": 604}
### File: src/projections/gn_sinu.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(gn_sinu, "General Sinusoidal Series") "\n\tPCyl, Sph\n\tm= n="; PROJ_HEAD(sinu, "Sinusoidal (Sanson-Flamsteed)") "\n\tPCyl, Sph&Ell"; PROJ_HEAD(eck6, "Eckert VI") "\n\tPCyl, Sph"; PROJ_H...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/gn_sinu.cpp", "license": "mit", "size": 5898}
### File: src/projections/gnom.cpp #include <errno.h> #include <float.h> #include <math.h> #include "geodesic.h" #include "proj.h" #include "proj_internal.h" PROJ_HEAD(gnom, "Gnomonic") "\n\tAzi, Sph"; #define EPS10 1.e-10 namespace pj_gnom_ns { enum Mode { N_POLE = 0, S_POLE = 1, EQUIT = 2, OBLIQ = 3 }; } names...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/gnom.cpp", "license": "mit", "size": 6141}
### File: src/projections/goode.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(goode, "Goode Homolosine") "\n\tPCyl, Sph"; #define Y_COR 0.05280 #define PHI_LIM 0.71093078197902358062 C_NAMESPACE PJ *pj_sinu(PJ *), *pj_moll(PJ *); namespace { // anonymous namespac...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/goode.cpp", "license": "mit", "size": 2316}
### File: src/projections/gstmerc.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(gstmerc, "Gauss-Schreiber Transverse Mercator (aka Gauss-Laborde Reunion)") "\n\tCyl, Sph&Ell\n\tlat_0= lon_0= k_0="; namespace { // anonymous namespace struct pj_gstmerc_data...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/gstmerc.cpp", "license": "mit", "size": 2265}
### File: src/projections/hammer.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(hammer, "Hammer & Eckert-Greifendorff") "\n\tMisc Sph, \n\tW= M="; #define EPS 1.0e-10 namespace { // anonymous namespace struct pq_hammer { double w; double m, rm; }; } // anon...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/hammer.cpp", "license": "mit", "size": 2565}
### File: src/projections/hatano.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(hatano, "Hatano Asymmetrical Equal Area") "\n\tPCyl, Sph"; #define NITER 20 #define EPS 1e-7 #define ONETOL 1.000001 #define CN 2.67595 #define CSz 2.43763 #define RCN 0.37369906014686373063 #define RCS 0....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/hatano.cpp", "license": "mit", "size": 2106}
### File: src/projections/healpix.cpp /****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the HEALPix and rHEALPix projections. * For background see *<http://code.scenzgrid.org/index.php/p/scenzgrid-py/source/tree/master/docs/rhealp...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/healpix.cpp", "license": "mit", "size": 24038}
### File: src/projections/igh.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(igh, "Interrupted Goode Homolosine") "\n\tPCyl, Sph"; /* This projection is a compilation of 12 separate sub-projections. Sinusoidal projections are found near the equator and Mollweide pro...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/igh.cpp", "license": "mit", "size": 9560}
### File: src/projections/igh_o.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(igh_o, "Interrupted Goode Homolosine Oceanic View") "\n\tPCyl, Sph"; /* This projection is a variant of the Interrupted Goode Homolosine projection that emphasizes ocean areas. The projec...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/igh_o.cpp", "license": "mit", "size": 9901}
### File: src/projections/imoll.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(imoll, "Interrupted Mollweide") "\n\tPCyl, Sph"; /* This projection is a compilation of 6 separate sub-projections. It is related to the Interrupted Goode Homolosine projection, but uses ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/imoll.cpp", "license": "mit", "size": 8921}
### File: src/projections/imoll_o.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(imoll_o, "Interrupted Mollweide Oceanic View") "\n\tPCyl, Sph"; /* This projection is a variant of the Interrupted Mollweide projection that emphasizes ocean areas. This projection is a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/imoll_o.cpp", "license": "mit", "size": 9472}
### File: src/projections/imw_p.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(imw_p, "International Map of the World Polyconic") "\n\tMod. Polyconic, Ell\n\tlat_1= and lat_2= [lon_1=]"; #define TOL 1e-10 #define EPS 1e-10 namespace { // anonymous namespace enum Mo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/imw_p.cpp", "license": "mit", "size": 6997}
### File: src/projections/isea.cpp /* The public domain code for the forward direction was initially written by Nathan Wagner. The inverse projection was adapted from Java and eC by Jérôme Jacovella-St-Louis, originally from the Franz-Benjamin Mocnik's ISEA implementation found at https://github.com/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/isea.cpp", "license": "mit", "size": 42304}
### File: src/projections/krovak.cpp /* * Project: PROJ * Purpose: Implementation of the krovak (Krovak) projection. * Definition: http://www.ihsenergy.com/epsg/guid7.html#1.4.3 * Author: Thomas Flemming, tf@ttqv.com * ****************************************************************************** *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/krovak.cpp", "license": "mit", "size": 11966}
### File: src/projections/labrd.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(labrd, "Laborde") "\n\tCyl, Sph\n\tSpecial for Madagascar\n\tlat_0="; #define EPS 1.e-10 namespace { // anonymous namespace struct pj_opaque { double kRg, p0s, A, C, Ca, Cb, Cc, Cd; }...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/labrd.cpp", "license": "mit", "size": 4451}
### File: src/projections/laea.cpp #include "proj.h" #include "proj_internal.h" #include <errno.h> #include <math.h> PROJ_HEAD(laea, "Lambert Azimuthal Equal Area") "\n\tAzi, Sph&Ell"; namespace pj_laea_ns { enum Mode { N_POLE = 0, S_POLE = 1, EQUIT = 2, OBLIQ = 3 }; } namespace { // anonymous namespace struct pj_l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/laea.cpp", "license": "mit", "size": 9070}
### File: src/projections/lagrng.cpp #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(lagrng, "Lagrange") "\n\tMisc Sph\n\tW="; #define TOL 1e-10 namespace { // anonymous namespace struct pj_lagrng { double a1; double a2; double hrw; double hw; double ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/lagrng.cpp", "license": "mit", "size": 2941}
### File: src/projections/larr.cpp #include <math.h> #include "proj.h" #include "proj_internal.h" PROJ_HEAD(larr, "Larrivee") "\n\tMisc Sph, no inv"; #define SIXTH .16666666666666666 static PJ_XY larr_s_forward(PJ_LP lp, PJ *P) { /* Spheroidal, forward */ PJ_XY xy = {0.0, 0.0}; (void)P; xy.x = 0.5 * ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/larr.cpp", "license": "mit", "size": 489}
### File: src/projections/lask.cpp #include "proj.h" #include "proj_internal.h" PROJ_HEAD(lask, "Laskowski") "\n\tMisc Sph, no inv"; #define a10 0.975534 #define a12 -0.119161 #define a32 -0.0143059 #define a14 -0.0547009 #define b01 1.00384 #define b21 0.0802894 #define b03 0.0998909 #define b41 0.000199025 #defin...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/PROJ", "path": "src/projections/lask.cpp", "license": "mit", "size": 777}