Tag Info

Hot answers tagged

6

I certainly wish that more people would be as concerned about the display of digital elevation data as you are. I see so many examples of poorly rendered DEMs that it's somewhat disconcerting. So thank you for raising this question. First, to answer your question of "how can I be sure that I am using a correct setting", I don't think that there is such thing ...


5

Negative. Adobe Acrobat or Professional is not the program to achieve what you are trying to do. PDF's are meant to be sheets of paper on your screen, that's why they are hard to edit and reproduce. I've done a similar thing with Zoomify, but that doesn't change the layers based on zoom level. Really I think you need a web application to do this. If you ...


4

def slope_correct(slope, avg): if avg > 25: return "holly crap" elif 0 < avg <= 25: return "easy peasy" else: return "unknown"


4

IQueryFilter is the best option for your problem.You can put your name value in the whereclause of the queryfilter and thereby you can get the desired feature. ESRI.ArcGIS.Geodatabase.IQueryFilter queryFilter = new ESRI.ArcGIS.Geodatabase.QueryFilterClass(); queryFilter.WhereClause = "NAME LIKE 'LIGHT_POLE'; ESRI.ArcGIS.Geodatabase.ICursor cursor = ...


4

Georeferencing is a process where you define which coordinates your image covers. It'll write in the coordinate system of the data frame. Therefore, it does not specify which coordinate system you use, only which coordinates it covers. The tool Define projection (under Data Management --> Projections and transformations) can be used on both vector and ...


4

Look into Data Driven Pages. You can use your areas as your layer, and using a Definition Query, can exclude all the other areas.


4

you can make some computation using the report designer. Open a report in the Report Designer. From the Design Elements list, click TextBox and drag the element into position on the report layout. Enter an expression in the Data Field area in the Element Properties grid. Expressions always begin with an equals (=) sign In you case, the ...


3

The short answer is yes, you can make points smaller than 1.0. There could be a few different things going on: (1) Are you in map view or layout view? The map data view may be scaling your points so that they appear the same size as you zoom in. (2) It is very difficult to eyeball the difference between 1.0 and 0.5, for example. On my screen they look the ...


3

In ArcMap, add both the buffer feature class and the cable feature class to your table of contents. Then go to the Selection tab and choose 'Select by Location'. A dialog box will open. With this, you'll be able to select buffer features that intersect the cable features. Once you have made your selection, right-click on the buffer layer in your table of ...


3

there is no such thing as the "sum" operator for difference (which is not permutable), so you should test the validity of each item to decide how you run the substraction. def stack(item1,item2): if item1 != None and item2 != None: return item1-item2 elif item1 != None: return item1 elif item2 != None: return -item2 ...


2

Since 10.1, you can use the image analysis tools (Windows > image analysis) to create a mask function that will perform the masking on the fly Using the Mask function, you will specify one or more NoData values or a range of valid pixel values. The inputs for this function are the following: Input Raster / NoData Interpretation / NoData ...


2

The data frame was using a geographic coordinate system which does not allow you to measure an area. I changed the data frame to a projected coordinate system which allowed me to activate the area measure tool.


2

Doesn't the third example script in the link you mentioned do exactly what you want in a single table? # Import system modules import arcpy # Set environment settings arcpy.env.workspace = r"C:/data/Habitat_Analysis.gdb" # Set local variables intable = "FIELD_NAME" outtable = "C:/output/output.gdb/TABLE_OUTPUT" # casefield = "Name" Not used stats = [] # ...


2

For a DEM, I would expect regular interval (similar to what you get with contour lines). Therefore, I would recommend a linear stretch. Maybe you could just increase the contrast in the area where you have the most data by sacrifying the contrast for the very few very high pixels (summits). So putting your line from the bottom left (0,0) to (6,8) counting ...


2

To remove polygons that don't have an intersection with lines: Open ArcMap and add the polygons and lines to the table of contents. Locate the Select by Locations dialog and select the ones that do intersect. Switch the selection by going to the selection in the table of contents Right click on the layer name and select 'switch selection'. Start ...


2

I think this question is most easily answered by taking your shapefiles and doing two tests: Append them together and examine the result Union them together and examine the result If either or both tests cause an error or do not meet your requirements then, after reviewing their documentation, you will be in a position to ask a more focussed question. ...


2

The best option is to use a query to get back the corresponding feature: IQueryFilter queryFilter = new QueryFilterClass(); queryFilter.WhereClause = "NAME = '<featureName>'"; using (ComReleaser comReleaser = new ComReleaser()) { ICursor cursor = table.Search(queryFilter, true); comReleaser.ManageLifetime(cursor); IRow row = null; while ((row ...


2

Assuming that based on the question in my comment above, you are able to edit your layer in ArcMap, there is a direct way of creating points that are in a common alignment. Start editing the layer Create your first point In order to create your next point, in the Create Features popup, instead of choosing Point in the Construction Tools, choose Point at ...


2

Essentially you can't. All of the formatting and display of basemap layers is pre-set by the basemap creator (in this case Esri). They've gone through and designed the layer to look a particular way at a given scale and you can't alter this. You could create your own annotations to sit on top of the map (using either the labeled or unlabeled version) that ...


2

Use the data driven pages tool in ArcGIS. You can point the tool at your shape file and it will automatically generate a new page for each of your parcels. It is then possible to export each of these as separate PDF or as a single PDF from the normal export map dialog.


2

I found a work around to this by using Rick Brewster's suggestions. First, I modified Rick's class by adding a constructor public ToolStripEx() : base() { } Then in my dockable window's designer class "MyClass.Designer.cs" I changed the toolstrip's declared type from System.Windows.Forms.ToolStrip to ToolStripEx. Next, in the InitializeComponent() method ...


2

You want ListFields: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v0000001p000000 in_data = "test" out_data = "testFC" fields = arcpy.ListFields(in_data) for f in fields: print f.name # join prefix and desired field names with an _ new_name = '_'.join([out_data, fields[0].name, fields[1].name]) # data_type is usually optional... ...


2

Years and Months behave differently in several ways that make your expression work for years, but break for months. Any set of year ranges that are positive will work with the original years expression. No set of ranges across multiple years alone can select just dates from a given month. For months you have to set an overall range of all dates regardless ...


2

You need to resample your 12m raster to 6m in order for the division to work. The basic way is to use Resample tool in the Data Management library.


1

I would draw them in using the distance direction tool. You can specify the angle you want to draw them at by pressing "D" and typing it in, then press "D" again to enter the distance. If you use the same direction and distance you can create an evenly spaced set of points along any azimuth you choose.


1

(Edit: The distance direction method mentioned in the other answer sounds like the way to go. Here is more detailed help on how to use that method. However, for a huge number of points on a line I would use the Distance Direction method to create a two point line at the angle you want with a length that is the multiple of the spacing distance you want and ...


1

you can do this with the tool called "select layer by location", which runs after you create a layer with "make feature layer". One of the options for spatial relationship, i.e. WITHIN_A_DISTANCE , will do the job.


1

The first step is to calculate the water usage percent. I'm assuming your units are the same (gallons, kilolitres, cups... whatever, so long as they're the same). Divide your supply by demand (100 kl supply and 25 kl demand = 25%, 1kl supply and 4kl demand = 400%) in Raster Calculator (you must have spatial analyst license) Supply / Demand If you're doing ...


1

The tool is called cell statistics. the statistics type you want is MAXIMUM. If you only want a value where they all overlap set the environment setting (Output Extent) to intersect.


1

If you get a dialog box prompting you to build pyramids, click "No". If they are built automatically, uncheck the option to build pyramids automatically on the Raster tab in the ArcMap Options dialog box.



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