Display Name: Features To JSON
Description: Converts features to Esri JSON or GeoJSON format. The fields, geometry, and spatial reference of features will be converted to their corresponding JSON representation and written to a file with a .json or .geojson extension.
Category:
Help URL: https://aplicaciones.sgv.es/arcgis/rest/directories/arcgisoutput/iaa/ExportData_GPServer/iaa_ExportData/FeaturesToJSON.htm
Execution Type: esriExecutionTypeAsynchronous
Parameters:
Parameter: in_features
Data Type: GPFeatureRecordSetLayer
Display Name Input Features
Description: The features to convert to JSON format.
Direction: esriGPParameterDirectionInput
Default Value:
Geometry Type: esriGeometryPolygon
HasZ: true
HasM: false
Spatial Reference: 25830
(25830)
Fields:
-
OBJECTID
(
type: esriFieldTypeOID
, alias: OBJECTID
)
-
Shape_Length
(
type: esriFieldTypeDouble
, alias: Shape_Length
)
-
Shape_Area
(
type: esriFieldTypeDouble
, alias: Shape_Area
)
Features: None.
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: out_json_file
Data Type: GPDataFile
Display Name Output JSON
Description: The output .json or .geojson file.
Direction: esriGPParameterDirectionOutput
Default Value:
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: format_json
Data Type: GPBoolean
Display Name Formatted JSON
Description: Specifies whether the JSON will be formatted to improve readability similar to the ArcGIS REST API specification's PJSON (Pretty JSON) format.Unchecked—The features will not be formatted. This is the default.Checked—The features will be formatted to the PJSON specification.
Direction: esriGPParameterDirectionInput
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: include_z_values
Data Type: GPBoolean
Display Name Include Z Values
Description: Specifies whether the z-values of the features will be included in the JSON.Unchecked—The z-values will not be included in geometries, and the hasZ property of the JSON will not be included. This is the default.Checked—The z-values will be included in geometries, and the hasZ property of the JSON will be set to true.
Direction: esriGPParameterDirectionInput
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: include_m_values
Data Type: GPBoolean
Display Name Include M Values
Description: Specifies whether the m-values of the features will be included in the JSON.Unchecked—The m-values will not be included in geometries, and the hasM property of the JSON will not be included. This is the default.Checked—The m-values will be included in geometries, and the hasM property of the JSON will be set to true.
Direction: esriGPParameterDirectionInput
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: geoJSON
Data Type: GPBoolean
Display Name Output to GeoJSON
Description: Specifies whether the output will be created in GeoJSON format.Unchecked—The output will be created in Esri JSON format (.json file). This is the default.Checked—The output will be created in GeoJSON format (.geojson file).
Direction: esriGPParameterDirectionInput
Default Value: true
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: outputToWGS84
Data Type: GPBoolean
Display Name Project to WGS_1984
Description: Specifies whether the input features will be projected to the geographic coordinate system WGS_1984 with a default geographic transformation. This parameter only applies when the output is GeoJSON.Checked—Features will be projected to WGS_1984.Unchecked—Features will not be projected to WGS_1984. The GeoJSON will contain a CRS tag that defines the coordinate system. This is the default.
Direction: esriGPParameterDirectionInput
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: use_field_alias
Data Type: GPBoolean
Display Name Use field aliases
Description: Specifies whether the output file will use field aliases for feature attributes.Unchecked—Output feature attributes will not use field aliases; they will use field names. This is the default.Checked—Output feature attributes will use field aliases.
Direction: esriGPParameterDirectionInput
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Supported Operations:
Submit Job