|
POST
|
No message? Could you please try to Execute as follows: gp.Execute("Erase_analysis", parameters, null); Let me know if you get any message now. If your code is not confidential - could you send me your project as a zip file to nahmed@esri.com?
... View more
07-13-2012
12:38 PM
|
0
|
0
|
1563
|
|
POST
|
Please add few more lines and let me know what messages you are getting. Your code (I've excluded other lines for clarity) should look like this. object sev = 2;
try
{
gp.Execute("ArcPadCheckin", parameters, null);
MessageBox.Show(gp.GetMessages(ref sev));
}
catch (Exception ex)
{
//var sev = 2;
MessageBox.Show(gp.GetMessages(ref sev));
//label1.Text = label1.Text + gp.GetMessages(sev);
label1.Text = label1.Text + ex.StackTrace;
}
... View more
07-12-2012
08:44 AM
|
0
|
0
|
1563
|
|
POST
|
When Execute fails, you get to catch block - what geoprocessing error messages you get?
... View more
07-11-2012
05:17 PM
|
0
|
0
|
1563
|
|
POST
|
Buffer the points with a buffer distance of half of the side of the square. Say, your output is Points_buff. Now, run Feature Envelope to Polygon with Points_buff as input - you'll get the squared buffers.
... View more
07-11-2012
03:57 PM
|
0
|
0
|
831
|
|
POST
|
... was there some smarter way to handle this? Chopping (or divide and rule) does not always yield better results. You'll have to experiment with an optimum size to divide into. From our experience your results (times) are good enough. Compared to the number of features (40+ millions), 3-4 hours for each process is really good.
... View more
07-03-2012
01:22 PM
|
0
|
0
|
1006
|
|
POST
|
Modify your codeblock slightly. Instead of testing a certain value ("") for section, use the generic statement whether section has some value. Your code should look like this: def classify(prov, trail, section):
if section: # if section has any value
return prov + "-" + trail + section
else: # if section is empty or null or None
return prov + "-" + trail
... View more
07-03-2012
08:44 AM
|
0
|
0
|
1286
|
|
POST
|
Hi Harry, I would like to help your case. I think it is possible to get your job done within ArcGIS. First of all, which version of ArcGIS you are using? Let me be clear about your data. Of the two tables, is it that one of the tables contains records (IDs) of the cities on the left of the streets only and other table contains records (IDs) of the cities on the right? Is the ID of a street is same as the IDs of the cities on its both sides? Is my visualization of your data correct? [ATTACH=CONFIG]15691[/ATTACH]
... View more
07-02-2012
10:14 PM
|
0
|
0
|
1006
|
|
POST
|
Have you set your parameter as shown below? [ATTACH=CONFIG]15641[/ATTACH]
... View more
07-01-2012
07:22 PM
|
0
|
0
|
634
|
|
POST
|
For your question# 1, please try Spatial Join, INTERSECT with a Search Radius (use the physical width of the road at least).
... View more
07-01-2012
08:33 AM
|
0
|
0
|
1043
|
|
POST
|
What is the data type of your 6th parameter and what value you are trying to assign it? I would like to reproduce the error locally. Thanks.
... View more
07-01-2012
08:28 AM
|
0
|
0
|
634
|
|
POST
|
Thank you Mike. Please let us know if you find any other issue with the Python add-ins. You can email me directly at nahmed@esri.com Meanwhile, could you please let us know the workflows or scenarios where you need to use wxPython?
... View more
06-30-2012
08:54 PM
|
0
|
0
|
1569
|
|
POST
|
I have conveyed your request about a patch to the team. Yes, you don't get any feedback 😞 - just bear with it for the time being.
... View more
06-30-2012
10:31 AM
|
0
|
0
|
1569
|
|
POST
|
I don't know what's going on as the code is working fine on my machine. Hopefully, someone else will be able to help.
... View more
06-29-2012
02:57 PM
|
0
|
0
|
1991
|
|
POST
|
A pythonic way of iterating a dictionary is: for k, v in fc_dict.items():
print k, "=>", v
... View more
06-28-2012
08:49 AM
|
0
|
0
|
1991
|
|
POST
|
Change your if block as follows: if PADUSGeom.overlaps(countyGeom):
diff = PADUSGeom.difference(countyGeom)
diff_area = diff.area difference is available in 10.1.
... View more
06-26-2012
09:11 PM
|
0
|
0
|
2840
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-18-2019 03:56 PM | |
| 1 | 05-06-2020 01:18 PM | |
| 1 | 07-23-2021 10:33 AM | |
| 1 | 07-28-2020 09:10 AM | |
| 2 | 07-27-2020 04:47 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-25-2021
03:13 PM
|