globalgeocodedb create sample file

The globalgeocodedb create_sample_file command creates sample json files of the Global Geocoding database resources. These generated files can be used as a reference for providing configurations when creating a database resource. GeocodeGlobalSingleDictDbResource.txt and GlobalGeocodeDoubleDictDbResource.txt json files are created in the current directory or in a specified folder location.

Usage

globalgeocodedb create_sample_file --o outputpath
Required Argument Description
No --o outputpath

The sample database resources json files will be created at the designated output directory. If the output path is not specified, the sample json files will be written to the current folder.

Example

This example creates the sample database resources json files in the current folder.

globalgeocodedb create_sample_file

Sample JSON database resources file

The following example creates the database resources json files in C:\OutputFolder\.

globalgeocodedb create_sample_file --o C:\OutputFolder\

[{"product":"GlobalGeocode", 
"module":"GlobalGeocode", 
"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$$"}
}]