Tag Info

New answers tagged

0

May be the problem has already been solved. I was facing the same problem and today I fixed it in this way Customize--ArcMap options---Data view---round coordinates to (select from drop down).I put 6 and that worked.


1

This sort of problem is what the topology tool was made for: Create a topology for this layer using the "No Gaps" rule Validate the topology Add it the TOC Use the fix topology tool to Create Features. You can do this one by one or all at once.


2

Depend what means 'many holes', but if it's not hundreds/thousands you can always use Auto Complete polygon tool. All you have to do is start edit session, select the tool, draw the line across a hole and merge created polygons to required polygon. It is better than digitising and Trace but still semi manual… see screenshots: Select Auto complete tool and ...


0

You can start editing on the selected polygon and snap the new vertices to the boundaries of the polygons surrounding the hole, effectively increasing the "selected polygon" to the area contained by the hole. You will also have recalculate the area in the attribute table to update the entire area. This can be accomplished using the tools in the editor ...


1

I would edit the polygon layer. trace the missing polygon boundary. merge the selected polygon and the newly created one. screenshots edit Trace create a new feature using the autocomplete polygon tool. @ChrisL is correct... You can simply draw a line crossing one of the edges (justone single segment from one existing polygon into the ...


1

I think the comments on this question are worth placing into an answer which I'll make Community Wiki: Try applying the spatial reference to the shape -- poly = arcpy.Polygon(ar,wgs) – Vince Jun 25 at 12:08 Yes, I would do as Vince says and add a spatial reference, otherwise the polygon has no idea where it is supposed to be. Also, you can ...


0

You could handle this using esri.request, or directly perform an AJAX request. Either way, you want to hit the layer's ArcGIS Server REST API. Eg take the sample layer http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2 You can interrogate this via an AJAX request to ...


2

Shapefiles use dBase databases, which do not support null values. Any null values in numeric fields are stored as 0 and strings as a blank space (regardless of software). If you want true null value support, you need storage format that is null capable (such as a file geodatabase). Alternatively, you can import the records that do have coordinates and ...


0

If we print out your formatted string we get this: '"OB_ID" =\'id_LCC\'' This is not what you want. Format considerations for file GDBS are as follows: Field names are not qouted If the value is a string, use single quotes If the value is a number, do not use quotes Review the help docs for more details Use .format to simplify the variable substitution ...


0

If the purpose is to link data found in an attribute table to and excel file where the spatial information isn't necessary it may be best for you to export the attribute table as a .dbf. You can drag and drop the file into an open excel table (2010 maybe earlier), once the file is open in excel you can do all of your joining within excel and not ArcMap. It ...


1

You need to understand that ArcMap data is stored like a database instead of like a spreadsheet and so you need to use the tools ArcMap provides to efficiently get data in/out of it. There is a pretty thorough guide here on how to work with excel data in ArcMap. The actual function you are likely looking for is Excel to Table edit: or try converting your ...


1

You are asking a lot of questions, not just one. Are this is due to abnormal values that have been accounted for no data values. NoData values will be excluded from calculations. If the value of 0 is being used to notate NoData, you are going to have bad results. Check the attribute table to see what your data uses (other popular choices are -999 and ...


3

Another solution that is in concert with Aaron's solution, arcpy.AlterField_management(r'C:\Data\Garbo.gdb\Khyber', 'oldfieldname', 'newfieldname', 'ALIAS') is the easiest way to achieve this. There is the equivalent geoprocessing tool named "Alter Field" to be used in Model Builder. This tool is available starting with 10.2.1 Before running the model ...


2

Feature Class to Feature Class would be your answer. Particularly Field Mapping part is what you are after. If you look at the example below, names of the three fields on the left table are altered to new ones with this tool. One last note, if you have many fields to rename, this approach could be advantageous over the answer in terms of processing speed ...


5

You cannot rename fields in an attribute table. However, you can add a new field and copy the values from the old field to the new one. Finally, delete the old field if you wish. In sum: Add Field Calculate Field Delete Field (optional)


0

I have recently visited the link that you shared originally - it seems that the discussion continued and now it is possible to incorporate Add GTFS to a Network Dataset - http://www.arcgis.com/home/item.html?id=0fa52a75d9ba4abcad6b88bb6285fae1 - I am currently attempting to incorporate time tables into a multimodal public transport network myself. So perhaps ...


0

This is a snippet from one of my working programs that exports the result to CAD: Dim vGP As ESRI.ArcGIS.Geoprocessing.IGeoProcessor2 = New ESRI.ArcGIS.Geoprocessing.GeoProcessor() Dim Params As ESRI.ArcGIS.esriSystem.IVariantArray = New ESRI.ArcGIS.esriSystem.VarArray() Params.Add(vScratchWS.PathName & "\Grid;" & vScratchWS.PathName & "\ac1") ...


1

In QGIS you can open the Project Properties dialog and there you will find a tab called relations, where you can have a one-to-many relationship between a spatial feature and several rows. Have a look at this blog post, it describes how to use the feature: http://fulcrumapp.com/blog/using-relations-in-qgis/


0

Converts my solution to a comment. Maybe more words makes it less trivial? Regardless, all these answers may work, but the SuperOverlay format is horrible, and the quads thing is pretty limiting/crude. I reverse engineered an output from OKMap... And you could use that, but I posted a script for ArcGIS here:Exporting 3GB ArcGIS Raster to KML without losing ...


0

I recommend getting a 3D Analyst license and using Add Surface Information. Or, use Interpolate Shape followed by Add Z Information, which allows some features to return NA values without crashing the entire program. Otherwise, there are two proven free methods that require more legwork. It is possible to implement these from within QGIS, so that you don't ...


-1

Uhg. Just learned this: watershed area (in km^2) = #pixels accumulated *cell size^2 (in m) / 1000000


1

Choose Geoprocessing->Dissolve. Check "Building number" as the Dissolve Field. Add "North" "East" "West" "South" as Statistic Fields, and choose "MAX" as the statistic type for each. This will work if your entries are all positive.


1

From the table you posted, it looks like your data is in a spreadsheet. If it is, create a pivot table or crosstab to summarize it. In ArcGIS you could use Summarize on the building number field, and then get the Max value from the other fields.


0

There appears to be a problem with either earlier versions of Arc (I use 10.0) or some installations of Arc where anytime your Python script sees a <Null>, <Null> is returned. I am aware of the if myfield is None approach, but this did not work for me, or a commenter here, or several other users with similar problems in gis.stackexchange. No ...


0

Also see Perpendicular Transects ArcGIS 10 toolbox and python script by Mateus Ferreira. It creates perpendicular lines at regular intervals along the line, but also has an option for deriving the split distance from a field name. The page links back to several related discussions with partial solutions here on GIS Stack Exchange which may be of interest ...


1

Try this... Join the data to your layer making sure you're only joining the fields you wish to join. Once that is done, export the layer to another copy. Your joined data will follow. This way you have your original layer and then another one with the joined information. It should be quicker than having to manually or programmactically copy data from ...


0

What I think you mean is Co kriging your temperature data based on a DEM. What you need: -Shapefile of points with temperature data -DEM of your study area You need to have the geostatisical analyst tool (see customize, toolbars). Open de geostatisitcal wizard in this toolbar. You can now choose kriging/co-kriging. You need to select two datasets. So the ...


2

This worked, Duh. varBufffer = varQuan + " Miles"


0

If you are trying to get the outline of a DEM raster then you will need to do the following If you have Spatial Analyst and 3d Analyst then you can: 1)multiply the raster by 0 to create a constant value raster using Raster Calculator. 2)Convert results of step 1 to a raster integer by using the "INT (Tool)". This is necessary for the next step. 3)convert ...


2

You can also write your ssf file to a shapefile directly in TerraSync. This shapefile can then be transferred from the device to your PC. The steps for doing this are as follows: When finished collecting data in TerraSync close out the data file. Open the file manager in TerraSync. (Data>File Manager) Select the data file you want to write to a .shp Tap ...


1

There is a set of add-on ArcGIS Desktop tools (versions 9- 10.2) using network kernel density techniques developed by Professor Okabe available here. http://sanet.csis.u-tokyo.ac.jp/. However they are only licensed for academic use. I used them on my MSc thesis and they worked really well. I guess you could enquire about commercial implementations. ...


0

This is more for ArcGIS 10.1 Service Pack 1 to current versions. Arcpy has a method called Walk which allows you to look through directories and sub-directory. The walk method is useful as you can specify the data types that you are looking for. The below is the example from the documentation. The example shows the Walk function being used to catalog polygon ...


0

I am not much of a python scripter but a client sent us about three hundred shapefiles in about 100 folders and I didn't have the time to extract them separately. I created the model below using model builder and it works just fine.


0

I've had this happen with group layers. Try ungrouping the data that is not printing. In my case, I was able to regroup the data afterwords and everything worked fine. I couldn't figure out why this solution worked, but it did in my case. I suspected that the problem was due to long, accented group names. I was able to disprove this theory by regrouping the ...


0

My understanding of the Calibrate Routes tool is that it takes an existing line and then defines the space in time or ground measurement between the calibration points as they relate to the line itself. This is so that later, when you place points along a route, they correlate with whatever environment is being reproduced. For example, one might be able to ...


1

In the editor tools you could use the direction, deflection and length functions when drawing a line. If its just the four lines this should get you out of trouble. This link has some background information about creating a segment using an angle and length. This link has some information about Arcgis and direction measuring systems. Hope this helps.


2

The answer given to this question had alternative but not the solution. The solution is as follows: In the Table of Contents, right-click on the layer with the Attribute Table of interest and select: Properties - Fields. Suppose you are converting STFID to a numerical field called STFID_NUM. Then in the “Layer Properties” window that opens, scroll down to ...


0

In ArcGIS 10.1 and later, there is a tool called COGO - located in the Editor Toolbar/More Editing Tools/COGO. On the tool bar there is a button called Reporting COGO descriptions. This reporting tool has a feature called "Angle between two lines" which reports the angle between 3 points on a line.



Top 50 recent answers are included