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.2.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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mercatorconverter-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b5aa5854e8f35a3ec766f69d892a035a7b3d8fbfe3f9e6c1513f220789b6309d
MD5 12d9674b40e750349ef23dc5f6372793
BLAKE2b-256 8b3b233d3916ffbc8345ab56c80be1a0351443070bc4e2f4d2c51a8f06bf2bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mercatorconverter-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 564e268c25a510084459912eae6d5a1eac9130547845923ff505333ac355f005
MD5 0814ba28b25903cde509f9fc242bc60e
BLAKE2b-256 654cb080362f14eb7d1148cee7307d5e99474607d9680b02b24941541be5bac8

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