You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hillebrand van de Groep 374ffd911c changed name from python-rijksdriehoek to rijksdriehoek for brevity 1 year ago
rijksdriehoek added mention of original code 1 year ago
.gitignore forgot to add .egg_info into gitignore 1 year ago
LICENSE created setuptools stuff 1 year ago
README.md added note about inaccuracy in readme 1 year ago
example.py updated examples, made them a bit more verbose 1 year ago
setup.py changed name from python-rijksdriehoek to rijksdriehoek for brevity 1 year ago

README.md

python-rijksdriehoek

Converts Rijksdriehoek coordinates to WGS’84, and vice versa.

Example usage:

from rijksdriehoek import rijksdriehoek rd = rijksdriehoek.Rijksdriehoek() print("Original coordinates in WGS'84: {},{}".format(str(52.3761973), str(4.8936216))) rd.from_wgs(52.3761973, 4.8936216) print("Rijksdriehoek: {},{}".format(str(rd.rd_x), str(rd.rd_y))) lat, lon = rd.to_wgs() print("WGS'84 coordinates converted from RD: {},{}".format(str(lat), str(lon)))

Please be aware that every conversion from WGS->RD->WGS has shown to introduce a inaccuracy of up to 0.0000001 degrees. Please take that into consideration when deciding whether this tool is useful for usage in your project.