A Layer (*.lyr) or Layer Definition (*.qlr) File in ArcGIS or QGIS respectively, that stores a path to a source dataset and other layer properties, including symbology.

learn more… | top users | synonyms (2)

1
vote
1answer
34 views

Generating WMS service from file geodatabase and layer files using no ArcGIS software?

I'm just starting with GIS. I'm using Leaflet to get a WMS layer. It works fine, but I want to know how can I serve the tiles from my own server. I have a .gdb file and several .lyr files. What I ...
0
votes
0answers
15 views

Arcmap 10.2 (query builder and or Expression)

I want to turn off selected sect_label numbers from showing up on my base map as I have a shapefile with Section and acreage loaded for a specific area and i need to use the shape file because it lets ...
2
votes
1answer
35 views

Update layer groups symbology from a .lyr

I'm searching for a way to update layer symbology. I have around 50 mxd which have all the same TOC made of 2 dataframes (one .lyr for each) containing numerous layers / layer groups. The data is ...
2
votes
3answers
121 views

QGIS automatically set transparency for (#000000) pixels and save *.qlr

Starting with FME, i convert some hundreds of geotiffs to jpeg2000. The jpeg2000 writer does not support nodata-values. Adding the data to QGIS gives me these black (#000000) areas when rasters are ...
2
votes
1answer
40 views

MXD defined symbology not retained

I'm trying to create some layers from feature classes located in the geodatabase. The MXD is created, symbology on feature classes defined within ArcMap, but for some reason my symbology is not ...
1
vote
1answer
29 views

exporting a polygon from a layer file to a file geodatabase feature in arcpy

I have a script that creates Service Areas(SA) using Network Analyst. I need to use the polygon of the SA later on in the script. I need to do an analysis using each resulting SA individually. The ...
1
vote
1answer
50 views

Finding layer file used to add layers to MXD in ArcPy?

I work with layer that located in G:\PROJECTS\bneyAyish\gis\lyr\New File Geodatabase.gdb\polygon, and I created a layer file and located it in G:\PROJECTS\bneyAyish\gis\lyr under the name "indisLabel":...
0
votes
0answers
58 views

What is causing a “Failed to edit the selected object(s)” error?

I have a file named 'water use.lyr' which is a practical file accompanying by 'Getting started to ArcGIS' book (ESRI). When I want to open this file, I get 'Failed to edit the selected object(s)' ...
1
vote
1answer
52 views

Converting layer file ArcGIS desktop 10.2 to 10.0 fails

I am having problems with converting an ArcGIS 10.2 layer file to a 10.0 layer file. I used ArcGIS online to import webmaptiles into my ArcMap 10.2.2. desktop version. In order to use them offline, I ...
1
vote
1answer
196 views

How to read file geodatabase with Binary field in R?

Short version: how can I get into R the dataset available at this link? (you need to log in to download, but registration is free) The dataset that is downloadable at that link expands to a ...
2
votes
1answer
188 views

Reading *.lyr file in QGIS when no access to Arc2SLD or ArcGIS for Desktop?

Does anyone know how to open .lyr files in QGIS without having access to ArcGIS or to Arc2SLD? Perhaps there is a plugin or open source program that could do it.
0
votes
1answer
43 views

Merge several .lyr files that contain a raster photo column

Shapefiles do not support raster files, so I created a geodatabase and made feature classes of the points. I then added a column titled "photos" and added the photo as a raster to the point. I now ...
1
vote
1answer
43 views

Finding metadata about symbology in *.lyr file, data-source missing?

I have this lyr file which have a data source I don't know where is. When I set a new data source, it's the lyr file with all the symbology that gets replaced with the default values from the data ...
2
votes
1answer
76 views

Applying template (layer file) to raster in ArcGIS ModelBuilder?

I am trying to apply a template layer, .lyr file, to a raster created as an output of raster calculator in ModelBuilder. However I cannot set this as the input feature to the tool "Apply Symbology ...
1
vote
1answer
30 views

How to use European Environment Agency Land Cover Data in ArcGIS for Desktop?

I am new to ArcGIS for Desktop and I have downloaded some land cover data from the European Environment Agency. the data comes in 3 separate files, A tiff file, which is the data source for the raster,...
1
vote
1answer
116 views

Save/ import style of chart symbology in ArcMap?

I am trying to save a style for a chart symbology. I can save it as .lyr file but I can't import the .lyr file into the chart symbology after: it says "this symbology option is not supported for ...
2
votes
2answers
268 views

Reading through contents of layer file using ArcPy?

I have a collection of rasters (all in separate geodatabases) that I am trying to put into a MOSAIC using a python script. I have a bunch of these to make so I was thinking that the easiest way to do ...
0
votes
0answers
32 views

ArcGIS - missing old lyr file

I have some mxds from a few years back that I have been tasked with re-purposing. I need to recreate the original symbology, now missing, which was apparently done by loading a lyr file from parts ...
1
vote
1answer
27 views

Setting up layer file template/design for lots of different data in ArcGIS for Desktop?

So I've started working for a company where people use background data like rivers, buildings, roads and so on a lot. The data is used all over the country, so I have to download a lot of data for ...
0
votes
2answers
201 views

Dynamically creating lyr file in ArcPy (for use with group layer)?

I'm trying to create an mxd that can dynamically create and name group layers, and populate them with various feature layers. I've seen some examples of how to do this, such as : Creating empty group ...
3
votes
0answers
71 views

Importing representations from Layer File?

I'm trying to incorporate representations as part of my data model. I have set up representation rule for my feature class, which is part of a feature dataset. The way I have the data categorized is ...
-2
votes
1answer
155 views

What are shapefiles, layer files, and databases and what are their relationships? [duplicate]

What exactly is a shapefile in ArcGIS, and how is it related to a database or a layer file. What are the differences between these 3 things?
0
votes
2answers
273 views

Importing CAD polyline symbology into same polyline but converted to feature class?

I'm working with a CAD drawing (DWG), and I've exported the polyline layer into a file geodatabase. When I add the exported polyline layer to ArcMap, and try to import the symbology from the original ...
0
votes
0answers
26 views

Layer File Changing with Feature Class Edits

First post on this forum. I tried searching for an answer but really couldn't find what I needed. Feel free to point me in the right direction if I've missed it. I have several oil wells that I plot ...
0
votes
1answer
100 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
48 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 *....
2
votes
2answers
538 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 ArcGIS-...
2
votes
2answers
127 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
221 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
110 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
89 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
2k 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
97 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
244 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
42 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 ...
0
votes
1answer
8k views

Converting .lyr to .shp in ArcMap?

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
172 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
597 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
919 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 ...
23
votes
2answers
8k views

Does QGIS have the equivalent of ArcGIS's Layer (*.LYR) file?

Using ArcMap, it is possible to add a dataset (eg a shapefile) to the map, and configure the layer's properties (such as the symbology, table joins, switching some attributes off in the Identify ...
0
votes
1answer
120 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 document....
1
vote
1answer
261 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
413 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
647 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 entirely....
0
votes
1answer
187 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 ...
1
vote
1answer
356 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
6k 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, ...
3
votes
1answer
273 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
12k 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
693 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. ... # ...