-
ValueError when attempting to import Urban API as a Python module to ArcGIS Online Notebook
Hi there, I have a number of ArcGIS Online Notebooks that leverage the Urban API to maintain my Urban models. Today I discovered that they are no longer functional, and error out when attempting to import the Urban API as a Python module. (Specifically they return ValueError: Schema already has Time=Time). I have not made…
-
Query UrbanDesignDatabase UpgradeStatus
Hi, I am using the Urban API with python. I would like to get a list of all UrbanDesignDatabases within a UrbanModel that have an upgrade available. I am trying to build the query that filter the design databases where the upgrade_status field of the upgrade_info is "UpgradeAvailable". I am following the sgqlc…
-
Question about generating buildings
I'm working with a client using the Urban API to generate buildings. While they are able to use createLOD1Buildings mutation, they wonder if there's a way to do this more like the UI. Here's the inquiry - Using Urban API, it's possible to create a plan, a branch, and a parcel inside that branch and then attach to that…
-
Urban API March 2023 release
See the March release notes for more details.
-
Urban API February 2023 release
ArcGIS Urban API was shipped with the following new features: * A custom `OptIn` directive to enable experimental features has been added. The first experimental features coming soon! * GraphQL Playground has been replaced with Graphiql. * Doc strings in the Urban API schema have been improved. See the February release…
-
Querying projects of UrbanDesignDatabases of a model
Hi, I am trying to retreive all the projects from a Urban model including those of UrbanDesignDatabases. I am using the following snippet in python using sgqlc but the results is empty. def query_urban_design_db_projects(endpoint_url, urban_model_id, token): endpoint = HTTPEndpoint(endpoint_url, {"Authorization": "Bearer "…
-
Is there a rollback on mutation errors?
Hi, I am using the Urban API to create parcels in batch, but sometimes I am facing the 504 timeout error even if I keep the number of features per call under 200. My question is, is there a rollback when an error occur? I see in the error json that there is a rollbackOnFailure property set to true, but when I take a look…
-
Urban API February 2022 release
The most important changes include:* A new Meta field containing additional information about objects - for example, objects counts * Suitability models and criteria * Viewpoints * General performance improvements See the February release notes for more details and to learn about other changes. As always, if you have any…
-
Urban API October Release
The most important changes include:* adding a new createUrbanModel operation * adding sorting capabilities to the following types: branches, parcels, plans, projects * adding feedback categories See the latest release notes for more details. As always, if you have any questions or comments - please let us know!
-
Authentification problem using arcpy
Hi, I am trying to use the Urban API with Python but I got an authentification error: GraphQL query failed with 1 errors [{'message': 'The access token provided is invalid or expired.', 'extensions': {'code': 'UNAUTHENTICATED'}}] Im not sure why the token I provided to the urban api url is not working because it was…
-
Urban API July Release
The most important changes are related to the Urban release scheduled for July 20. Changes to the API include adding new layers, that is metrics and spaces. Also, you can use the API to upgrade your urban models and urban design databases to the new schema. Finally, previously deprecated top-level queries are removed.…
-
esriRequest and the urban api?
Hi, I'm using the ArcGIS Urban API in a js app. I make requests to the urban api through esriRequest. Everything has been working well since April. However, last Thursday evening (July 😎 around 10:30 PM PST, the esriRequest code started throwing a status 400 message - "Syntax Error: Cannot parse the unexpected character…
-
Check out the Get started and Sample Code sections
Go to Discover the Playground for a quick introduction about how to get started with the Playground. This section also includes some sample queries and mutations. If you plan to use the API with programming languages, read the short introduction in Use the programming languages. Check out Sample Code for 4 brand new Python…
-
Urban API February Release
The latest version of the Urban API has just been released yesterday, 15. February! The most important update is the introduction of nested queries that better represent the ArcGIS Urban data model. As a result, creating queries should be easier for users. Other changes and deprecations are listed in the release notes. If…
-
Welcome to the ArcGIS Urban API place
Welcome and thank you for joining the ArcGIS Urban API place on GeoNet! If you landed here, you probably already know something about ArcGIS Urban. If not, or you just want to learn more about Urban, check out the ArcGIS Urban place. The ArcGIS Urban API was released as a public beta with the latest Release 2020 Q4. It is…