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.1-cp314-cp314-win_amd64.whl (129.5 kB view details)

Uploaded CPython 3.14Windows x86-64

gismath-0.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (170.3 kB view details)

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

gismath-0.1.1-cp313-cp313-win_amd64.whl (127.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (169.6 kB view details)

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

gismath-0.1.1-cp312-cp312-win_amd64.whl (129.0 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (169.1 kB view details)

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

gismath-0.1.1-cp311-cp311-win_amd64.whl (131.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (181.9 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.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 129.5 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.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c55f636e67fdcb2c3ec21a2f4be6f374a8c2eadfcc9e69dd318bcff5302f59aa
MD5 4870ba35acccf5a6d0ba226bb49ef317
BLAKE2b-256 b81fd700f7a807298f9cce29892d6220802e5e3129db95ba1e573661d537ead5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4690391c80da7116acdc8a8a7d0841934757f24a1a7ef0245b633ce4e3cc6aca
MD5 ad10ea1830dce3a4f3d7fcb683527361
BLAKE2b-256 90307016f6d9654167843ce12a6d391f4f31f6e50dfe4b62dbba8e77b2870054

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 127.7 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.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 66dcb431f6f9a5936ec5333c577a6cb06ba7515462ba69de4ac7afdeb48d53a9
MD5 f8683776d601a13a758b36bae6181747
BLAKE2b-256 80dd808c64a18a4d2afe215161f21fbd6bee45e85b918cbffdb3902321999047

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43c5bc0cb9605aad8e41cbffb6754703e7cfd9b1f0f8a4d788cc032c4978a574
MD5 e64aaf3c740f7e4ba771a9dfb4812f6b
BLAKE2b-256 cefead2c37905cc26629c755551ec7b3a9644d76508ca62ef922d1ae3ec45765

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 129.0 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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6ac338d2779dddcd35dbc49c1cbac8750877facd6a6a617a378d489192e83d45
MD5 305c352bc72180592b89106c3569852a
BLAKE2b-256 78e58a0807dc187def6a67a2633fd50890bee04cfa6295aa5d720ef414bd7f28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 49cbee856ce8fb4deff86dc79467e38fcfbd3b830e72824599c58b8dd67f8d12
MD5 ed37c67827bb12d5bb0adcaf48fe91c2
BLAKE2b-256 590d92df4d4a099f87f398cb2af8f8c9923904bc12a9d11de3f46ecdb5987d4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 131.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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c47f016d2a03990fd969087552e90b4082ca13a6addbf899803c9c75ff444149
MD5 593068088e14d26bddd0fe0f0a1ab007
BLAKE2b-256 17e7136cf1d514f57c4cde0cbdad4735ae29384b655be6a867f8a4ae90827f37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d913f5e222e0cc0819c2ef23d4403ee1d4a6e8bf4570d607c9a4f7579e34b85a
MD5 c16e538e252d805c28c4af9cca68a2bd
BLAKE2b-256 cb1b358ed5542169e4e3f726133668d017e2e132039a2a23c9941ed0cfa9c9eb

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