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

Uploaded CPython 3.14Windows x86-64

gismath-0.1.5-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (276.2 kB view details)

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

gismath-0.1.5-cp313-cp313-win_amd64.whl (143.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (275.3 kB view details)

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

gismath-0.1.5-cp312-cp312-win_amd64.whl (144.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (275.9 kB view details)

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

gismath-0.1.5-cp311-cp311-win_amd64.whl (146.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (286.2 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.5-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.5-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 145.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.5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 9a017cec8c906ff80b344dfabf8cadf3c260850a2e84de2a6468b5df01729002
MD5 c77b901e3de46abcb7cd16da59046bd1
BLAKE2b-256 1d0b178f6bed432640048a637a354e2f4bdf78d85a0f2f494f188b10b8ed67ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.5-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ec18ca32e706f6a7ef5bdeb955589da70a24556a4f60a9a9ab3ba555e28e562b
MD5 271453231972fc10abf832802e69e738
BLAKE2b-256 999469c7aa8ac5665d1c07435133455d89b037bab861fc658bbbb3b642de0728

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.5-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 143.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.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 86bca897476e1342e4407ce3a6e64b15b25c51428f7f6cff15cb84ac2654caa9
MD5 a60c164fe8dba230605bcabc15ca80cd
BLAKE2b-256 38ce433803cd0b6271aaf18cc210f30efba9b0795c331594476c8023adad67ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fb9c2610e8404ce563b5062c440bb4f46e96eb4cc333daa2c50c0681806df845
MD5 75fdb5722f58eeabd70085d9ae6c314a
BLAKE2b-256 f7d7b7b398f23f5973a53af7c2af5564b2f627af445fecd55347d8f4bfd6e152

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.5-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 144.5 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.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ca0c0f68dda2c3d32482a83417a42658d17ce3eb6b8a2860aaa846d03746d822
MD5 fee45d258f9419d9251f384c61a9abea
BLAKE2b-256 09727fd251f6426e6f180055fb9672e857985fd62e96311c920ceee72cb278e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 90b38101a3eff218e5b7f35d67b1e762dd0b848966495cc0fd05766d8963e693
MD5 65f6a5ab6c03ee67631fd167b0131184
BLAKE2b-256 2505ab3908ae55bc20403b453d65bda9e6e5c0c3a6ce915f36e04101ce4d359d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.5-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 146.7 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.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1d66bf9f733b61abc1600ad461ab701a1fdcf006769ead061de84c3702604e80
MD5 8c94d3ef8ae30fa32079b85fd42c37fb
BLAKE2b-256 b92402ad9fdcea3956ac435ac68a86d5faadc88dccfffda3b43e4777dd9e170a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9e258439020a9da696699c1a3585c2e1a6418924786bfb1944e1d91520ffb1b1
MD5 390727c8ffc58d9fe2317a9738eb1dbd
BLAKE2b-256 f3d09b24d7ecbcff406cfe7aac13d3d12c63721b5a25a25f0975dbc44ba2cae3

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