A file with a .lyr extension that stores the path to a source dataset and other layer properties, including symbology.

learn more… | top users | synonyms (1)

2
votes
3answers
66 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 ...
0
votes
1answer
110 views

Repairing link between shapefile and layer file?

every time I open the same lyr file I have to do data/repair data source (link to the shp file). I tried to save/export that shp file again, and create the new layer file as well, but every time the ...
0
votes
1answer
70 views

Apply lyr file to Arcpy

I am new to ArcPy, and don't know how to assign different layers to the same lyr file. The layers have "pol" in common. Replacement is a single layer, and so must be walked through the entire ...
1
vote
1answer
109 views

Is it possible to convert a jpg file into lyr

I am a beginner with GIS 10.0. IS there any way to convert a jpg file into a layer? I am working on a problem that needs to have the entire map of my city as a layer but I just have a jpg file of the ...
4
votes
1answer
262 views

How to read BMP file location of image used for picture symbol in LYR file?

I have a number of *.lyr files which are pointing to various .bmp files which are used as marker symbols in ArcGIS for Desktop 10.1 I was wondering if there is a way to extract the file paths of the ...
5
votes
3answers
278 views

How can I parse hundreds of *.lyr files for their Definition Queries?

I have ~600 lyr files that reference a table on an SDE database that has about 20,000,000 records. Some of these *lyr files have an incorrect definition query applied or is missing the query ...
0
votes
1answer
90 views

ArcMap, Joining information from lyr with attribute table

I'm working on a landcover project with ArcMap 10.1 right now and use the ModelBuilder a lot. So far I extracted a table from a certain layer using the Summary Statistics tool. However, one field of ...
0
votes
1answer
170 views

How to save all Layers in ArcMap table of contents

Basically, I'm bringing layers into arcmap,repairing the data sourc, and then saving out the layers manually so that the new source is saved. This is very time consuming because I have several hundred ...
2
votes
2answers
2k views

How to open an ArcGIS Desktop .lpk file using QGIS on a Mac?

I downloaded an LPK file from the ESRI site that contains USPS defined zip codes. Because I'm working with QGIS on a Mac, I converted the file to a .zip. There's a .lyr file that opened up in the zip, ...
2
votes
1answer
127 views

Replicate Import Symbology Matching Dialog in ArcObjects?

In Arcmap I can render a layer with same symbolgy applied to different fields by way of re-importing the .lyr file and choosing a Value Field. How can I replicate this functionality in ArcObjects?
9
votes
4answers
5k views

How to explain what layer file (*.lyr) in ArcGIS Desktop is?

My organization uses *.lyr files consistently as a means for our users to view the data and build their mxds. It works great for our purposes, but we have run into an issue where we don't think the ...
1
vote
1answer
300 views

How to save an existing LYR file to use a relative path *and* have the LYR be v9.3 compatible?

Not sure if this is possible - I am writing a python script to convert LYR files to use relative paths and save the LYR as a 9.3 LYR file. I can do each one individually, but not together. ... # ...
13
votes
1answer
2k views

SLD to Esri lyr file?

Does anybody know if there's a sw/extension to convert an SLD to Esri. lyr format, or to import the SLD directly?
7
votes
1answer
8k views

Adding Layerfiles (.lyr) to QGIS?

At college we use ArcGIS Desktop 10, but that does not function on my Mac so I have QGIS there instead. I want to do my exercises with QGIS, but we use .lyr files with ArcGIS Desktop, and they are ...