Skip to main content

Mercator Coordinate Converter is a Python package designed to simplify the conversion of geographical projection coordinates, such as latitude and longitude, into Mercator coordinates, and vice versa.

Project description

Mercator Coordinate Converter

Mercator Coordinate Converter is a Python package designed to simplify the conversion of geographical projection coordinates, such as latitude and longitude, into Mercator coordinates, and vice versa. This package is ideal for developers and GIS professionals who need a reliable and efficient tool for coordinate transformation.

Installation

You can install the package using pip:

pip install MecatorConverter

Usage

Here's a quick example of how to use the package:

import MecatorConverter

# Convert from geographical to Mercator coordinates
latitude = 52.3676
longitude = 4.9041
mercator_x, mercator_y = MecatorConverter.coord_to_mercator(latitude, longitude)
print(f"Mercator Coordinates: X={mercator_x}, Y={mercator_y}")

# Convert from Mercator to geographical coordinates
mercator_x = 580000
mercator_y = 6800000
latitude, longitude = MecatorConverter.mercator_to_coord(mercator_x, mercator_y)
print(f"Geographical Coordinates: Latitude={latitude}, Longitude={longitude}")

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an Issue if you have any suggestions or improvements.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions or need further assistance, please contact Daniil at donil858@gmail.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mercatorconverter-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mercatorconverter-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file mercatorconverter-0.0.1.tar.gz.

File metadata

  • Download URL: mercatorconverter-0.0.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for mercatorconverter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e43b37552f3f57459e814c3e83d3bac05f4eac279afb05e0abb57feda0fb1b7e
MD5 3d3581aaa3dd201166bb2559264b92d9
BLAKE2b-256 1969789321dae86f009b4448d30ca300aecb7488fe6469adbecd713b60059442

See more details on using hashes here.

File details

Details for the file mercatorconverter-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mercatorconverter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b90601539e8e68dd133517c78d07119d3c7f95951c5e3913c4b15dfe1300e66f
MD5 b3fbb6596f75c224ef1c2e2ac4a334c1
BLAKE2b-256 c29787efcade1baf30523b0be872e2b046cf0c7e0cd79f6ea6f6a04dcb2937ac

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