Learn about the changes to the ArcGIS Urban API introduced in the release from February 15, 2021.
What's new
This section provides a summary of the most important changes in this release.
- The February 2021 release of the Urban API introduces nested queries that expose the true data model of ArcGIS Urban.
The restructured top-level queries, which are
UrbanandModel Urbanencapsulate main data concepts. You can access the remaining queries through the nested child-properties of the top-level queries.Design Database - Due to the introduction of nested queries, most of the previous top-level queries have been deprecated.
- The performance of the data fetching has been improved with
Data.Loaders UrbanandEvents Zonehave been removed (Breaking changes).Type ID Caches
Schema changes
This section describes new features, improvements, and changes made to the Urban API schema.
The following types and fields related to the urban design database were added:
- Type
Urbanwas addedDatabase - Type
Urbanwas addedDesign Database - Type
Urbanwas addedDesign Database Types - Type
Deletewas addedUrban Design Database Result - Field
createwas added to object typeUrban Design Database Mutation - Field
deletewas added to object typeUrban Design Database Mutation - Field
urbanwas added to object typeDesign Database Query - Field
urbanwas added to object typeDesign Databases Query - Field
urbanwas added to object typeDatabase UrbanModel - Field
urbanwas added to object typeDatabase View Id UrbanModel
The following types related to the Filter were added:
- Type
Branchwas addedFilter Input - Type
Buildingwas addedType Filter Input - Type
Geometrywas addedFilter Input - Type
Indicatorwas addedFilter Input - Type
LOwas addedD1 Building Filter Input - Type
Overlaywas addedFilter Input - Type
Overlaywas addedType Filter Input - Type
Parcelwas addedFilter Input - Type
Planwas addedFilter Input - Type
Pointwas addedSymbol Filter Input - Type
Polygonwas addedSymbol Filter Input - Type
Projectwas addedFilter Input - Type
Spacewas addedUse Type Filter Input - Type
Statuswas addedType Filter Input - Type
Zonewas addedFilter Input - Type
Zonewas addedType Filter Input
The following types and fields related to plan and project branches were added:
- Type
Planwas addedBranch - Type
Projectwas addedBranch - Field
overlayswas added to object typePlanBranch - Field
parcelswas added to object typePlanBranch - Field
zoneswas added to object typePlanBranch - Field
lod1was added to object typeBuildings ProjectBranch - Field
pointwas added to object typeSymbols ProjectBranch - Field
polygonwas added to object typeSymbols ProjectBranch
The following fields were added to plans and projects:
- Field
brancheswas added to object typePlan - Field
buildingwas added to object typeTypes Plan - Field
overlaywas added to object typeTypes Plan - Field
spacewas added to object typeUse Types Plan - Field
zonewas added to object typeTypes Plan - Field
brancheswas added to object typeProject
Other removals, additions and changes were introduced:
- All input fields of type
Datechanged type fromDatetoTimestamp - Type
Datewas removed - Type
Timestampwas added - All input fields of type
Colorchanged type fromStringtoColor - Type
Colorwas added - Type for all geometry arguments was changed from
GeometrytoInput GeometryFilter Input - Type
Geometrywas removedInput - Input field
Updatechanged type fromUrban Model Config Input.existing Satellite Buildings Layer Item Id StringtoPortalItem Id - Field
Urbanchanged type fromModel Config.existing Satellite Buildings Layer Item Id StringtoPortalItem Id - Input field
displaywas added to input object typeConfig UpdateUrban Model Config Input - Type
Displaywas addedConfig - Type
Displaywas addedConfig Input - Field
overlaywas added to object typeType Overlay - Field
buildingwas added to object typeType Parcel - Field
zonewas added to object typeType Zone - Type
Pagingwas addedInput - Type
Parcelswas addedDisplay Config - Type
Parcelswas addedDisplay Config Input - Field
configwas added to object typeUrbanModel - Field
displaywas added to object typeConfig UrbanModel Config - Input field
gfawas added to input object typeIgnore BuildingPart Input - Field
gfawas added to object typeIgnore BuildingPart
Deprecations
-
Some queries are deprecated and will be removed. Use
Query.orUrban Model Query.instead (Effective 2021-06-01). The deprecated queries are the following:Urban Design Database Query.branchQuery.branchesQuery.buildingType Query.buildingTypes Query.indicatorQuery.indicatorsQuery.lod1Building Query.lod1Buildings Query.overlayQuery.ovelayType Query.overlayTypes Query.overlaysQuery.parcelQuery.parcelsQuery.planQuery.plansQuery.pointSymbol Query.pointSymbol Query.polygonSymbol Query.polygonSymbols Query.projectQuery.projectsQuery.spaceUse Type Query.spaceUse Types Query.Status Type Query.statusTypes Query.urbanDesign Query.urbanModel Config Query.zoneQuery.zoneType Query.zoneTypes Query.zones
-
Queries
Query.urbanandDesign Query.urbanare deprecated and replaced withDesigns Query.urbanandDesign Database Query.urbanto provide a clearer naming scheme (Effective 2021-06-01).Design Databased -
Field
Urbanis deprecated and replaced withModel.urban Public View Id urbanto provide a clearer naming scheme (Effective 2021-06-01).Database View Id -
Mutations
Mutation.createandUrban Design Mutation.deleteare deprecated and replaced withUrban Design Mutation.createandUrban Design Database Mutation.deleteto provide a clearer naming scheme (Effective 2021-06-01).Urban Design Database
Breaking changes
The following breaking changes related to the deprecated Urban and Urban were made:
- Field
create(deprecated) was removed from object typeUrban Events Mutation- Type
Createwas removedUrban Event Attributes Input - Type
Createwas removedUrban Event Input
- Type
- Field
delete(deprecated) was removed from object typeUrban Events Mutation - Field
update(deprecated) was removed from object typeUrban Events Mutation- Type
Updatewas removedUrban Event Attributes Input - Type
Updatewas removedUrban Event Input
- Type
- Field
urban(deprecated) was removed from object typeEvent Query - Field
urban(deprecated) was removed from object typeEvents Query- Type
Urbanwas removedEvent - Type
Urbanwas removedEvent Attributes - Type
Urbanwas removedEvent Type - Type
Urbanwas removedEvents Sort - Type
Urbanwas removedEvents Sort Fields
- Type
The following breaking changes related to the ID were made:
- Field
Current(deprecated) was removed from object typeZone Type ID Cache ParcelAttributes - Enum value
Currentwas removed from enumZone Type ID Cache ParcelsSort Fields - Input field
Currentwas removed from input object typeZone Type ID Cache CreateParcel Attributes Input - Input field
Currentwas removed from input object typeZone Type ID Cache UpdateParcel Attributes Input
- Enum value
- Field
Original(deprecated) was removed from object typeZone Type ID Cache ParcelAttributes - Enum value
Originalwas removed from enumZone Type ID Cache ParcelsSort Fields - Input field
Originalwas removed from input object typeZone Type ID Cache CreateParcel Attributes Input - Input field
Originalwas removed from input object typeZone Type ID Cache UpdateParcel Attributes Input
- Enum value
Other breaking changes made in this release were the following:
- Field
culturewas removed from object typeUrbanModel - Reason: field
cultureis not used by theUrbanobject type.Model
- Reason: field
- Field
urlwas removed from object typeUrbanModel - Reason: field
urlis never set for theUrbanobject type.Model
- Reason: field
- Input field
Geodeticwas removed from input object typeShape Area CreateParcel Attributes Input - Reason: field
Geodeticis now calculated automatically with the coordinates of theShape Area parcelobject.
- Reason: field
- Input field
Geodeticwas removed from input object typeShape Area UpdateParcel Attributes Input - Reason: field
Geodeticis now calculated automatically with the coordinates of theShape Area parcelobject.
- Reason: field