Hot answers tagged

4

It sounds like what you are after is Background Geoprocessing, which was introduced at ArcGIS Desktop 10.0. However, I think ArcPy only became "Background Geoprocessing aware" with the introduction of Python Toolboxes at 10.1 - see Setting "Always run in foreground" within ArcPy code?


3

Try splitting your raster into smaller parts. It seems to be really big. I just found this post: http://forums.esri.com/Thread.asp?c=93&f=995&t=225045, someone had a similar problem as you: Quote from link above: Any count exceeding 2^31-1 will therefore "roll over" into the most negative numbers; for instance, (2^31-1) + 1 will appear as ...


3

Once you did your analysis you can Copy your output with arcpy.CopyRaster_management. Where you can specify bit depth through the pixel_type arg. For example - arcpy.CopyRaster_management("inrast","outrast","","","-9999", "","","8_BIT") You can then delete the earlier output to cleanup.


3

You can set the extent of your map by going on the layer properties > Data Frame > Clipping There you can use one of your polygon with any shape and the graticule wil fit to this extent. In your case you need a rectangle drawn in a geographic coordinate system (densify its vertices before reprojecting to your conical projection)


2

Using the Style Manager (Customize > Style Manager) create a custom 'Multi-part Color Ramp', with 7 parts (or however many parts you need). Make each of those 7 parts an 'Algorithmic Color Ramp' and set them to a single color. You'll then end up with a discrete 7 part color ramp that won't change when you update your values (unless you add or remove ...


2

There is a tool in the analysis toolbox called symmetrical difference that you could use. You would put all your buffers in one layer and your counties in another layer. Then the tool would tell you all the areas in the counties that don't intersect any of the buffers.


2

If I understand you right, you want the opposite of a buffer. Then first, you need a polygon of your area of interest (AOI), say the border of a state or something like that. Second you calculate your distance buffers which you could clip from the previous AOI polygon. That should give the "outside" of the buffers.


2

While in your description you put quotes around USFS, you don't in your actual code If the field "STATUS" is "USFS", I want "Label" to equal "USFS". If the field "STATUS" is not "USFS", I want the "Label" to equal "Other". USFS should be in double-quotes. The elseif fires every time because nothing equals USFS (without quotes) which is why they ...


2

Before ArcGIS 10.2 you could not rename a field using the Alter Field-tool. With 10.2. upwards is much easier to get this to work. You have to add a new field with the desired precision to your shapefile and copy all the values from the one column to the next one using fieldcalculator. Then you can delete the original column and rename the new one to the ...


1

This is something I've never done so not sure if I am suggesting a red herring? You need to look at the page Creating Property Pages in the ArcObjects API help, from here there is a link to some sample code on a page called Layer property page and property sheet.


1

I got some workaround for this question: Make a separate neatline for your data frame; make sure it's not grouped with the data frame. Modify your data frame's grid that it will have long enough ticks that'll reach the neatline. Convert your grid into graphics; all the grid's features (ticks, labels, grids etc) comes as element group - ungroup it. Now ...


1

The LAS Dataset toolbar in ArcMap does not provide any automated classification solutions. The classification that is available through the Profile viewer was meant solely for the facilitation of supervised classification, where you would make a selection and assign the appropriate class code. In ArcGIS Desktop 10.4 and ArcGIS Pro 1.2, 3D Analyst provides ...


1

Well I had that problem with Hec-geoHMS while trying to create the basin model file. To fix this I implemented the steps mentioned above and I did not change the output destinations of any files on any operation starting from (Preprocessing) so by default it stored them in a folder called (Layers). The error didn't happen again due to me "going with the ...



Only top voted, non community-wiki answers of a minimum length are eligible