POST
|
Thanks - I didn't need the time stamp at all, so I used your function to strip it out of the date field using the field calculator.
... View more
02-29-2016
11:03 AM
|
0
|
0
|
569
|
POST
|
I might be wrong, but I believe a .pitem file isn't actually a database but stores a reference to the data on ArcGIS Online. You could open it in ArcGIS desktop and choose data > export to create a local copy that you can share. However, if you export as a shapefile it still won't have the photos. You'll need to export to a file geodatabase feature class, but you can share that with anyone else using ArcGIS desktop.
... View more
01-29-2016
10:50 AM
|
0
|
0
|
507
|
POST
|
I'll add that while screenshots are probably not legal. You could download the ESRI GIS Explorer (which is free) and use that to export maps. The same basemaps are available through it as through ArcGIS Online. ArcGIS Explorer | GIS Viewer | Free GIS Software & Maps
... View more
01-28-2016
12:56 PM
|
0
|
3
|
445
|
POST
|
Page 1 of the terms of service - bold emphasis added. Data Terms and Conditions Data and imagery from third party providers is available to users of Esri software and online services offered through Esri websites. Please see Use of Data Restrictions/Terms of Use for supplemental licensing information for data and imagery.
... View more
01-28-2016
12:52 PM
|
0
|
4
|
445
|
POST
|
That makes much more sense. Here's what I'd do: As mentioned, project your data into a projection that preserves distance. Create an IDW using the grid points as the inputs and set the inputs to all points within 30K. The value of each output cell is now a weighted average of the grid points within 30K. Use the extract values to points tool (in Spatial Analyst) to get the interpolated value at that location and add it to the sample point attributes. You then have the real and interpolated values in the sample point attribute table to compare.
... View more
01-28-2016
08:09 AM
|
1
|
1
|
802
|
POST
|
I am quite confused about what you're trying to do. IDW is an interpolation method. What you describe doesn't exactly sound like IDW, but maybe I just don't get it. You could create an IDW raster from the sample points and then extract the value from the IDW at each grid point. That would give you values in the grid attribute table to compare. Is that what you're trying to do?
... View more
01-28-2016
07:27 AM
|
0
|
0
|
802
|
POST
|
zoneNameField is used to build a query which is required to create a feature layer containing one polygon. You could use the objectID field for this value too. queryString = '"' + zoneNameField + '" = ' + "'" + zoneName + "'"
arcpy.MakeFeatureLayer_management(Zones, "CurrentZoneLayer", queryString)
And yes, if you had multiple polygons with the same name, they would get grouped together for the counts because the query would select them all.
... View more
01-28-2016
05:37 AM
|
1
|
1
|
846
|
POST
|
It is attached. You'll need to edit these variables to make it work and the polygon feature class needs an integer field to store the results. Points = "D:\\Data\\Geodatabase.gdb\\PointFC" Zones = "D:\\Data\\Geodatabase.gdb\\PolygonFC" zoneNameField = "NAME" zoneIncidentsField = "INCIDENTS" Once your paths and field names are stored you can double-click from windows explorer to run anytime you want.
... View more
01-26-2016
11:51 AM
|
2
|
3
|
1801
|
POST
|
I have a simple python script that will count points within polygons and add the count to a field in the polygon feature class. It's pretty simple and you could run it automatically using a batch file and windows scheduler - or just run the script as needed from explorer. If that sounds helpful I'll find and post it.
... View more
01-26-2016
10:17 AM
|
1
|
5
|
846
|
POST
|
Joins only work with a 1 - 1 relationship in ArcGIS. You can use a Relate to match up a 1 - Many relationship like this, though your data won't appear all in the same table like you want. You'll have to select an individual feature and view related records for that one feature. Other options - It's also possible you could view the table and related records using a report. Summarize the child table (on the right) so that there is only 1 item per FBR record. Export the data into a true relational database, though you'll probably loose the spatial component. Use a python script to add related data to a map layout text box.
... View more
01-26-2016
09:53 AM
|
1
|
0
|
887
|
POST
|
You can calculate the area of each polygon in the units you prefer using the field calculator. Create a field to hold the values, select Python as the parser at the top of the field calculator, and enter !shape.area@acres! as the expression. You can use any of the following in place of 'acres'. Areal unit of measure keywords: ACRES | ARES | HECTARES | SQUARECENTIMETERS | SQUAREDECIMETERS | SQUAREINCHES | SQUAREFEET | SQUAREKILOMETERS | SQUAREMETERS | SQUAREMILES | SQUAREMILLIMETERS | SQUAREYARDS | SQUAREMAPUNITS
... View more
01-21-2016
08:07 AM
|
0
|
0
|
576
|
POST
|
Find the text element first, set it's value to nothing, then search and append the report values. for elm in arcpy.mapping.ListLayoutElements(mxd,"TEXT_ELEMENT"😞 if elm.name == "Report": elm.text = "" with arcpy.da.SearchCursor(StopsTable, ["Stop_Number", "Stop_Status"]) as cursor: for row in cursor: elm.text = elm.text + "Stops "+str(row[0])+": "+row[1] +"\n"
... View more
01-20-2016
11:58 AM
|
0
|
1
|
599
|
POST
|
You've declared targetOrtho, but assigned no value to it because the loop is not setup to cycle through layers listed in orthoArray. You need a loop that points targetOrtho to the values in orthoArray - something like this. (warning: I do python more than vb). for targetOrtho in orthoArray: ... targetOrtho.hide
... View more
01-20-2016
11:31 AM
|
0
|
2
|
507
|
POST
|
The problem is that line 12 overwrites elm.text during each cycle of the loop. You need to append the new text to the previous values without overwriting. I would have thought changing = to += would work, but if not, try the append() string function. mystring.append(new text to add)
... View more
01-20-2016
11:23 AM
|
0
|
0
|
599
|
Title | Kudos | Posted |
---|---|---|
1 | 01-26-2016 09:53 AM | |
1 | 01-14-2016 12:45 PM | |
2 | 07-15-2019 05:54 AM | |
2 | 05-07-2018 11:21 AM | |
1 | 07-16-2019 08:50 AM |
Online Status |
Offline
|
Date Last Visited |
04-16-2021
01:39 PM
|