Esri-JSON (Esri JavaScript Object Notation) Writer Parameters
Writer Parameters
The character set encoding in which the GeoJSON text will be written. If no character set is specified, the GeoJSON text will be written in the UTF-8 character set.
Specifies whether or not the GeoJSON writer should preface the JSON text with a byte order marker to indicate the endianness of the Unicode text. The default value is No.
Formatting Parameters
The formatting of the output JSON file.
Linear: The entire JSON document is output on one line. This option produces the smallest possible JSON files.
Pretty Print: The JSON document will contain additional whitespace characters, making it much more human-readable.
This parameter controls the indentation style in the JSON document, and is enabled when Formatting Type is Pretty Print. The indentation style can use either tab characters, or a variable number of space characters.
The writer will use the value of this parameter to limit the number of decimal digits printed for each coordinate.
Valid values range from 1 to 15. The default value is 10, which gives sub-millimeter accuracy when writing WGS84 coordinates. A lower number of digits can dramatically reduce the size of the output file when writing out a large number of coordinates.
This parameter has no effect on attribute values that contain floating point numbers.
JSONP
Specifies the JSONP JavaScript function name that the user wants to wrap the GeoJSON file with. JSONP (JSON with Padding) is developed as a standard for grabbing GeoJSON from external domains, that works well with AJAX calls.
The default value is null. If no value is set or the default is set, then the GeoJSON writer will output a GeoJSON file without the JSONP padding. (optional)