text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: vision/classification/extract_imagenet.py # SPDX-License-Identifier: Apache-2.0 """Prepare the ImageNet dataset""" import os import argparse import tarfile import pickle import gzip from tqdm import tqdm from mxnet.gluon.utils import check_sha1 _TARGET_DIR = os.path.expanduser('~/.onnx/datasets/imagenet') _...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/extract_imagenet.py", "license": "apache-2.0", "size": 3268}
### File: vision/classification/imagenet_inference.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Inference Demo for ImageNet Models" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Overview\n", "This notebook can be used for inferenc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/imagenet_inference.ipynb", "license": "apache-2.0", "size": 132512}
### File: vision/classification/imagenet_preprocess.py # SPDX-License-Identifier: Apache-2.0 import numpy as np from PIL import Image import mxnet from mxnet.gluon.data.vision import transforms def preprocess(image): # resize so that the shorter side is 256, maintaining aspect ratio def image_resize(image, mi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/imagenet_preprocess.py", "license": "apache-2.0", "size": 2082}
### File: vision/classification/imagenet_validation.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Validation script for Imagenet models\n", "\n", "## Overview\n", "Use this notebook to verify the accuracy of a trained ONNX model on the validation set of ImageNe...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/imagenet_validation.ipynb", "license": "apache-2.0", "size": 8040}
### File: vision/classification/mobilenet/train_mobilenet.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Training notebook for MobileNet v2 1.0 and 0.5 on ImageNet dataset\n", "\n", "## Overview\n", "Use this notebook to train a MobileNet model from scratch. **M...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/mobilenet/train_mobilenet.ipynb", "license": "apache-2.0", "size": 33325}
### File: vision/classification/onnxrt_inference.ipynb { "metadata": { "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "vers...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/onnxrt_inference.ipynb", "license": "apache-2.0", "size": 6787}
### File: vision/classification/resnet/train_resnet.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Training Notebook for ResNet v1 and v2 models on ImageNet Dataset\n", "\n", "## Overview\n", "Use this notebook to train a ResNet model from scratch. **Make sure t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/resnet/train_resnet.ipynb", "license": "apache-2.0", "size": 42174}
### File: vision/classification/shufflenet/ShufflenetV2-export.py # SPDX-License-Identifier: BSD-3-Clause import torch import onnxruntime import onnx from onnx import numpy_helper from PIL import Image from torchvision import transforms import numpy as np import os import urllib # GitHub Repo | Model...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/shufflenet/ShufflenetV2-export.py", "license": "apache-2.0", "size": 6875}
### File: vision/classification/squeezenet/train_squeezenet.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Training Notebook for SqueezeNet 1.0 and 1.1 on ImageNet Dataset\n", "\n", "## Overview\n", "Use this notebook to train a SqueezeNet model from scratch. **...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/squeezenet/train_squeezenet.ipynb", "license": "apache-2.0", "size": 27190}
### File: vision/classification/vgg/train_vgg.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Training Notebook for VGG models on ImageNet Dataset\n", "\n", "## Overview\n", "Use this notebook to train a VGG model from scratch. **Make sure to have the ImageNet da...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/classification/vgg/train_vgg.ipynb", "license": "apache-2.0", "size": 24245}
### File: vision/object_detection_segmentation/duc/dependencies/cityscapes_labels.py #!/usr/bin/python # SPDX-License-Identifier: Apache-2.0 # ''' This script contains label names, original ids, modified train ids and color maps for the categories in the cityscapes dataset. Used in the duc-inference.ipynb and duc-val...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/duc/dependencies/cityscapes_labels.py", "license": "apache-2.0", "size":...
### File: vision/object_detection_segmentation/duc/dependencies/cityscapes_loader.py # SPDX-License-Identifier: Apache-2.0 import atexit import logging import multiprocessing as mp import random import mxnet as mx import numpy as np try: import Queue except ImportError: import queue import utils class Cit...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/duc/dependencies/cityscapes_loader.py", "license": "apache-2.0", "size":...
### File: vision/object_detection_segmentation/duc/dependencies/duc-postprocess.py # SPDX-License-Identifier: Apache-2.0 import numpy as np import cv2 as cv from PIL import Image import cityscapes_labels def get_palette(): # get train id to color mappings from file trainId2colors = {label.trainId: label.color...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/duc/dependencies/duc-postprocess.py", "license": "apache-2.0", "size": 2...
### File: vision/object_detection_segmentation/duc/dependencies/duc-preprocess.py # SPDX-License-Identifier: Apache-2.0 import numpy as np import math import cv2 as cv import mxnet as mx def preprocess(im, rgb_mean): ''' Preprocessing function for DUC input : input image and rgb mean output : MXNet nd...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/duc/dependencies/duc-preprocess.py", "license": "apache-2.0", "size": 95...
### File: vision/object_detection_segmentation/duc/dependencies/duc-validation.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Validation notebook for DUC models\n", "\n", "## Overview\n", "Use this notebook to verify the accuracy of a trained DUC model in ONNX f...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/duc/dependencies/duc-validation.ipynb", "license": "apache-2.0...
### File: vision/object_detection_segmentation/duc/dependencies/utils.py # SPDX-License-Identifier: Apache-2.0 ''' This script contains helper functions which are used by cityscapes_loader.py in duc-validation.ipynb ''' import logging import math import os import random import time from PIL import Image from datetime...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/duc/dependencies/utils.py", "license": "apache-2.0", "size": 7162}
### File: vision/object_detection_segmentation/fcn/dependencies/conversion.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "The model below is converted from PyTorch's Torchvision module. The original model source can be found [here](https://github.com/pytorch/vision/tree/maste...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/fcn/dependencies/conversion.ipynb", "license": "apache-2.0", "...
### File: vision/object_detection_segmentation/fcn/dependencies/inference.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Purpose\n", "Demonstrate using FCN for inference as outlined in README.md\n", "\n", "Scripts ported from [Mask-RCNN](../../mask-rcnn/dependen...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/fcn/dependencies/inference.ipynb", "license": "apache-2.0", "s...
### File: vision/object_detection_segmentation/fcn/dependencies/validation_accuracy.ipynb { "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "import matplotlib.pyplot as plt\n", "from pycocotools.coco import COCO\n",...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/fcn/dependencies/validation_accuracy.ipynb", "license": "apach...
### File: vision/object_detection_segmentation/retinanet/dependencies/retinanet-export.py # SPDX-License-Identifier: BSD-3-Clause import os import torch import onnxruntime import numpy as np from retinanet.model import Model from PIL import Image from torchvision import transforms from onnx import numpy_helper impor...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/retinanet/dependencies/retinanet-export.py", "license": "apache-2.0", "s...
### File: vision/object_detection_segmentation/yolov4/dependencies/Conversion.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "The model below is converted from tensorflow. The original model can be found [here](https://github.com/hunglc007/tensorflow-yolov4-tflite). The conver...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/yolov4/dependencies/Conversion.ipynb", "license": "apache-2.0"...
### File: vision/object_detection_segmentation/yolov4/dependencies/inference.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Purpose\n", "Run inference on the converted yolov4 onnx model.\n", "This tutorial also includes preprocess and postprocess steps. " ] }, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/yolov4/dependencies/inference.ipynb", "license": "apache-2.0",...
### File: vision/object_detection_segmentation/yolov4/dependencies/onnx-model-validation.ipynb { "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import onnx\n", "import os\n", "\n", "# Load the ONNX model\n", "model = onnx.load(os...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/object_detection_segmentation/yolov4/dependencies/onnx-model-validation.ipynb", "license": "...
### File: vision/style_transfer/fast_neural_style/dependencies/conversion.ipynb { "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from onnx import numpy_helper\n", "\n", "def f(t):\n", " return [f(i) for i in t] if isinstance(t,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/style_transfer/fast_neural_style/dependencies/conversion.ipynb", "license": "apache-2.0", "s...
### File: vision/style_transfer/fast_neural_style/dependencies/transformer_net.py # SPDX-License-Identifier: BSD-3-Clause # BSD 3-Clause License # Copyright (c) 2017, # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "vision/style_transfer/fast_neural_style/dependencies/transformer_net.py", "license": "apache-2.0", "size": 55...
### File: vision/super_resolution/sub_pixel_cnn_2016/dependencies/Run_Super_Resolution_Model.ipynb { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Import Dependencies" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Jupyter Notebook", "repo_name": "minhanghuang/onnx-models", "path": "vision/super_resolution/sub_pixel_cnn_2016/dependencies/Run_Super_Resolution_Model.ipynb", "license...
### File: workflow_scripts/check_model.py # SPDX-License-Identifier: Apache-2.0 from cpuinfo import get_cpu_info import ort_test_dir_utils import onnxruntime import onnx import os from shutil import rmtree import tarfile import test_utils def has_vnni_support(): return "avx512vnni" in set(get_cpu_info()["flags"]...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "workflow_scripts/check_model.py", "license": "apache-2.0", "size": 2923}
### File: workflow_scripts/generate_onnx_hub_manifest.py # SPDX-License-Identifier: Apache-2.0 import hashlib import json import os import re import bs4 import markdown import pandas as pd import typepy from os.path import join, split import onnxruntime as ort from onnxruntime.capi.onnxruntime_pybind11_sta...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "workflow_scripts/generate_onnx_hub_manifest.py", "license": "apache-2.0", "size": 12186}
### File: workflow_scripts/onnx_test_data_utils.py # SPDX-License-Identifier: Apache-2.0 # This file is cloned from microsoft/onnxruntime/tools/python # onnxruntime commit id: fdce4fa6af437b0b822958ab47b3b8f77f9e14ae import argparse import glob import os import sys import numpy as np import onnx from onnx import num...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "workflow_scripts/onnx_test_data_utils.py", "license": "apache-2.0", "size": 8490}
### File: workflow_scripts/ort_test_dir_utils.py # SPDX-License-Identifier: Apache-2.0 # This file is cloned from microsoft/onnxruntime/tools/python and updated L57 by adding default dim value 1 # onnxruntime commit id: fdce4fa6af437b0b822958ab47b3b8f77f9e14ae import glob import os import shutil import numpy as np i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/onnx-models", "path": "workflow_scripts/ort_test_dir_utils.py", "license": "apache-2.0", "size": 11372}
### File: CMakeLists.txt ################################################################################ # # This file is part of CMake configuration for PROJ library (inspired from SOCI # CMake, Copyright (C) 2009-2010 Mateusz Loskot <mateusz@loskot.net> ) # # Copyright (C) 2011 Nicolas David <nicolas.david@ign.fr> ...
{"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": "CMakeLists.txt", "license": "mit", "size": 16634}
### File: Dockerfile ## # OSGeo/PROJ FROM ubuntu:22.04 AS builder LABEL maintainer="Howard Butler <howard@hobu.co>" ARG DESTDIR="/build" # Setup build env RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --fix-missing --no-install-recommends \ software-properties-common build-es...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/PROJ", "path": "Dockerfile", "license": "mit", "size": 1427}
### File: cmake/CMakeLists.txt # The old CMake PROJECT-NAME was PROJ4. set (PROJECT_LEGACY_NAME PROJ4) string (TOLOWER "${PROJECT_NAME}" PROJECT_NAME_LOWER) string (TOLOWER "${PROJECT_LEGACY_NAME}" PROJECT_LEGACY_LOWER) # Starting with version 7.0, we install config-style find package # files so that PROJ can be found...
{"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": "cmake/CMakeLists.txt", "license": "mit", "size": 4364}
### File: cmake/Ccache.cmake # # CMake module to support ccache (or clcache for MSVC) # # Copyright (c) 2021, Mike Taves <mwtoews at gmail dot com> # # Usage: # Add "include(Ccache)" to CMakeLists.txt and enable # using the option -D USE_CCACHE=ON option(USE_CCACHE "Use ccache (or clcache for MSVC) to compile C/C++...
{"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": "cmake/Ccache.cmake", "license": "mit", "size": 1934}
### File: cmake/FileEmbed.cmake # Derived from https://gitlab.com/jhamberg/cmake-examples/-/blob/master/cmake/FileEmbed.cmake # MIT licensed # Copyright (c) 2022 Jonathan Hamberg function(FileEmbedSetup) if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/file_embed) file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}...
{"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": "cmake/FileEmbed.cmake", "license": "mit", "size": 3040}
### File: cmake/ProjConfig.cmake ################################################################################ # ProjConfig.cmake - CMake build configuration of PROJ library ################################################################################ # Copyright (C) 2010 Mateusz Loskot <mateusz@loskot.net> # # D...
{"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": "cmake/ProjConfig.cmake", "license": "mit", "size": 2180}
### File: cmake/ProjInstallPath.cmake #---------------------------------------------- # installation path settings #---------------------------------------------- if(WIN32) if(DEFINED ENV{OSGEO4W_ROOT}) set(OSGEO4W_ROOT_DIR $ENV{OSGEO4W_ROOT}) else() set(OSGEO4W_ROOT_DIR c:/OSGeo4W) endif() set(DEFAULT_...
{"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": "cmake/ProjInstallPath.cmake", "license": "mit", "size": 539}
### File: cmake/ProjMac.cmake if(APPLE) set(FRAMEWORKDIR "Library/Frameworks" CACHE PATH "the path to install framework") set(BUNDLEDIR "Applications/OSGEO" CACHE PATH "the path to install bundle") file(RELATIVE_PATH BUNDLE_FRAME_REL_PATH_AAA "/${FRAMEWORKDIR}" "/aaa") string(LENGTH ${BUNDLE_FRAME_REL_P...
{"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": "cmake/ProjMac.cmake", "license": "mit", "size": 1031}
### File: cmake/ProjTest.cmake # # Add command-line interface tests # function(proj_test_set_properties TESTNAME) set(_env "PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY=YES" "PROJ_DATA=${PROJ_BINARY_DIR}/data/for_tests") if(TIFF_ENABLED) set(_env ${_env} "TIFF_ENABLED=YES") else() set(_env ${_env} "T...
{"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": "cmake/ProjTest.cmake", "license": "mit", "size": 2285}
### File: cmake/ProjUtilities.cmake ################################################################################ # ProjUtilities.cmake - part of CMake configuration of PROJ library # # Based on BoostUtilities.cmake from CMake configuration for Boost ##################################################################...
{"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": "cmake/ProjUtilities.cmake", "license": "mit", "size": 3316}
### File: cmake/ProjVersion.cmake ################################################################################ # ProjVersion.cmake - part of CMake configuration of PROJ library ################################################################################ # Copyright (C) 2010 Mateusz Loskot <mateusz@loskot.net> #...
{"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": "cmake/ProjVersion.cmake", "license": "mit", "size": 1340}
### File: cmake/policies.cmake if(CMAKE_MAJOR_VERSION GREATER 2) cmake_policy(SET CMP0042 NEW) # osx rpath cmake_policy(SET CMP0011 NEW) # policy setting endif()
{"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": "cmake/policies.cmake", "license": "mit", "size": 137}
### File: cmake/proj_config.cmake.in /* Define to 1 if you have the `dl' library (-ldl). */ #cmakedefine HAVE_LIBDL 1 /* Define to 1 if you have localeconv */ #cmakedefine HAVE_LOCALECONV 1 /* Define to 1 if you have the `strerror' function. */ #cmakedefine HAVE_STRERROR 1 /* Name of package */ #cmakedefine PACKAGE ...
{"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": "cmake/proj_config.cmake.in", "license": "mit", "size": 903}
### File: cmake/project-config-version.cmake.in # Version checking for @PROJECT_VARIANT_NAME@ set (PACKAGE_VERSION "@PROJ_VERSION@") set (PACKAGE_VERSION_MAJOR "@PROJ_VERSION_MAJOR@") set (PACKAGE_VERSION_MINOR "@PROJ_VERSION_MINOR@") set (PACKAGE_VERSION_PATCH "@PROJ_VERSION_PATCH@") # These variable definitions par...
{"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": "cmake/project-config-version.cmake.in", "license": "mit", "size": 2367}
### File: cmake/project-config.cmake.in # Configure @PROJECT_NAME@ # # Set # @PROJECT_VARIANT_NAME@_FOUND = 1 # @PROJECT_VARIANT_NAME@_INCLUDE_DIRS = /usr/local/include # @PROJECT_VARIANT_NAME@_LIBRARIES = @PROJECT_VARIANT_NAME@::proj # @PROJECT_VARIANT_NAME@_LIBRARY_DIRS = /usr/local/lib # @PROJECT_VARIANT_NAME@_...
{"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": "cmake/project-config.cmake.in", "license": "mit", "size": 2941}
### File: cmake/uninstall.cmake.in # install_manifest.txt is created in the top build tree, not the project one if (NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_BINARY_DIR@/install_manifest.txt\"") endif() set(uninstall_file_list "@CMAKE_BINARY_D...
{"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": "cmake/uninstall.cmake.in", "license": "mit", "size": 2713}
### File: data/CMakeLists.txt # # files containing dictionary of useful projection # set(PROJ_DB_CACHE_DIR "" CACHE PATH "Directory used to cache proj.db") if(NOT IS_DIRECTORY ${PROJ_DB_CACHE_DIR}) if(NOT "${PROJ_DB_CACHE_DIR}" STREQUAL "") message(WARNING "PROJ_DB_CACHE_DIR (${PROJ_DB_CACHE_DIR}) not 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": "data/CMakeLists.txt", "license": "mit", "size": 3790}
### File: data/generate_proj_db.cmake function(cat IN_FILE OUT_FILE) file(READ ${IN_FILE} CONTENTS) file(APPEND ${OUT_FILE} "${CONTENTS}") endfunction() # Generates a all.sql.in file from all the individual .sql files, taking # into account if extra validation checks must be done before inserting data # records fu...
{"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": "data/generate_proj_db.cmake", "license": "mit", "size": 3586}
### File: data/sql/begin.sql PRAGMA page_size = 4096; PRAGMA foreign_keys = 1; BEGIN;
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "PLpgSQL", "repo_name": "minhanghuang/PROJ", "path": "data/sql/begin.sql", "license": "mit", "size": 58}
### File: data/sql_filelist.cmake set(SQL_DIR "${CMAKE_CURRENT_LIST_DIR}/sql") set(SQL_FILES_CONSISTENCY_CHECKS_TRIGGERS "${SQL_DIR}/consistency_checks_triggers.sql" "${SQL_DIR}/conversion_triggers.sql" "${SQL_DIR}/conversion_triggers_hand_written.sql" ) # When setting PROJ_DB_EXTRA_VALIDATION=OFF, we defer the...
{"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": "data/sql_filelist.cmake", "license": "mit", "size": 2624}
### File: docs/Makefile # Minimal makefile for Sphinx documentation # # You can set these variables from the command line, and also # from the environment for the first two. SPHINXOPTS ?= HTMLOPTS ?= -W SPHINXBUILD ?= sphinx-build SOURCEDIR = source BUILDDIR = build ALLSPHINXOPTS = -d $(BUILDDIR)...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/PROJ", "path": "docs/Makefile", "license": "mit", "size": 1571}
### File: docs/rtd/plot.sh #!/bin/sh set -e export PATH="$HOME/.local/bin:$PATH" export PROJ_DATA="$HOME/.local/share/proj" cd docs/plot python plot.py plotdefs.json images cd ../.. mkdir -p docs/source/operations/projections/images/ cp -r docs/plot/images/* docs/source/operations/projections/images/
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/PROJ", "path": "docs/rtd/plot.sh", "license": "mit", "size": 278}
### File: docs/rtd/post_build.sh #!/bin/sh set -e # https://github.com/readthedocs/readthedocs.org/pull/9888 READTHEDOCS_OUTPUT="_readthedocs" find ${READTHEDOCS_OUTPUT} -type d READTHEDOCS_OUTPUT_HTML="${READTHEDOCS_OUTPUT}/html" # Undoes the hack done in scripts/doxygen.sh sed "s/io::Convention_/io::Convention/g" <...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/PROJ", "path": "docs/rtd/post_build.sh", "license": "mit", "size": 846}
### File: docs/rtd/pre_build.sh #!/bin/sh set -e mkdir build cd build cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=$HOME/.local .. ninja install
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/PROJ", "path": "docs/rtd/pre_build.sh", "license": "mit", "size": 155}
### File: docs/source/_extensions/program_with_link.py from sphinx.domains.std import StandardDomain class MyStandardDomain(StandardDomain): def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode): if typ == "program": typ = "ref" return StandardDomain.resolve_xr...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/_extensions/program_with_link.py", "license": "mit", "size": 617}
### File: docs/source/_extensions/redirects.py """Sphinx doc extension for HTML redirects. Within conf.py, add a 'redirect_files' dict with alias/target pairs. Originally from https://tech.signavio.com/2017/managing-sphinx-redirects (dead) """ from pathlib import Path template = """\ <html> <head> <meta http-e...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/_extensions/redirects.py", "license": "mit", "size": 915}
### File: docs/source/_extensions/replacements.py """Sphinx doc extension for simple word replacements. Within conf.py, add a 'replacement_pairs' dict with key/replacement pairs. With inspiration from https://github.com/sphinx-doc/sphinx/issues/4054#issuecomment-329097229 """ def replace_words(app, docname, source)...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/_extensions/replacements.py", "license": "mit", "size": 542}
### File: docs/source/_extensions/source_file.py import os from docutils import nodes def source_file(name, rawtext, text, lineno, inliner, options={}, content=[]): app = inliner.document.settings.env.app rootdir = app.config.source_file_root fname = text if not os.path.exists(os.path.join(rootdir,...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/_extensions/source_file.py", "license": "mit", "size": 855}
### File: docs/source/_static/theme_overrides.css /* override table width restrictions */ @media screen and (min-width: 767px) { .wy-table-responsive table td { /* !important prevents the common CSS stylesheets from overriding this as on RTD they are loaded after this stylesheet */ white-space:...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "minhanghuang/PROJ", "path": "docs/source/_static/theme_overrides.css", "license": "mit", "size": 1828}
### File: docs/source/bibstyle.py ############################################################################### # # Project: PROJ # Purpose: Configure custom bibliography style for sphinxcontrib-bibtex # Author: Mike Toews <mwtoews at gmail.com> # #################################################################...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/bibstyle.py", "license": "mit", "size": 2814}
### File: docs/source/conf.py """ Configuration file for the Sphinx documentation builder. For the full list of built-in configuration values, see the documentation: https://www.sphinx-doc.org/en/master/usage/configuration.html """ import os import sys from datetime import date sys.path.insert(0, os.path.abspath("."...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/conf.py", "license": "mit", "size": 7479}
### File: docs/source/operations/projections/generate_all_images.py import os import pathlib all_images_path = (pathlib.Path(__file__).parent.resolve() / 'all_images.rst').as_posix() images_path = (pathlib.Path(__file__).parent.resolve() / 'images').as_posix() exceptions = { "grieger_triptychial" : "peirce_q", ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "docs/source/operations/projections/generate_all_images.py", "license": "mit", "size": 1186}
### File: docs/source/references.bib % Encoding: UTF-8 @Article{Altamimi2002, Title = {{ITRF2000}: A new release of the {International Terrestrial Reference Frame} for earth science applications}, Author = {Zuheir Altamimi and Patrick Sillard and Claude Boucher}, Journal ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "BibTeX", "repo_name": "minhanghuang/PROJ", "path": "docs/source/references.bib", "license": "mit", "size": 20605}
### File: examples/CMakeLists.txt add_executable(pj_obs_api_mini_demo pj_obs_api_mini_demo.c) target_link_libraries(pj_obs_api_mini_demo PRIVATE ${PROJ_LIBRARIES}) add_executable(crs_to_geodetic crs_to_geodetic.c) target_link_libraries(crs_to_geodetic PRIVATE ${PROJ_LIBRARIES}) add_executable(EPSG_4326_to_32631 EPSG_...
{"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": "examples/CMakeLists.txt", "license": "mit", "size": 373}
### File: examples/EPSG_4326_to_32631.cpp /******************************************************************************* Example code that illustrates how to convert between two CRS Note: This file is in-lined in the documentation. Any changes must be reflected in docs/source/development/quickstart.rst ...
{"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": "examples/EPSG_4326_to_32631.cpp", "license": "mit", "size": 3586}
### File: examples/crs_to_geodetic.c /******************************************************************************* Example code that illustrates how to convert between a CRS and geodetic coordnates for that CRS. Note: This file is in-lined in the documentation. Any changes must be reflected in docs/...
{"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": "examples/crs_to_geodetic.c", "license": "mit", "size": 2156}
### File: examples/pj_obs_api_mini_demo.c /******************************************************************************* Simple example code demonstrating use of the proj.h API for 2D coordinate transformations. Note: This file is in-lined in the documentation. Any changes must be reflected in docs/s...
{"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": "examples/pj_obs_api_mini_demo.c", "license": "mit", "size": 2018}
### File: include/CMakeLists.txt add_subdirectory(proj)
{"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": "include/CMakeLists.txt", "license": "mit", "size": 23}
### File: include/proj/CMakeLists.txt install( FILES util.hpp metadata.hpp common.hpp coordinates.hpp crs.hpp datum.hpp coordinatesystem.hpp coordinateoperation.hpp io.hpp nn.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/proj )
{"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": "include/proj/CMakeLists.txt", "license": "mit", "size": 196}
### File: include/proj/common.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": "include/proj/common.hpp", "license": "mit", "size": 16264}
### File: include/proj/coordinateoperation.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": "include/proj/coordinateoperation.hpp", "license": "mit", "size": 87890}
### File: include/proj/coordinates.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": "include/proj/coordinates.hpp", "license": "mit", "size": 4185}
### File: include/proj/coordinatesystem.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": "include/proj/coordinatesystem.hpp", "license": "mit", "size": 30169}
### File: include/proj/crs.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": "include/proj/crs.hpp", "license": "mit", "size": 59095}
### File: include/proj/datum.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": "include/proj/datum.hpp", "license": "mit", "size": 31730}
### File: include/proj/internal/coordinatesystem_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": "include/proj/internal/coordinatesystem_internal.hpp", "license": "mit", "size": 3484}
### File: include/proj/internal/crs_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": "include/proj/internal/crs_internal.hpp", "license": "mit", "size": 1923}
### File: include/proj/internal/datum_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": "include/proj/internal/datum_internal.hpp", "license": "mit", "size": 2114}
### File: include/proj/internal/include_nlohmann_json.hpp /****************************************************************************** * * Project: PROJ * Purpose: Wrapper for nlohmann/json.hpp * 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": "include/proj/internal/include_nlohmann_json.hpp", "license": "mit", "size": 1998}
### File: include/proj/internal/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": "include/proj/internal/internal.hpp", "license": "mit", "size": 6817}
### File: include/proj/internal/io_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": "include/proj/internal/io_internal.hpp", "license": "mit", "size": 8678}
### File: include/proj/internal/lru_cache.hpp /* * LRUCache11 - a templated C++11 based LRU cache class that allows * specification of * key, value and optionally the map container type (defaults to * std::unordered_map) * By using the std::map and a linked list of keys it allows O(1) insert, delete * and * refr...
{"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": "include/proj/internal/lru_cache.hpp", "license": "mit", "size": 6897}
### File: include/proj/internal/tracing.hpp /****************************************************************************** * * Project: PROJ * Purpose: Tracing/profiling * 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": "include/proj/internal/tracing.hpp", "license": "mit", "size": 2779}
### File: include/proj/io.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": "include/proj/io.hpp", "license": "mit", "size": 51929}
### File: include/proj/metadata.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": "include/proj/metadata.hpp", "license": "mit", "size": 16784}
### File: include/proj/nn.hpp #pragma once /* * Copyright (c) 2015 Dropbox, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.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": "include/proj/nn.hpp", "license": "mit", "size": 15185}
### File: include/proj/util.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": "include/proj/util.hpp", "license": "mit", "size": 26273}
### File: man/CMakeLists.txt install(FILES man1/proj.1 man1/cs2cs.1 man1/geod.1 man1/cct.1 man1/gie.1 man1/projinfo.1 man1/projsync.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
{"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": "man/CMakeLists.txt", "license": "mit", "size": 163}
### File: man/man1/cct.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/cct.1", "license": "mit", "size": 9235}
### File: man/man1/cs2cs.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/cs2cs.1", "license": "mit", "size": 15877}
### File: man/man1/geod.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\"...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/geod.1", "license": "mit", "size": 7816}
### File: man/man1/gie.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/gie.1", "license": "mit", "size": 15128}
### File: man/man1/proj.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\"...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/proj.1", "license": "mit", "size": 9861}
### File: man/man1/projinfo.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/projinfo.1", "license": "mit", "size": 27612}
### File: man/man1/projsync.1 .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Roff Manpage", "repo_name": "minhanghuang/PROJ", "path": "man/man1/projsync.1", "license": "mit", "size": 6274}
### File: scripts/CMakeLists.txt find_package(PkgConfig QUIET) if (PKG_CONFIG_FOUND) pkg_check_modules(PC_BASH_COMPLETION QUIET bash-completion) if (PC_BASH_COMPLETION_FOUND) pkg_get_variable(BASH_COMPLETIONS_FULL_DIR bash-completion completionsdir) pkg_get_variable(BASH_COMPLETIONS_PREFIX bash-completion p...
{"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": "scripts/CMakeLists.txt", "license": "mit", "size": 1194}
### File: scripts/build_airocean_parameters.py #!/usr/bin/env python ############################################################################### # $Id$ # # Project: PROJ # Purpose: Build airocean parameters # Author: Pierre Louvart <pierre.louvart at ifremer.fr> # ############################################...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "scripts/build_airocean_parameters.py", "license": "mit", "size": 26442}
### File: scripts/build_db.py #!/usr/bin/env python ############################################################################### # $Id$ # # Project: PROJ # Purpose: Build SRS and coordinate transform database # 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": "Python", "repo_name": "minhanghuang/PROJ", "path": "scripts/build_db.py", "license": "mit", "size": 80315}
### File: scripts/build_db_create_ignf_from_xml.py #!/usr/bin/env python ############################################################################### # $Id$ # # Project: PROJ # Purpose: Build SRS and coordinate transform database from IGNF registry # 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": "Python", "repo_name": "minhanghuang/PROJ", "path": "scripts/build_db_create_ignf_from_xml.py", "license": "mit", "size": 64077}
### File: scripts/build_db_from_esri.py #!/usr/bin/env python ############################################################################### # $Id$ # # Project: PROJ # Purpose: Build SRS and coordinate transform database from ESRI database # provided at https://github.com/Esri/projection-engine-db-doc #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/PROJ", "path": "scripts/build_db_from_esri.py", "license": "mit", "size": 121230}