New answers tagged

0

Well this is not exactly a GIS (definitely not arcgis) question, but remote sensing is somewhat related. Anyway, EVI (enhanced vegetation index) is similar to NDVI and to SAVI (Soil-adjusted vegetation index). To wit it corrects for atmospheric and soil distortions. As stated in the NASA website "While the EVI is calculated similarly to NDVI, it corrects ...


0

If you have 3D Analyst, this works - for individual polygons: Create a TIN using your polygon Use Add Surface Information with your polygon as input feature class and the corresponding TIN as input surface. Check "SURFACE_AREA" as output property. The 3D area is then added in a new field to your polygon feature class' attribute table. You can automate ...


0

A distance calculation on a sloping surface is different than that on a planar surface. This appears to be a latent danger that many may not consider, although it is most important when a project requires high quality measurements and/or when the topographic relief is great. The difference between planar distance and cumulative distance appears to be ...


0

In fact this is the projection parameters Local Government and Engineering Department of Bangladesh(LGED) uses. ArcGIS equivalent of this parameter is as below- PROJCS["LCC",GEOGCS["New_Geographic_Coordinate_System",DATUM["D_Everest_Bangladesh",SPHEROID["Everest_Adjustment_1937",6377276.345,300.8017]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]...


0

You can do this geoprocessing in QGIS by first making the image bounday of all DTED. This will convert all DTED to polygon shapefiles. Then run the spatial query for touches/intersects between your AOI and DTED polygon. You need to download the Image boundary plugin for this.


2

Try to change your code to def calc(Wert1, Wert2, Wert3): if (Wert1 == None): return Wert2/Wert3 else: return Wert1


1

Looks like you want to use the first value in a field to rename the output feature class. I would use the feature class as an input rather than whatever C_parameters is. You can just make the input a user defined parameter and they can choose which input to use. Also set Field as a parameter to allow the user to choose which field this will work on. Copy ...


0

I know this question is old, but I have just uploaded a Matlab toolbox that will compute width from either 1) input channel mask or 2) input banklines (your case). It has a number of other tools that might be helpful to you; check it out here. You will probably want to define a centerline (for parameterization of your along-stream variables i.e. width). If ...


0

I have created a toolbar with tools that do the split of the road and ranges, both using the traditional split (one road at a time) and a Planarize split (many intersecting roads selected at one time split where they intersect each other). I just warn the user if they did not select a feature. I won't build a tool that pauses for a user to select a line ...


0

If I understand your question, you want the same result you get from PointToRaster, but you'd prefer to have zeroes in all the NoData cells? Simply follow PointToRaster with Spatial Analyst > Reclassify, converting the NoDatas to zero and the data values to whatever makes sense for your project. Then set the symbology to get the visual contrast you are ...


0

The ability to preserve attachments has been added as a new feature for many tools. This is planned to be in the 10.5 release, but is currently in the 1.3 release of Pro! Pro 1.3 - http://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro-1-3.htm A new environment, Maintain Attachments, allows you to enable and disable the transfer of ...


0

I think you are correct regarding the script only changing the UI. This is because the dlg attribute of your ToolClass2 is always pointing to the same instance of the TestDialog UI class. When you first run the tool, the TestDialog instance is created and your Add-in works as intended. Next time, since self.dlg is not None, your else clause just shows the ...


0

Because a raster is continuous and points are discrete, you will need to use an interpolation method to create the kind of raster you would like. There are several different interpolation methods that may be better or worse for a specific application - but, here is a pretty brief overview of interpolation: http://pro.arcgis.com/en/pro-app/tool-reference/3d-...


1

If I get you correctly, You need to use the below steps- Use point to raster, it will give you a raster of points but blank where no points(i.e. NoData area rendered with nocolor)- maintain same pixel size with layer 2 e.g. 5*5 To get the background, convert polygon of UK into raster after setting the value for this layer 0- maintain same pixel size with ...


0

After experimenting, it appears that you have to first using the Union tool in the edit stage, then using the Merge tool in the edit stage. This will create one shape!


5

The Labeling Toolbar has a Pause Labeling button The Pause Labeling button will stop labels from displaying until you're ready for them to draw. Pause Labeling - Suspends drawing of labels See A quick tour of the Labeling toolbar for more info. To interrupt the labels while they are drawing, just hit the Esc key.


1

The issue here is that the domains do not prevent you from adding incorrect data into the fields. You need to validate the features first. To do this, you need to be in an edit session. Then, select the features you want to validate. If any of them are invalid, you'll get an error. If you select a single feature and validate it, you'll get a more ...


6

The query will be: Option LIKE '%A%' The wildcard character % matches zero or more characters. You can display only those features using the query as a Definition Query in the layer's Properties, or using Select by Attributes then right-click the layer and choose Selection > Create Layer From Selected Features.


0

One can either use the Extract Subdataset tool in ArcGIS or I did the same for a bunch of rasters that I downloaded using the python script below: (Note, I renamed the rasters based on what I needed, which could be avoided) import arcpy,os,re arcpy.env.workspace = "F:\\MODIS Data\\" out_dir = "F:\\MODIS Data\\EVIData\\" rasters = arcpy.ListRasters("*") ...


0

You should also check that you are not in an editing session.


3

From your link Rebuild a spatial index: Recalculate the spatial index and feature class extent on a Geometry feature class in a database or geodatabase in Microsoft SQL Server. This appears to be the case only on SQL Server databases, but as that's what you're using then it appears that the answer to your question is "Yes".


1

Try using Null instead of VbNull: iif(InStr(UCase([REQUEST_TYPE]), "SEW") > 0, Null , "Inspection") Although this also seems to enter an empty value rather than a true NULL, which is odd. I'll keep looking.


0

If a coordinate reference system (CRS) identifies itself as an ellipsoid (spheroid in Esri-speak) and there's no datum information, there are no available transformations. Ellipsoids are used for multiple datums and geographic CRS. If you have the area of interest, you can find out what geographic CRS have been used in the area. If there are multiple ones, ...


0

Based on the help for the Maximum Likelihood Classification tool, and the text in the help page How Maximum Likelihood Classification Works, I'm pretty sure the codes match these values. The help page should list these - I dropped a request on their web page to include a table like this. 14 <= .005 13 >0.005 to 0.01 12 >0.01 to 0.025 11 0.025 (etc)...


1

I do this all the time. In my particular case I maintain a one-off database that needs to be synchronized with the actively maintained data, but it cannot be overwritten by the original database, since I maintain additional fields in my copy that are not in the original. The fastest approach for this scenario requires the use of dictionaries and cursors. ...


0

I was able to add the data. I am using ArcGIS 10.3.1, using the Data Interopability Connection, and I was able to bring in the bugsite feature class. URL: https://weaveprod.ucdp.utah.edu/geoserver/ows Parameters: Results:


0

The following possible solution is merely a reflex-reaction to the situation described in your question. I am concerned that this solution combined with the amount of records involved will present an issue in terms of the amount of computation necessary to complete the task. The following would essentially pass through your large table (500K records), and ...


3

You need to use the Field Calculator or Calculate Field tool to calculate your new field equal to your old field. Make sure that your new field is defined the same as the old field. Otherwise it cannot be considered to be a copy.


0

I am doing this now, myself. My solution was to store my hyperlinks in a related table. So "Feature X" relates to multiple hyperlink records in that table as follows Feature |X| ->Relates to Hyperlink Table -> | X | Hyperlink 1| | X | Hyperlink 2| ...


0

According to this guide you will be able to add a WFS under Interoperability Connections not under GIS Servers. At first I did not have this option either, then I realized that I did not install the interoperability extension, I merely added the license. So make sure you both have a license and install the extension.


0

Ok just found out from a colleague that the coordinates were projected in the wrong coordinate system.


0

This is copied verbatim from the ArcGIS Desktop help. The instructions are for Windows 7, so it's probably different for newer versions. You get the idea, though. Changing the way ArcMap displays short format dates in Windows 7 You can change the way ArcMap displays date formats by setting date format options within the Regional and Language ...


0

A way of converting an attribute table to a comma separated text file is to run the Table to Table tool. The location would be a folder such as c:\temp\mydata and the output table would be test.txt. If you set the field mappings then you can choose which fields get exported. But you may get yourself into trouble, what happens if a text value contains a ...


0

What is the epsg code of your data that ArcGIS recognizes? It should be 4024 for the Krasovsky ellipsoid without datum. Try to set it to the data if it is not recognized and have a look if ArcGIS has a transformation then. Otherwise it would be best to have a look for reference points when you are not sure about the correct positions. The ellipsoid, ...


0

I think the solution from PolyGeo is the best and you could group the layers fo a better handling. Another, but maybe not so nice alternative is to use a MarkerFillSymbol instead, with a narrow raster in the wished colour. This lets shine through and brings a bit transparency.


0

If I have conceptualized this properly, you should be able to use Field Map in the Spatial Join tool to do this. If both point classes contain the Run_ID: use the field map to add an additional field to the output then add both Run_ID fields as input to the new field. Right click and from the Merge Rule option select count The resulting spatial join ...


1

I figured it out. Using the staging database, type7arcs & type6arcs feature classes use the domain IrParcelLineCategory which has coded values 0, 1, 2, 3, 5, 6. Well, if you type this field as 7 (as it says you need to do), you will get the error noted above. It just happened to work fine with type6arcs because you type the field as 6, which is a ...


0

You can calculate the "Slope" of a surface which is your first derivative but I'm unsure exactly what method Arcmap uses to accomplish this.


0

For cleaning up building footprints from lidar, please check out the ArcGIS Regularize Building Footprint Tool. Another new tool in ArcGIS Pro 1.3 is the Classify LAS Building.


0

If you installed Arc before Anaconda, your default IDLE, Python Window (in Arc), and Python console will always pull from your Arc-installed modules, i.e. C:\Python27\ArcGIS <version>\Lib (and/or) Lib\site-packages. If you have packages installed with Anaconda that you want to use with Arc's install of Python you'll need to write .pth files in order to ...


-1

This tutorial shows you how to set up conda environment to work with ArcGIS 10.4 and ArcGIS Pro 1.3. Workflow to set up Anaconda with ArcGIS 10.4 Install Anaconda without fouling the Windows environment (paths, registry) to break Esri's python stack Configure Anaconda with the particular add-ons you want, and Configure ArcGIS's Python so that ...


0

Here is one option: Use the Spatial Join method to join the polygon info to the points Create a new text field in the joined point layer Field calculate/concatenate the dcpWaterBodyType field values with the polygon name or id field Finally, right click on field created in step three and choose the Summarize option This should produce a count of the ...


3

Use the spatial analysts PLUS tool to add 0.3 or 0.8 to your climate grid. If you read the help file (syntax section) the second grid which you add to your input grid can actually be a constant and not just another grid. So putting 0.3 into that will add 0.3 to all the cells in your input raster.


0

As a comment you provided a line of ArcPy code that I just tested using: import arcpy arcpy.CreateFishnet_management("C:/Temp/test.shp","223122.902847 4244274.58422","266744.967575 4410255.40647","0","0","6","6","447614.673105 4372719.14612","LABELS","wrs_dec_va_proj15033","POLYLINE") This reported an error: Traceback (most recent call last): File "C:\...


2

If you need to create a variable for the new shapefile name, then you can use "Parse Path". This is a model builder tool where an inline variable can be created and used through the model. You can set this as a model parameter so that the user can input the new shapefile name before running the model. Please see Parse Path (ArcGIS Desktop Help) for more ...


1

This is a bug. It is using the color ramp, but only a small portion of it. It doesn't matter how you change the settings, you're not going to get the full color ramp for your points. You will only get a small section of the color ramp. You may be able to improve the color range by increasing the number of classes, changing the class break values, or ...


1

As commented by @Vince: There's a number of ways to address this, some manual and some scripted. Unioning the two FCs, then doing summary statistics on block count by precinct is probably easiest.


1

If you are working with a shapefile attribute table, you can export the shapefile with its joined table to a new shapefile, and the joined table will become permanent inside the new shapefile's attribute table. Next, add a new field of type integer and use the Field Calculator. Then you can write the following python code following Calculate Field examples, ...


0

You should use the spatial join tool. This will output a file for you. You will need to specify the join type for the attributes to get the results you are looking for. As Bjorn said, a union will also work but will break the lines anywhere they cross a polygon boundary and also anywhere they cross another line.


0

If you had the coords in an excel file and each row was lat_min,lat_max,long_min,long_max you could do something like the following using Python. Given that this is a simple example. # -*- coding: utf-8 -*- import os, re, xlrd import arcpy from arcpy import env def dms_dd(dms_string): #parses a dms string in the following format 84°60'20" and return a ...



Top 50 recent answers are included