ucd-cws / PISCES

Software for tracking and analyzing fish species range data
Other
0 stars 2 forks source link

Mapping tool with layers enabled fails to draw properly #83

Closed nickrsan closed 9 years ago

nickrsan commented 9 years ago

Original report by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


See chat below for more details. Effectively, if you run the mapping tool in a map document that has other layers enabled in it, it will be continuously attempting to redraw the map. Solution seems to be to turn off all layers (preserving initial state) at the start of drawing, and then turn them back on after it's done.

Nick Santos 3:17 PM my map from editing.mxd still hasn't cached the first layer it's just totally stalled Andy Bell 3:18 PM should I try the mxd doctor on the editing.mxd? Nick Santos 3:18 PM you could, but I think it's about having any layers in there at all Andy Bell 3:18 PM or is it one of the layers? Nick Santos 3:18 PM I think it's trying to constantly rerender the map I'm going to test this theory now Nick Santos 3:21 PM yeah, so if you hit F9, to pause map rendering it just speeds on through like nothing and I think I can get the same result if I can push it to the background but it means it needs to run in 32 or 64 bit python which means a few things... (it means more work with the installer - awful) Andy Bell 3:23 PM bummer. At least it is generally working right now. Is there anything else you want me to test/run? Nick Santos 3:23 PM not in particular I think if you keep using it day to day that'd be good since it'll keep you on the most current version we can merge that across to QC_2013 if you like so you can keep operating in a separate branch Andy Bell 3:24 PM sounds good Bitbucket 3:24 PM nickrsan committed to 1 branch at /nickrsan/pisces/ On branch "release-1.7"

nickrsan commented 9 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


Speedup for mapping when using the tool, resolves #83. Turns off layers before beginning and turns them back on afterward.