Learn about recent changes to the ArcGIS Urban API. The release date is July 19, 2021.
What's new
This section provides a summary of the most important changes in this release.
- The deprecated top-level queries have been removed (Breaking changes).
- New metrics and spaces layers have been added. Read the Urban release notes to learn more about the functionality of the new layers.
- You can now upgrade your urban models and urban design databases to the new schema using the API.
Read the data model changes section to learn more about the urban model and design database upgrade with the API.
Schema changes
This section describes new features, improvements, and changes made to the Urban API schema.
The following types related to metrics were added:
BranchMetric Value BranchMetric Value Input CreateMetric Attributes Input CreateMetric Input CreateMetric Source Attributes Input CreateMetric Source Input CreateMetric Value Attributes Input CreateMetric Value Input MetricMetricAttributes MetricFilter Input MetricParameter MetricParameter Input MetricSource MetricSource Attributes MetricSource Filter Input MetricValue MetricValue Attributes MetricValue Filter Input MetricsDashboard Chart MetricsDashboard Chart Input SpaceMetric Value SpaceMetric Value Input UpdateMetric Attributes Input UpdateMetric Input UpdateMetric Source Attributes Input UpdateMetric Source Input UpdateMetric Value Attributes Input UpdateMetric Value Input WeightType
The following fields, input fields, and enums related to metrics were added:
- Field
Metricwas added to object typeValues BranchAttributes - Field
createwas added to object typeMetric Sources Mutation - Field
createwas added to object typeMetric Values Mutation - Field
createwas added to object typeMetrics Mutation - Field
deletewas added to object typeMetric Sources Mutation - Field
deletewas added to object typeMetric Values Mutation - Field
deletewas added to object typeMetrics Mutation - Field
updatewas added to object typeMetric Sources Mutation - Field
updatewas added to object typeMetric Values Mutation - Field
updatewas added to object typeMetrics Mutation - Field
metricwas added to object typeSources Plan - Field
metricswas added to object typePlan - Field
Metricswas added to object typeDashboard Charts PlanAttributes - Field
metricwas added to object typeValues PlanBranch - Field
Metricwas added to object typeParameters SpaceUse Type Attributes - Field
metricwas added to object typeSources UrbanDatabase - Field
metricwas added to object typeValues UrbanDatabase - Field
metricswas added to object typeUrbanDatabase - Input field
Metricswas added to input object typeDashboard Charts CreatePlan Attributes Input - Input field
Metricwas added to input object typeValues CreateBranch Attributes Input - Input field
Metricswas added to input object typeDashboard Charts CreateProject Attributes Input - Input field
Metricwas added to input object typeParameters CreateSpace Use Type Attributes Input - Input field
Metricwas added to input object typeValues UpdateBranch Attributes Input - Input field
Metricswas added to input object typeDashboard Charts UpdatePlan Attributes Input - Input field
Metricswas added to input object typeDashboard Charts UpdateProject Attributes Input - Input field
Metricwas added to input object typeParameters UpdateSpace Use Type Attributes Input
The following types related to spaces were added:
CreateSpace Attributes Input CreateSpace Input SpaceSpaceAttributes SpaceFilter Input SpaceType UpdateSpace Attributes Input UpdateSpace Input
The following fields, input fields, and enums related to spaces were added:
- Field
createwas added to object typeSpaces Mutation - Field
deletewas added to object typeSpaces Mutation - Field
updatewas added to object typeSpaces Mutation - Field
spaceswas added to object typeParcel - Field
spaceswas added to object typePlanBranch
The following fields and types related to the upgrade of the urban model and urban design database were added:
- Field
upgradewas added to object typeInfo UrbanDesign Database - Field
upgradewas added to object typeInfo UrbanModel - Type
Upgradewas addedInfo - Field
upgradewas added to object typeUrban Design Database Mutation - Field
upgradeadded to object typeUrban Model was Mutation - Type
Upgradewas addedUrban Design Database Result - Type
Upgradewas addedUrban Model Result - Type
Upgradewas addedStatus
The following elements related to new type Development were added:
- Type
Developmentwas addedType - Field
Developmentwas added to object typeType ParcelAttributes - Input field
Developmentwas added to input object typeType CreateParcel Attributes Input - Input field
Developmentwas added to input object typeType UpdateParcel Attributes Input
Other removals, additions and changes were introduced:
- Input field
zwas added to input object typePointInput - Argument sort:
Portaladded to fieldItem Sort Input Query.urbanDesign Databases - Argument sort:
Portaladded to fieldItem Sort Input Query.urbanModels - Type
Portalwas addedItem Sort By - Type
Portalwas addedItem Sort Input - Input field
initialwas added to input object typeVisualization Style UpdateUrban Model Config Input - Field
initialwas added to object typeVisualization Style UrbanModel Config - Type
Chartwas addedStyle - Type
Iconwas added - Type
Initialwas addedVisualization Style - Type
Operationwas added - Field
zwas added to object typePoint - Field
statuswas added to object typeType Project - Type
Sourcewas addedType - Description Urban Model configuration which is stored on the Urban Model portal item was removed from object type
StreetviewProvider - Type
Unitwas addedType - Field
ownerwas added to object typeUrbanDatabase - Field
Urbanchanged type fromDatabase.url StringtoString! - Field
Urbanchanged type fromDesign Database.url StringtoString! - Type
Urbanwas addedDesign Database Type - Field
Urbanchanged type fromDesign Database.plans [toPlan]! [Plan] - Field
Urbanchanged type fromDesign Database.projects [toProject]! [Project] - Input field PagingInput.limit default value changed from 10 to 100
Bug fixes
- Handled invalid feature services in
Query.urban.Design Databases - Added a transformation of the input geometry data to the Web Mercator projection (ESPG:4326/102100) in create and update operations, as expected by ArcGIS Urban feature services.
- Added
Portalto the error message displayed for an unsupported feature service.Item ID - Set
limitto 0 in thepagingargument throws an error instead of returning the default number of objects. - Set the correct extent when using a
createmutation.Urban Design Database - Fixed mutations response when requesting return fields.
- Fixed
globalfilter behavior.I Ds
Deprecations
-
The following fields belonging to
Branchare deprecated as they are now stored in the newAttributes Metric(Effective: 2022-06-06):Values BranchAttributes. First Order Metrics BranchAttributes. Second Order Metrics
-
The following fields belonging to
Parcelare deprecated as they are now stored in the newAttributes MetricsorMetric(Effective: 2022-06-06):Values ParcelAttributes. Households ParcelAttributes. Households After ParcelAttributes. Households Target ParcelAttributes. Jobs ParcelAttributes. Jobs After ParcelAttributes. Jobs Target ParcelAttributes. Population ParcelAttributes. Population After ParcelAttributes. Population Target
-
The following fields belonging to
Planare deprecated as they are now stored in the newAttributes MetricsorMetric(Effective: 2022-06-06):Values PlanAttributes. Households PlanAttributes. Households After PlanAttributes. Households Target PlanAttributes. Jobs PlanAttributes. Jobs After PlanAttributes. Jobs Target PlanAttributes. Population PlanAttributes. Population After PlanAttributes. Population Target
-
The following fields belonging to
Projectare deprecated as they are now stored in the newAttributes MetricsorMetric(Effective: 2022-06-06):Values ProjectAttributes. Households ProjectAttributes. Households After ProjectAttributes. Households Target ProjectAttributes. Jobs ProjectAttributes. Jobs After ProjectAttributes. Jobs Target ProjectAttributes. Population ProjectAttributes. Population After ProjectAttributes. Population Target
-
The following fields belonging to
Spaceare deprecated as they are now stored in the newUse Type Attributes Metrics(Effective: 2022-06-06):Parameters SpaceUse Type Attributes. Area Per Job SpaceUse Type Attributes. Area Per Parking Spot SpaceUse Type Attributes. Area Per Person SpaceUse Type Attributes. Second Order Coefficients
Breaking changes
The following breaking changes related to the deprecated urban and urban fields were made:
- Field
urban(deprecated) was removed from object typeDesign Query - Field
urban(deprecated) was removed from object typeDesigns Query- Type
Urbanwas removedDesign - Type
Urbanwas removedDesign Types
- Type
- Field
create(deprecated) was removed from object typeUrban Design Mutation - Field
delete(deprecated) was removed from object typeUrban Design Mutation- Type
Deletewas removedUrban Design Result
- Type
The following breaking changes related to the removal of the top-level queries were made:
-
Following deprecated fields were removed from object type Query:
branchbranchesbuildingType buildingTypes indicatorindicatorslod1Building lod1Buildings overlayoverlayType overlayTypes overlaysparcelparcelsplanplanspointSymbol pointSymbols polygonSymbol polygonSymbols projectprojectsspaceUse Type spaceUse Types statusType statusTypes urbanModel Config zonezoneType zoneTypes zones
-
Following types were removed:
BranchesSort BranchesSort Fields BuildingTypes Sort BuildingTypes Sort Fields IndicatorsSort IndicatorsSort Fields LOD1 Buildings Sort LOD1 Buildings Sort Fields OverlayTypes Sort OverlayTypes Sort Fields OverlaysSort OverlaysSort Fields ParcelsSort ParcelsSort Fields PlansSort PlansSort Fields PointSymbols Sort PointSymbols Sort Fields PolygonSymbols Sort PolygonSymbols Sort Fields ProjectsSort ProjectsSort Fields SpaceUse Types Sort SpaceUse Types Sort Fields StatusTypes Sort StatusTypes Sort Fields UrbanDesign Types ZoneTypes Sort ZoneTypes Sort Fields ZonesSort ZonesSort Fields
The following additions and breaking changes related to new type Building were made:
- Type
Buildingwas addedAlignment - Field
Buildingchanged type fromType Attributes. Alignment [toString!] [Building Alignment!] - Input field
Createchanged type fromBuilding Type Attributes Input. Alignment [toString!] [Building Alignment!] - Input field
Updatechanged type fromBuilding Type Attributes Input. Alignment [toString!] [Building Alignment!]
The following additions and breaking changes related to new type Access were made:
- Type
Accesswas addedLevel - Field
Urbanchanged type fromDatabase.access StringtoAccessLevel! - Field
Urbanchanged type fromDesign Database.access String!toAccessLevel! - Field
Urbanchanged type fromModel.access String!toAccessLevel!
The following additions and breaking changes related to new type Extent were made:
- Type
Extentwas added - Type for argument
extenton fieldMutation.createchanged fromUrban Design Database [[toFloat]] Extent - Type for argument
extenton fieldQuery.urbanchanged fromDesign Databases [[toFloat]] Extent - Type for argument
extenton fieldQuery.urbanchanged fromModels [[toFloat]] Extent - Field
Urbanchanged type fromDesign Database.extent [[toFloat!]!] Extent - Field
Urbanchanged type fromModel.extent [[toFloat!]!] Extent
Other breaking changes made in this release were the following:
- Field
urban(deprecated) was removed from object typePublic View Id UrbanModel - Type
Urbanwas renamed toDesign Database Types UrbanDesign Database Type - Field
Urbanchanged type fromDesign Database.type UrbantoDesign Database Types! UrbanDesign Database Type! - Type for argument type on field
Query.urbanchanged fromDesign Databases UrbantoDesign Database Types UrbanDesign Database Type - Type for argument type on field
Mutation.createchanged fromUrban Design Database UrbantoDesign Database Types! UrbanDesign Database Type!
- Field
Known issues
- Updating or creating too many features in a single API call may lead to a timeout or server error. See the Troubleshooting section for more details.