Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [layer-file]

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.

0
votes
0answers
23 views

Change datasource of layer file object (outside of mxd) to source on SDE

I am creating a number of layer object files outside of an MXD document (the layer is being copied from a separate layer object file outside of an MXD) and attempting to loop through each new lyr ...
0
votes
2answers
36 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 ...
0
votes
1answer
50 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 ...
0
votes
1answer
38 views

arcpy.mp.LayerFile() OSError

I'm new to GIS programming, and am going through the Esri "Getting Started with arcpy.mp" tutorial. When I try the following: lyrFile = arcpy.mp.LayerFile(r"path to a layer file") I get the ...
2
votes
0answers
187 views

Using .lyr files in QGIS

I'm trying to use a publicly available data set (the Australian National Vegetation Information System) in QGIS, but it has been set up for use in ArcGIS (.lyr file). I tried to convert the file ...
0
votes
0answers
30 views

ArcMap2SLD always gets opacity as 1?

Trying to solve the age old question of how to convert ArcGIS .lyr to either .sld or .qml files. the best solution i have found so far is ArcMap2SLD. It transfers the colors right, but always gets the ...
0
votes
1answer
67 views

Using ArcPy to produce lyr files pointing at geopackage?

I have hundreds of lyr files with a complex tree structure containing both layer groups and nested layers. What I would like to achieve is to grab each lyr files, iterate through every single layer (...
1
vote
0answers
33 views

Using Esri .lyr data in QGIS? [duplicate]

is there any possibility to use an Esri .lyr data in QGIS? Maybe a tool to convert the file into a xml or sld?
0
votes
2answers
108 views

Error 000732 - Input Layer “does not exist or is not supported” when using 'ApplySymbologyFromLayer_management'

Using Arc 10.2 I am getting the following error message... ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Layer: Dataset Q:\Data\Infrastructure\Infrastructure....
1
vote
1answer
27 views

Exporting lines of .lyr file using ArcPy?

After I finished make an OD cost matrix layer with function outNALayer = arcpy.na.MakeODCostMatrixLayer(inNetworkDataset, outNALayerName, impedanceAttribute, 15, "", accumulateAttributeName) the ...
1
vote
2answers
55 views

Find and replace layerfile paths

Is there a way I can find and replace all layerfile paths in a folder? I have over 150 layer files that have incorrect paths after a server migration changed the path of the layerfiles. I have found ...
0
votes
1answer
33 views

ERROR 000732 in code to Save shape as .lyr?

I am using a code (modified from Midavalo) to save .shp files as .lry files. The code runs well and displays the .lr files in the table of Contents. However, the Python displays Runtime error. On the ...
0
votes
2answers
39 views

Preserving legend format in .lyr file

Is there a way to preserve the format of the legend in an .lyr file in ArcMap? The legend is simple - bold layer name atop the symbol with no label or description. When I save it as a .lyr file, it ...
1
vote
0answers
30 views

“Spatial Match” analogue in ArcMap?

My question is about reverse geocoding addresses over a large area from a set of points or polygons in ArcMap. I know from previous experience that Alteryx with the Spatial Match tool allows one to ...
2
votes
0answers
403 views

Convert .qml to .lyr [duplicate]

I am working on a project with two different teams, each working with a different GIS software package: QGIS and ArcGIS. I am trying to convert my QGIS layout to ArcGIS, so the team with ArcGIS can ...
1
vote
0answers
252 views

SQLite / Geopackage and saving Geometry in ArcGIS

Has anyone successuflly created a layerfile (ArcGIS 10.4) to a dataset/table stored in a SQLite or Geopackage file? Process of creating Layerfile: ArcMap TOC > Change Symbology > Right click > Create ...
0
votes
0answers
36 views

Trouble transferring the symbology from ArcGIS map into ArcGIS Explorer

I am making a map for a nature conservation organization that lets them visualize their tax parcels and the tax data associated with each parcel. For reasons of simplicity and accessibility (not ...
1
vote
1answer
303 views

Apply Symbology from Layer Not Working in Script

I am working on applying symbology to multiple layers from lyr files for multiple MXDs within the IDE. I have been able to access the MXDs and iterate through and change the definition of "mxd". I am ...
1
vote
1answer
135 views

Creating .lyr file to import symbology using ModelBuilder?

I am trying to create a .lyr file in order to import symbology to a .shp file. The ESRI link says to use ModelBuilder to do this, but I am having trouble understanding the directions bc I haven't used ...
-1
votes
1answer
393 views

How to extract data of lyr. to shp. file by map extent [closed]

I have a lyr. connect to a state scale data source. Is it possible to download all the data within the map extent and save as shp. file to my local drive?
1
vote
1answer
226 views

How to get the server address of the ArcGIS lyr. file

I have a lyr. file and want use the content in QGIS. So my question is how can I check where this lyr. linked to. I don't need the style just want data itself.
1
vote
0answers
121 views

How to import .lyr files into Cesium?

I have an application that is able to import .lyr files into a Cesium map if they are bundled with all the required associated files in a zip file. The application treats the bundled files in the ....
1
vote
0answers
96 views

How to use ESRI 'Ecological Land Units' in QGIS?

I am trying to use the Map of Global Ecological Land Units – An Ecophysiographic Stratification Approach (2014) in QGIS. I downloaded the World ELU 2015.zip from https://rmgsc.cr.usgs.gov/outgoing/...
0
votes
1answer
36 views

Connecting .lyr and shapefile query

How do I add or join a .lyr to a shapefile? I have a shapefile of a city's zoning districts and, separately, the .lyr, which shows the correct colors for each zoning classification. Based on ...
1
vote
1answer
471 views

Exporting layers from MXD to geodatabase maintaining same TOC structure?

I have imported several shapefiles from different sources and have set up an MXD project with groups and subgroups of layer. I want to export the layers to a geodatabase while maintaining the same ...
1
vote
1answer
85 views

Cannot convert OneGeology KML to layer file in ArcGIS Desktop?

I downloaded and saved a KML file of Indonesian geology from OneGeology Portal (http://portal.onegeology.org/OnegeologyGlobal/). However, when I use the KML to Layerfile tool in ArcGIS, the tool does ...
2
votes
1answer
96 views

Keeping symbology and labels sync'd between data frames in ArcGIS Desktop?

ArcGIS 10.3.1 for Desktop I have an mxd file with nine different frames of essentially the same data (just displaying different layers in each map). These maps all include hospitals (as a point file)....
1
vote
2answers
41 views

Layer 'save as' file displaying wrong/original name in TOC

I'm running ArcMap 10.3 and trying to create a new copy of a layer in my map document, which I can do, but when I load the new copy back into my map, the TOC displays its name as the old file from ...
0
votes
1answer
159 views

Creating Layer file (.lyr) Reference with Path

Im looking for a way to get the name and path of a layer file which is used in an MXD. I know once a layer file is added to a MXD, the path info is not stored, which is problematic. Essentially the ...
2
votes
1answer
87 views

Calculating average value into new field using layer file?

I have a layer file with a BE field. Some BE have more than one BU. Each BU has a scorecard number. I need to calculate the average of those scores per BE. I need this in the layer file to be able ...
1
vote
1answer
324 views

Arcpy replaceDataSource for different cases

I have a layer in my gdb file called lines. I also have a *.lyr file lines-N with symbology for the lines layer. I need lines-N to have the same data source as lines, using arcpy.replaceDataSource. ...
1
vote
1answer
57 views

Testing Validity of Web Service Referenced in Layer File?

My organization creates a number of layer files for our ArcMap users to access data from web services. Is there any way to use arcpy.Describe to get to the URL of the service referenced by the layer? ...
1
vote
0answers
44 views

Change path to layer? [closed]

I have script that should add lyr file from server. It is like a multiple symbology to certain layerin TOC, i.e. I have a feature class called tline and different symbology layers like tlineA, tlineB. ...
3
votes
1answer
326 views

Reprojecting lyr file of Tiled Internet Layer created in ArcGIS Online?

I have an ArcGIS lyr file describing Tiled Internet Layer (according to Data Source tab in properties). This file was created in ArcGIS Online by defining a new tile layer and downloading it. ...
1
vote
1answer
3k views

Difference between Layer File, Layer Package, and Map Package?

What would I use them for? I know map package comprises all the layers but how is a map package different from the others?
1
vote
4answers
1k views

Importing style information from .lyr file to Google Earth?

I have downloaded the geology data from the USGS website (http://pubs.usgs.gov/ds/781/OffshoreSantaBarbara/data_catalog_OffshoreSantaBarbara.html) and the .zip file comes with a .lyr file. I have ...
2
votes
3answers
1k views

How to save the shapefile with points and labels together?

I'm using QGIS and trying to save a point layer with labels. When I save that point layer and then try to open it separately. But now there are only the points no any labels which I fix earlier. Why ...
1
vote
1answer
327 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 ...
2
votes
1answer
132 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
383 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
0answers
53 views

MXD defined symbology not retained [closed]

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
109 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
75 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":...
1
vote
1answer
201 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
617 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 ...
4
votes
1answer
6k 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
88 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
96 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
265 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
49 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,...