Opened 11 years ago

Closed 11 years ago

#320 closed defect/bug (fixed)

Can't take log of -4.60572 at ./osm2navit_sea.pl line 271.

Reported by: Udo Owned by: Latouche
Priority: major Milestone:
Component: core Version: git master
Severity: Keywords:
Cc:

Description (last modified by Singesang)

[root@surfplank2 osm2navit_sea]# wget -O hkmap.osm http://xapi.openstreetmap.org/api/0.5/map?bbox=113.4,22,114.4,22.6


[root@surfplank2 osm2navit_sea]# ./osm2navit_sea.pl 113.4 22 114.4 22.6 hkmap.osm bla
initialising tiles
Can't take log of -4.60572 at ./osm2navit_sea.pl line 271.

Attachments (1)

osm2navit_sea.log.bz2 (100.7 KB) - added by Udo 11 years ago.
log for ./osm2navit_sea.pl 22 113.4 22.6 114.4 hkmap.osm bla

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by Udo

cp15> udovdh, can you add a print "$lat\n"; before that line and pastebin the last few lines of the result?

[root@surfplank2 osm2navit_sea]# vi osm2navit_sea.pl [root@surfplank2 osm2navit_sea]# ./osm2navit_sea.pl 113.4 22 114.4 22.6 hkmap.osm bla initialising tiles 114.5 Can't take log of -4.60572 at ./osm2navit_sea.pl line 274.

comment:2 Changed 11 years ago by Singesang

  • Description modified (diff)

Changed 11 years ago by Udo

log for ./osm2navit_sea.pl 22 113.4 22.6 114.4 hkmap.osm bla

comment:3 Changed 11 years ago by Latouche

The order of the arguments is minlat minlon maxlat maxlon not minlon minlat maxlon maxlat

rev2119 corrects the errors shown in osm2navit_sea.log.bz2

comment:4 Changed 11 years ago by Latouche

  • Owner changed from KaZeR to Latouche

comment:5 Changed 11 years ago by Latouche

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.