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

Uploaded CPython 3.14Windows x86-64

gismath-0.1.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (267.1 kB view details)

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

gismath-0.1.4-cp313-cp313-win_amd64.whl (137.0 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (266.2 kB view details)

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

gismath-0.1.4-cp312-cp312-win_amd64.whl (137.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (266.3 kB view details)

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

gismath-0.1.4-cp311-cp311-win_amd64.whl (138.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (273.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.4-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.4-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 138.9 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.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e030ead1b3b4b64753f25e25acec527c1e7ad90b3e6ee5898fd2c1dd4a0b6492
MD5 b962c01edc065ec3e3442973b91b0ebc
BLAKE2b-256 6fa3af672ff7721115dbb719bcf2b60572bb78763361c087333819e787206bc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e34f4aad21b11f5b61f8a5345a077d579389af7cbcf4610742cced8261c346e9
MD5 02409132cb27c499f6f0eddfa6b54ed2
BLAKE2b-256 259ff35be514be6fee2a1639dc3bef93e865472fe062dec6ecba57d6cc7d107c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 137.0 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.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c4f13809094e19baef0448746ac20b7df77a418fd620d09165e225d3db0a3bf9
MD5 c4b3eefead3dca7e2478aebb50168c9b
BLAKE2b-256 6b8d1105b7cd28084beefdd82629224dad3235bf91ef9fc9c6ef7d66ea09e8ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77fad8a18f3b27b5760d1647182e0d975d36969e3092163dd10fcf394b8596c2
MD5 ae72f253edb27eb49f0d946f7efedbb9
BLAKE2b-256 7f1798b0c760e5ffc0d6dacf60246c0e1510b73eb4d283ed4c752bd3bff71528

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 137.3 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.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a408bc03fe08b9f3c97504fa8ca668c3eb073f4f96a4903b1b4f6b439a85e421
MD5 7ec3a6c4369b2da96470a65244ca372b
BLAKE2b-256 8ba00c7bf652a732da9da3def8c2732b3a5901b6f2d8ef67df85aaceaf75e276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 35c3d2a7b19af707cfbe82dc6a4edc148f883dc734bc1a4c8a7d549671cd566f
MD5 2b1c06e5ca018bc9419e781b021bd23e
BLAKE2b-256 dc19cbba7885593f7697f53802d2466201eb478591e2b920d1ac87ec31f0ded5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 138.2 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.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8d37e150ca89d80a887cd338b92d10bc1e94dd7e2da6fa1b1ab5c070cb0e55cb
MD5 f298726922a0cc0932bd2cb02f3cbd62
BLAKE2b-256 dee75067bc0d9dc0c84ffd0a8a6846a6c42202cd9aead243ca72b208a8d40546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5f46db31c94f5d6d73059ee06af6de7c566e89cd63daaeee1f1cdf6a4b7d6e3
MD5 85dc0505b85d665d510b11aec19cf71a
BLAKE2b-256 ae0da481746f8a67cdb81fe6eef81290ec506fd6c3525eb1a6dcb408b415c62c

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