geocraft
geocraft copied to clipboard
Draft for EPSG4326 projection
This should rather be pulled into a development branch.
An initial version of EPSG4326 support that replaces some hard coded projection by other hardcoded ones. Room to improve.
$ ./generate-world.pl --from 13.40654,52.52017 --to 13.40787,52.52097 Marienkirche4326 --ll --replace --elevation Flat
Heh. yes, I need to not pull that into the live branch but it does provide a useful reference...
What would maybe make sense is to add another plugin object which maps from easting/northing to lat/long in a projection..
On 16/02/2016 16:46, Jan Marsch wrote:
This should rather be pulled into a development branch.
An initial version of EPSG4326 support that replaces some hard coded projection by other hardcoded ones. Room to improve.
$ ./generate-world.pl --from 13.40654,52.52017 --to 13.40787,52.52097 Marienkirche4326 --ll --replace --elevation Flat
You can view, comment on, or merge this pull request online at:
https://github.com/cgutteridge/geocraft/pull/8
Commit Summary
ignoring saves
ignoring var
Merge branch 'master' of https://github.com/cgutteridge/geocraft
switched projection to EPSG:4326
reverting new projection from master
manually disabling elevation
merge from original master
EPSG4326 attempt
File Changes
A .gitignore https://github.com/cgutteridge/geocraft/pull/8/files#diff-0 (3)
R generate-world.pl https://github.com/cgutteridge/geocraft/pull/8/files#diff-1 (46)
M lib/Minecraft/MapTiles.pm https://github.com/cgutteridge/geocraft/pull/8/files#diff-2 (17)
M lib/Minecraft/Projection.pm https://github.com/cgutteridge/geocraft/pull/8/files#diff-3 (50)
Patch Links:
https://github.com/cgutteridge/geocraft/pull/8.patch
https://github.com/cgutteridge/geocraft/pull/8.diff
— Reply to this email directly or view it on GitHub https://github.com/cgutteridge/geocraft/pull/8.Web Bug from https://github.com/notifications/beacon/AAfK6w4YQozaq9sK8bRsRbVTXHJZ8-07ks5pk0n-gaJpZM4HbUU9.gif
Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg
University of Southampton Open Data Service: http://data.southampton.ac.uk/ You should read the ECS Web Team blog: http://blogs.ecs.soton.ac.uk/webteam/
Yes, don't pull that one in. But If you could create a branch, that'd be nice.
Projections handling got some cleanup now. Next is OSM buildings geometry (incl. height).