AnsweredAssumed Answered

Trying to import an svg into a label using python expression

Question asked by studio@l2com.fr on Sep 4, 2015

Hi

I am trying to import a image file (svg) into a label using the labelling python expression.

 

I tried something like that:

 

def FindLabel ( [Ligne_Code],  [Ligne_ID] ):

code =  [Ligne_Code]

ID = [Ligne_ID]

if ID == "73":

      return "D:\ligne_11.svg"

else:

      return ID

 

I am a newbie in ArcGis (using Qgis ordinary) and in Python, so maybe I did everything wrong,

But before all, I would like to know if it is possible to import an image file into a label. If not, does someone know a solution?

 

Thanks a lot.

 

Cyril

Outcomes