Skip to main content

EXTRACTION dgn vers shp

  • Feb 10, 2025 2:08 PM UTC
  • 11 replies
  • 211 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+58
  • Celebrity
  • Feb 11, 2025 1:07 PM UTC

 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
  • Feb 11, 2025 2:04 PM UTC
Yes I'm talking about the extraction of cables and lights. The output format will be Shapefile

 


danilo_fme
Celebrity
Forum|alt.badge.img+58
  • Celebrity
  • Feb 11, 2025 2:54 PM UTC
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
  • Feb 11, 2025 3:06 PM UTC

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


danilo_fme
Celebrity
Forum|alt.badge.img+58
  • Celebrity
  • Feb 11, 2025 5:28 PM UTC

Please ​@kanteyemaodo 


kanteyemaodo
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • Feb 12, 2025 7:44 AM UTC

​@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
  • Feb 12, 2025 9:26 AM UTC

​@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+58
  • Celebrity
  • Feb 12, 2025 12:01 PM UTC

​@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+58
  • Celebrity
  • Feb 12, 2025 12:01 PM UTC

​@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
  • Feb 12, 2025 12:22 PM UTC

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
  • Feb 12, 2025 3:50 PM UTC

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