Skip to main content

EXTRACTION dgn vers shp

  • February 10, 2025
  • 11 replies
  • 114 views

kanteyemaodo
Contributor
Forum|alt.badge.img+5

 j'ai un fichier dgn contenant les câbles de type polyligne avec leurs extrémités. -je veux extraire les câbles et les convertire en shapefile (.shp) avec les noms des extrémités.
???

11 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • February 11, 2025

 j'ai un fichier dgn contenant les câbles de type polyligne avec leurs extrémités. -je veux extraire les câbles et les convertire en shapefile (.shp) avec les noms des extrémités.
???

Hi ​@kanteyemaodo 

 

I suggest you use the attribute of format in your Writer (fme_basename).

 

Thanks in Advance,

Danilo


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 11, 2025
Yes I'm talking about the extraction of cables and lights. The output format will be Shapefile

 


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • February 11, 2025
Yes I'm talking about the extraction of cables and lights. The output format will be Shapefile

 

Please, could you share me your data?


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 11, 2025

Here is the dgn. I want to retrieve the ends of the cables and extract them.


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • February 11, 2025

Please ​@kanteyemaodo 


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 12, 2025

@danilo_fme 
 

Thank you very much.
but the data doesn't come out after the GeometryFilter?


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 12, 2025

@danilo_fme 
the error :
The encoded string is not a valid UTF-8 : dgn_coordinate_system_name_Par d\xE9faut’
Note : The cuurent process encoding is ‘UTF-8’
 


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • February 12, 2025

@danilo_fme 
 

Thank you very much.
but the data doesn't come out after the GeometryFilter?

 

Hi ​@kanteyemaodo 

 

For this Feature is without transformer GeometryFilter and the result was done (poygon). As you can see:

 

 

Thanks in Advance,

Danilo


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • February 12, 2025

@danilo_fme 
the error :
The encoded string is not a valid UTF-8 : dgn_coordinate_system_name_Par d\xE9faut’
Note : The cuurent process encoding is ‘UTF-8’
 

Please - share me the full log file.


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 12, 2025

When I use the GeometryFilter transformer or another transformer, I get this error message as an attachment.
I want to read the dgn, then extract the cables (polylines) .shp with the names of the ends (points).

Thank you very much.


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 12, 2025

@danilo_fme any way to convert .dgn file to UTF 8??