POST
|
Each candidate in the buffer zone has its own statistical value. So, I have to find all candidates in given buffer, get each candidate value and perform additional statistical calculation like sum. It is points within polygon analysis. the only problem which I am facing is performance and out of memory issue.
... View more
01-01-2016
08:48 PM
|
0
|
1
|
926
|
POST
|
I am executing the script as a batch process. I have tried to minimise the candidates, but still it is huge data.
... View more
01-01-2016
04:37 PM
|
0
|
3
|
926
|
POST
|
I have to run the analysis on daily and it is taking more time (for 95000 points it took almost 9 hrs). I will try with ArcGIS Pro. one more question, Is there any other way to we can improve the performance
... View more
01-01-2016
03:41 PM
|
0
|
6
|
926
|
POST
|
Hi Dan, Chris, The scenario which I explained in my previous post was example scenario. I am using following code to find the customer within 200-mile radius from our distribution center. It took almost 2 hr to analyse 250 distribution center points against 0.4 Millon customer locations. Is there anyway we can improve the performance import arcpy
DC_Points = r"C:\temp\TestGDB1.gdb\DistributionSites"
CL_Points = r"C:\temp\TestGDB1.gdb\CustomerLoaction"
fcSumPoint=r"C:\temp\TestGDB1.gdb\fcSumPoint"
arcpy.MakeFeatureLayer_management(CL_Points, "cl_points")
searchRows = arcpy.da.SearchCursor(DC_Points, ["SHAPE@", "site_id","cov1val"])
print("searchcursor")
fields=("SHAPE@","dc_Id","cl_count","acSum")
inCursor = arcpy.da.InsertCursor(fcSumPoint, fields)
print("insert cursor")
for searchRow in searchRows:
shapeObj,dc_id,AcSUm = searchRow
buffSelectionLyr=arcpy.SelectLayerByLocation_management("cl_points", "INTERSECT", shapeObj, "20 MILES","NEW_SELECTION")
recordCount = int(arcpy.GetCount_management("cl_points").getOutput(0))
sumValues = 0
sumValues += AcSUm
print(siteid,recordCount,sumValues)
infiled=[shapeObj,siteid,recordCount,sumValues]
inCursor.insertRow(infiled)
print("There are " + str(recordCount) + " points in #" + str(siteid))
#using the selected features/records in "flyou now have a hook so as to get their names, incomes, etc.
del searchRow, searchRows, inCursor
... View more
12-29-2015
12:14 PM
|
1
|
1
|
926
|
POST
|
thanks for the reply. I have already tried to limit the candidate using following approaches -used Fishnet (To find buffer regions) -Creating bounding box around the circle -Find an Identical location (to eliminate duplicate points(locations)) Currently, I am trying to find the points using Generate Near Table—Help | ArcGIS for Desktop Because it supports finding the more than one near features. I am currently using arcpy.da.TableToNumPyArrayTableToNumPyArray—Data Access module | ArcGIS for Desktop to store the results in a separate table. The use case which i explained was a sample one and we have similar different use cases with reasonable use stories.I will try all your above suggestions to restrict the points and will post the update once I am done. Thank you.
... View more
12-26-2015
05:47 AM
|
0
|
1
|
1427
|
POST
|
Hi Dan, I am performing proximity overlay analysis to find the points within circle. Here is the sample senario, I would like to find the houses that are around my restaurant using 100 mile buffer. As per below image: Green color point is my restaurant and brown color points are houses. I have performed proximity analysis to find the houses around my restaurant in 100 mile radius. Based on 100 mile radius buffer i will select the house and perform some additional calculations. I am able to perform this analysis successfully with around 2 Million data using spatial join. the problem is when I try to execute this analysis with 5 million data i am facing out of memory exception. Is there any other option to perform this proximity analysis more efficiently in large data.
... View more
12-25-2015
10:10 PM
|
0
|
1
|
1427
|
POST
|
Hi Dan, thanks for the quick reply. Below is the sample image, The layer has 5Million points and i have to generate 5 Million buffers. After Generating buffer i have to perform spatial query similar point layer which has same amount of data.
... View more
12-25-2015
04:09 PM
|
0
|
4
|
1427
|
POST
|
Hi, I have 5 million points and I would like to generate buffer and find the points that falls in each buffer region and perform some calculation. I have tried with Spatial join and getting out of memory exception and finally I am trying with Multiprocessing. I would like to know, Is there any other way we can do this more efficiently in python or any other method.
... View more
12-25-2015
06:53 AM
|
0
|
19
|
5632
|
POST
|
Hi Todd, Thank you for your quick response. No, i am perfectly fine using the GP Fishnet tool. At the same time just want to know is there any possibility to do this at client side using Javascript. Regards, Ganesh
... View more
05-19-2015
04:29 AM
|
0
|
0
|
446
|
POST
|
Hi All, Is there any possibility to create fishnet on using ArcGIS for Javascript API (similar to arc gis desktop functionality)? Regards, Ganesh
... View more
05-19-2015
03:40 AM
|
0
|
2
|
3774
|
POST
|
Hi V, Thanks for the reply and support. I am using 32 bit dlls and also set the solution platform to x86. I have also tried with 64 bitl dll and set the solution platform to X64. The application build successfully without any error and warning message. But when i try to run, i am getting the same runtime error (Could Not load file or assembly 'Esri.FileGDBAPI.DLL or one of its dependencies. The specific module could not be found.). I have tried all workaround provided in the (Geonet) threads... But still no luck...Still it is throwing the same error. Having doubt, Is it bug?. Because the thread which was posted by others also not resolved/Marked as answered. Regards, Ganesh
... View more
04-14-2015
07:14 PM
|
0
|
1
|
1339
|
POST
|
Hi, I am trying to build asp.net web application and using File GDB API 1.4 to get feature values from FGDB. I'm using Visual Studio 2010 with SP1 and C#; Windows 7 operating system. I downloaded FileGDBAPI for VS2010 1.4. I made a reference to the dll. But when I run the application, I'm getting the error, "Could not load assembly "Esri.FileGDBAPI.dll". Can you please tell me how to load the Esri.FileGDBAPI.dll to asp.net application. I have tried with Copying dlls & lib in bin folder and create system variable path. But no luck.. (Plz find the attached sample code and error message) I agree the sample application works fine in console. But in ASP.net app we are getting the error after adding FGDB API Dll refernce. I really appreciate your assistance on this issue. Regards, Ganesh
... View more
04-14-2015
05:34 AM
|
0
|
3
|
6202
|
POST
|
The code throws null error when i try to cast FieldDef ( FieldDef[] fieldDefs =fcTable.FieldDefs;) While debugging, the definition( FieldDefs, IndexDef)properties in the Esri:FileGDB:Table getting null values (Also tried with other C# samples provide with File Geodatabase API). Can any one tell me why it is throwing null value and can i get Spatial Reference Details using File GeoDatabase API without using FieldDefs.
... View more
04-01-2015
08:12 AM
|
0
|
1
|
1233
|
POST
|
I am facing problem with FieldDef and it throw null while assigning to FieldDefs (FieldDef[] fieldDefs = fcTable.FieldDefs; ). I have declared it after validating geometry. But still receiving the same null error in the FieldDef. My out put is get the spatial reference/Projection Name of Feature class or Feature Dataset as a string. Please find the attached updated code.
... View more
04-01-2015
06:35 AM
|
0
|
1
|
1233
|
POST
|
Hi, How to get spatial reference info using file Geodatabase API 1.4.
... View more
03-31-2015
06:44 PM
|
0
|
1
|
3925
|
Title | Kudos | Posted |
---|---|---|
1 | 12-29-2015 12:14 PM | |
1 | 03-31-2015 07:28 AM | |
1 | 02-09-2015 01:58 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|