[mkgmap-dev] phyghtpmap - cannot convert float NaN to integer
From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Aug 23 21:50:09 BST 2018
Hi Marek, I suggest to contact the author of phyghtmap. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Marek Greško <mgresko8 at gmail.com> Gesendet: Donnerstag, 23. August 2018 22:21 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: [mkgmap-dev] phyghtpmap - cannot convert float NaN to integer 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 mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] phyghtpmap - cannot convert float NaN to integer
- Next message: [mkgmap-dev] AssertionError: Point marked as boundary node
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list