I've purchased an AI file of UK postcodes; pictured are the layers it uses with each area named "Path"

enter image description here

I want these to be assigned an ID when I export as an SVG, so that I can apply database-driven data to the map.

I understand that it uses the layer name to apply ID, but even when I change the name from to a layer name, it doesn't apply an ID. It does add an ID to the parent layers.

I understand that it is likely something in the original AI file I have downloaded, but not sure how to change.

As an example, I delete all layers other than one postcode area - name that "show_id", export as SVG with Layer Names selected but it doesn't work. Added to pictures below

enter image description here

enter image description here

  • You really have no control over the exporter. It does what it does. Ok what kind of object is "post code areas?" (you can doubleclick on object in area not on names to show its dialog it says what it is)
    – joojaa
    Aug 19 at 19:21
  • Ok looks like things containing with "show_id" arent allowed change it then change back then it magically starts working
    – joojaa
    Aug 19 at 19:25
  • Still not working even if I rename it.
    – JimBob
    Aug 19 at 20:01
  • See,s to work for me. is "post code areas" a group or sublayer
    – joojaa
    Aug 19 at 20:05
  • 1
    You get 2 votes if you write that as an answer
    – joojaa
    Aug 19 at 20:57


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.