POST
|
Hi Tania, thank you for your suggestions. Flow Accumulation doesn't fit my needs. In my raster, each cell represents the time that the drop of water takes to cross it. I have to calculate, for each cell, the total time obtained by adding the times of each cell from the current to the outlet, following the flow direction. I drew a figure to explain what I want. Marco
... View more
05-17-2022
11:52 PM
|
0
|
0
|
686
|
POST
|
Hi, I have two raster datasets: the first is a flow direction and the second is a raster of values. I need to calculate a third raster where each cell value is the sum of all cell values in the second raster obtained following the flow direction (downstream). I tried to do this using raster cell iterator but it could be very slow with large raster datasets. Does anyone have a better idea for doing this? thanks Marco
... View more
04-19-2022
08:13 AM
|
1
|
6
|
855
|
POST
|
Thanks to @JohnSobetzer @JoeBorgione and @AmyRoust for the suggestions! I changed my script: now I'm using GenerateNearTable and Intersect tools instead of SelectLayerByLocation and cursors. Now it takes about 5 seconds instead of 11 minutes!
... View more
12-09-2021
01:51 AM
|
2
|
0
|
1204
|
POST
|
Hi all, I wrote a python geoprocessing tool. If I run it in Arcgis pro it takes about 11 minutes, but if I run it outside Arcgis pro it takes hours? I don't know why! The tool loops over records in a csv file (about 6700 rows) For each row performs a spatial selection (arcpy.management.SelectLayerByLocation) creating a layer. After that, it performs some selections and calculations with the selected features and write results in a file geodb table (see the attachment). If I run the tool in Arcgis pro it takes about 1 seconds to process 10 record in the csv file. When I run outside Arcgis pro, it starts with 1 sec for 10 recs, but after few loops it takes 1 second for 1 or 2 records. Does anybody have any ideas or suggestions? Thanks in advance.
... View more
12-03-2021
06:45 AM
|
0
|
4
|
1286
|
POST
|
Hi all, I need to write data in an Oracle DB table from ArcGIS Pro. The Oracle DB is not a geodb. I can connect to the Oracle DB and add the table to the current map, I can open the table and view the content but I can't add rows or modify any field value. The user I use to connect to oracle has read/write privileges. I'm using ArcGIS pro 2.9, Oracle 12 and Oracle client 64 bit on a MS Windows Server 19 Datacenter pc. I need to do this from a python geprocessing tool I'm writing. The tool must read from an Oracle table, performs some operations and write some results in another Oracle table (not geo). Does anybody have any ideas or suggestions? Thanks in advance.
... View more
12-02-2021
04:34 AM
|
0
|
1
|
538
|
POST
|
I am developing a python script tool (my first one). The tool has 3 input parameters: a raster z min z max I am trying to get automatically z min and z max after the user specify the raster using the validation script but I got this error: TypeError: expected a raster or layer This is my code (commented lines are other attempts I tried without results): def updateParameters(self😞
"""Modify the values and properties of parameters before internal
validation is performed. This method is called whenever a parameter
has been changed."""
if self.params[0].altered:
if self.params[0].value:
#rst_ds = self.params[0]
rst_ds = self.params[0].value
self.params[1].value = arcpy.Raster(rst_ds).minimum
#self.params[2].value = arcpy.Raster(rst_ds.replace('\\','/')).maximum
#arcpy.MakeRasterLayer_management(rst_ds, "rst_lyr")
#self.params[1].value = arcpy.Raster("rst_lyr").minimum
return
... View more
01-14-2021
04:43 AM
|
0
|
2
|
725
|
POST
|
I updated both LM without any problems. thanks Marco
... View more
10-09-2015
05:29 AM
|
0
|
1
|
480
|
POST
|
Hi all, I'm planning to upgrade LM from 10.2.2 to 10.3.1. I've a distributed license configuration with two LM. Can I upgrade LM on both servers or must I dehautorize the second one before? thanks Marco
... View more
09-30-2015
02:57 AM
|
0
|
2
|
2320
|
POST
|
I created a map and shared it with my organization but other users of my organization are not able to load the map in collector. They must log-in with my credentials. Is this a limit of the app? or am I doing something wrong? thanks
... View more
06-22-2015
01:27 AM
|
0
|
2
|
3039
|
POST
|
Zhen, did you solve the problem? I've a similar problem when I try to use IMath.Times with grid stored in a file personal gdb (arcgis 10.2 vb.net) thanks Marco
... View more
03-03-2015
07:14 AM
|
0
|
0
|
248
|
POST
|
Hi all. I'm new to flex and web programming. I need to select a feature from a list (built using the search widget) and, after that, select a related feature (using a common field value) of another layer using the definitionexpression property (I need to visualize only the related feature). I'm trying to extend the search widget, modifying the function clickSearchResult but I don't know how to get the field value at this time. Any suggestions? thanks in advance! Marco
... View more
10-26-2012
05:39 AM
|
0
|
0
|
502
|
POST
|
Hi all, I've a File Personal Gdb with a blob field in a table (table, not featureclass). I need to migrate to personal sde/sql express. I'm trying to do it exporting the file gdb in xml and importing the xml, but I catch the error: "import xml failed FDO error: -2147186428 .... Maximum BLOB size exceeded [field name] I'm using ArcGis 9.3 and SQL Express 2005. I found, on the ESRI support site, a reference to a configuration file for SDE (unfortunately only enterprise version) where you can increase sizefrom the default (1000000 bytes) to another value, but I haven't found anything for the personal/sql express... Thanks in advance for any suggestion! Marco Belotti CESI spa Italy
... View more
07-13-2010
01:42 AM
|
0
|
1
|
1312
|
Title | Kudos | Posted |
---|---|---|
1 | 04-19-2022 08:13 AM | |
2 | 12-09-2021 01:51 AM |
Online Status |
Offline
|
Date Last Visited |
05-31-2023
06:49 AM
|