Select to view content in your preferred language

Import geojson into AGOL with attribute big integer

130
0
09-12-2024 06:38 AM
CGpp
by
Emerging Contributor

Hello,

I have a problem with importing geojson in ArcGIS Online. There is a feature with attribute (its value is 53707487924027) in a geojson file.
ArcGIS Online imported geojson and publishing feature layer ended with error/unsuccessfully.
When I verified data type of this field for this feature layer, it is integer (but big integer would be right).

I tried to update definition for feature layer/field via REST, but without success. It is still integer.

This is original:
{
"name" : "CITATEL",
"type" : "esriFieldTypeInteger",
"actualType" : "int",
"alias" : "CITATEL",
"sqlType" : "sqlTypeInteger",
"nullable" : true,
"editable" : true,
"visible" : true,
"domain" : null,
"defaultValue" : null
}

I tried this update via REST:

{
"name" : "CITATEL",
"type" : "esriFieldTypeBigInteger",
"alias" : "CITATEL",
"sqlType" : "sqlTypeOther",
"nullable" : true,
"editable" : true,
"visible" : true,
"domain" : null,
"defaultValue" : null
}

Can someone explain me why AGOL decided create field integer and not big integer, because integer is not enough for value 53707487924027. Thanks for any ideas.

Tags (2)
0 Kudos
0 Replies