Skip to main content

Hi,

I have a Esri FileGDB with style information in a *lyr file. I want to use this data in QGIS and therefore I need to convert the *lyr file in *qml or *sld.

Is there any possibility to do this with FME? Or does someone know another way for the conversion?

Thank you and best regards.

FME doesn't have a writer for SLD or QML.

 

 

Can a text editor open a LYR? If so, you could craft a workflow to create your own SLD. It's just an XML with special tags.


FME doesn't have a writer for SLD or QML.

 

 

Can a text editor open a LYR? If so, you could craft a workflow to create your own SLD. It's just an XML with special tags.

A text editor can't read a *lyr. I use Notepad++.

 

 

 


FME doesn't have a writer for SLD or QML.

 

 

Can a text editor open a LYR? If so, you could craft a workflow to create your own SLD. It's just an XML with special tags.

I answer myself. No, it can't be opened with a text editor. But FME has a LYR Reader!!

 

 

You have to check if FME reads all the symbology information you want:

 

 

 

With that and with lots of patience you could build a SLD file using FME transformers and a Text FIle Writer.

 


A text editor can't read a *lyr. I use Notepad++.

 

 

 

Yeah, I couldn't find any LYR file to check that, but I have created one to check what FME can read about it. Check my comment to my answer.

 

 

You will have to see if FME is capable of reading all you want about the style.

 

 


An SLD is XML (and judging by the extension so is QML), so if you know its structure you can write it with FME.