Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elevation must be subclassed #14

Open
nathancashmore opened this issue Aug 3, 2016 · 3 comments
Open

Elevation must be subclassed #14

nathancashmore opened this issue Aug 3, 2016 · 3 comments

Comments

@nathancashmore
Copy link

Hi,
Rookie question i'm sure but i've successfully built a map based on a given postcode but can only seem to get it to work with an elevation setting of Flat. Tried to run without the --elevation setting, so expected what looks like from the code for the UKDEFRA to kick in but no dice.

Any ideas would be well received.

@cgutteridge
Copy link
Owner

One possible bug is that you spawn under the generated world!

On 03/08/2016 23:53, Nate wrote:

Hi,
Rookie question i'm sure but i've successfully built a map based on a
given postcode but can only seem to get it to work with an elevation
setting of Flat. Tried to run without the --elevation setting, so
expected what looks like from the code for the UKDEFRA to kick in but
no dice.

Any ideas would be well received.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAfK6z7-OHvjvyLUSPuJqJEmbZnK140Xks5qcRvXgaJpZM4JcLYQ.Web
Bug from
https://github.com/notifications/beacon/AAfK63erhbJk40x0wk3z-htcXgW3w-nqks5qcRvXgaJpZM4JcLYQ.gif

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/cgutteridge/geocraft","title":"cgutteridge/geocraft","subtitle":"GitHub
repository","main_image_url":"https://assets-cdn.github.com/images/modules/aws/aws-bg.jpg","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
in
GitHub","url":"https://github.com/cgutteridge/geocraft"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Elevation
must be subclassed (#14)"}],"action":{"name":"View
Issue","url":"https://github.com/cgutteridge/geocraft/issues/14"}}}

Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read our Web & Data Innovation blog: http://blogs.ecs.soton.ac.uk/webteam/

@nathancashmore
Copy link
Author

nathancashmore commented Aug 4, 2016

Thanks for getting back to me, sorry for not getting back to you as quick. Short answer was to run it on a Mac. That then worked. When I attempted to generate the world on a Windows 10 machine the following was output.

$ ./generate-world --postcode SW1A0AA bigben --size 100 --scale 1.5 --replace
Getting postcode: http://data.ordnancesurvey.co.uk/doc/postcodeunit/SW1A0AA.json
=======================================================
University of Southampton Open Data Minecraft Map Maker
=======================================================
World exists, removing it
Cloning 'bedrock' as a base world
Setting World Options
Elevation must be subclassed at /c/Users/Nathan/dev/geocraft/lib/Elevation.pm line 10.

This I think must be down to how the perl libs are being referenced on my classpath.

@cgutteridge
Copy link
Owner

I've no experience making perl work on Windows,. Mac & Linux are more or
less identical for non-interactive tools like this but windows is a bit
of a mystery to me. As I'm doing this for giggles in my spare time I'm
not going to go too far out of my comfort zone.

On 04/08/2016 22:19, Nate wrote:

Thanks for getting back to me, sorry for not getting back to you as
quick. Short answer was to run it on a Mac. That then worked. When I
attempted to generate the world on a Windows 10 machine the following
was output.

$ ./generate-world --postcode SW1A0AA bigben --size 100 --scale 1.5
--replace

Getting postcode:
http://data.ordnancesurvey.co.uk/doc/postcodeunit/SW1A0AA.json

University of Southampton Open Data Minecraft Map Maker

World exists, removing it
Cloning 'bedrock' as a base world
Setting World Options
Elevation must be subclassed at
/c/Users/Nathan/dev/geocraft/lib/Elevation.pm line 10.

This I think must be down to how the perl libs are being referenced on
my classpath.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#14 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfK6wFg6y3gRCIthHmze-GwbktVKqCzks5qcldWgaJpZM4JcLYQ.Web
Bug from
https://github.com/notifications/beacon/AAfK61PFs7bHKQqdJaZeIBgW21VIWiNmks5qcldWgaJpZM4JcLYQ.gif

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/cgutteridge/geocraft","title":"cgutteridge/geocraft","subtitle":"GitHub
repository","main_image_url":"https://assets-cdn.github.com/images/modules/aws/aws-bg.jpg","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
in
GitHub","url":"https://github.com/cgutteridge/geocraft"}},"updates":{"snippets":[{"icon":"PERSON","message":"@slackmore
in #14: Thanks for getting back to me, sorry for not getting back to
you as quick. Short answer was to run it on a Mac. That then worked.
When I attempted to generate the world on a Windows 10 machine the
following was output. \r\n\r\n$ ./generate-world --postcode SW1A0AA
bigben --size 100 --scale 1.5 --replace\r\nGetting postcode:
http://data.ordnancesurvey.co.uk/doc/postcodeunit/SW1A0AA.json\r\n=======================================================\r\nUniversity
of Southampton Open Data Minecraft Map
Maker\r\n=======================================================\r\nWorld
exists, removing it\r\nCloning 'bedrock' as a base world\r\nSetting
World Options\r\nElevation must be subclassed at
/c/Users/Nathan/dev/geocraft/lib/Elevation.pm line 10.\r\n\r\nThis I
think must be down to how the perl libs are being referenced on my
classpath. \r\n\r\n"}],"action":{"name":"View
Issue","url":"https://github.com/cgutteridge/geocraft/issues/14#issuecomment-237686757"}}}

Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read our Web & Data Innovation blog: http://blogs.ecs.soton.ac.uk/webteam/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants