Skip to content

d3.geo.projection, R code and Python code to transform from and to Dutch National Grid coordinate system

License

Notifications You must be signed in to change notification settings

djvanderlaan/rijksdriehoek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rijksdriehoek

Convert Dutch National Grid (Rijksdriehoek) coordinates from and to WGS84 coordinates. It uses the approximation equations by F.H. Sleutelkamp and G.L. Strang van Hees.

Javascript

The javascript file in the js directory defines a d3.geo.rijksdriehoek projection that can be used as regular projections in d3 to project maps in WGS84 coordinates to Dutch National Grid coordinates. For an example see rijksdriehoek.

R

The R file contains two functions to project from WGS84 to Dutch National Grid and vice versa. It furthermore defines a function that can change the projection of a geoJSON file.

Python

Tests are included in the file (run python rijksdriehoek.py). Available functions are rd_to_wgs(x,y) and wgs_to_rd(phi, lambda).

About

d3.geo.projection, R code and Python code to transform from and to Dutch National Grid coordinate system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •