|
POST
|
It appears that this is a bug in 10.2.1 and 10.2.2. See here (if Curtis Price can't figure it out, neither will I). Your model works exactly as you report for me, at 10.2.2. None of the above solutions worked for me. What version are you using? Luckily, the Python alternative is quite straightforward, something like: >>> arcpy.CheckOutExtension("Spatial")
... arcpy.env.workspace = arcpy.GetParameterAsText(0) # input workspace parameter
... outFolder = arcpy.GetParameterAsText(1) # output workspace parameter
... rasters = arcpy.ListRasters()
... for raster in rasters:
... outRas = arcpy.sa.Int(raster)
... outRas.save(outFolder + '/' + raster)
... View more
10-16-2015
04:32 PM
|
0
|
0
|
1905
|
|
POST
|
Are you using an inline variable to name the outputs?
... View more
10-16-2015
09:41 AM
|
0
|
3
|
4241
|
|
POST
|
how to take certain attributes from a joined field Just curious about this phrasing. Do you mean "how to take certain values from a joined field", or "how to copy entire fields from a joined feature class"? If values, you can do so by first selecting those values and running the field calculator. If entire fields, then as Dan says, just use the field calculator.
... View more
10-15-2015
02:13 PM
|
1
|
3
|
3526
|
|
POST
|
Not sure if it's an error in the error message or your code, but the line ridList.append(row[0]) should be indented twice. edit: actually, there are several indentation errors, probably just a problem in the error message. Can you post your code so we can see your indentation? Instructions here.
... View more
10-14-2015
03:04 PM
|
0
|
0
|
3025
|
|
POST
|
The last line in the error message indicates that the Field Calculator was run in VB mode: del cursor" VB #
... View more
10-14-2015
02:54 PM
|
0
|
29
|
3025
|
|
POST
|
I'm jumping into this thread midstream, but I'm confused why this has anything to do with Calculate Field. You're running this in the Python window, not the field calculator, correct? In any case, it looks like however you are calling CalculateField, it is set to VB not Python.
... View more
10-14-2015
02:43 PM
|
0
|
31
|
3900
|
|
POST
|
Along the lines of Wes Miller's suggestion, I think the main goal you should be/are working towards is building a world file (it's not just a CAD thing!), where you provide x and y pixel sizes of your image (calculated from your scale and image properties) and x,y coordinates of the centre of the top-left pixel (calculated from your scale and reference point). This georeferences your image without having to muck around with manual control points.
... View more
10-14-2015
02:26 PM
|
1
|
0
|
6504
|
|
POST
|
As Ian Murray says, this is quite open-ended, but here are some subjective opinions I have: - I think a good map should function as a standalone product (e.g. if it fell out of a report and someone picked it up, would it still make sense?). The first thing that strikes me is that if I didn't happen to know where Ashland is, this map would lose me immediately. I would add an inset map showing Ashland in its larger context, at least within the county, probably within the state. - add the coordinate reference system. While you're at it, some other useful info would be, date, author (you), reviewer, data sources, client name, etc. - it's a little hard to differentiate between forest plan units (e.g. where does Cottle Philips begin and end?). I don't know if that's important to your story. - Should add labels, at least, for Ashland and I-5 Feedback can go on and on. You need to decide what you need to say and how others not as close to the project as you are, will view it. If you have a client or supervisor, ask them - they probably already know what they want and no matter what you do, there will be changes. You may be interested in checking out Cartotalk, where you can upload maps for feedback.
... View more
10-14-2015
12:07 PM
|
1
|
2
|
1754
|
|
POST
|
As you allude to, the edges of interpolated rasters are the most distorted because they are only influenced by data on the inside. You can try to minimize the overlap distortions using a mosaic operator (like blend) that will combine the overlapping distortions. Or if the distortion area is uniform around each raster, Shrink the rasters by a number of cells to reduce the area of overlap, and recombine using the more reliable parts of the rasters (i.e. more of the "insides"). Of course, your best option would be to obtain the original data and reprocess it into one continuous coverage, but I'm guessing that's not an option.
... View more
10-14-2015
10:54 AM
|
1
|
0
|
4613
|
|
POST
|
I assume you're talking about a vector polygon grid, not the ESRI raster format grid (annoying, but important distinction). As Luis Ángel Pascual Camino says, use: Make Feature Layer Select Layer By Attribute Select Layer By Location
... View more
10-14-2015
10:28 AM
|
1
|
0
|
13506
|
|
POST
|
Can you upload, at the very least, the first two rows (header and first row of data) of your CSV file?
... View more
10-13-2015
05:10 PM
|
0
|
0
|
6531
|
|
POST
|
Hard to give much help without the data, but you may want to try a Check Geometry to see if there are any problems in the vicinity.
... View more
10-13-2015
01:51 PM
|
0
|
4
|
4262
|
|
POST
|
I think your best bet is making a mosaic, and symbolizing it once. See here for a quick way to do it using the Image Analysis Window: ArcGIS Help 10.1
... View more
10-13-2015
10:39 AM
|
1
|
0
|
751
|
|
POST
|
This is specifically handled by zfill(): >>> block = 5236
... print str(block).zfill(5)
...
05236
... View more
10-13-2015
09:21 AM
|
1
|
0
|
1571
|
| 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
|