POST
|
A scan, after running the script for ArcGIS\Server, ArcGIS\Portal and ArcGIS\DataStore still shows this present in our install: C:\arcgis\arcgisportal\dsdata\elasticsearch_7.3.0\lib\log4j-core-2.11.1.jar can this simply be deleted?
... View more
12-21-2021
12:09 PM
|
0
|
2
|
1768
|
POST
|
That's what I thought - I was just missing the () Thank You
... View more
11-13-2014
01:18 PM
|
0
|
0
|
723
|
POST
|
Answered here need to create a new array for each iteration
if rows:
for row in rows:
polygonArray = arcpy.Array()
I thought polygonArray.removeAll would reset the array, but it did not.
... View more
11-13-2014
01:15 PM
|
0
|
1
|
723
|
POST
|
I am reading rows from a database with a field "Coords" that contains polygon coordinates in the format 40.090170,-83.007704|40.089878,-83.007724..... and inserting each row as a polygon. The first feature is drawn correctly, the second feature is drawn but is connected to and duplicates the first feature, and the third contains all three and so on. The coordinates are cumulative (not intentionally). I tried deleting variables between iterations, but that didn't help. What am I missing? Thanks import pypyodbc import arcpy GdbFeat = r"\\server\Arc_Server_data\publish.gdb\OUPS" spatialRef = arcpy.Describe(GdbFeat).spatialReference conn = pypyodbc.win_connect_mdb(r"C:\GIS\db\COWOUPSx.mdb") cursor = conn.cursor() cursor.execute("SELECT TicketDate, TicketNum, Coords FROM Tickets WHERE (((TicketDate) = #11/15/2014#))") rows = cursor.fetchall() cursor.close del cursor conn.close del conn if rows: polygonArray = arcpy.Array() for row in rows: Coords = row[6] coordinatePairList = Coords.split("|") for coordinatePair in coordinatePairList: coordinates = coordinatePair.split(",") currentPoint = arcpy.Point(coordinates[1],coordinates[0]) polygonArray.add(currentPoint) polygon = arcpy.Polygon(polygonArray, spatialRef) polygonArray.removeAll with arcpy.da.InsertCursor(GdbFeat, ("Shape@", "TicketDate", "TicketNum")) as Acursor: Acursor.insertRow((polygon, row[0], row[1])) del Coords del polygon del coordinatePairList del coordinatePair del coordinates del currentPoint del row del rows
... View more
11-13-2014
01:01 PM
|
0
|
4
|
3026
|
POST
|
Thank You, this is a very powerful widget. The buffering works great but I can�??t seem to get the units to work out correctly. Through trial and error I found that entering a buffer distance of 40 meters = 100 feet on my map. Measuring with the draw widget confirms this. Changing the bufferunit from UNIT_METER to UNIT_FOOT I get a buffer of about 76 feet when I enter 100 feet. Changing the spatialReference from 4326 to 3857 (operational layer) or 102100 (base maps) makes no difference. Is there a configuration that I am missing?
... View more
11-09-2010
09:21 AM
|
0
|
0
|
531
|
POST
|
- like in your identifyWidget, coul'd you add hyperlink prefix/suffix and icon field/prefix/suffix ? I agree! Nice work Robert.
... View more
10-29-2010
10:28 AM
|
0
|
0
|
611
|
POST
|
I'm having the same problem. Has anyone found the fix?
... View more
08-13-2010
08:45 AM
|
0
|
0
|
964
|
Online Status |
Offline
|
Date Last Visited |
12-22-2021
03:44 AM
|