You can specify a zip code as a string type attribute. Address linking function becomes effective.
After entering the postal code, click the "Synchronize address" button.Then, the address information is supplemented.(FIGS. 1 and 2)
Select "Postal code" in the type detail setting of the string type item.At this time you can not press the OK button.(Figure 3)
Specify the item corresponding to the postal code.(Fig. 4) After specifying, press the OK button.
When you specify a search condition in the "ZIP code" type item, you must also specify the corresponding address item in the search condition together.
You can also enter the postal code halfway and click the "Synchronize Address" button.The choices for the zip code and address candidate are displayed.
In Figure 3, we have entered the first five digits.
When you press the "Synchronize Address" button, candidates are output to the list box.
Select one of the candidates and confirm the zip code and address by pressing the "Synchronize Address" button again.(FIG. 5, FIG. 6)
There is no special definition.The candidate output function works with standard.
As postcode is a type of string type, the "string (general)" filter is selected by default.
This filter converts numbers to single-byte characters, but "-" (full-width hyphen) remains full-width characters.
Then you can revise "Fullwidth → Half Horizon" again so that you can convert the hyphen to half-width.
Wagby has"Zipcloud" provided by Ibisu Inc.When,Postal code data provided by Japan Post (business postal zip code)A zip code dictionary file generated based on is included.
Postal codes provided by Japan Post include irregular data.Specifically, it is a special notation which can not be interpreted by a program.(Example: "For addresses not listed below xxx" etc.)
Ibis' "zipcloud" provides what is processed in such a way that such irregular data is eliminated as much as possible.(However, please note that conversion of all zip codes is not guaranteed in advance.)
For each version of Wagby, at what point in time zip code data is included, Wagby'supdate informationIt is stated in.
The body of the postal code dictionary is a binary file called zipcode.dat in the WEB-INF/jmaster folder.
I will explain how to create zipcode.dat using zip code data provided by Ibis Corporation and individual zip code data of business offices provided by Japan Post.
java -cp lib/j_util.jar;lib/commons-lang.jar jp.jasminesoft.util.address.GenerateMasterData
It is output as follows.
>Java -cp lib / j_util.jar; lib / commons-lang.jar jp.jasminesoft.util.address.GenerateMasterData Generate Master Data Program. Compaction = true Reading postal file ... done. Creating zip file ... done.
The value of model/modelitem/@ type is "postal code".