Opened 11 years ago

Closed 11 years ago

#168 closed defect (fixed)

Updated JGD2011 cannot be read by CS-Map, instructions are stale

Reported by: ravenAtSafe Owned by: Norm Olsen
Priority: major Milestone:
Component: Library Version:
Keywords: Cc:

Description

The instructions in Dictionaries\Japan\ReadMe.txt no longer work. The following updated instructions were provided via an email discussion:

Osamu Inoue <osamu.inoue@autodesk.com>
Dec 26 (4 days ago)

to Hugues, me 
Hi Hugues,

I’m so sorry for late response.

I found the download site and file were changed.

Here is the new URL and filename:

URL: http://vldb.gsi.go.jp/sokuchi/patchjgd/download/index.html
FileName: touhokutaiheiyouoki2011.EXE

Un-compressed file name is touhokutaiheiyouoki2011.par

Please refer  attached video capture.

Regards,

Osamu Inoue

The .par file downloaded via the updated instructions cannot be parsed by CS-Map due to the header being longer than expected, and containing things that look like numbers (there are two distinct heuristics used by CS_japanNew.c for parsing/skipping the header).

Change History (3)

by ravenAtSafe, 11 years ago

Attachment: CS_japanNew.c.patch added

Proposed fix for reading new JGD2011 grid

comment:1 by Norm Olsen, 11 years ago

Owner: changed from hugueswski to Norm Olsen

comment:2 by Norm Olsen, 11 years ago

Resolution: fixed
Status: newclosed

Corrected at revision 2491. Since the file name has changed since the provided patch file was generated, the change had to be made manually. The resulting module will now read both the new and the old file formats. The test data available for the old format still passes. No test data for the new file format is available to the best of my knowledge.

Note: See TracTickets for help on using tickets.