Closed arbakker closed 3 years ago
CI got you ;-) Could you please remove Cargo.lock
from the PR (will update it separately)?
Computer says no :-D. Fixed the formatting issue and restored the Cargo.lock file. Regarding the Cargo.lock, my VSCode IDE keeps automagically updating the Cargo.lock file. But if the dependencies don't change the Cargo.lock file does not need any updating, no?
This PR adds an optional srid item to the
--extent
parameter of the generate command like so:In the above example the extent is in EPSG:28992 (Dutch national projection).
The usecase for this is the following: in our case we generate tiles in EPSG:28992 and pretile the data, because the dataset contain some fairly big and complex geometries. These pretiled datasets need to tiled in different jobs that allign exactly, this is not possible with WGS84 extents. Reprojecting extents between WGS84 and RD slightly changes the extent.
Also renamed some methods to better reflect the new situation.