|
POST
|
Hi all I would like to run a modelbuilder script only for the selected records in a feature class. how can I pass to modelbuilder only the features selected? Thanks
... View more
06-21-2012
10:03 AM
|
0
|
4
|
1583
|
|
POST
|
Thanks I also have found this sample http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/4aac10e4-d44d-4dc3-a7b4-5edae04798b3.htm Case esriGeometryType.esriGeometryPolygon
Dim poly As IPolygon = New Polygon
Dim pointColl As IPointCollection = CType(poly, IPointCollection)
pointColl.AddPoint(lowLeft)
pointColl.AddPoint(lowRight)
pointColl.AddPoint(upRight)
pointColl.AddPoint(upLeft)
Dim maware As IMAware = CType(poly, IMAware)
maware.MAware = True
poly.Close()
Dim topoOp2 As ITopologicalOperator2 = CType(pointColl, ITopologicalOperator2)
If topoOp2.IsKnownSimple = True Then
topoOp2.Simplify()
Dim polyExt As IFeature = CreateFeature(featClass, poly)
End If
... View more
06-15-2012
03:23 AM
|
0
|
0
|
331
|
|
POST
|
How to write this line in vb.net with a IGeoprocessor # Create a Polygon object based on the array of points # polygon = arcpy.Polygon(array) thanks
... View more
06-14-2012
05:17 AM
|
0
|
2
|
607
|
|
POST
|
http://resources.esri.com/help/9.3/arcgisengine/dotnet/093179a1-3de1-44eb-82f1-46ba0811178b.htm
... View more
06-12-2012
05:36 PM
|
0
|
0
|
296
|
|
POST
|
Hi all I am writing a console application and would like to know how to write these lines in vb.net # Create empty Point and Array objects # point = arcpy.Point() array = arcpy.Array() # A list that will hold each of the Polygon objects # featureList = [] # point point of the array in to close off the polygon array.add(point) # Add the first point of the array in to close off the polygon array.add(array.getObject(0)) # Create a Polygon object based on the array of points # polygon = arcpy.Polygon(array) # Clear the array for future use # array.removeAll() # Append to the list of Polygon objects # featureList.append(polygon) http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html - /Polygon/000v000000n1000000/
... View more
06-12-2012
05:22 PM
|
0
|
1
|
775
|
|
POST
|
Hi all I am writting a console application and would like to know if there is any sample that shows how to create a polygon form a list of points with lat and lon in a table thanks
... View more
06-12-2012
10:36 AM
|
0
|
1
|
633
|
|
POST
|
Hi all I have a table that has X.Y coordinates that represent project areas on the field. The structure is: Project Number, X,Y 1, X1,Y1 1, X2,Y2 1, X3,Y3 1, X4,Y4 2, X11,Y11 ..... Questions: - How can I create a polygon in Python from that list - how can I loop, to read all the points that belong to the same project - how can I loop to read all the projects Regards
... View more
05-29-2012
07:48 AM
|
0
|
1
|
2963
|
|
POST
|
Hello everyone, I need to create a polygon from points listed in a table. The table has lat and long values, each value is going to be a vertex in the polygon. I am going to user Model Builder Please advise!
... View more
05-29-2012
06:19 AM
|
0
|
2
|
5685
|
|
POST
|
the solution register the dll as an administrator http://msmvps.com/blogs/martinpoon/archive/2009/03/20/the-module-actxprxy-dll-was-loaded-but-the-call-to-dllregisterserver-failed-with-error-code-0x80070005.aspx For doing this, you will need to use a command prompt that is executed as administrator. So, grab your mouse??? and ~ Right-click on the command prompt icon ~ Select [ Run as administrator ] Hope it helps
... View more
05-24-2012
04:23 AM
|
0
|
0
|
940
|
|
POST
|
Hi all, I am trying to install the script SDE Administration Web Page http://arcscripts.esri.com/details.asp?dbid=14093 in my Windows 7 computer and I get the following error message when trying to register sdeadmin.dll c:\windows\syswow64\regsvr32.exe sdeadmin.dll Error message: The module ???sdeadmin.dll??? was loaded but the call to DllRegisterServer failed with error code 0x80070005 Please advise!
... View more
05-24-2012
04:20 AM
|
0
|
2
|
1147
|
|
POST
|
Hi all do you use Visual Studio to develop ArcGIS Javascript applications? any IDE you recommend?
... View more
05-16-2012
06:19 AM
|
0
|
4
|
3658
|
|
POST
|
Hi all I am writting my first Add-In with VS 2008, Arcmap 2011 and created a data entry form with a dockable window. I would like to know: - how to close a dockable window, by default it looks like it hides, sho when clicking again the button it shows the form but its content does not get refershed - my form read the selected features from a layer and displays a data entry form where the user enters only attributes. But if when users select another feature in the same layer how can I refresh my dockable window, to show the new ferature. What event? - is it better to use a regular windows form please advise
... View more
10-25-2011
03:55 AM
|
0
|
1
|
1542
|
|
POST
|
Hi all, how do I get the domains description in a SDE connection? Or how do I check if a domain already exists? Found this code but it does not run: desc = arcpy.describe(SDEConnection) AttributeError: 'module' object has no attribute 'describe' >>> arcpy.env = SDEConnection
desc = arcpy.describe(SDEConnection)
domains = desc.Domains
for domain in domains:
print domain
... View more
09-19-2011
12:04 PM
|
0
|
4
|
4446
|
|
POST
|
Hi all I tried to run this calculate field in a model, python and vb.net and I shows everywhere the same error message below. Please advise. Executing: CalculateField ServicePointTable_View XXXX.ServicePointTable.SPCWASDID str(!XXXX.PremisePoints.SPCWASDID!) PYTHON # ServicePointTable_View Start Time: Wed Aug 31 13:08:50 2011 ERROR 999999: Error executing function. An invalid SQL statement was used. An invalid SQL statement was used. An invalid SQL statement was used. Failed to execute (CalculateField). End Time: Wed Aug 31 13:08:50 2011 (Elapsed Time: 0.00 seconds) Python Code: # Process: Calculate Field... gp.CalculateField_management(ServicePointTable_View, "XXXX.ServicePointTable.SPCWASDID", "[XXXX.PremisePoints.SPCWASDID]", "PYTHON", "") VB.net Code pCalculateField.in_table = "ServicePointTable_View"
pCalculateField.field = "XXXX.ServicePointTable.SPCWASDID"
pCalculateField.expression = "!XXXX.PremisePoints.SPCWASDID!"
pCalculateField.expression_type = "PYTHON"
RunTool(GP, pCalculateField, Nothing)
... View more
08-31-2011
09:58 AM
|
0
|
0
|
1031
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-05-2025 04:28 AM | |
| 1 | 08-05-2025 04:33 AM | |
| 1 | 06-05-2025 11:12 AM | |
| 1 | 03-03-2025 04:33 AM | |
| 1 | 01-23-2025 06:40 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|