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 outputpathRequired | 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_fileSample 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$$"}}]