Skip to main content

I want to convert a KML file with labels to Cad format.

You can use a LabelPointReplacer to place texts on point locations, the text label itself can be taken from a KML attribute (most likely kml_name but that depends on your data).


You can use a LabelPointReplacer to place texts on point locations, the text label itself can be taken from a KML attribute (most likely kml_name but that depends on your data).

Thank you for you reply. When FME read KML it creates 14 readers like sound cue, folders, document, tour handler etc . I join all the readers to writers it creates a CAD file with points and lines. But i do not show Labels. In fact i dont know how to use LabelPointReplacer . I tried to put inbetween reader and writer but didn't get good results.

I am new bee kindly ignore irrelevants .


Thank you for you reply. When FME read KML it creates 14 readers like sound cue, folders, document, tour handler etc . I join all the readers to writers it creates a CAD file with points and lines. But i do not show Labels. In fact i dont know how to use LabelPointReplacer . I tried to put inbetween reader and writer but didn't get good results.

I am new bee kindly ignore irrelevants .

Placemark is probably the only one you need to work with (but again, it depends on your data), connect that to a LabelPointReplacer, then set the LabelPointReplacer parameters to use an attribute, e.g. kml_name, as label source and specify a text size. This size would be in "map units" so keep that in mind (KML is always in LL84 coordinate system, so you may want to reproject to a more meaningful coordinate system as the first step in your process.

Also, by connecting Inspectors to your input feature types, or viewing the KML in the Data Inspector, you can get a better idea of how FME handles KML and what's where.


Thank you for you reply. When FME read KML it creates 14 readers like sound cue, folders, document, tour handler etc . I join all the readers to writers it creates a CAD file with points and lines. But i do not show Labels. In fact i dont know how to use LabelPointReplacer . I tried to put inbetween reader and writer but didn't get good results.

I am new bee kindly ignore irrelevants .

I don't know that you need to connect folders and documents. I don't think they will do much in the DWG. What you need to do to add a LabelPointReplacer is click on the connection through which point features move. Then type "labelpointreplacer" and press enter. This will add a LabelPointReplacer transformer. You can open that and enter/select the label and label height. Hope this helps.


Reply