IBM Support

Setting up a Geocoding database

Question & Answer


Question

How can you map external geocoding data into an IBM i2 iBase database?

Answer

Map address postcodes to an Address Entity example:

  1. Create an iBase database using your existing .ids (Security file) to access it.
  2. In iBase Designer make the database so it only has one Entity (Post Code) with the following values:
  • Post Code,
  • Easting and Northings.
Then you can follow these instructions to set it to use the GeoCoding database:

Using a geocoding database

You can specify a geocoding database that matches address data in your database with geocode data in a separate database, either an iBase or a Microsoft Access database. This enables you to plot entities and links without having to manually define coordinates in your database.

To specify a geocoding database:
  1. In the DB path\name box specify the database that contains the geocode data or click  to browse for it. The geocoding database must be either an iBase database or a Microsoft Access database.
  2. From the Table name drop-down list, select the name of the database table that contains the geocode data.
  3. From the X drop-down list, select the field in the geocoding table containing the x coordinates to be copied to the corresponding field for matching entities and links.
  4. From the Y drop-down list, select the field in the geocoding table containing the y coordinates to be copied to the corresponding field for matching entities and links.
  5. Specify fields to accurately locate an entity or link. Typically two fields are required for this. If necessary, fields 3, 4, and 5 can be used to select other geocoding table fields to match with entity or link fields:
    • From the Field 1 drop-down list, select the first field to be used to match the entity or link field to the corresponding field in the geocoding table.
    • From the Field 2 drop-down list, select the second field to be used to match the entity or link field to the corresponding field in the geocoding table.

Further details for Geocoded databases can be found in the IBM i2 iBase Administration Center.

[{"Product":{"code":"SSXW43","label":"i2 iBase"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.9.5;8.9.11","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21979607