diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-08-29 23:01:31 -0700 |
---|---|---|
committer | Pierre GRANDIN <pgrandin@users.noreply.github.com> | 2018-08-29 23:01:31 -0700 |
commit | b52b58f8931c81b4d36677405780eac25835d803 (patch) | |
tree | 85d60241735ec8ab64f073d67c74cd003714736d | |
parent | 8bfc53427cae358a6b747f9c71d91bcc78e8dd65 (diff) | |
download | navit-b52b58f8931c81b4d36677405780eac25835d803.tar.gz |
cleanup:scripts:Fix condefactor complaints (#646)
-rw-r--r-- | navit/script/mapExtract.class.php | 76 | ||||
-rw-r--r-- | navit/script/mapextract.php | 60 |
2 files changed, 68 insertions, 68 deletions
diff --git a/navit/script/mapExtract.class.php b/navit/script/mapExtract.class.php index 8d96ec76f..da6a5a5d4 100644 --- a/navit/script/mapExtract.class.php +++ b/navit/script/mapExtract.class.php @@ -13,50 +13,50 @@ class mapExtract { $formats = array(); $formats['ziphpack'] = "lssssslLLSS"; - $formats['zipheader'] = "l" . "ziplocsig"; # Signature (is always the same) - $formats['zipheader'] .= "/s" . "zipver"; # zip version needed - $formats['zipheader'] .= "/s" . "zipgenfld";# type of os that generated the file - $formats['zipheader'] .= "/s" . "zipmthd"; # - $formats['zipheader'] .= "/s" . "ziptime"; # time - $formats['zipheader'] .= "/s" . "zipdate"; # date - $formats['zipheader'] .= "/l" . "zipcrc"; # crc checksum - $formats['zipheader'] .= "/L" . "zipsize"; # data size - $formats['zipheader'] .= "/L" . "zipuncmp"; # uncompressed size - $formats['zipheader'] .= "/S" . "zipfnln"; # length of filename - $formats['zipheader'] .= "/S" . "zipxtraln";# length of extra data (always 0) + $formats['zipheader'] = "lziplocsig"; # Signature (is always the same) + $formats['zipheader'] .= "/szipver"; # zip version needed + $formats['zipheader'] .= "/szipgenfld";# type of os that generated the file + $formats['zipheader'] .= "/szipmthd"; # + $formats['zipheader'] .= "/sziptime"; # time + $formats['zipheader'] .= "/szipdate"; # date + $formats['zipheader'] .= "/lzipcrc"; # crc checksum + $formats['zipheader'] .= "/Lzipsize"; # data size + $formats['zipheader'] .= "/Lzipuncmp"; # uncompressed size + $formats['zipheader'] .= "/Szipfnln"; # length of filename + $formats['zipheader'] .= "/Szipxtraln";# length of extra data (always 0) $formats['zipcdpack'] = "iccccssssiIISSSSSII"; $formats['zipcd'] = "". - "i" . "zipcensig/". - "c" . "zipcver/". - "c" . "zipcos/". - "c" . "zipcvxt/". - "c" . "zipcexos/". - "s" . "zipcflg/". - "s" . "zipcmthd/". - "s" . "ziptim/". - "s" . "zipdat/". - "i" . "zipccrc/". - "I" . "zipcsiz/". - "I" . "zipcunc/". - "S" . "zipcfnl/". - "S" . "zipcxtl/". - "S" . "zipccml/". - "S" . "zipdsk/". - "S" . "zipint/". - "I" . "zipext/". - "I" . "zipofst"; + "izipcensig/". + "czipcver/". + "czipcos/". + "czipcvxt/". + "czipcexos/". + "szipcflg/". + "szipcmthd/". + "sziptim/". + "szipdat/". + "izipccrc/". + "Izipcsiz/". + "Izipcunc/". + "Szipcfnl/". + "Szipcxtl/". + "Szipccml/". + "Szipdsk/". + "Szipint/". + "Izipext/". + "Izipofst"; $formats['zipeocpack'] = "iSSSSIIs"; $formats['zipeoc'] = "". - "i" . "zipesig/". - "S" . "zipedsk/". - "S" . "zipecen/". - "S" . "zipenum/". - "S" . "zipecenn/". - "I" . "zipecsz/". - "I" . "zipeofst/". - "s" . "zipecoml/". + "izipesig/". + "Szipedsk/". + "Szipecen/". + "Szipenum/". + "Szipecenn/". + "Izipecsz/". + "Izipeofst/". + "szipecoml/"; $world_bbox = array(); $world_bbox['l']['x'] = -20000000; diff --git a/navit/script/mapextract.php b/navit/script/mapextract.php index 0e114c746..84ca21b22 100644 --- a/navit/script/mapextract.php +++ b/navit/script/mapextract.php @@ -41,38 +41,38 @@ $files['output'] = 'myarea.bin'; $formats = array(); $formats['ziphpack'] = "lssssslLLSS"; -$formats['zipheader'] = "l" . "ziplocsig"; # Signature (is always the same) -$formats['zipheader'] .= "/s" . "zipver"; # zip version needed -$formats['zipheader'] .= "/s" . "zipgenfld";# type of os that generated the file -$formats['zipheader'] .= "/s" . "zipmthd"; # -$formats['zipheader'] .= "/s" . "ziptime"; # time -$formats['zipheader'] .= "/s" . "zipdate"; # date -$formats['zipheader'] .= "/l" . "zipcrc"; # crc checksum -$formats['zipheader'] .= "/L" . "zipsize"; # data size -$formats['zipheader'] .= "/L" . "zipuncmp"; # uncompressed size -$formats['zipheader'] .= "/S" . "zipfnln"; # length of filename -$formats['zipheader'] .= "/S" . "zipxtraln";# length of extra data (always 0) +$formats['zipheader'] = "lziplocsig"; # Signature (is always the same) +$formats['zipheader'] .= "/szipver"; # zip version needed +$formats['zipheader'] .= "/szipgenfld";# type of os that generated the file +$formats['zipheader'] .= "/szipmthd"; # +$formats['zipheader'] .= "/sziptime"; # time +$formats['zipheader'] .= "/szipdate"; # date +$formats['zipheader'] .= "/lzipcrc"; # crc checksum +$formats['zipheader'] .= "/Lzipsize"; # data size +$formats['zipheader'] .= "/Lzipuncmp"; # uncompressed size +$formats['zipheader'] .= "/Szipfnln"; # length of filename +$formats['zipheader'] .= "/Szipxtraln";# length of extra data (always 0) $formats['zipcd'] = "". - "i" . "zipcensig/". - "c" . "zipcver/". - "c" . "zipcos/". - "c" . "zipcvxt/". - "c" . "zipcexos/". - "s" . "zipcflg/". - "s" . "zipcmthd/". - "s" . "ziptim/". - "s" . "zipdat/". - "i" . "zipccrc/". - "I" . "zipcsiz/". - "I" . "zipcunc/". - "S" . "zipcfnl/". - "S" . "zipcxtl/". - "S" . "zipccml/". - "S" . "zipdsk/". - "S" . "zipint/". - "I" . "zipext/". - "I" . "zipofst/". + "izipcensig/". + "czipcver/". + "czipcos/". + "czipcvxt/". + "czipcexos/". + "szipcflg/". + "szipcmthd/". + "sziptim/". + "szipdat/". + "izipccrc/". + "Izipcsiz/". + "Izipcunc/". + "Szipcfnl/". + "Szipcxtl/". + "Szipccml/". + "Szipdsk/". + "Szipint/". + "Izipext/". + "Izipofst/"; $formats['zipcdpack'] = "iccccssssiIISSSSSII"; $formats['zipcontent'] = "i5x/i5y/ii"; |