Tag Info

New answers tagged

2

Yes - I use the Rectangle Text tool from the Draw toolbar instead. It is not well known (see the number of times it is requested on ArcGIS Ideas) but is documented as Adding text that flows within a graphic: You can add text that flows within a graphic to your map annotation or graphic text by using the Polygon Text, Rectangle Text, and Circle Text ...


0

You could definitely do as Johns describes and create an additional field to be your symbol field based on the other three attributes. This could be done by using the field calculator with VB or python. Set the parser as Python, Click "Show Codeblock" For example: Using if and else statements you can populate your new symbology field with integers or text. ...


3

I think I see what is happening here. If you are in North America (and I think using State Plane for Alabama indicates that you are). You have your x and y switched in your spreadsheet. Latitude (Y) is going to be in the 33 range and Longitude (X) is going to be a negative number (-87 +/-). I see also what Dan is saying. I would probably handle this by ...


2

I think the issue is that your data is in wgs84 or another projection, but by entering the state plane projection into the event layer dialog, you are telling arcgis that your input data is in state plane already. you would need to set the coordinate system of the input to the correct one, and then convert it to state plane.


4

These data are in longitude and latitude, I would set your data frame to a geographic coordinate system WGS84, save the file to another format (ie shapefile) and use the Define Projection tool to establish its coordinate system...then use it


1

Sounds like your route layer is not calibrated (as hinted by @FelixIP). It's not enough to create a polylineM featureclass you also need to give those polylines a measure along their length. The measure does not have to be in the units of the dataset (although it usually is). So for example you may have a dataset in UTM (so in metres) but your measure is in ...


5

This can be achieved by setting the format of the field in ArcMap to Currency Go to the layer properties > fields tab > Your CONTRACT_SUM field and set Number Format to Currency. It will use the symbol from the localized settings, so in my screenshot its £ but if you are American you will get $. You will then observe the $ symbol in the Identify window.


2

If you want every cell that contains a building to be switched on then don't use the polygons... Create centroids using Feature to Point for the polygons and use Point to Raster to generate the raster. This will guarantee that each cell that has a building centre on it will have a value. Optionally, if you want cells that contain part of a building but not ...


1

Looks like the cell assignment method is CELL_CENTER (so polygon would need to be located over the cell center to be digitized). Using MAXIMUM_AREA will capture more of the polygons, although possibly not all since the cell size is so much larger relative to the polygons. You might get closer to the results you want if you first make a Minimum Bounding ...


1

On your Windows Task Bar, near the clock, you should see a globe icon (you may need to choose the Show Hidden Icons arrow). Right-click on this and choose Test Connection Now - this will attempt to connect to ArcGIS Online. When it's connected, hovering over the icon should show "Connected to ArcGIS Online". If that fails, try Run Connection Test to ...


-1

You can use the Integrate (Data Management) tool. It will do what you want. Integrate is used to maintain the integrity of shared feature boundaries by making features coincident if they fall within the specified x,y tolerance. Features that fall within the specified x,y tolerance are considered identical or coincident.


6

As troubleshot by @Paul, the error message is being triggered because you have placed your *.gsg file inside of a file geodatabase folder (*.gdb). It seems like the Maximum Likelihood Classification tool is getting confused by this. However, the error can be easily avoided by ensuring that your *.gsg file is NOT inside of a file geodatabase folder (*.gdb). ...


1

The Field Calculator would crash on me whenever I would run the Field Calculator to update about 2,300 records on a point dataset that was generated as a checkout file geodatabase. This turned out to be a known ESRI bug where ArcMap would crash if the Field Calculator was used on more than 100 records at a time in a checkout file GDB, and was addressed in ...


2

If you want a single polygon (which you have indicated), you want to use Dissolve. This is under Data Management Tools in the toolbox. It is also in the Geoprocessing menu. http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000005n000000


1

You want to use Merge in an edit session. This will modify the original shapefile. Click the Edit Tool on the Editor toolbar. Click the features you want to merge. The features must be from the same layer. Click the Editor menu and click Merge. Click the feature that the features will be merged into and will supply the attributes for the ...


2

Try the following workflow: Reclassify your rasters so that Value = 1. Calculate Cell Statistics using a "SUM" statistic. Any value in the resulting raster > 1 is an overlap area. Additionally, the value of the resulting raster indicates how many overlapping rasters there are.


3

I'm not entirely clear on what you did, but I suspect you've misunderstood how map documents work and the distinction between data and symbology. Layers are just symbolization. You can have the same shapefile data represented ten different ways on ten different layers in a map. Layers are an mxd thing, not a data thing. If you start editing, now you're ...


1

Your question is a bit unclear. I try to explain to you what this script does: You have a column A and a column B. Depending on the values in column A we populate the empty fields in Column B. change(!A!) #write that into Expression of your Field Calculator, with the "!" you tell ArcMap in Python that this is a column def change (A): #everything from ...


0

The ASCIIToRaster tool is not interpreting the file names correctly, despite you setting the workspace environment. You need to include the full path, so in your case your line should be: arcpy.ASCIIToRaster_conversion(env.workspace + "\\" + ascFile, env.workspace + "\\" + rastFile, "INTEGER") Also as @Erica says you should get into the habit of placing ...


0

Check whether the raster exists by using a print statement, e.g. for ascFile in ascFileList: print ascFile If that prints a list of .asc files, try rebooting. If that doesn't work, check that the ASCII file will convert properly by testing just one (in a separate temporary script). import arcpy ...


0

This answer was submitted by @Vince in the comments to the initial question. In a direct connection the Instance parameter needs to look like this INSTANCE = sde:sqlserver:(servername) and the Server parameter is ignored. More information can be found here


1

If you've already done the join, yes. If not, then you should start with the Join Field tool. This allows you to directly write attributes from one file to another based on a join (a one-step process rather than join/export two-step).


3

Joining a table to a shapefile won't change any data in your shapefile's attributes (thankfully!). Once you have the table joined to your shapefile, which you've done successfully, use the Field Calculator to copy the values from the joined table's fields to your shapefile's fields: Right-click the shapefile's field heading (we'll call it Field 1). Click ...


0

I've just written this for a similar task. It's for 10.2 but I think it will still work: def unique_values(table, field): with arcpy.da.SearchCursor(table, [field]) as cursor: dict = sorted({x[0] for x in cursor}) print type(dict) #testing to find type for i in range(len(dict)): whereD = dict[i] fname = whereD[0:5] + "_" + whereD[-4:] #just to ...


0

The last tip with the green tick mark solve my problem. Just to the the Untility and choose the "AdvancedArcMapSettings.exe", then check "create features using templates", reopen your arcmap, then start editors, everything works.


1

This tool has saved my life many times when working with excel data, or converting excel data in ArcGIS. The tool is called, Table to Table This tool allows you to format each field before you import - so that you can verify everything is correct (ex. text is text, and date as date). I've found ArcGIS works funny with excel, and it's best to import excel ...


0

Both the Field and Alias can only be changed in the Properties\Field Properties within a .gdb using ArcCatalog. Later versions eg 10.2.1 and above have a Data Management / Alter Field tool (although still only for .gdb). I export the changed file back to a shapefile for further use. A solution will be to change the MapInfo header file to align with the ...


1

I recommend working in a File Geodatabase and examining Shape_Length of feature_class + "_split". Sort Shape_length ascending, you may have zero length geometries from splitting lines very close to the start or end of the Line. As a test, delete the features that have 0 for shape_length and see if FeatureToLine finishes.


0

Not sure about your specific error, but if you are trying to split your input line FC where the features intersect, why not just return the output of the Intersection tool output as a line (output_type="LINE" or better yet output_type="INPUT")? I think you may be doing some gymnastics that are unneeded.


0

If you have access to the Spatial Analyst extension, you can also use the extract by mask tool.


2

You need to remove the trailing colon on the last line. return myText: should be return myText I don't see anything else that jumps out, but that's definitely the cause of the current error you're seeing.


1

Sounds like you want to use the Append tool. So if your new data is EXACTLY the same format you could append the data to an existing table. Think of it as adding more rows to the end of the table with your new data.


2

Here are a few options for clipping in ArcGIS: Clipping the DataFrame This allows you to draw a shape with the draw tools and "Clip to shape" which may be more what you're looking for. You should be able to draw a shape like a polygon and clip to it using this option. Using the Editor to clip. This is a quick and dirty way to clip your existing dataset, ...


-1

Use esriSimpleFillStyle.esriSFSHollow. Or even esriSimpleLineStyle.esriSLSNull can be used.


0

I figured out a few reasons why my WMS layers were not drawing: I was adding individual WMS layers to the map - layers will not draw unless the full parent WMS group layer service is added - individual layers can then be turned on/off as desired. Folder permissions on our ArcGIS server were set incorrectly for WMS service. I'm not sure why it was letting ...


5

It has already been created. Try SplitLayerByAttributes


0

One way this can be done is in a python script. You'd need to ask for the name of the field you are interested in (in your case it would be the county code) and extract unique values from its rows with a SearchCursor. You could save the data to a list and then iterate through the list and use a where clause with arcpy.Select and output each separate ...


2

I would use the following workflow to calculate the area within the classes: Reclassify (Spatial Analyst) the kernel density output to whichever classes you are using. By default ArcGIS creates a continuous raster surface for the kernel density output, but reclassifies the legend (which is temporary). Using the reclassify tool will make this permanent. ...


0

One quick solution to this is a manual solve: Open the properties of the raster and go to they symbology tab. Presumably the symbology is already set to Classified and the number of classes are what you want. Click the Classify button. On the right side of the dialog is a Break Values box. Click each break value and at the bottom of the dialog you will see ...


2

-1.#IND returns when an incorrect mathematical operation is done, like dividing by zero or the square root of a negative number. Maybe GRASS tool used standard deviation of NoData set as -9999. I suggest two solutions: Check your source NoData value, if it is negative, change it to positive. If you cannot change it or if it's positive, you can convert ...


1

Assuming that your kernel density plot is a raster created using the kernel density tool or similar, this is just a matter of using the Raster to Polygon tool. Make sure you specify the field that defines the classification of the raster and it will convert it to polygons. You can then use the Calculate Geometry tool to calculate area.


0

I agree with Vince. Use a mosaic dataset in ArcGIS. It does a good job of on-the-fly cropping of map marginalia by using the footprint of the actual data area. See here : What is a mosaic dataset Creating a mosaic dataset


2

Open a new dataframe, don't add a basemap, just the shapefile, move your mouse around on the screen and look at the coordinates towards the middle are they small numbers that look like latitude and longitude? Open windows explorer and navigate to your shapefile... look for a *.prj file, if you don't have one, then you are working with data that no ...


2

Once you get the shapefile/projection problem solved: Kriging is a method of interpolating points to create a continuous surface. I think that you actually want to use graduated colors to modify the symbology of the points, manually setting classification breaks at the values you need.


1

If you have a table with a row for each combination of year and point ID, then you have a many-to-one relationship ... multiple rows (years) for each point. This is always a pain in GIS because you have can't visualize multiple related rows very easily. If you have few enough years you have to deal with, you can work around the problem by creating a column ...


2

See this question: Event raised when selected layer changes in TOC, but it will unfortunately not be good news for you, as no event of such kind is available in ArcObjects. The answers will provide some hack-ish workarounds which you may find useful.


3

By using "<FNT name = 'Arial'>" + ' ←' + "</FNT>" + ' Pathway to Moosehide Village ' it came out fine and kept the original font. Thanks for all the suggestions.


0

While I'm unsure why this is occurring (my best guess is some font capability issue), if you add graphic text (in the Drawing toolbar) on top of your map in the Layout View and export to pdf -the arrow stays. I just tested this myself. I hope this helps!


0

You can approach it in different ways, better working with same type of layers: both raster or vector files. I would do in a quick&dirty way: Use "Polygon to Raster" to convert sinkhole shapefile into a raster: Value field "FID", Cell assignement "Maximum Area", Cellsize same of risk raster, on Environments/Extent snapped with risk raster. Reclassify ...


2

When performing the attribute join in ArcMap, the joined information (that you can see in the attribute table) is stored within a map document (.mxd) file. In order to save joined fields in the new shapefile (so it will have fields for each year you need), you have to export the joined layer from the table of contents. The result shapefile exported on the ...



Top 50 recent answers are included