Skip to main content

Add your description here

Project description

gismath

安装

pip install gismath

示例

import gismath

lon, lat, alt = 121.57156751580956, 31.287623375403385, 0.15180000000691507

# c++ 实现
ecef_cpp = gismath.geodetic2ecef_cpp(lon, lat, alt)

# cython 实现
ecef_cy = gismath.geodetic2ecef_cy(lon, lat, alt)

print(ecef_cpp)
>>> [-2856298.1505069532, 4648013.005657461, 3293186.773949799]

print(ecef_cy)
>>> (-2856298.1505069532, 4648013.005657461, 3293186.773949799)

提供常用 GIS 算法的 CPP 版本和 Cython 版本

测试 CPP 版耗时 Cython 版耗时 numba.njit 耗时 numba.njit(fastmath=True) 耗时 Pure Python 3.11.3
经纬度转ECEF(50000000 条) 16.043000 秒 08.345999 秒 14.576452 秒 10.386999 秒 40.454000 秒

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gismath-0.1.2-cp314-cp314-win_amd64.whl (122.6 kB view details)

Uploaded CPython 3.14Windows x86-64

gismath-0.1.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (152.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

gismath-0.1.2-cp313-cp313-win_amd64.whl (119.8 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (151.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

gismath-0.1.2-cp312-cp312-win_amd64.whl (120.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (152.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

gismath-0.1.2-cp311-cp311-win_amd64.whl (121.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (158.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file gismath-0.1.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 122.6 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 8cf554ebd25fa7c926f19b78aadce53bbf6c28b2803d4af19898ec95c41dd199
MD5 f3ea285dc308d025873e3c8d840784e1
BLAKE2b-256 26ca1262935f486879f365a9fe79eed364b1d1025f46060882f9f3286dc7aa47

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.2-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdcff9b31ac57bffc04523c0ec10b86dbfbb5d7b99ab4e163cdc344a25b10698
MD5 bf5921e7d8317946e9bb05a132032d58
BLAKE2b-256 a9a39737b16cde81974b2d4c2813f9bf10fd3dbb2dde5fe0393d15327df1a375

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 119.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 41b29747a6f6d8535641a4af11bb95b08a5676f635d996a7efe1d037f2836754
MD5 b0c61ee1005e534012ca3cd8295e277e
BLAKE2b-256 1dfc95725561660a07fb98ec6414a59bdb3fdaf923e41dd8de2e6fad4ddb99ad

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 882b8ee1caa22eb938bdd0d00562209b0f1eb9178ad4042833bdc3292a7e1b64
MD5 4d1ec7b4f7e4d6d9259a0505e3bc381c
BLAKE2b-256 debb61176c5f92e2f80be48805452b8056b3b21e35c0bcfc6ffac710fcbfc53c

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 120.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3a67dd07532c3fd7106a7ed98091fc45d5fba606d2b50e24320516c70c0f31dc
MD5 de8e0eddf865a3344e41360abd5535a5
BLAKE2b-256 785d6cf67c9d17d07905fcbbd4e3261868902bfe5e998d1d34e29f2ac4e8f1fa

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 70e44d920a0c2647c6657d88663b78d26e78a8f7b9acf90f5212ebdf94bf1c0a
MD5 6fe011e77c5348aed10644bdf70f949e
BLAKE2b-256 2adfff11b18de86c66761138a7435023989d5eb33bea468fbc6c220b366f678b

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 121.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 603660d4024462e5c8930f247196f1cd3bf776d8e33de6d7085551e6125605c3
MD5 f90d327c8a6bfdf41fdab845c03c06cf
BLAKE2b-256 93d729598579481cc947d64b5c09b097d9c1b80f5b4d163ac6e34febf6df8ce4

See more details on using hashes here.

File details

Details for the file gismath-0.1.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7b6d35640d0d031488dbcf17fcdb92af3b06aee9bd858fc6d1bba1687d03fa4a
MD5 a8de70110cf5ac4fcf452e222d9360a4
BLAKE2b-256 305b4970941f2c6dadb88acb975b466c5670b912df842b77e61e458d51d0d8d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page