POST
|
A geodatabase is used for one of the default output locations for geoprocessing tools and I am not sure of a way to just not have one referenced, but you can set this geodatabase to be the same for all projects so you don't get one created each time. You can set this functionality and the location of this geodatabase in the options of Pro.
... View more
03-01-2023
04:13 PM
|
1
|
0
|
380
|
POST
|
Hello, I am trying to import a python toolbox to pro documents and after clicking add toolbox and selecting my python toolbox, Pro locks up and I have to force close it. I have been able to import this toolbox into documents through script and setting it as the default toolbox, but just adding it to the project seems to cause this problem. The task name it gets hung up on is ArcGIS>Desktop.GeoProcessing.Commands/AddToolbox+ Here are the logs from the Diagnostic Monitor: <Event time="Wed Mar 01 19:00:06.031" type="Debug" thread="39f8: Main CIM worker thread" elapsed="179" function="Geodatabase.ReadDomains" code="EndReadDomains"> P:\310-000\316-437\-GIS\Data\Cultural_UpdatedDataset\316437_Cultual.gdb </Event> <Event time="Wed Mar 01 19:00:06.028" type="Debug" thread="39f8: Main CIM worker thread" elapsed="17" function="Geodatabase.Cursor" code="DataAccess"> </Event> <Event time="Wed Mar 01 19:00:06.028" type="Debug" thread="39f8: Main CIM worker thread" elapsed="66" function="Geodatabase.Cursor" code="EndCursor"> Database: P:\310-000\316-437\-GIS\Data\Cultural_UpdatedDataset\316437_Cultual.gdb SQL: SELECT ObjectID,UUID,Type,Name,PhysicalName,Path,DatasetSubtype1,DatasetSubtype2,DatasetInfo1,DatasetInfo2,URL,Definition,Properties FROM GDB_Items WHERE Type IN('{8C368B12-A12E-4C7E-9638-C9C64E69E98F}') Number of rows returned: 4 </Event> <Event time="Wed Mar 01 19:00:06.028" type="Debug" thread="39f8: Main CIM worker thread" elapsed="48" function="Geodatabase.Cursor" code="ExecuteQuery"> </Event> <Event time="Wed Mar 01 19:00:05.961" type="Debug" thread="39f8: Main CIM worker thread" elapsed="0" function="Geodatabase.Cursor" code="BeginCursor"> Database: P:\310-000\316-437\-GIS\Data\Cultural_UpdatedDataset\316437_Cultual.gdb SQL: SELECT ObjectID,UUID,Type,Name,PhysicalName,Path,DatasetSubtype1,DatasetSubtype2,DatasetInfo1,DatasetInfo2,URL,Definition,Properties FROM GDB_Items WHERE Type IN('{8C368B12-A12E-4C7E-9638-C9C64E69E98F}') </Event> <Event time="Wed Mar 01 19:00:05.960" type="Debug" thread="39f8: Main CIM worker thread" elapsed="109" function="Geodatabase.Cursor" code="EndCursor"> Database: P:\310-000\316-437\-GIS\Data\Cultural_UpdatedDataset\316437_Cultual.gdb SQL: SELECT ObjectID,UUID,Type,Name,PhysicalName,Path,DatasetSubtype1,DatasetSubtype2,DatasetInfo1,DatasetInfo2,URL,Definition,Properties FROM GDB_Items WHERE Type IN('{C29DA988-8C3E-45F7-8B5C-18E51EE7BEB4}') Number of rows returned: 0 </Event> <Event time="Wed Mar 01 19:00:05.960" type="Debug" thread="39f8: Main CIM worker thread" elapsed="101" function="Geodatabase.Cursor" code="ExecuteQuery"> </Event> <Event time="Wed Mar 01 19:00:05.960" type="Debug" thread="39f8: Main CIM worker thread" elapsed="8" function="Geodatabase.Cursor" code="DataAccess"> </Event> <Event time="Wed Mar 01 19:00:05.851" type="Debug" thread="39f8: Main CIM worker thread" elapsed="0" function="Geodatabase.Cursor" code="BeginCursor"> Database: P:\310-000\316-437\-GIS\Data\Cultural_UpdatedDataset\316437_Cultual.gdb SQL: SELECT ObjectID,UUID,Type,Name,PhysicalName,Path,DatasetSubtype1,DatasetSubtype2,DatasetInfo1,DatasetInfo2,URL,Definition,Properties FROM GDB_Items WHERE Type IN('{C29DA988-8C3E-45F7-8B5C-18E51EE7BEB4}') </Event> <Event time="Wed Mar 01 19:00:05.851" type="Debug" thread="39f8: Main CIM worker thread" elapsed="0" function="Geodatabase.ReadDomains" code="BeginReadDomains"> P:\310-000\316-437\-GIS\Data\Cultural_UpdatedDataset\316437_Cultual.gdb </Event> Thank you,
... View more
03-01-2023
04:10 PM
|
0
|
0
|
220
|
POST
|
Hello, I am trying to push out a default location profile to my field staff's iPads through our Meraki. I was wondering if anyone has had success with this. I have set up settings within Meraki's app settings payload, and they look like this: When users open up the app on their devices though, the location profile settings are still defaulted. Are these settings configured correctly, and do we need to do anything outside of setting these up to get the units to recognize these settings? Link to Meraki's app settings payload and also Field Map's documentation on configuring this: Using the Managed App Settings Payload - Cisco Meraki Deploy your map—ArcGIS Field Maps | Documentation (Under the Mobile device management section) Any help would be appreciated. Thanks,
... View more
01-13-2023
12:25 PM
|
0
|
3
|
529
|
POST
|
I may be understanding the favorites incorrectly, but won't that only have the databases appear for that specific user, and also have it appear on all of their project files? In my use case, I was hoping to get 2 databases connected to one project document, and then 2 different databases connected to another project document and so on. I also was hoping to do this for every user and not just an individual.
... View more
10-13-2022
12:08 PM
|
0
|
2
|
378
|
POST
|
Hello, I was wondering if there was a way to connect to multiple geodatabases in a project document, so they appear in the "Databases" dropdown in an ArcGIS Project file through Python. I know you can set the default database with the ArcGISProject.defaultGeodatabase property, but what if I wanted to add additional geodatabases beyond the default one? Any input is appreciated! Thanks,
... View more
10-12-2022
02:30 PM
|
1
|
4
|
436
|
POST
|
I can second this issue. I have a web map in AGOL that has features from a feature service loaded in it, published from pro with pop ups enabled. Selection and editing for all features is possible in the web map, and selection and editing for some of the layers in the hosted feature layer is fine in field maps, but 2 of the 5 layers are unable to be selected to edit in field maps.
... View more
08-11-2022
10:46 AM
|
0
|
2
|
870
|
POST
|
Correct. In my opinion, the arcpy.listLayers function should probably be used on objects already in an ESRI environment. Since you are adding data from a file path, you should dynamically build the layer source from the data locations (hard coded folder path and loop through layer names).
... View more
08-02-2022
06:51 AM
|
1
|
0
|
268
|
POST
|
Make sure that the "m.addLayer(layer)" is indented. Try updating it to look like this: for layer in list_layers: m.addLayer(layer)
... View more
08-02-2022
06:13 AM
|
0
|
1
|
512
|
POST
|
Hey MH84, I can give this a shot. What you are going to need to do is crate a Map object to add the layers to. That can be done through something like this: aprx = arcpy.mp.ArcGISProject(r"C:\Projects\YosemiteNP\Yosemite.aprx") m = aprx.listMaps("Yosemite National Park")[0] once you have a map object ("m" in this case), you should be able to loop through those layers and add them to the map with an addLayer call. That would look something like this: m.addLayer(inLayer) I grabbed the first code block from ESRI's docs, the link is below (I also highly recommend checking out other pages on that site, they can be really helpful): Map—ArcGIS Pro | Documentation
... View more
08-02-2022
04:07 AM
|
2
|
8
|
522
|
POST
|
I have a geoprocessing tool published from ArcPro that takes some point geometry as an input. The input is in a GPFeatureRecordSetLayer parameter and utilizes a layer file to allow the user to input multiple types of points. This layer file is used in the tool when run in ArcPro, but when published to Portal, the input geometry only uses the default point geometry and no option for the users to select the point type and different symbology. Is there a way to get the hosted version of this tool to utilize this layer file and more complex input? Also is there a way to get the user to edit the attribute data of the input geometry? That would also be a workaround to this issue. Any help would be appreciated! Using ArcGIS Pro 2.9.3 and on Enterprise 10.9.1
... View more
08-01-2022
02:54 PM
|
0
|
0
|
230
|
POST
|
Hello, For the first question, I would use the "File" parameter, you would just need some additional validation to ensure that the file type is what you are looking for, either at the beginning of your script or in the validation settings of the tool. When publishing a geoprocessing tool to the server, you first need to run the tool, you can then share it from the geoprocessing history, here is a link to a page that outlines this workflow: Quick tour of authoring and sharing web tools—ArcGIS Pro | Documentation Hopefully this helps!
... View more
06-22-2022
05:14 AM
|
0
|
0
|
411
|
POST
|
Hello, I have a GP tool that I was able to configure and run successfully in a local ArcPro environment that takes some inputs and creates some template datasets for the user. This works as expected when run within ArcPro and everything gets created and zipped no problem. When I originally published this as a custom GP service, I was also able to get this to work on the server and export a zip with all the files I needed. I did a restart on our hosting server and when the system came back online, this tool was (and is still) not working. When I checked the logs, I found that the service is timing out, and not erring out on any of the lines of code. After some additional digging, the tool gets hung up on the same line of code each time: Fig1_Layout = TemplateProject.listLayouts("*Template*")[0] I republished the tool a bunch of times while trying to figure out where exactly it was getting hung up, and have also increased the max time allowed per use in the service’s settings to make sure that this wasn’t just too long of a tool or any issue with the way the tool was shared. I was wondering if anyone might have some ideas on how I can continue to try to figure out what is going on. Considering this ran fine before I restarted the hosting server, I am hoping this may be able to be fixed by resetting something on the machine but I am not totally sure about that. Thank you for any help!
... View more
06-21-2022
02:36 PM
|
0
|
0
|
179
|
POST
|
Hello, I am working on a GP tool I am hoping to host on portal that will take some inputs from the user and compile some datasets for them. I was hoping to package up all the outputs into a .zip and serve it back to the user as a download in the same session that the tool is run in. Is this possible? I am on Portal/Server 10.9.1.
... View more
06-14-2022
04:13 AM
|
0
|
2
|
373
|
Title | Kudos | Posted |
---|---|---|
1 | 06-28-2023 09:28 AM | |
1 | 01-31-2024 07:55 AM | |
1 | 03-01-2023 04:13 PM | |
1 | 10-12-2022 02:30 PM | |
1 | 08-02-2022 06:51 AM |
Online Status |
Offline
|
Date Last Visited |
a month ago
|