Tag Info

New answers tagged

2

The Field Calculator configuration below will do your Odd pages field. It assumes that OID is a numeric field (which it will be) and that your Odd field is text. I will leave you to work out how to do the Even field. The modulo (%) operator in Python is described here. Parser: Python Pre-logic Code: def Reclass(oid): if oid % 2 == 1: return ...


0

The purpose of that box is to control how far generated polygons will extend beyond the outside edges of the network. Consider a dense grid of streets as in a city. Service areas for facilities near the edge of the network may extend well beyond the range of your network with high enough break values. You are not concerned with areas beyond 'city limits', ...


0

I'm not an expert on the function or its ArcGIS implementation, but based on your description and some reading I see two issues with your method and proposed solution. If it is correct that it ignores either the date or the time portion for any single calc, your solution assumes there are no fields that differ more than 24 hours. Also, as you've already ...


0

with perfect run off and if time is not taken into account (instantaneous run off), your sink will be filled when the area of the catchment multiplied by the height of the precipitation is equal to its volume (assuming that there is no run off FROM the sink). So you want the volume of the sink divided by its catchment area. see watershed if you need to ...


1

As @Erica said, there is an indentation error in your code block. I'm surprised it isn't throwing a Syntax Error when you try to run calculate field. In any case, codeblock = """import math def GetAzimuthPolyline(shape): radian = math.atan((shape.lastpoint.x - shape.firstpoint.x)/(shape.lastpoint.y - shape.firstpoint.y)) degrees = radian * 180 / ...


2

Every time you want to display information from the surface of the Earth on a map (or on a flat screen), you are doing some kind of projection. It is however not necessary to use a projection for analysing your geographic data. When you work in a projected coordinate system, different types of distortions may occur, and it is impossible to build a ...


0

1) feature vertices to points to get some points along your stream (if you don't have ArcInfo, you can use ET Geowizard) 2) extract value to point ta extract the value of the DEM for each point.


0

For other's clarification, the tool you are referring to is custom written for a toolbox included with the Fire Run Book. I do not know the specifics of the tool, but it is written only to output a PDF. It might be possible for someone to modify it, but that would be beyond me. There is also a script tool at the link below that could be used/modified. ...


0

I used to do this quite a few years ago for lease mapping, first using Excel spreadsheets, then database data. You need to join your spreadsheet data onto your PLSS features, using a unique identifier for each section. So for a given section, its unique ID would be something like: 05-14N-32W-14 where the order is meridian-township-range-section. The actual ...


0

It is possible that you may be encountering the same issue as in this ArcGIS Discussion Forum thread. From there the advice would seem to be: Is the data in a GeoDatabase? If the data is a shapefile then you probably won't get good or any results. If the data is in a PGDB then try testing queries in Access directly. When it works move them into ...


2

I had a similar problem to yours when my work upgraded its computer and changed around the network. In my instance it resulted in hundreds of maps with broken data links. I wrote a script that, for all intensive purposes, should work, but fails whenever it reaches the lyr.replaceDataSource, and ultimately crashes when a datasource is a personal geodatabase. ...


0

Technically yes, but it kind of depends on your situation and existing data. What you're talking about are Feature Templates, also discussed at this blog post. However the templates may not display as you set them if there are already features symbolized in the map. If you do have existing data symbolized in the map, you don't have to create a layer file ...


4

The Production TOC Manager toolbar is a part of the Aeronautical solutions extension or possibly some other specialized extensions which can be purchased separately. I believe this extension also requires a Standard (formerly ArcEditor) or Advanced (formerly ArcInfo) level extension. If you have purchased these extensions, make sure to enable them in ...


1

Without an Advanced level license of ArcGIS for Desktop your best alternative may be to use ArcPy and Geometry objects. Upon seeing the Comment from @Michael Miles-Stimson I looked in the ArcGIS 10.2 Online Help and found that the Polyline object has a queryPointAndDistance method which: Finds the point on the polyline nearest to the in_point and the ...


2

the Create Random Points tool does exactly what you want. It requires either an Advanced license, a 3D Analyst or Spatial Analyst extension.


0

Not sure if this will suffice but; If you have 3D analyst you can interpolate your temperature raster independently then drape it over the DEM and visualize in 3D in ArcScene. This way you could analyze the heat data in relation to elevation. Alternatively, you could generate a hillshade raster from your DEM and either overlay the hillshade model over your ...


0

Maybe you should start with a "repair geometry" and check your coordinate system to make sure that your shapefile is not the source of your problem. If calculateField still doesn't work, but the rest of your Python script runs properly, probably the best solution would be to use an arcpy.da.updateCursor() and compute the area for each row. Possible ...


1

I know this is an old thread, but I think there are much easier answers to your question. If you want to classify your data by Standard Deviation, you can choose this classification option under the Symbology tab of Layer Properties. Once you do that, you can see, very rapidly, where the stdev breakpoints are, and can then use those breakpoints in any ...


1

@Mapperz suggested I configure my tablet not to response to double click. I tried doing this but the features were non-responsive. It seems that the Pen and Touch and default windows tablet features and services are taking over some of the Wacom Intuos functionality. After I turned of the Table PC Input Services and then Tablet PC Component Features and ...


3

If you're using ESRI you need Network Analyst extension in order to build a network dataset, but with Spatial Analyst you should be able to use the Cost Distance tool to produce something along the lines of your desired "contours."


1

The documentation only makes mention of being able to use shape.area on Python expressions. You will need to use a Python expression to do this. I would very strongly recommend reinstalling ArcGIS. Python not working is indicative of a corrupt installation of ArcGIS, and working around it will not alleviate the problem in other areas.


4

You could try the Identity tool, using your line features as the input, and polygons as the identity features: "When the Input Features are lines and the Identity Features are polygons, and the Keep relationships parameter is checked (relationship set to KEEP_RELATIONSHIPS), the output line feature class will have two additional fields, LEFT_poly and ...


2

After you round the values, you could create a new field and make sure to set the scale to 3 and calculate the values over. Check out the ArcGIS 10.2 Online Help for Add Field: field_scale Sets the number of decimal places stored in a field. This parameter is only used in Float and Double data field types. If the input table is a personal or ...


0

Use "zonal statistics as table" and not "zonal statistics" if you want a table as output. The resulting table will be visible when you set your table of content to "listing by source". Then you can use Table to Excel.


1

I would recommend using Zonal Statistics as Table rather than just Zonal Statistics -- since your end goal is a table (in Excel), it is a more direct workflow. The statistics are the same, but the output is a table. I am not entirely sure whether Excel is able to open .dbf files (one of the available table formats) directly; if not, you can open it within ...


0

In ArcMap, you can export any table of attribute data to a separate table. Right-click on the feature of interest (your Zonal Statistics output, in this case), and select "Open Attribute Table." In the table view, click the Table Options button (top left-most button) and find "Export..." and then you'll be able to export just the table of data. Once you ...


1

What you are looking for is called Zonal statistics. Make sure to specify a field with unique values in your polygon file with counties. I would probably also exclude any county that hasn't got any points in them at all, since the interpolation there will be very uncertain (or counties with no station within a certain distance). NB: the suggested tool ...


4

You can create unique values but based on which polygon the point resides in. Add a unique attribute which is at least 10 times larger than the amount of points to your polygons, and the join this value to your points. Like in your example, the upper polygon would have 100. Join to your points and create unique values that is something like 101 and 102. ...


2

There is the "Rectangles ovals digitizing” plugin in the official QGIS repository. To activate the tools in the tool bar you have to first select a vector layer containing polygon or multipolygon features. After that start editing on this layer. Of course, it doesn't work for vector layers containing point or linestring features.


2

You can try using the Maplex labeling engine which will give you more control than the standard labeling engine. In the labeling toolbar, enable Maplex. There are several options in which you can adjust the settings for feature weights and overlapping labels. See the ESRI documentation. Weights can range from 0 to 1,000. Features with high weights ...


0

This is possible by assigning a higher weight to the line layer's features than to the point layer's labels. Open the Properties dialog for the line layer, and choose the Labels > Placement option, then set a High value for the Feature Weight. This causes ArcMap to move those labels which would have overlapped the lines, or to omit drawing them where ...


1

Part of your error is in the tool you used. You may want to convert them (depends on what you're doing - it's more likely you'll want to go the other way and have your GPS points projected to your contour CS), but that's not what the Define Projection tool does. That tool is intended to be used when you know the projection the data is in, but it doesn't (no ...


0

If you haven't sorted this yet and are after a deviated linetrace I would use your bore collar XYZ to calculate downhole points using fields such as: Borehole_id, DH.X = Collar.X + AXLE, DH.Y = Collar.Y + AXLN, DH.Z = Collar.Z - TDEP Create 3D points from the table using DH.X, DH.Y, DH.Z and then Data management > Points_to_Line breaking the lines on ...


4

If it originally shows as "unknown" for CS how is it/how would I know that it is a PCS? Decimal degrees range from -180 to +180 west/east and 90 to -90 north/south, so the values you're seeing are definitely not decimal degrees. If there was no metadata provided with the contour data (and the agency isn't able to provide any information), you may ...


0

3D Analyst tools >> Data management >> TIN >> create TIN


1

Judging by the picture and what has been already written in the answers and comments, there are a few options open to clearing up the labels. My first suggestion is to significantly lighten up the colours used as this is a print map and everything comes out darker than what is on the screen, at least with the printers and plotter I use. You could also ...


3

For a printed map, placing labels dynamically is only the first step. This is where you design your colours, label size and basic placements. Step 2 is to export the dynamic labels into static or feature-linked annotations and place every label manually. Personally, I would try making this map a little more generalized; Thicken all the named roads so that ...


1

Look at the analysis toolbox in the geoprocessing tools. There are many ways of doing what you want. A basic union is probably the easiest as any attributes from the polygon will be added to parcels it overlays.


1

Couldn't you just do a Select by Location and for the target layer use the parcels and for the source layer use the polygon layer and for the selection method use either- are within or are completely within the source layer feature? Then you can use the switch selection in the attribute table to see which ones are not within the source layer.


1

If this is for a printed map, you could try labeling just the first and last houses on a block, or even one label per block, with the block number. That would let you use larger text. You could use graduated colors to indicate increasing address numbers from one end of the block to the other. If this is a quick reference for street navigation, you don't need ...


3

Three possibilities come to mind right off: Increase your map scale for the entire book. This of course has the downside of adding (potentially lots of) pages. Create inset maps or additional detail map pages for dense areas such as those above. On the main map, you put a line around the area and then label that with an address range of what is contained ...


1

Well, I don't know what software you're using to view or configure this in, nor do I know what source data you're using to produce this map; however, that being said, I will assume this is for some form of interactive map and you're using building polygons with the address numbers in a field and that you have a road center line feature class with address ...


0

As @hornbydd mentioned in the comments, the Sampling Design tool has the ability to create stratified random samples. There is a version for ArcGIS 9 and 10. However, you would still need to intersect the two dataset as @radouxju mentioned and create a new field that combines the gridID with the forest attribute. The sampling tool allows you select a field ...


2

dissolve your forest as a multipart polygon intersect with your fishnet use the create random point tool with the result of your intersection as constraining feature class, and 1 as the number of point CreateRandomPoints_management (out_path, out_name, {constraining_feature_class}, {constraining_extent}, {number_of_points_or_field}, ...


3

you cannot use equal with more than one value use either in or OR to do this "\"STATION_ID\" IN ('CAP', 'DDM')" "\"STATION_ID\" = 'CAP' OR \"STATION_ID\" = 'DDM'" note that I recommand using """ to clarify your strings """ "STATION_ID" IN ('CAP', 'DDM') """


0

I ended up figuring it out. There were two issues. One you have to use full path names. Even though it lets you drag and drop layers into the calculator that is functionally useless. Second the code "- band_#" is not correct. x:\directory\file.tif\band_# is what ended up working.


1

Apparently, there is a GWR function in R. I have not applied it myself, so I have no idea if it can be applied to rasters, but I did find this document for the command in R: http://cran.r-project.org/web/packages/spgwr/vignettes/GWR.pdf and this GWR python library: https://github.com/mkordi/pygwr


4

I'm assuming the page numbers are pulled from the attribute table of the layer you are using to create the DDP and can therefore add a dynamic attribute. If you have two text boxes one on each side for odd and even pages I think you should have two separate fields in the attribute table, one for odd the other even which would only display the text on the ...


2

No, you cannot modify the parameters (size, position, etc). The style sheets are only for adding an image or some text into the tool dialog background. Per the topic referenced: You can change the appearance of a tool dialog, using your company logo as the background image, for example, or adding text. You cannot customize the parameter controls, ...


2

Just been looking at this thread and followed the link to the other thread which showed Numpy being used. I've personally never used this approach before so I started reading the help file about it and I think this can all be done in 5 lines! The dataset I tested this on was a polyline layer representing the rivers of the Amazon. So my code is as: InFc = ...



Top 50 recent answers are included