egmworlddb create sample file

The egmworlddb create_sample_file command creates sample json files of single and double database resource. These generated files can be used as reference for providing configurations for creation of database resource. It creates egmWorldSingleDictDbResource.txt and egmWorldDoubleDictDbResource.txt json files in the current directory or at specified folder location.

Usage

egmworlddb create_sample_file outputpath
Required Argument Description
No outputpath

All the sample database resources json files will be created at provided output path else all will be exported to current folder.

Example

This example creates the sample world database resources json files to current folder. The second example will export all the database resources to C:\OutputFolder.

egmworlddb create_sample_file

Sample JSON for database resource file

egmworlddb create_sample_file C:\OutputFolder

[{"product":"InternationalGeocoder WORLD", "module":"igeocode-world", "name":"$$DATABASE_NAME$$",
"maxActive":4,
"properties":{"COUNTRY_CODE1":"$$COUNTRY_CODE1$$",
"$$COUNTRY_CODE1$$_DICTIONARY_PATH1":"$$DICTIONARY_PATH1$$",
"COUNTRY_COUNT":"1",
"$$COUNTRY_CODE1$$_DICTIONARY_PATH_NAME1":"$$DICTIONARY_PATH_NAME1$$"}}]