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)

0
votes
1answer
34 views

How to use list broken Data sources for layers saved in Windows not within an MXD

I have seen a few question related to listing broken data sources of layers within an MXD MXD list broken links See Link . I am interested in layers that are not within an MXD. That are sitting ...
1
vote
0answers
38 views

Opening *.lyr file in QGIS without access to ArcGIS for Desktop? [duplicate]

Is there a way to open a *.lyr file in QGIS without using ArcGIS for Desktop? I have no access to ArcGIS, so the solution explained in Adding Layerfiles (.lyr) to QGIS? is not an option. I have a ...
0
votes
2answers
76 views

Getting information out of an ArcGIS .lyr file

I'm using ArcGIS 10 and I downloaded a Raster layer from here: http://bioval.jrc.ec.europa.eu/products/glc2000/products.php When I unzip it I get the following files: 1 Aux-File (15KB) 1 ...
0
votes
0answers
14 views

Using a layer file to apply symbology to shapefile [duplicate]

I have code that doesn't work at the moment: # Import arcpy module import arcpy # Script arguments Input = arcpy.GetParameterAsText(0) if Input == '#' or not Input: Input = "frame" # provide a ...
2
votes
2answers
46 views

How can I make an Atlas of the land cover within each of the watersheds?

I have a Land Cover raster that has its legend in a layer-file (.lyr), and a shapefile delineating watersheds. I have access to QGIS 2.8.1 and to ArcGIS 10.1. I want an Atlas of the land cover within ...
0
votes
1answer
84 views

ArcPy Script to update LYR data source not identifying all layers in folder

I've put together a script that for the most part works as intended - to walk through a series of folders, find SDE layer files and update their data source to direct connects if the layers support ...
0
votes
0answers
37 views

Counting the number of symbols in the lyr

Counting the number of symbols in the lyr displays 0 count while it counts them in the total count. I have 253 unique values in my F.C and I have created a symbology layer for them and imported it, ...
0
votes
0answers
37 views

Exporting layer file values to a text document

Is there any method to export the entries of a *.lyr to a text file (docx, xlxs,...) since I have lyr which contains 255 values and I need to check it by exporting it to a text file
2
votes
1answer
180 views

Can QGIS or GRASS convert layer files to shapefiles?

Should I be downloading QGIS or GRASS? I want the program with the most features. Most importantly, I have a lot of .lyr files. Can either of these softwares convert to shp and if so, how can I do ...
0
votes
1answer
60 views

Recovering layer (*.lyr) file that is missing shapefile?

Somebody in the office deleted a point shapefile that has a lyr file as well. How can I recover it? Is there a Script that allows me to recover it?
0
votes
1answer
84 views

Merge layer files in folders and subfolders with arcpy

I work with arcview 10.3. I try to merge layer files in order to get one layer file that include all the features in the other layer files. All layer files as different names, and they all spread in ...
2
votes
0answers
25 views

Newly added layer has incorrect and seemingly unfixable data source

I am using ArcGIS 10.2.2. I added a layer to arc map and the layer loaded with the red exclamation mark next to it, indicating that it could not find the layer. I checked the data source and it was in ...
1
vote
1answer
1k views

How to convert .lyr to .shp in ArcMap 10.2?

Does anyone know how to convert a .lyr to .shp format in ArcMap 10.2? I had a look at different forums on the internet and most people suggest that it works by right clicking on the layer in the TOC ...
0
votes
0answers
44 views

Create .lyr file from a raster and add to display

I'm working with rasters, there are 3 folder (input, query, result). In the input folder are the basic rasters. The user can choose between these rasters, the code can collect the rasters into the ...
2
votes
3answers
178 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
296 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
78 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
141 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
338 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
370 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
115 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
230 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
3answers
3k 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
175 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?
11
votes
4answers
7k 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
414 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
3answers
560 views

Remove username and password from saved arcgis layer (.lyr) files?

How can one remove the saved username and password from ArcGIS layer (.lyr) files? A scripted solution preferred but even a point and click method will be welcome.
7
votes
1answer
11k 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 ...
14
votes
4answers
2k views

Are ArcGIS *.lyr and *.mxd data format specs published?

Are the binary formats of *.lyr and *.mxd files published?