|
POST
|
Some options within ArcGIS are: - convert your Excel(s) to table(s), then process as usual - work directly with your Excel sheets, using the xlrd library (import xlrd) packaged with ArcGIS - this is how ESRI accesses Excel within geoprocessing tools (look for yourself in: c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Scripts\ExcelToTable.py)
... View more
01-25-2016
02:36 PM
|
1
|
0
|
4026
|
|
POST
|
Are you looking to cookie cut the raster to the shape of the UK (I'm avoiding the term 'clip' because the raster Clip tool only accepts rectangles)? You can do this with Extract By Mask. If I've totally missed the point, please provide a picture of your situation.
... View more
01-25-2016
02:14 PM
|
2
|
3
|
1720
|
|
POST
|
Your error message seems to revolve around something to do with dates, specifically something to do with 1900 vs. 1904 date mode. Can you compare the datemode used in an old, working Excel workbook against a new, nonworking Excel workbook? It should be in Excel Options -> Advanced -> checkbox "Use 1904 date system" More on datemode: The xlrd Module and https://support.microsoft.com/en-us/kb/214330 edit: I can't seem to break the tool using either 1900 or 1904 datemodes, so that may not be the issue.
... View more
01-22-2016
01:09 PM
|
1
|
1
|
6455
|
|
POST
|
You may be interested in Region Group/Set Null/Nibble, as outlined here: Generalizing classified output by removing small isolated regions—ArcGIS Help | ArcGIS for Desktop
... View more
01-22-2016
11:10 AM
|
1
|
0
|
1154
|
|
POST
|
The file loads for me, too (10.2.2). I'm confused by this: "Conversion from CAD to Geodatabase using that tool, and then adding a projection with the "project" tool. " The CAD file comes in an unknown CRS. You do have the option to define a CRS in the CAD to Geodatabase tool, however you don't mention using it. So, the output feature class in the geodatabase should still be unknown. The project tool should (correctly) not allow you to run it, since the CRS in the input feature class is unknown. Did you mean "Define Projection" tool, rather than "Project", or have you defined the CAD CRS at some other point? The take home point: you need to know and define the CRS somewhere along the line.
... View more
01-22-2016
10:29 AM
|
1
|
0
|
8308
|
|
POST
|
Can you open the xls in Excel? Verify the file is not corrupt.
... View more
01-22-2016
10:10 AM
|
1
|
0
|
6455
|
|
POST
|
I'm not a GPX expert, but I'd guess that the <trk> tag indicates track, so a polyline, or maybe polygon, but not waypoint. The tool itself should know what datatype to create. Can't you wait until after the tool has completed to see what it created?
... View more
01-21-2016
03:30 PM
|
1
|
2
|
3958
|
|
POST
|
This might sound silly, but is the shapefile you're editing a point or polygon shapefile? Of course, you can only add points to a point shapefile, and polygons to a polygon shapefile.
... View more
01-21-2016
02:50 PM
|
1
|
4
|
3958
|
|
POST
|
You can do this by setting the label font size to the largest desired size, specifying "Reduce font size", and deselect "Overrun feature".
... View more
01-21-2016
02:29 PM
|
2
|
2
|
5158
|
|
POST
|
Use the Project tool to convert your decimal degree data to a projected coordinate system. It will then have the unit of the coordinate reference system (feet or meters or other, depending on which coordinate reference system you choose).
... View more
01-20-2016
03:54 PM
|
1
|
0
|
1908
|
|
POST
|
At the very basic level, I would really like to see the spatial distribution of the events. I was hoping that I could therefore keep each attribute as a separate layer, and click layers on and off depending on the analysis and question I have to explore data with. Your description makes me wonder if you need to edit the point cloud, at all. Once you create your surface from the point cloud, you would simply overlay your events as feature class (point or polygon).
... View more
01-20-2016
01:52 PM
|
0
|
0
|
2243
|
|
POST
|
Store the growing string in a variable, then write it to the element. Untested: my_string = ""
for row in sc:
if elm.name == "Report":
print "Stops "+str(row.Stop_Number)+": "+row.Stop_Status+"\n"
my_string += "Stops "+str(row.Stop_Number)+": "+row.Stop_Status+"\n"
elm.text = my_string
... View more
01-20-2016
10:55 AM
|
0
|
2
|
2175
|
|
POST
|
Where exactly is the number in "MOR-Q"? Does this have what you call a number, or is there no number for this one?
... View more
01-19-2016
03:54 PM
|
0
|
8
|
3200
|
|
POST
|
Oh, that's probably a function of integer/integer=integer. If you change one to float it should return a float (float/integer=float and integer/float=float): def my_function(numerator, denominator):
if denominator == 0:
return -99
else:
return float(numerator)/denominator
... View more
01-15-2016
03:05 PM
|
1
|
1
|
1277
|
|
POST
|
You need to rephrase your question to be as stupid as a computer. You're not looking for "numbers", you're looking for something that meets a set of rules that you've made up. For example, "if the road label contains a hyphen, I only want the characters after the hyphen" >>> string = 'JEF-83N'
... if '-' in string:
... road_number = string.split('-')[1]
... print road_number
...
83N ...or "if the road label contains a period, I only want the characters before the period" >>> string = '2000.B'
... if '.' in string:
... road_number = string.split('.')[0]
... print road_number
...
2000 ^ I assume in your example "2000. B to 200" you meant 2000.
... View more
01-15-2016
02:58 PM
|
1
|
1
|
3941
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-25-2015 01:51 PM | |
| 1 | 08-30-2013 02:22 PM | |
| 1 | 04-12-2011 11:19 AM | |
| 1 | 09-17-2021 09:43 AM | |
| 1 | 04-04-2012 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-15-2023
12:11 AM
|