Solved

How to change color of lines and write it in Esri shape file

  • 28 December 2022
  • 2 replies
  • 29 views

Badge +13

Hello ,

 

I would like to have fixed color of lines and write it into Esri shape file.

i have used feature color setter or DGN styler but it does not work .

when I read the shapefile again , I have found it has random color .

Any help please

FME 2021

icon

Best answer by caracadrian 28 December 2022, 09:39

View original

2 replies

Badge +20

ESRI SHP format doesn't store styling information. That is the normal behavior of a GIS software.

As a workaround I create a color attribute (RGB/HEX depending on software) and use the attribute as a color value when styling. You can use ColorCalculator custom transformer.

Badge +13

ESRI SHP format doesn't store styling information. That is the normal behavior of a GIS software.

As a workaround I create a color attribute (RGB/HEX depending on software) and use the attribute as a color value when styling. You can use ColorCalculator custom transformer.

K, I got u .thanks

Reply