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

Uploaded CPython 3.14Windows x86-64

gismath-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (163.1 kB view details)

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

gismath-0.1.0-cp313-cp313-win_amd64.whl (121.8 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (162.4 kB view details)

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

gismath-0.1.0-cp312-cp312-win_amd64.whl (123.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (162.1 kB view details)

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

gismath-0.1.0-cp311-cp311-win_amd64.whl (125.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (174.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.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 123.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.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 9dfe7c9bd3c0cb23fb7561cea5e2beab11aa73eb6c4b36c8e04765b1183c585e
MD5 ff80d2d32788e4ec39b408a7a8e4504c
BLAKE2b-256 a530681c77e7e11033f741449d18b4be7e0f93f1be5e93ebaa30a5ea31092f06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6d2fa8f22e4adff9b4426c5e50dd39e30f0164f42801e84778766c5694789bc7
MD5 e2fb962698868c17932a0d2eefd8910d
BLAKE2b-256 bd08b40913c26f2edbfcc8180f13bdf6009ab23ac1357dfb1cf4e97a9c0f91b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 121.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.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 06e368d84168327bb1b5d73094c536dbb3f194140123991f6fdbd76787f929b1
MD5 6e2d2ef3ca384a7b7fcf8c9344b98fc6
BLAKE2b-256 c08a538b0b8fa9e16af54beec330c32e04b4ac09c9a7e27b5eb1dbd7de4daed5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d31bd9521984afd0e39778e055c388b7e76a3969443d476296d3c7dde07eabb5
MD5 eb03caed8587c803bb273fa7dd3605ce
BLAKE2b-256 bf618afd719400989316df16255daa2be0f866b80e8c0ed0ce12282fe3c3941c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 123.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.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d8157977d4a60ad4a18d521ab8ca617a0cc271f24122451e0b01e1dd8b0e9011
MD5 420b0642a98874538aa655b47ecd70e3
BLAKE2b-256 6f8b482aac952608e214b96d07393dbfb3fbc297f323b07995989e03f83c22d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25e424660a90a3c1825696c2ef04f6fa8b9de366e3a34eafa321c2cbc6bb8bbc
MD5 ef0fd9b0b115e8bdec0d05ac65bb6587
BLAKE2b-256 8f53af1126d009aa32095c0a94d7493b70f5b8b79388adc38672384dfbcac9d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 125.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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 60db6d123687243a782bb66b96085385862cd4a5d92cf8d01cf8ed1778a594df
MD5 178f74dba3f9819c4df8d3dc150975c7
BLAKE2b-256 fa264d1e228575c950710574b8bfaa55f8052074672cbe72576a944e92db89bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 50ce2e7674a2e2dc05ff98902d4351c4e0651ebf80ac3f8fa6c1c72fde54c6ab
MD5 edb7a459d56bfceed7e2789aef48fbb9
BLAKE2b-256 ad335767354793d784f5ef200bb94cb68bd794f5375ca7cc994efb435d7b1a83

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