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

Uploaded CPython 3.14Windows x86-64

gismath-0.1.6-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (292.9 kB view details)

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

gismath-0.1.6-cp313-cp313-win_amd64.whl (153.5 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.6-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (292.0 kB view details)

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

gismath-0.1.6-cp312-cp312-win_amd64.whl (154.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.6-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (291.2 kB view details)

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

gismath-0.1.6-cp311-cp311-win_amd64.whl (158.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.6-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (304.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.6-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.6-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 156.4 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.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 396510f3fad2193a8f9a051e79614c2670843b5efd58fa9e0e789e53e54b101a
MD5 af33382165063d8c2baec243da06db93
BLAKE2b-256 823b7367564fc4bce22682b5b27be8860d03694ff2b582e2494fb7e9415bcf5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.6-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2879db6ada6530031067cdf974ade942931c370c4f7c34cb2ba8eecea1ae4ffb
MD5 0b459d4a6de717f72bbc8eb858ae111d
BLAKE2b-256 e848009544c8829144e442286bb8fea44f1a48ec219ef9a865e66f4923fc29f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.6-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 153.5 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.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4d39855672e040e1aad136b4623e5d7641d3de27f6964419e99720c92ecbf8c6
MD5 35abb5194ff5a672782abe57b18c0ed8
BLAKE2b-256 2081734a8e7762542e30aa601ab1f1b9cf65f31d12e390281a8d275ccdfef0d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.6-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5bd46d7eea2195476640ada8f8c38c2f5bb397b4c43d0db3f67924641305c5d6
MD5 48790c0facdfb1daaa368a2567462685
BLAKE2b-256 61be163e42c573898d4fb896c0492725da5d921a004ba071fa6abac952b148a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.6-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 154.9 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.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c8c5592080c86a5220dcd5a0da33153d5dc0147788009ab2f8a945564f763d90
MD5 4c1038ba682c264b0d067352ab7cf97d
BLAKE2b-256 8e594bba12fa2a467184d423eb4c1afd22280acfa3457ddee78de54f5efe0a66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.6-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3db301739f23a3a34785bd3415c11da909a21a5de5cbdf4f9240a6ecfb213edd
MD5 b0ddd72031559c4e275468d2f8a7529c
BLAKE2b-256 fee0ddc80cedc4b8aa4ccc46579ae902d61cb94e3aef2011e94257008c89e642

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gismath-0.1.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 158.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.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 edf36d4cbfbdc779feb6719cf3627d0c711f5939371ab776ccc40d7e383a5f43
MD5 b2b7aef17b4e519cbf90c9bc41f312cf
BLAKE2b-256 e5dfc1ed137c70db3eba705c0e3f9f7e1fa7058158034bc82a40a0325a2c884d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gismath-0.1.6-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3ee3d72fb3f4065773cbdfa761a636317a0850f74906db7fbb4639e3fa31b3a
MD5 a2555e0d13dc802832f5f26ce8e9c775
BLAKE2b-256 0da3edae636d52730a96128b1b72e0d1463667800a296df4366fa188f253b6d4

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