|
POST
|
Hi @AgnieszkaRozniak , Thank you for your reply. I have created a UrbanDesignDatabase project and shared it with my organization but it does not works. However, if I share the project with everyone, the project is returned by the function: {'data': {'urbanModel': {'urbanDesignDatabases': [{'projects': [{'attributes': {'EventName': 'Test'}}]}]}}} I have verified that I am the owner of the oauth2 application (client id and secret key) which I use with the Urban API and that's correct. I dont know why I can't query UrbanDesignDatabases that are not publicly shared if I am the owner of the model and the owner of the projects and I am using a valid oauth2 application. Do you have an idea?
... View more
01-29-2023
10:48 AM
|
0
|
0
|
2639
|
|
POST
|
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 " + token, "Content-type": "application/json", "Accept": "application/json"})
op = Operation(schema.Query)
projects = op.urban_model(urban_model_id=urban_model_id).urban_design_databases.projects(
paging={"limit": 100}
)
attributes = projects.attributes()
attributes.event_name()
result = endpoint(op)
errors = result.get("errors")
if errors:
raise Exception(errors)
return result This function returns: {'data': {'urbanModel': {'urbanDesignDatabases': []}}} I know there is many projects from UrbanDesignDatabase in the Urban model I am querying. Am I using the API correctly? Do I have to be the owner of the UrbanDesignDatabases to be able to query them? I am the owner of the Urban model. Thank you!
... View more
01-26-2023
01:48 PM
|
0
|
8
|
2679
|
|
POST
|
Thank you for confirming that the y is the elevation in CityEngine! I am not sure why the z (latitude) is negative in CityEngine but positive in the coordinates system. My data is in the north hemisphere. Anyway, everything seems to work so I dont worry. Thanks again!
... View more
11-28-2022
06:00 AM
|
0
|
0
|
1584
|
|
POST
|
Ok thanks for your reply! Can you confirm that on your side the y and z are not inverted like me? I would like to be sure that it's not a normal behaviour of CityEngine before opening a ticket.
... View more
11-24-2022
01:21 PM
|
0
|
0
|
1618
|
|
POST
|
Hi, I have a weird behaviour in CityEngine 2022. It seems the y and z are inverted somehow. The scene coordinates system is EPSG 3857 just like the layers and terrain. For instance if I use python to get the position of a selected shape I got this: You can see the z is the second argument and the y is the third of the ce.getPosition() returned sequence. Moreover the y (-5677497.278076172) should be positive (north hemisphere), not negative. Except the python, everything seems to work correctly in CityEngine. If I export models in multipatch and open it in ArcGIS Pro the layer is correctly positionned. What is the cause? How can I correct that situation? Thank you! Maxime Demers
... View more
11-21-2022
10:48 AM
|
0
|
7
|
1674
|
|
POST
|
My bad, that was so obvious... Can I risk another newbe question related to workspaces? When I switch to another workspace, is there something that would still links to the default workspace? For instance, if I download data or tutorials, will it be stored in the the default or in the active workspace? I am asking because when I am out of the office, I dont have access to the default workspace because it is on our intranet. Now I know I can switch to a new workspace but it seems I cannot modify the location of the default workspace. Many thanks for your help, Maxime
... View more
11-09-2022
05:49 AM
|
0
|
1
|
2808
|
|
POST
|
The only way I found was to open CityEngine in safe mode. Then it asks me for specifying the default workspace which I did. I closed the safe mode application. Then, the new workspace location was applied into the default CityEngine application automatically.
... View more
11-08-2022
07:47 AM
|
0
|
0
|
2823
|
|
POST
|
Hi, This is a really newbe question, but I wonder how can I change de default location where the projects a created by default. It is currently defined to a remote drive on a network, but I would like to set to a local directory. Thank you for your help
... View more
11-07-2022
12:16 PM
|
0
|
4
|
2862
|
|
POST
|
Hi, I would like to know if the integration of urban projects in iframe is still supported as the option desappeared from the sharing tab recently. Also, is there a documentation about the query strings. I know the ui=embed-min can load urban in a compact way. Is there other options? For instance I am looking for a way to load urban in an iframe with the right panel collapsed but with all the analysis tools available like in the image below. Thanks! Maxime Demers
... View more
11-07-2022
08:06 AM
|
0
|
2
|
1065
|
|
POST
|
Hi, I am facing a problem with rest requests with ArcGIS Server 10.6 on a map service when feature classes are stored in a SQLServer geodatabase. The max reccord count returned by the service is set to 1000. For instance, my rest requests have the following parameters with the resultRecordCount set to 1000: However the number of features returned by the request is less than 1000. It could be 991, 995, etc... it seems to be random. I have found this similar known problem notice: https://support.esri.com/en/technical-article/000018863 and the solutions proposed are solving my problem but are not ideal for me. Is there a solution for my problem else than using file geodatabase or a query layer? Is the problem is solved in newer Enterprise version? Thank you!
... View more
11-04-2022
08:14 AM
|
0
|
1
|
621
|
|
POST
|
Thank you very much for your answer! I am wondering if it could be possible to use a Citrix installation of VS with a local installation of Unreal engine? What do you think? Thanks again!
... View more
10-24-2022
06:13 AM
|
0
|
0
|
1006
|
|
POST
|
Hi, This is a really newbe question. Our organization would like to test the plugin with Unreal 5 engine, but we are wondering if Visual Studio is really required or optional. Is it possible to work only with the UI without Visual Studio or is it an absolute prerequisite? Why Visual Studio is needed and what it is used for? Thank you very much for your help!
... View more
10-20-2022
01:11 PM
|
1
|
3
|
1094
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 06-03-2024 10:33 AM | |
| 2 | 05-14-2025 10:45 AM | |
| 1 | 04-12-2022 07:00 AM | |
| 1 | 02-26-2025 05:37 AM | |
| 1 | 01-30-2023 11:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-14-2025
08:29 AM
|