Skip to main content

Questions tagged [layer-file]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

Annotation labels in QGIS not aligned

I have a large data set of a base map for the city of Dresden. This was created in ArcGIS and is available as an .mxd file. Unfortunately, .mxd data cannot be easily imported into QGIS, so I imported ...
MmVi's user avatar
  • 83
0 votes
0 answers
53 views

Intersect streets from ArcMap data in QGIS

I have a large data set of a base map for the city of Dresden. This was created in ArcMap and is available as an .mxd file. Unfortunately, .mxd data cannot be easily imported into QGIS, so I imported ...
MmVi's user avatar
  • 83
0 votes
1 answer
38 views

Convert .lyr to QGIS project not working due to database connection

I am currently trying to import layer data from ArcMap into QGIS via SLYR. This also works with normal layers, but not with those that refer to data in an Oracle SDE database. When I want to convert ...
MmVi's user avatar
  • 83
0 votes
0 answers
34 views

Export styling from ArcGIS .lyrx to QGIS [duplicate]

I have an ArcGIS Pro Layer File (.lyrx) and I want to export it to QGIS. I managed to get the shapefiles, but I also want to export the styling (symbology) from this ArcGIS file to QGIS. Is it ...
Freestyle Season's user avatar
-1 votes
1 answer
46 views

UKCEH Land Cover files missing the lyr file

I am trying to use the UKCEH Land Cover 2021 files to create a habitat map in ArcGIS Pro. On the supporting documents pdf it says to get the symbology to work visually, you need to use the ...
Thorn344's user avatar
0 votes
0 answers
26 views

Add .lyrx to map based on ProWindow xaml checkbox C# error with threads

I am trying to create an addin where the user can check the layers they want added to the map, this should be invoked via a button in a Pro Window, which then adds the appropriate .lyrx to active map. ...
Daz's user avatar
  • 365
0 votes
0 answers
59 views

Error when trying to convert lyr to qml

I am trying to convert a lyr file created for ArcGIS to qml in order to use it in QGIS. I installed the SLYR Community Edition Plugin version 5.0.0 in QGIS version 3.28.8-Firenze, provided the input ...
s_hotes's user avatar
0 votes
0 answers
29 views

Looping through raster symbology (.lyrx) files assigning and saving using ArcPy with ArcGIS Pro

I have a raster with 8 bands all meaning different wildfire behaviors. There is a designated folder that holds the symbology for each (rate of spread, flamelength, etc). From downloading from the ...
Jon's user avatar
  • 1
0 votes
1 answer
499 views

Cannot fix broken link to .lyrx file in ArcGIS pro

When I drag and drop a .lyrx file into ArcGIS, the red exclamation mark indicating a broken data link appears. When I click on the red exclamation mark and try to fix the file link within ArcGIS, the ....
Molly's user avatar
  • 1
1 vote
0 answers
84 views

Improving performance when loading data in current Map using ArcGIS Pro SDK and C#

I want to load data into a current map in ArcGIS Pro 2.9. For this purpose, I want to use a .lyrx file. Currently, I have implemented it with: Uri uriLayerPath = new Uri(strLayerPath); LayerFactory....
Stephan's user avatar
  • 11
0 votes
0 answers
351 views

Saving layer as .tiff file using ArcMap

I have an NDVI map for which I changed the symbology in ArcMap. Now, I want to export this as a .tiff file and then import this .tiff file in Google Earth Engine. Can we save a layer as .tiff file in ...
user14's user avatar
  • 49
0 votes
1 answer
72 views

Execute Slyr Algorithm in a standalone app

I'm trying to execute the Slyr : lyr_to_qml.py script (a script written by NorthRoad) in a standalone app. I'm having trouble running it, I get an "ModuleNotFoundError: No module named 'qgis'&...
Joseph's user avatar
  • 1
1 vote
2 answers
73 views

Distinguishing between shapefile and layer file using ArcMap

I have a shapefile with points and I derived from it some layerfiles with different symbologies (based on different columns of the attribute table). How can I distinguish between shapefile and layer ...
ims.weber's user avatar
0 votes
1 answer
343 views

How to access some Server's folder in QGIS

Somehow access some file from server in QGIS is so easy just drop in your QGIS project. But some case you need access your server from QGIS "search directory" then your server is did not ...
Damar Panoto's user avatar
0 votes
0 answers
56 views

Saving layers from ArcSDE to layer file using ArcMap

I have an MXD with layers sourced to SDE feature classes. I am trying to save the layers as layer files. However, I can't get arcpy.SaveToLayerFile_management to do its job. Here's the code I use in ...
Emil Brundage's user avatar
-1 votes
1 answer
73 views

Creating one single lyr from two [closed]

I have two lyr and I want to create one single lyr (I want to unite into one). Is it possible?
daniela's user avatar
0 votes
0 answers
29 views

How to exchange QGIS legend symbology into ESRI ArcGIS? [duplicate]

Is there a possibility to import the legend symbology, which has been created in QGIS, to Esri ArcGIS? Or a possibility, to create a .lyr file from QGIS?
Julia's user avatar
  • 1
0 votes
1 answer
1k views

Reading .qlr (QGIS file definition layer) in ArcGIS Pro

Is there any way to open a .qlr file (layer definition in QGIS) in ArcGIS Pro? If not, is there any workaround to export my QGIS symbology to Pro?
Maja's user avatar
  • 33
0 votes
1 answer
369 views

ArcGIS Pro: dragging lyr-file from folder in project creates 20 missing data sources

I dragged "Fastighetskartan.lyr" into the map. It now shows up missing 20 data sources - even though the data source is the bs_get.shp in the same folder as the lyr-file. How come this ...
gremol's user avatar
  • 107
1 vote
0 answers
95 views

Getting .tiff files from ArcMap

I'm new to ArcGIS. I was given a map document that is composed of many .tiff files in .lyr format (it's only 4kb in size, so .tiff files are stored on some external server). Is it possible to export ...
Serhii Perov's user avatar
1 vote
0 answers
90 views

Blank screen when displaying vector file from spreadsheet in QGIS

I have a spreadsheet plugin installed. The Excel spreadsheet has coordinates in Australia's national grid GDA94 zone 56 which are metric. I open the Excel file and use the geometry button and ...
Neil Wilkins's user avatar
1 vote
0 answers
56 views

Points dataset legend to polygon dataset

I'm working with ArcMap 10.5.1 I have a point dataset in a gdb, with a particular legend. The color in the legend represent the area of effect that intersects that point. I also have a polygon dataset,...
adriasf's user avatar
  • 67
0 votes
1 answer
367 views

Adding raster file from file geodatabase to .lyrx file using ArcPy

I have a file from a file geodatabase, which contains all raster files, that I want to save to an already existing layer file. I am using ArcGIS Pro. I am trying this like so: import arcpy import os ...
Stefano Potter's user avatar
2 votes
0 answers
47 views

Is there a way in QGIS to display vector files on a shared drive without others being able to edit the file?

So just like lyr-files in ArcGIS. I have read that qlr-files are QGIS answer to lyr. But as far as I can see when I try, the receiver can edit in the main source of the data through the qlr-file. So ...
DyndeMachine's user avatar
4 votes
2 answers
1k views

Can .lyr files be used without shapefiles?

I've been sent some .lyr files, with no associated shapefiles. I'm using QGIS, so it seems I need to try some conversions to get these to work anyway - but I just wanted to check before I embark on ...
lisagravy's user avatar
  • 529
4 votes
1 answer
5k views

Converting a layer file (*.lyr) to a QGIS compatible file without using ArcGIS

I have some .lyr files and I need to be able to open them in QGIS. I don't have access to ArcGIS so I need to convert those files to another format compatible with QGIS (.qlr, .xml, .sld, .style,...) ...
Irene's user avatar
  • 41
1 vote
0 answers
43 views

Can ArcGIS Desktop read any open source layer definitions?

I am looking for a non-proprietary way to store layer symbology for both vector and raster layers and then load those layers in ArcGIS Desktop 10.x. I have used layer files for this purpose for many ...
narmaps's user avatar
  • 692
7 votes
1 answer
218 views

Save layer file with different Definition Query with ArcPy

I would like to save a new layer file with different definition query, but receive TypeError: 'unicode' object is not callable. import arcpy lyrFile = arcpy.mapping.Layer("\path to layer file\ ...
Benas Pekarskis's user avatar
10 votes
3 answers
10k views

Converting lyrx file or style manager stylx file from ArcGIS Pro to ArcMap

Is there a way to either convert a lyrx file or the style manager stylx file from ArcGIS Pro 2.0 into anything that can be used in ArcMap 10.5? I have symbology for about 100 items in ArcGIS Pro ...
WyomingIsCool's user avatar
2 votes
1 answer
1k views

Extracting/processing raster information from .lyr or .kmz file

I have a raster which is stored as a .lyr file, which I got from the following source: http://forestrymaps.alaska.gov/arcgis/rest/services/Rasters/AK30mSlope/MapServer When I open it in ArcMap I ...
Eumenes's user avatar
  • 41
1 vote
1 answer
542 views

Split vector by field name and rename output files according to field value

I have a shapefile with several features and want to split the layer into separate shapefiles. I looked into similar questions recommending Split Vector Layer. However, I could not find a way to ...
JAT86's user avatar
  • 932
0 votes
0 answers
56 views

Replacing data source for group layers from FGDB to ArcSDE with different file names

Being a recent graduate and just started working I'm fairly new with Python, but I'm trying my best to learn and I find it really fun and useful! However, I'm stuck with a problem I can't seem to ...
Kristoffer's user avatar
0 votes
1 answer
218 views

Dataset does not exist or is unsupported SaveLayerToFile

I am trying to save a layer from an MXD to a lyrx file in a geodatabase using ArcGIS Pro. aprx.importDocument(current_document_name) mlist = aprx.listMaps() infra_layers = mlist[0].listLayers() arcpy....
Steve Scott's user avatar
3 votes
2 answers
1k views

Keeping constant shapefile symbols

I am using ArcGIS 10.1, I am just wondering if there is a way to maintain constant the selected symbols for some shapefile. The scope is to use the same shapefile with the same chosen symbols also in ...
Roberto's user avatar
  • 71
2 votes
0 answers
222 views

Transferring layer files from ArcGIS Pro to QGIS [duplicate]

I have access to ArcGIS Pro at my workplace and will be transferring a project over to someone who will be using QGIS. I have saved my layers as a layer file but the problem is that the other person ...
Katie's user avatar
  • 21
0 votes
1 answer
2k views

Opening/loading layer file in ArcPy?

I ran a script for location allocation on ArcPy, which worked. After running it, I used the Save to Layer File to save the result. Now that I have the result saved (and can even open on ArcMap), I ...
Leo Barlach's user avatar
0 votes
1 answer
246 views

Add Layer Failed

I am having an issue after my IT department changed my user login profile info. Everything works fine except for a bunch of layer files we use that reference imagery services. Everytime I try to bring ...
Bowser's user avatar
  • 89
4 votes
3 answers
5k views

Opening ArcGIS Pro layer in ArcMap?

I received a layer package (lpkx) from a client. Finding out I couldn't open it in ArcMap led me to discover that this is a newer version of the software (ArcGIS Pro). I managed to install that and ...
Luuklag's user avatar
  • 150
0 votes
1 answer
57 views

Using ArcMap Group Layer? [closed]

I am working with multiple grouped layer files that when in the layer file they do not have any of the normal properties. For example, when I click on the properties for an individual layer within the ...
Bowser's user avatar
  • 89
1 vote
0 answers
616 views

Layer files not drawing properly in ArcMap? [closed]

I have a co-worker who had his windows user credentials changed after coming on full time. After this change we noticed an issue with a series of layerfiles not drawing properly when brought into ...
Bowser's user avatar
  • 89
1 vote
1 answer
617 views

Importing/downloading symbology from ArcGIS Online using ArcPy?

I am currently attempting to create a script to download shapefiles from ArcGIS Online to my local drive before adding it to an aprx project and thereafter uploading it to a ArcGIS portal/enterprise. ...
Sineik's user avatar
  • 27
4 votes
0 answers
1k views

How to import QGIS layer definition files without losing value relation settings?

QGIS allows groups of layers to be saved as a 'layer definition file'. Where one layer in that group references another - using a 'value relation' widget on its attribute form - these setting are ...
Rostranimin's user avatar
  • 3,010
1 vote
2 answers
416 views

Saving layer files and ignoring special characters using ArcPy

I'm trying to save all layers in my ArcMap mxd as .lyr files using the script below. However, I'm getting an error because some group layer names contain special characters (e.g. © : * ) and cannot ...
Anneka's user avatar
  • 103
0 votes
0 answers
124 views

Apply .lyr Symbology To Layer Names That Meet if Condition

I am trying to create a script that applies a layer style from .lyr file to layers in my table of contents that meet a certain criteria. The criteria being the layer name must contain string of "x". ...
Chris's user avatar
  • 131
0 votes
0 answers
85 views

Feature templates do not change when using LYR file and PostgreSQL?

We just started migrating from SQL Server to a PostgreSQL Server for production. Traditionally, we load a LYR file containing all of our symbology, then point it to our new GDB on the SQL Server. If ...
Barbarossa's user avatar
  • 5,817
2 votes
0 answers
2k views

Batch converting .lyr to .qml?

I am looking for ways to make .lyr files usable in QGIS. It appears that they can be converted into an .sld file in ArcMap but according to one of the posts, they only store symbology and do not point ...
Phil 's user avatar
  • 21
2 votes
0 answers
119 views

How do Joins & Relates in layer file and Layer Properties work?

I'm using ArcMap 10.5. I set up symbology for a feature class based on joined attributes from a table in the same file geodatabase. I want to be able to apply the same set-up in different geodatabases ...
earthwriter's user avatar
0 votes
2 answers
290 views

Retrieving Layer Files From Map Packages

I am using ArcMap 10.5. I have around 57 map packages that I need to salvage layer data from. The layer files were incorrectly saved with absolute paths instead of relative paths so they won't ...
user133446's user avatar
0 votes
2 answers
387 views

Providing multiple shapefiles belonging together in single file with predefined symbology in ArcGIS Desktop?

There are multiple shapefiles which belong together and should be provided in a single file with predefined symbology (see figure). Is there an option to do so? Currently, the shapefiles are bundled ...
stonebe's user avatar
  • 477
0 votes
1 answer
401 views

Using script to list .lyr files with broken links?

I would like to identify within a particular folder the .lyr files that have broken links. Some of these files are within multiple folders but all fall within one folder. My programming knowledge is ...
FRMMO's user avatar
  • 83