Hot answers tagged

8

Zipping all the parts is the usual way of transferring shapefiles, yes, and its the best we've come up with. This is one problem with the shapefile format which is overcome by the GeoPackage format - if your software can save or export your data to a "GeoPackage", and the person you are sending it to has software that can read GeoPackages, then you could ...


3

The answer to the question "Can this be effectively fixed?" is essentially no. The picture below illustrates why it is a good thing that the outer pink boundary is created by the topology and displayed and why only the user can determine if the exterior boundary shown contains an error or is as correct as it will ever be and is a topological exception. The ...


3

From Understanding how to use Microsoft Excel files in ArcGIS: Excel tables are read-only in ArcGIS as well as in Excel when you have a workbook open in ArcGIS. Consequently, you will not be able to add a field to one, delete a field from one or calculate geometry in one, unless you export that Excel worksheet as a geodatabase (or DBF) table.


3

According to ISO 19115 every geographic information and services has its own metadata. It provides information about the identification, the extent, the quality, the spatial and temporal schema, spatial reference, and distribution of digital geographic data. Date and scale are part of the metadata. For the projection/coordinate system it's a part of your ...


3

The event handler for capturing layers added to the map is IActiveViewEvents.ItemAdded Make sure its pointing to a Map and not PageLayout. You would then test to see if it is specifically a shapefile.


3

If you are adding text to a map in the data view it will be added as annotation. There's a difference between text (on a layout, like a title) and text in the data view (actually an annotation). The data frame has a default annotation group. The only way I can recreate the described problem is by adding text from the drawing toolbar when the default ...


3

You have two options I can think of off hand. 1 You could use the select by location tool, and select all polygons that intersect the points. Then reverse the selection in the attribute table, thereby switching the selection from those that have points within them, to those that do not interact with the points at all. 2 You could run the spatial join ...


3

The way I would handle this problem would be to generate a new empty field and populate it using the field calculator. This way you will not lose any data and can keep your original data without any modifications to the fields. "New Field" = reclass(!sens!, !S2_adjusted!, !S1_adjusted!) Pre-Logic Script Code: def reclass(a, b, c): if (a) == 'S1': ...


3

The quick and easiest way is to open an editing session, the field that are editable (white header) come from the original table, the one that are not editable are the joined field... Alternatively disabling the "display alias name" in the table properties will show the join table name as a prefix on the header


3

There are a few unnecessary steps in your code. MakeXYEventLayer should work from a CSV file, and possibly a .xlsx file*. You can also take advantage of having one single variable storing the path and then build upon that. If you want shapefile output, specify names with .shp. I used the GDB as output because I didn't see any extensions or another use for ...


3

Never tried myself, but it seems you can do something in the menu Customize -> ArcMap Options. Here you'll find a Data View page where you can set the fonts for the labels. A similar option is also present fot the Tables page. This won't basically change your fonts "application-wise", but for labels and tables only.


2

You are looking for the Multiple Ring Buffer tool. Your input features will be the red light camera points layer, output feature is whatever name you would like. You can input the distances and press the plus button right below to add them to the list. Select meters for buffer unit and a field name that makes sense like "Distance". Then make sure that ...


2

Though not a true answer in the frame of the original question that I had, I was able to alter the text of my legend by turning on Text Wrapping (under the layout tab) and playing around with the label width. I did discover also that in order to un-gray-out the preserve aspect ratio radio button, the Fixed Frame radio button must be checked to allow you to ...


2

You should look into Inline variable substitution.. Also check out this page for iterator use. For example, with the following feature iterator, you'd input all of your point sets: Let's say you are iterating through Point1, Point2, and Point3. If you name your output "Output_%Selected Features%", then your outputs will be called Output_Point1, ...


2

Here is some boiler plate code to set up active view events. You'll just need to write a function that checks if the item added is a shapefile. Call that function from Events_ItemAdded(). public static IActiveViewEvents_Event ActiveViewEvent; private void WireDocumentEvents() { // Event handlers ArcMap.Events.CloseDocument +=...


2

You're calculating the area of your buffer in two different coordinate systems. When you change coordinate systems, the shape of the buffer will also change, and therefore the area of the buffer will change. In fact, the wgs 1984 coordinate system is not a projection, so Arc converts this to a PCS behind the scenes in order to calculate the area. I believe ...


1

It appears the problem is that the band values somehow got converted to a signed float, so you have a value that is near zero but not actually zero (or something similar). It should resolve if you use the copy raster tool in an ESRI environment and output an unsigned integer and specify zero as the no data value. I'm not sure at this point if you can run it ...


1

If I understand correctly, the top symbol is the rotation you are looking to match on the remaining symbols. If using ArcMap you can go into the symbol properties, click on the symbol within the table of contents, and enter the desired angle. If you are going for a desired affect, it helps if you know the angle of the line. If you aren't sure, and using ...


1

This is an issue with using curves and a shapefile. Curve geometry is only supported in feature classes (in a geodabase). Shapefiles do not actually support curved geometry. The software still allows you to draw/edit shapefiles with the curve editing tools, making it look like it supports curves. But it will auto re-draw the curve with numerous short ...


1

If you have an 'Advanced' license of ArcMap you can use the 'Generate Near Table tool' and select the Angle option, from the output table you can then use the 'Select by Attribute tool' to select the angle representing the direction. N = 0 NE = 0.1-89.9 E = 90 SE = 90.1 - 179.9 S = 180 SW = 180.1 - 269.9 W = 270 NW = 270.1 - 359.9


1

Your main model running once makes sense as I think the logic is flawed. For Sub mod 5, 4 and 10 - They iterate over a directory looking for B4, B5 and B10 rasters. As a Landsat scene only has 1 B4, B5 and B10 raster you get 1 raster feeding out of these sub-models. Hence the whole main model runs once. I suspect you have a conflict in your sub-models ...


1

It's possible to do without duplicating the layer. In the Classification dialog click on exclusion: Setup the query to exclude all values equal to zero. Then open the Legend tab and select 'Show symbol for excluded data'. Setup symbology for the zero value. Return to Classification and set to Manual with 2 classes ensure 0 as the mid value. Edit the ...


1

As @Hornbydd mentioned in the a comment to my original post, submodels are the way to go. Once I understood exactly how to nest submodel, it worked like a charm. I am not sure how I didn't learn this before... Anyway, a step by step workaround on how to fix this with submodels can be found here: https://www.youtube.com/watch?v=gpKXve4NxqU This is not my ...


1

You have 11 points and a very flat variogram. This means there appears to be no spatial structure and your data is random noise. Any best prediction at a non-sample location is going to be the sample average. You could modify the variogram binning or variogram parameters and get something with a bit of spatial structure, but that might be more luck than ...


1

What you want to do is de-normalize the database for one attribute. That is not supported by many pieces of software, for a lot of reasons. For one, it is not so easy to search or update compound delimited fields. ArcGIS does support having one shape record and multiple related attribute values for the same field using Relate and relationship tools. That ...


1

If you don't want to use code you could use the field calculator with selections or definition query. Open the table Select by attribute/definition query where Field1 IS NOT NULL Field calculate field desiredresult = Field1 Clear you selection query/definition query Add a new selection/definition query where Field2 IS NOT NULL Field calculate field ...


1

Use Calculate Field / Field Calculator with python parser to calculate a third field: !fieldA! + !fieldB!


1

Additional information would be useful here. How do you know the coordinate system is unknown? Is there any info in the metadata? If there is no coordinate system projection assigned to the file, you can define one. Sometimes people forget to do this (sometimes it's just wrong). Your goal is to guess the correct projection. Make a copy of the file and use ...


1

This is one approach that could be used: Acquire numerical raster of present day sea level for your region of interest. see for example Gebco Using map algebra create a new raster for each epoch by subtracting the SL correction value. E.g.: outRas = Raster("gebco") - (-119) Gebco is an MSL-relevant terrain and depth model (depths are negative down). ...


1

The blocky noise around the borders looks like the image was compressed with a lossy method. The lossy compression is especially hard on sharp boundaries and white spaces, introducing slight color variations that ArcGIS isn't seeing as white when you tell it to remove the white background. Ensure that both your TIFF and the pyramids are compressed with a ...


Only top voted, non community-wiki answers of a minimum length are eligible