Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SVG download service returns annotations associated with the specified SectionImage as scalable vector graphics (SVG). Examples of annotations that can be retrieved include hot spots and drawings of Structure boundaries on AtlasImages. Add the "groups=" parameter and specify one or more GraphicGroupLabel.id delimited by commas to filter the types of SVG returned.

...

Prototype

No Format
http://api.brain-map.org/api/v2/svg_download/[SectionImage.id]?groups=[#, #, #...]

...

Examples

Find Atlases that have AtlasImages annotated with Structure boundaries, and the relevant GraphicGroupLabel.ids:

...

No Format
http://api.brain-map.org/api/v2/svg/100960033?groups=28

...

Parameters

filename

Integer

SectionImage.id identifying the SVG to download.

groups

list of Group.id (optional)

Filter the Groups to include in the SVG

...

Returns

SVG as either a downloaded file or displayed in the browser.