Most open source GIS programs can open all most common, and quite a few obscure data format (thanks to the gdal library). What they can’t open is the ArcMap layer files (.lyr). A layer file defines the symbology used to draw the data when it is added to the display and stores information about the symbology, symbology classifications, labeling properties, scale dependency and definition. So what if a data layer is distributed with a layer file?
Well, most likely you’ll have to recreate the legend yourself. A bigger problem is if the data is distributed with the key attributes described in the .lyr file rather then in the attribute table. In other words, if it contains the classification of the layer.
A good example is the Terrestrial Ecoregions of the World data set distributed by WWF. It is available as a shapefile with two .lyr layer files that can be used to symbolize respectively the ecoregions and biomes. The layer file is indispensable; the attribute table only contains a numerical code for the biomes, while the layer file contains he corresponding classification. So without ArcGIS, you will need to recreate the legend and to somehow find out which number in the attribute table correspond to which biome.
If you happen to have access to a computer with ArcGIS, there is a tool that helps you to convert the layer file to a .sld file, ArcMap2SLD. It is a tool for reading out styling information from ArcMap and converting into Styled Layer Descriptor-Files (SLD). This is a OGC (Open Geospatial Consortium) standard for web map-service (WMS) symbolization. It is also a standard that can be used by QGIS.
Not an ideal solution, you still need access to ArcMap, but at least it makes it possible to convert ArcGIS layer files. It also means there is not really an excuse anymore to distribute your data with .lyr files only (and i.m.h.o. , it is always a bad practise to describe key map attributes in the legend file rather then in the attribute table).
And assuming WWF doesn’t mind, you can download two above-mentioned legend files in SLD format here.
A *.lyr file for ArcMap is actually not a project file (that is a *.mxd) but a file that saves the classIfication of a layer and its cartographic representation for just one GIS data layer.
You’re right, I changed the text
hi pvanb, next time also check out http://geocat.net/bridge. Most ArcMap style features are supported, it uploads your data as a geoserver or mapserver service and publishes coupled metadata in a geonetwork metadata catalogue.
I’ve installed arcMap2SLD 1.3.0 on windows 7 with arcGIS 10.1, but it does’t work. It won’t star either!! Is there anyone who can explain me how to use that tool? I need to convert 3 .lyr file to .sld to use with Quantum GIS!! Thanks!
1.3.0 needs 10.0.
The same situation for me, but with ArcMap 9.3, arcMap2SLD does’t start.
It is normal or not?
I would suggest to send an email to the developer. You can find his email on the download web page (http://arcmap2sld.geoinform.fh-mainz.de/ArcMap2SLDConverter_Eng.htm)
Pingback: Over legendebestanden | FrisGIS by wvi
Several years later, the linked page on ecodiv.org is no longer there. Do you by any chance have the WWF SLD file still available?
Hi, thanks for reporting the broken link. I fixed it, it should now point to the correct page.
Hello, I’m dealing with the same problem as most repliers here. Convert ArcGIS symbology to SLD format. Does anyone know if the solutions mentioned: Arc2Earth, ArcMap2SLD and GeoCat Bridge make a 100% percent conversion of the original: all colours, hatches, pointsymbos, linetypes, arrowhead. Are labeled features still labeled with the same text style (height, font, …). Do Arc2Earth, ArcMap2SLD and GeoCat Bridge work with ArcGIS 10.3 ??
This will help for free to convert ArcGIS layers (styles) from within ArcGIS to SLD. Let this Good Man live long and happy!!
http://www.mangosystem.com:8080/gxt/docs/gxt_for_desktop/sld_coverter_for_arcgis/index.html
Unfortunately this link does not work. Is the tool still available? Doe you know where I can find this.
Thanks
I have not tried out this tool, just checked if the link worked for me. And it does, it brings me to a page with working download link for the tools mentioned by Stas.
Hello!
I also want to convert the *.Lyr to SLD but im using arcmap 10.2. Has anyone found a way to have a SLD suitable to this version?
Tx
Thanks pvanb. I checked again and I know the problem. There were some issues with the firewall, but I can access te website now.
error “no se puede obtener los error “no se puede obtener los tipos del instalador en el ensamblado tipos del instalador en el ensamblado