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

learn more… | top users | synonyms

0
votes
1answer
38 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
29 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 (...
1
vote
2answers
36 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
38 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
42 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 ...
0
votes
0answers
56 views

Inexplicable behavior after function call using 'arcpy.mapping.ListLayers'

I have seen some discussions regarding (eventual) bugs when using acrpy.mapping.ListLayers (and perhaps(?) other 'mapping' methods) where the (current) mxd is passed. I have a feeling the following is ...
1
vote
1answer
101 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
59 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
26 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 ...
6
votes
2answers
452 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
14 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 ...
2
votes
0answers
76 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
49 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
46 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
47 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
58 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
52 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
67 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
43 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....
3
votes
1answer
89 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
61 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
246 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 ...
5
votes
2answers
213 views

How to Convert Map Coordinates to Layout Coordinates in a 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 post works fine, but only for unrotated dataframes. I've also found ...
1
vote
1answer
95 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.
3
votes
2answers
1k 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
411 views

in R : get a SpatialPolygonDataFrame from gIntersection{rgeos] with sub-area as attribute?

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
155 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 ...
11
votes
2answers
442 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
295 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
193 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 ...
2
votes
1answer
925 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
0answers
153 views

Multiple dataframes causes ArcMap to stop working?

Is there a limit to the number of dataframes that can be used in ArcMap? There have been several instances in the past when working on a project that contains multiple dataframes (5+) and ArcMap has ...
0
votes
2answers
158 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 ...
0
votes
1answer
54 views

Script to batch export pdf causing incorrect inset map

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
80 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 ...
1
vote
2answers
316 views

Mirror two data frames

Is it possible to link two data frames so that they mirror each other? I know I can set the extent of one data frame to that of another data frame, but then you can only pan/zoom in the parent frame. ...
2
votes
1answer
246 views

Generate dynamic XY coordinate labels for dataframe corners in ArcGIS layout

I need to label the four corners of a dataframe as shown in the image. Can this be done with dynamic text scripts?
0
votes
1answer
43 views

Data frame index

Can anyone know how to make index ,in arcpy, for a several data frame in one mxd? That question related to this question : Insert layer file to specific data frame
1
vote
0answers
24 views

QGIS print composer layout with several data frames: is it possible? [duplicate]

I have to create a several data frame print composer layout: is there a command or a plugin in QGIS 2.4.0 Chugiak that allows to insert several data frame? I dont't know if QGIS can manage more than ...
2
votes
3answers
576 views

Remove layer file from MXDs with multiple data frames using ArcPy?

I have a bunch of mxd's and I want to remove layer file from them. Each mxd has 2 and more data frame. I don't know why it does not remove. I'm trying this code: import arcpy,os,sys,string import ...
3
votes
1answer
640 views

Clearing data frame projection of current mxd using ArcPy?

I am required to open a bunch (50 per week) of mxd's and 'Clear' the Coordinate system from the data-frame to make sure my students have all of their data projected in the same (correct) Coordinate ...
4
votes
1answer
140 views

add-in to open automatically "data frame properties

How can created an ArcMap Python add-in using ArcGIS 10.1 to open automatically data frame properties And change the background color of another?
2
votes
2answers
2k views

Convert shapefile with lists to data frame in R

I would like to ask some help for converting a shapefile to data frame. I downloaded data related to roads from Natural Earth. I imported the shapefile using shapefiles package like the following. ...
4
votes
1answer
2k views

How to remove columns in a spatial polygon data frame in R?

My spatial polygon data frame (spdf) contains too many columns (variables) and I want to remove most of the columns entirely. I know how to do this with a regular data frame in R, but I am unsure how ...
1
vote
1answer
3k views

How to create/export multiple maps in one layout using ArcMap?

I have an air pollution data that consists monthly mean values of 12 monitoring stations. I made interpolation and want to export the 12 different map in one layout with one legend. Since I am a ...
1
vote
1answer
165 views

Moving data frame to particular X.Y location using real world coordinates?

My mxd file has multiple dataframes. How do I move a given dataframe to a particular location within the main dataframe in the layout view to a particular x,y location given by user. The location x,y ...
0
votes
2answers
16k views

Return column number of min value in dataframe [closed]

So as a result of a bunch of preceding calculations I end up with a dataframe of varying numbers of rows and columns. I want to find the minimum value of the df and return the row and column index. ...
2
votes
2answers
329 views

Adding Geographic Coordinate System and Projected Coordinate System layers

So I have two layers that I am adding into ArcMap. I know for a fact that when you added the first layer with Projected Coordinated System, the 2nd layer, which has a geographic coordinate system ...
1
vote
3answers
466 views

when using arcpy.mapping.ListDataFrames, python.exe crash

Has anybody had this problem? this drive me crazy. what is wrong with my code? import arcpy mxd = arcpy.mapping.MapDocument(r"D:\Project\Project.mxd") df = arcpy.mapping.ListDataFrames(mxd, "Layers")[...
2
votes
1answer
511 views

AttributeError with unicode object with data frame in python script

I'm running a python script from arccatalog and it works, however, I am trying to add layers to an mxd and need to declare the data frame. I keep getting this error message. type 'exceptions....