Skip to main content
Question

how could i extract text from DGN File ?

  • Oct 31, 2022 10:05 AM UTC
  • 5 replies
  • 180 views

gogopotter90
Contributor
Forum|alt.badge.img+14

Hello ,

i would like to extract text from DGN File , it shown on map and use this text later as attribute ,Does it possible ?

i have attached screenshot of text in DGN file

any help please

5 replies

dustin
Influencer
Forum|alt.badge.img+36
  • Influencer
  • Oct 31, 2022 11:30 AM UTC

The DGN reader will read the text objects. You can filter out those objects with the GeometryFilter, selecting text in the Output Types.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • Oct 31, 2022 12:01 PM UTC

Use attribute exposer transformer. Expose attributes "igds_text_string" or "fme_text_string"

and then you can use Labeller or LabelPointReplacer to plot it and write to the attribute exposerdestination.


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • Oct 31, 2022 5:06 PM UTC

Use attribute exposer transformer. Expose attributes "igds_text_string" or "fme_text_string"

and then you can use Labeller or LabelPointReplacer to plot it and write to the attribute exposerdestination.

Thanks but both of Fme _text_string or igds_text_string has missing data .no thing written .

The DGN file has polygon with road data and I would like to extract the road names as shown as in photo .How could I achieve that ?

 

FME 2021


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • Oct 31, 2022 5:07 PM UTC

The DGN reader will read the text objects. You can filter out those objects with the GeometryFilter, selecting text in the Output Types.

Thanks but after using geometry filter .my output has no text ,all is gone to unfiltered .

 

do u have other idea ?


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • Nov 1, 2022 7:24 AM UTC

photo not clear. please send us the sample / small piece of data dgn file