Skip to main content
Solved

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

  • December 28, 2022
  • 2 replies
  • 138 views

gogopotter90
Contributor
Forum|alt.badge.img+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

Best answer by caracadrian

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.

View original
Did this help you find an answer to your question?

2 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • December 28, 2022

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.


gogopotter90
Contributor
Forum|alt.badge.img+13
  • Author
  • Contributor
  • December 28, 2022
caracadrian wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings