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

learn more… | top users | synonyms

0
votes
0answers
10 views

paste based in the number of elements in the row [migrated]

This is my dataframe s <- data.frame( x = c("a","b","c"), y = c("d","e", NA), z = c(NA,"j",NA) ) And I want to concatenate(paste) the values based a condition, I want to paste with comma ...
0
votes
0answers
48 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
21 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
34 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
21 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 ...
5
votes
2answers
87 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
13 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
43 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
24 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 ...
4
votes
1answer
27 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
41 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
42 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
28 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
36 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
37 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 ...
3
votes
1answer
54 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
49 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
168 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
183 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
47 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.
2
votes
1answer
511 views

How do I copy and paste a dataframe in the table of contents in ArcMap?

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
212 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
95 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
316 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). ...
1
vote
1answer
144 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
116 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 ...
1
vote
1answer
476 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
117 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
131 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
42 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
64 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
1answer
236 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
165 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
36 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
22 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
385 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
417 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
118 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
1k 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. ...
3
votes
1answer
1k 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
2k 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
114 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
12k 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
280 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
348 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, ...
2
votes
1answer
376 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 ...
5
votes
3answers
754 views

Uniform Annotation Font Size in Multiple Data Frames

I'm making a map that has five inset maps that display a smaller map scale where point features are more dense. I have exported my labels to annotations in the geodatabase so that I could fit the ...
0
votes
1answer
40 views

Shorcut to apply selected shapefile projection to the data frame in arc gis

What is the shortcut to apply selected shapefile or the newly added data's projection to the data frame in arc gis, well not the traditional way of Dataframe--->Properties--->CS system "This could be ...
1
vote
1answer
31 views

The red box that refers to other dataframes will only show part of the box (only show over land but not water, see image)

the red box refers to other dataframes but it's only showing over land and not over the ocea, ie, the box is an incomplete square
2
votes
2answers
1k views

How to switch Map Units on Data Frame Properties back to Feet in ArcMap?

Using ArcView 10.1, I can not switch the Map (Units) nder Data Frame Properties to Feet. It is currently at Decimal Degrees. Display can switch. How do you switch it back to Feet?