Questions tagged [data-frame]

A map element that defines display properties for one or more layers in ArcMap.

Filter by
Sorted by
Tagged with
1
vote
0answers
74 views

re: Grid Issue with environmental data-frame in R

So I am trying to use the package ppmLasso to create species distribution models. Before I can run my models I need to put my environmental data into a data frame instead of as a raster. I have done ...
0
votes
1answer
314 views

Adding Shapefile to Multiple Data Frames using ArcPy?

I'm trying to simply add a shapefile to 2 data frames of a Map Document, the shapefile is already in a third dataframe of the same Map Document. I was using the guide below but am getting the ...
1
vote
1answer
159 views

Aligning dataframes to exactly match information in another dataframe when sizes of 2 dataframes are different?

I have a dataframe which is using data-driven attribute (say zone). Now this layer has grids with specific numbering but since it is data driven, each time the zone changes, the grid numbering will ...
1
vote
1answer
115 views

ArcMap 10.3 Display different extents in Layout view (same dataframe)

I have a Layer with around 100 rather small polygons that are quite far apart spatially. If i want to make a single map with them you can barely see the fill colour of the polygons. The solution i'm ...
3
votes
2answers
451 views

Exporting Spatial Data Frame of GWR results from R

To export Spatial Data Frame of GWR results from R do I need to use readShapeSpatial? bg<-readShapeSpatial("BG_Div_NO2_Solar_Nozero.shp") df.bg <- as.data.frame(bg) df.bg.spdf <- ...
1
vote
2answers
192 views

Clipping to Shape using ArcGIS for Desktop?

I work on a regional level, within that region there are many towns. Data only exists at a region wide level, I am trying to avoid creating town wide datasets to save time. I am currently making a ...
1
vote
0answers
385 views

Convert a data frame in R to a polygon for viewing in Google Earth

I have a dataframe in R which contains numerous columns of lat long coordinates. Each row of the data frame contains 9 x lat/long coor points. I wish to plot each of these rows in Google Earth using ...
0
votes
3answers
540 views

I want to do SpatialLines programatically

This is my dataframe: df <- data.frame(ID = rep(1:100, each = 2), x =runif(200, 10, 90), y = runif(200, 10, 90)) For each ID I need to create SpatialLines, I haven't had good luck. I think I ...
4
votes
1answer
552 views

Exporting Multiple Data Frames with ArcPy and Data Driven Pages?

I have a problem in Data Driven Pages In my Mxd proyect I have 3 Data frames, each frame has 3 layers with their respective legends. I already activated the process of Data Driven Pages to export a ...
1
vote
1answer
79 views

Is there any way to dynamically synchronize selections between different data frames in ArcGIS?

Here's the scenario: I have two different data frames in ArcGIS (10.3.1). In both, a dataset is added from an Excel spreadsheet. In one data frame (call it "Map"), a layer is created from x,y ...
1
vote
2answers
1k views

Clipped data frame clips labels?

I have a large project with provincial data. The project is currently using a data driven map with a clipped data frame for the province. The issue is the data I'm trying to show is thousands of point ...
0
votes
1answer
64 views

Clip Dataframe Arcgis for data driven map

I'm trying to do a map of several provinces bordering each other. The map needs to focus on each province and not the neighbors. therefore when using the data driven map function i would like to clip ...
-1
votes
1answer
423 views

What is a simple script that can change the data frame name in an MXD? [closed]

I've got about 70 MXDs that need the top data frame name (there are multiple data frames within the MXD, I need to adjust the top data frame) changed/replaced. This is a task that may need to be ...
1
vote
1answer
60 views

Exporting inset map as shapefile from ArcGIS for Desktop?

I learned how to set the inset map in the data frame properties. I would like to export a permanent inset map layer or shapefile when I finish my map. What is best way to do it or is there any ...
3
votes
1answer
3k views

Legend from Multiple Data Frames

I have a map containing multiple data frames, the continental US, Alaska, Hawaii, PR, and Guam. These data frames contain different symbology which I would like displayed in a legend. Currently, ...
0
votes
1answer
129 views

Finding lat/lon point in coord polygon

I wrote a function to determine which ith polygon with coordinates contains a given lon/lat point, using the polygons from the tz_world.shp file. I pass in lon = -77, lat = 42, which is in New York ...
0
votes
1answer
200 views

What size of activeDataFrame? [closed]

I want to write a script in Python for ArcGIS to search for the size of an activeDataFrame (DataFrame) in meters (scale)?
0
votes
2answers
308 views

Arcpy fails to refresh page layout after changing the definitionQuery of a layer

I am trying to automate an export of map images in JPEG format. My script creates the map and exports it, but the export does not honor the changes made to the definitionQuery of the layer in the map (...
3
votes
2answers
433 views

Display extent indicators in the legend?

Can you link the data frame extent indicator box with your legend so that the legend displays a symbol and description representing the box?
1
vote
1answer
1k views

How to deal with two dimensional lat and lon variables in a NetCDF file in R?

I'm trying to convert a NetCDF file to a dataframe in R using the RNetCDF package. The NetCDF file is very different from what I have experience with, in that the lat and lon values each have two ...
1
vote
1answer
744 views

How to assign the attributes of the largest overlapping polygon area to each overlapping gridcell?

I am new to R, and I am trying to use it to calculate the areas of polygons that overlap with each gridcell, in order to assign the attributes of the largest overlapping polygon area to the ...
1
vote
1answer
2k views

How to manually assign new names to attributes in a spatial data frame column with NA values

Data can be found here (Admin 1- States and Provinces, first download button): http://www.naturalearthdata.com/downloads/10m-cultural-vectors/ I have a shapefile of the world that I'll be pulling ...
0
votes
3answers
627 views

How to add two dataframe columns of city and state names to form single city-state column for geocoding in R? [closed]

I tried to search for an answer to this, but I couldn't seem to find the right search terms, so I decided to spell it out quite explicitly. I have a data frame with separate columns for cities, ...
0
votes
1answer
68 views

Importing non-geocoded jpeg into active window of ArcMap Data frame?

Currently when we draw a new subdivision into our GIS, we snip a .jpeg of the platted subdivision and add it to ArcMap. The un-referenced jpeg is simply dropped out in the middle of nowhere and we ...
8
votes
2answers
5k views

How to join a table to a shapefile with non-matching IDs and names (similar strings)?

I'm having an annoying problem that I'm trying to find an automated solution for. The shorthand version is that I have a shapefile and a table of created data for regions within countries. The created ...
0
votes
0answers
36 views

Single Time Slider for Multiple Data Frames--ArcMap Desktop 10.3 [duplicate]

This question has been asked before, but never really answered: Is it possible to have a single time slider control that animates over multiple data frames? Reason being, I have one main map and 4 ...
4
votes
1answer
817 views

How to pull a shapefile into R from PostGIS database (in Windows)?

I'm currently working on pulling data from a PostGIS database for the first time to map in R and need some help. The database contains a shapefile of countries/regions of the world. I am able to pull ...
2
votes
1answer
5k views

Error when trying to subset a vector to a dataframe

I'm not sure if I've used the correct terminology in my title, so please forgive me if that doesn't entirely make sense. For the sake of reproducing my example, I've created a dummy example. As usual,...
4
votes
1answer
265 views

Linking Data Frames with Different Coordinate Systems

I have a problem that I am hoping might have multiple solutions. I am working with research data that was collected on an arbitrary grid, with units in m, datum point of 1000E, 1000N. The grid is ...
0
votes
0answers
85 views

Remove layers in sub folders using python- path orientation

Expanding on my previous question Remove layers using python- path orientation, i try to remove layers from mxd's (in ArcMap 10.3, Python 2.7.8), that don't appear in the layout view. The layers ...
3
votes
1answer
280 views

Referencing Dataframe with ArcPy in Geoprocessing Service?

I have a geoprocessing service that was successfully published to our Server instance. I'm using 10.3 which means we could not publish unless it was successfully run as a tool in ArcMap. But now when ...
0
votes
1answer
279 views

Is there a way to turn a data frame off in ArcMap 10.2?

I have an mxd with three data frames. I've written a python script that loops through a list of user-specified coordinates and scales for each data frame before exporting the mxd as a pdf. Is there a ...
0
votes
0answers
1k views

Extracting multiple values from list and storing them in data frame using R?

I have a list of 3 SpatialPolygonsDataFrames. Every element has a number which is the perimeter. I want through a loop to store the numbers into one cell of a data frame like: 154,526,442. I tried to ...
3
votes
1answer
162 views

Two rows of data.frame for one polygon

I am new in R and I am facing a problem. I have a list with many SpatialPolygonsDataFrames. Some of them are like this example This is a SpatialPolygonsDataFrame. My "problem" is that the data.frame ...
3
votes
1answer
2k views

What is faster - a matrix, raster or a dataframe?

I have rasters over which I am performing mathematical operations. For example, where I need to calculate flow distance or distance between two grid points. What format is generally considered faster ...
1
vote
2answers
543 views

Clipping a SpatialPoygonsDataFrame to another SpatialPolygonsDataFrame

How do I restrict a SpatialPolygonsDataFrame so that none of the polygons lie outside of an "underlying" SpatialPolygonsDataFrame? The application I have in mind involves Voronoi Polygons a la Carson ...
3
votes
3answers
1k views

Data driven pages extent

I use data driven pages to produce several maps. In the end product, all maps should show point data on a Country of europe. So far the country is shifting around each time I change the data shown in ...
7
votes
2answers
592 views

Converting Map Coordinates to Layout Coordinates in rotated Dataframe?

I am trying to convert Map X and Y coordinates to corresponding Layout coordinates in a rotated dataframe. The code found in this answer to Convert point XY to page units XY using arcpy? works fine, ...
2
votes
1answer
857 views

Creating polygon from visible map extent using ModelBuilder?

Is there a way to create a polygon using the visible extent of a data frame in ModelBuilder? I'm using ArcGIS Desktop 10.0.
5
votes
3answers
7k views

Copy and paste of dataframe in ArcMap table of contents?

I am new to ArcGis and I am currently taking a course. In one of the exercises Im supposed to copy a dataframe from the table of contents in ArcMap ( in data view) back into the table of contents so ...
0
votes
1answer
2k views

Getting SpatialPolygonDataFrame from gIntersection{rgeos] with sub-area as attribute in R?

I am using gIntersection (package rgeos) to intersect a polygon shapefile containing 20 buffers zones, with another polygon shapefile containing "ground occupation mode (GOM)" (an area divided in ...
0
votes
0answers
490 views

Limit the editing extent of a feature class by area in ArcMap

Using ArcMap (Advanced), if I have a dataframe set to British National Grid and I add a feature class to the map document that is also set to BNG, and I try to draw outside the extent of BNG I will ...
12
votes
2answers
3k views

Point overplotting on maps in R (e.g. with ggplot2) - how to push points to the side, mark original positions, combine close-by points …?

I've got a database containing languages, their longitudes and latitudes and a feature value (either category 1, category 2 or both - in the plot these are marked red, blue and green respectively). ...
2
votes
1answer
2k views

Why are some tools on Tools toolbar not working in ArcMap?

I am using ArcGIS 10.2.2 for Desktop, i've managed my map in the layout view, everything done, i was fine with the outcome, exported into a pdf file, then switched back to data view. Now i am ...
5
votes
1answer
477 views

Changing the projection transformation for a feature class after adding it to an mxd

Is there a way to select a different projection transformation after you've added a feature class to an mxd? I have a pretty complex mxd set up to use as a map service where the original data is in ...
5
votes
1answer
3k views

Getting index of active data frame in ArcPy?

I am a little surprised to see that there seems to be no way to get the index of the active data frame in ArcPy, or did I miss something? For example, what if you want to add a tool’s output to the ...
0
votes
2answers
328 views

How to remove layers that are not in visible df extent

I am working on ArcMap 10.3 and I have a map with 50 layers in it. I am trying to check if layers are in a data frame. Unlike How to check if layers in a dataframe with Arcpy, I want to define the ...
2
votes
2answers
66 views

Limiting imagery displayed to non-rectangular area using ArcGIS Desktop?

I have a layer that shows some imagery in Ontario. I would like to get rid of the imagery that I don't need, because I only need it to be in 6 "squares" that I have. Is there a way to restrict the ...
0
votes
1answer
156 views

Script to batch export pdf causing incorrect inset map [closed]

I have written a python script to batch export several pdfs from a single mxd, switching layers on/off and naming the output pdf based on values supplied by the user in a csv file. We import the ...
1
vote
0answers
142 views

Adding layer to MXD from different SDE slows down ArcPy script

My python script looks at layers in an MXD, then does a couple of clip and measure operations and generates a PDF. It works accurately and quickly (0.5-3 seconds) when all the layers in the MXD are ...