title: Convert a SVG image to multiple vector line segments using Python
body: <p>My goal is turn a SVG image into a (very) long list/dict/object of vector line segments. All SVG shapes/curves/lines/text would be turned into vector lines of varying length; a long line would remain a vector line, but a circle would have to be rendered as multiple very small lines segments, the size of which determined by a variable (MININUM_LINE_SEGMENT_LENGTH). </p>
  
  <p>I am hoping there is something out there that does this using Python, else I guess I would either have to write (or modify?) a SVG renderer, or convert the image to raster then re-vectorize. Are there any other approaches? </p>
  
  <p>I am aware of:<br> 
  <a href="https://stackoverflow.com/questions/9102563/turn-svg-path-into-line-segments">Turn SVG path into line segments</a><br>
  <a href="http://davidlynch.org/blog/2008/03/creating-an-image-map-from-svg/" rel="nofollow noreferrer">http://davidlynch.org/blog/2008/03/creating-an-image-map-from-svg/</a></p>
  
  <p>... but was wondering if there was anything else/better</p>