Comments and answers for "DXF (or DWG) to XML" https://knowledge.亚搏在线safe.com/questions/56942/dxf-or-dwg-to-xml.html The latest comments and answers for the question "DXF (or DWG) to XML" Comment by fmenco on fmenco's comment https://knowledge.safe.com/comments/56954/view.html Okay, I see QGIS does work with SVG..Is there a way then to convert DWG or DXF to SVG in FME?I've tried, but when I upload that SVG, I don't see the symbology in QGIS.It does load the symbology for other (free) SVG files that I downloaded from the web.

Wed, 01 Nov 2017 10:52:31 GMT fmenco
Comment by redgeographics on redgeographics's comment https://knowledge.safe.com/comments/56947/view.html Yeah, I get the impression QGIS wants a really specific XML schema, see if you can get a sample of that."XML" basically just indicates the file was structured in XML but says nothing about the schema.

And fwiw, QGIS can actually work with SVG symbols, looks like you can import them through the style option in the layer properties.

Wed, 01 Nov 2017 08:46:56 GMT redgeographics
Comment by fmenco on fmenco's answer https://knowledge.safe.com/comments/56946/view.html When you want to import (point) symbology in QGIS, which is what I want to do, QGIS only accepts XML.That's why I want to change these .cel files to XML.So no, I don't think QGIS is able to accept SVG, but don't quote me on it.
I don't have specifics on how QGIS wants the XML file to be structured, but I'm going to play around with the XMLTemplater to see if that works.

Wed, 01 Nov 2017 08:38:24 GMT fmenco
Answer by redgeographics https://knowledge.safe.com/answers/56945/view.html

How does QGIS want that XML to be structured?What should its contents be?

If you have an example of that you could use the XMLTemplater to build the XML the hard way, for specific purposes like this that's probably best, the standard XML writer will take what it gets as input and put that in XML, but if you need specific and strict schema's it may not be sufficient.

I'm also wondering if there isn't an easier way to achieve this.Can QGIS use SVG symbols?

Wed, 01 Nov 2017 08:24:19 GMT redgeographics