Opened 12 years ago

Closed 12 years ago

#151 closed enhancement (fixed)

Do no on-the-fly re-create binary grid files of OSTN02, OSTN97 and TKY2JGD

Reported by: baertelchen Owned by: baertelchen
Priority: minor Milestone:
Component: Dictionaries Version: svn-trunk
Keywords: skip grid files on-the-fly creation Cc: hugueswski

Description

CSMAP will on-the-fly (re-)create binary forms of some ACSII-based grid files.

Those include OSTN02, OSTN97 and TKY2JGD.

As the grid files typically don't change, we can also include "pre-compiled" files in the dictionary folders and have CSMAP using them directly instead of letting it recompile them.

Apart from that, letting CSMAP recreating the files on-the-fly requires writing/file-create permissions on the dictionaries folder what's not necessarily the case.

Change History (1)

comment:1 by baertelchen, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in changesets 2286 (trunk, 14.01) and 2287 (14.00)

Added the following binary files to the Dictionaries folder:

  • Dictionaries/Japan/TKY2JGD._par
  • Dictionaries/OSTN02._02
  • Dictionaries/OSTN97._nt

To make sure, CSMAP picks these up and does not try re-creating them, I've also modified the following files to longer compare the modified-date timestamp of the ASCII grid source files with that of the target binary counterparts:

  • Source/CS_japanNew.c
  • Source/CS_ostn02.c
  • Source/CS_ostn97.c
Note: See TracTickets for help on using tickets.