Tag Info

New answers tagged

0

You put the tags "arcgis-desktop" "gdal" so I assume QGIS might be an option too? Depending on the version of netcdf, you can simply load it and then use the usual Raster -> Extraction -> Contour workflow.


0

The KML did not want to have the 'CellID' as a naming convention, a simple change to 'Name' worked just fine.


0

You are so close to the answer but in your comments you have mentioned your need to select that line based on attributes and not spatial criteria. As Michael and PolyGeo answered your questions in the comments, You can use Select from Analysis toolbox or Make Feature Layer (with where clause) to select that specific line and then buffer it. Here is the ...


0

using Arcmap 10.1 you can use an alternative option: 1. add your all geo-refed raster in a new arcmap 2. define the projection properly in the data frame properties 3. Go to windows menu and click on image analysis. 4. In image analysis tool select all your rasters and click on mosaic button present in a window below named "processing". 5. A temporary raster ...


0

you have set the domain of the field at table level. You are using subtype with your table and you must set domain at subtype level. Follow this path: Right click your FeatureClass (PW_Facilities) in ArcCatalog > Subtypes Tab > Select Pump Station subtype > set facility_type field domain to FacilityType.


1

Mosaicking non georeferenced images using ArcMap may not be possible at all. I Suggest you use online base-maps if you know the locality of the images, look for duplicate points from the image and an online base-map then use those values to first georeference so that you can Moiasack


0

In the table of contents window, when you activate a certain data frame, anything that you do thereafter will correspond to that specific data frame contents. If you add anything it will belong to the activated frame. This might help you in knowing to which data frame will your scale bar belong to when you add. If you have few data frames you could remove ...


1

The suggestion by @MichaelMiles-Stimson is a good one. Alternatively, you could type some code into the Python window of ArcMap: mapDoc = arcpy.mapping.MapDocument("CURRENT") scaleBar = arcpy.mapping.ListLayoutElements(mapDoc,"MAPSURROUND_ELEMENT")[0] print scaleBar.parentDataFrameName If your scale bar is the only Map Surround Element in your map then ...


0

You do not mention the version of ArcGIS for Desktop that you are using so I will assume that it may be something earlier than 10.2. The symptoms you describe remind of some similar errors that I encountered from Dissolve in the 9.3-10.1 time frame I think this is most likely to be due to running out of RAM. I recommend using the Task Manager to watch ...


0

Do an OS walk to iterate all folders and sub folders. For each folder list all the feature class. Split the name of the feature class at your underscore and compose a list, then process that list so the names are unique. Use those unique names as a wild card while relisting all the feature class in the same folder. Lastly run it through the merge tool. I ...


1

This question is more than a little confusing ("point data is sample not really very" what?). Your SQL query syntax is highly irregular, and fails to use the correct function to take advantage of a spatial index on the point layer. What you probably want is: SELECT b.shape FROM table_b b, table_a a WHERE ...


0

As you have access to Arcmap or ArcCatalog, Use Project tool to simultaneously project your shape files to another coordinate system and importing them into your enterprise geodatabase!


0

I am a big fan of using the glob module for this sort of work as @ccn has shown, however, arcpy.da.Walk() was designed for this sort of task. For example: import arcpy, os workspace = r"C:\temp" walk = arcpy.da.Walk(workspace, datatype="FeatureClass") for dirpath, dirnames, filenames in walk: for filename in filenames: print dirpath ...


0

One way would be to do a Spatial Join. You'll use a one-to-one join_operation with the intersects match_option. In the field mappings you'll set it up so that if there are multiple matches found it will take the MAX value. Note that you may need to first create a numeric field in your flood polygons and convert any string based range values to integers (ie ...


0

The workaround sometimes doesn't work after you add values and group categories. You need to click ok, then go back into the Layer Properties and then ArcMap will now let you calculate the counts by clicking on the Count heading.


2

There are two possible approaches to the problem, using Intersect or Union. First it would be helpful to understand what the Overlay options you mention actually do. Intersect only returns areas of overlap, Union returns all areas from both layers. It is further worth noting that in ArcGIS you are limited to two input layers per operation unless you have an ...


0

Use the tool "Multipart to Singlepart"


1

You can use model builder for this type of operation. In this example, I created a separate variable "out_workspace" that is used to define the output path in Copy Features: %out_workspace%\fc_%Value%.shp


0

If i got you, your question itself is answering the question. You used A∩B i.e. Intersection symbols so use intersection analysis to separate out common areas, for A∩B run intersection between A and B, for A∩B∩C run intersection between A, B and C- mind intersection operation input can be multiple.Documentation is at here.


0

The 'V' shape designates a valley where the river runs. If the valley is a gentle the contours will be more U shaped. Sharp sided valleys are shown with Vs. The Us or Vs point uphill - in the direction of the higher ground.


0

You have mentioned , I want just to display it as a service. To display an image service, you should create an image layer and then you can add this layer to the map or show it in a list. Then the user can manually do analysis with Arcmap (Clip,Attribute or Spatial Query,...) For services without authentication: public static IImageServerLayer ...


2

To combine text and numbers in a field, you need to make a text (string) type field. You won't be able to do math with your numbers in a text field (if you have letters in it as well). This is a property of the shapefile itself, and is not directly related to your software (eg. Arcmap).


3

As the tool Sort_management creates an output table with the fields sorted this should be ok to do.. just remember that as a shapefile it wont stay sorted if you edit it; the edited row moves to the end of the table. From the description the tool expects a list of lists (or tuples I think), so to sort on multiple rows you need to create a list of lists.. in ...


2

just to venture a guess - was the shapefile projected to the new coordinate system or re-defined as a new coordinate system? (i'll assume ArcGIS was used) it almost sounds like define projection was used, which will not actually modify the geometry of the polygons - it simply tells GIS that the polygons are in a given projection. Thus, if a poly spans from ...


0

As open source solution you may use GRASS GIS 7 which offers the module r.viewshed that computes the viewshed of a point on an elevation raster map. You can define observer_elevation=value - Viewing elevation above the ground target_elevation=value - Offset for target elevation above the ground In addition, there is r.horizon which lets you generate a ...


0

From the screen shot it looks like you are starting the output names with a number? Geodatabase tables are not allowed to start with a number or have spaces in them.


0

I assume that your railway lines are not already divided up into the 5m segments. If they were, you could just create centroids (Feature to Point with Advanced or adding two fields and using Calculate Geometry to get the coordinates, then converting that xy to a point) from your lines and that would give you the points you seek. You could theoretically find ...


2

If I understand the question, you are trying to have the same layout but have the map pan to each grid cell for printing to pdf. What version of ArcGIS are you using? At 10.x you can use data driven pages for this task. http://resources.arcgis.com/en/help/main/10.1/index.html#//00s90000003n000000 What is the purpose of clipping everything? As a faster ...


1

This the natural behaviour about relationship classes. It simply doesn't show the links. For example take a look at this video tutorial: Create Many to One Relationship As a replacement, I highly recommend Sparsx Enterprise Architecture..


1

This is also called "binning", which when applied to hexagon polygons, is referred to as "hexagonal binning" or simply "hex binning". There is a top-notch blog article (Binning in GIS) at GIS Lounge on the subject, which points to an Esri blog that explains how to create the maps in ArcGIS Using a binning technique for point-based multiscale web maps ...


0

Matchlines are typically a feature found on plans, not maps. I'm not aware of any tool to directly implement them in ArcGIS. It's possible there are such tools in some of the mapbook extensions available out there. However there is a workaround that can roughly do it. First, you need to create a new feature class and actually draw in the matchlines where ...


0

The problem isn't an actual lack of minimum vertex count per entity type, but that there are likely coincident vertices causing improper construction. I would suggest to examine the shape or geometry columns of your data for coincident vertices within the same geometry. You can put together a script to loop through and identify these if you have many ...


0

Try using Strip Map Index Features tool, to create your index layer. This tool generates the pages in an order that maintains the continuous run (a pipeline, an electric feeder,...). Then you can use the PageNumber Field as your sort field. If you have already used this tool, and it doesn't suffice your needs, then you have no other option than manually ...


1

Add a Textbox (Landowner) to the ReportFooter and set its Summary parameters like this: In the image, DCount, stands for distinct count.


0

I am not sure if this would apply, but instead of changing the values, could you just change the display. See if this will help you...check Ryan K's answer. Setting default units for Shape_Area to be Acres using ArcGIS Desktop 10.0 Good Luck


2

I would eliminate the duplication before the merge, then address this in a couple of steps. Join File2 to File1 (Right-click File1 in the table of contents, choose Joins and Relates/ Join, Join attributes from a table. Base the join on Column C. The table to join to this layer will be File2, and the field to base the join on will be Column D. Choose Keep ...


0

I don't know if you are still following this, but the summary table steps outlined above were right on... but you needed one more step to create the summary table WITHOUT all the individual rows. Select the "Number" box within the detail, set its Can Grow behavior to "False", set its size to 0, 0 in. Next set the Detail area's Can Grow behavior to "False", ...


4

(1) I have usually heard of it referred to as a "Hexagonal Map" or "Hexagonal Grid Map". Both queries turn up a lot of relevant results in Google. Example Link Here: http://anitagraser.com/2012/03/04/mapping-density-with-hexagonal-grids/ The link above also outlines the process that you would use in QGIS. If you want to do it in ArcGIS. This article ...


3

Field Calculator can only update one field at a time, so you could perform slight variations of a calculation for each field. Or, if you're willing to try a little Python you could use arcpy.da.UpdateCursor to do it all at once. Could even just drop this into the Python window (modifying for your own table path and field names of course). import arcpy ...


1

The good news is that your data is good. Your file is not displaying correctly in ArcGIS because the spatial index for a shapefile is not updated during editing in QGIS. The comment reply by elrobis has an excellent suggestion to use ogr2ogr to export the file, which should fix the index problem. Simply deleting the spatial index files (.sbn and .sbx) will ...


3

Here's the code and steps you will need to follow in Field Calculator: def get_node(node_text,node_number): parts = node_text.split(',') node_val = float(parts[node_number][parts[node_number].find('_')+1:]) return node_val Make sure that Python is selected as the Parser option Click on the Show Codeblock check box Paste the above code into the ...


1

First ensure that the input and target raster contain the same number of bands. pixel_type (1_BIT) You must set the pixel type to match your existing input raster datasets. If you do not set the pixel type, the 8-bit default will be used and your output may be incorrect. I suggest to run this tool from GUI (ArcMAP) and after a successful run, extract ...


0

You don't really need polygons, and in fact points for your origins and destinations would work better. You can have a point represent a building or parking lot, but it sounds like you're working at a pedestrian scale in which case it might be better to have points for specific building entrances or other such destinations. The most important thing with ...


0

I got it figured out, I had to mess with the references in VBA, I turned on the correct one, however I do not know which one was the "correct one" Thanks for the help! VBA References


1

The code presented in your question doesn't match what is asked for in the question. "I'm trying to label certain features using a specific field (osm_name_58_en). However, when this field is null, I want to label the feature with (som_english_32_name). If both are null then I want to label with the (amenity) field." This sentence implies that you only ...


2

The Correct form of your code is : def FindLabel ( [amenity], [osm_english_32_name], [osm_name_58_en] ): if not ([osm_name_58_en] is None): return [osm_name_58_en] elif not([osm_english_32_name] is None): return [osm_english_32_name] + '\n' + [amenity] else: return [amenity] The semicolon in the last line is removed. ...


0

Yes, it can be done. You will need urllib / urllib2 to download the csv. (See this stackoverflow question.) To load the CSV you will probably want to use Make XY Event Layer To transform coordinates you will need to Project it.


3

Copy/Paste your shapefile to the Data Frame/Table of Contents so you have two copies of the same shapefile: Definition query one of the copies for Yes values, query the other for No values: Then symbolize each by ID field: The result should be something like this: Just a disclaimer, this method is purely for display purposes.


4

To resolve the issue I did the following: Deleted extra installs/instances of Python outside of my ArcGIS10.3 folder. Reset my environment by following the steps in "Learn Python The Hard Way" by telling it to look in "Python27\ArcGIS10.3" Used "Repair Program" from the Setup application within the main folder for ArcGIS\Desktop Things seem to be ...


0

Since I could not get any fix for this issue, I wrote an ArcGIS extension for searching for tools. I may extend it to enable searching for other things besides tools in future. It is available for download from Tool Finder v1.0-beta.



Top 50 recent answers are included