Skip to main content
Solved

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

  • December 28, 2022
  • 2 replies
  • 284 views

gogopotter90
Contributor
Forum|alt.badge.img+14

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+14

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