Hello,
I would like to ask whether this is a bug of phyghtmap or in some
libraries used by it.
I have self made python3-phyghtmap-2.20 rpm installed on fedora 28
system and I get the following error:
Traceback (most recent call last):
File "/usr/bin/phyghtmap", line 11, in <module>
load_entry_point('phyghtmap==2.20', 'console_scripts', 'phyghtmap')()
File "/usr/lib/python3.6/site-packages/phyghtmap/main.py", line 696, in main
checkPoly=checkPoly))
File "/usr/lib/python3.6/site-packages/phyghtmap/main.py", line 489,
in processHgtFile
elevations, output.timestampString, opts)
File "/usr/lib/python3.6/site-packages/phyghtmap/main.py", line 390,
in writeNodes
return pbfUtil.writeNodes(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/phyghtmap/pbfUtil.py", line
414, in writeNodes
newNodes, newWays = _makeNodesWays(contourList, elevation, IDCounter)
File "/usr/lib/python3.6/site-packages/phyghtmap/pbfUtil.py", line
396, in _makeNodesWays
newNodes, nodeRefs = _makePoints(path, elevation, IDCounter)
File "/usr/lib/python3.6/site-packages/phyghtmap/pbfUtil.py", line
383, in _makePoints
nodes.append((int(lon*NANO), int(lat*NANO)))
ValueError: cannot convert float NaN to integer
Do you have any idea how to fix it?
Thanks.
Marek
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev