We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am not familiar with python but i get an error
and here is the command with its result
python3 parse_heightmap_xyz.py ../rincon50m.xyz rincon50m.xyz min: (-479502, 4398604) height: 24 max: (-469602, 4406004) height: 255 size: (9901, 7401) 0 0 Traceback (most recent call last): File "/home/mintest/world2minetest/parse_heightmap_xyz.py", line 48, in out.write(to_bytes(min_x, 4)) File "/home/mintest/world2minetest/_util.py", line 5, in to_bytes x = [None, np.uint8, np.uint16, None, np.uint32]length OverflowError: Python integer -479502 out of bounds for uint32
The text was updated successfully, but these errors were encountered:
I was able to engage AI to fix the errors but the heightmap is basically 0 when i generated world with it it was plain as table
here are the changes done to stop the errors, @fyrk are you able to see if it makes sense?: https://pastebin.com/xiWGMGNL
Sorry, something went wrong.
No branches or pull requests
I am not familiar with python but i get an error
and here is the command with its result
python3 parse_heightmap_xyz.py ../rincon50m.xyz
rincon50m.xyz
min: (-479502, 4398604) height: 24
max: (-469602, 4406004) height: 255
size: (9901, 7401)
0
0
Traceback (most recent call last):
File "/home/mintest/world2minetest/parse_heightmap_xyz.py", line 48, in
out.write(to_bytes(min_x, 4))
File "/home/mintest/world2minetest/_util.py", line 5, in to_bytes
x = [None, np.uint8, np.uint16, None, np.uint32]length
OverflowError: Python integer -479502 out of bounds for uint32
The text was updated successfully, but these errors were encountered: