ucd-cws / PISCES

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

another generate map bug #101

Closed nickrsan closed 9 years ago

nickrsan commented 9 years ago

Original report by AndyB (Bitbucket: AndyB, GitHub: AndyB).


The generate maps tool initially ran successfully without error. However, output in the mxd returned the entire state as expert opinion. Subsequent attempts to use the generate maps tools then failed.

2014-10-27 16_00_54-Generate Map.png

nickrsan commented 9 years ago

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


Hey Andy,

Will you try deleting logs/logsdb.db and trying again to see if it returns to its initial problem of generating the whole state?

nickrsan commented 9 years ago

Original comment by AndyB (Bitbucket: AndyB, GitHub: AndyB).


Deleted logsdb.db and reran generate maps. Map output worked with this error:

2014-10-27 16_57_46-Generate Map.png

nickrsan commented 9 years ago

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


Were you using a blank map document when that error was generated? If so, I noticed that this morning (Issue #98)

nickrsan commented 9 years ago

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


Though to be clear, it doesn't mean it's not hiding some other issue too. Long story.

nickrsan commented 9 years ago

Original comment by AndyB (Bitbucket: AndyB, GitHub: AndyB).


Yes. I was using a blank mxd.

nickrsan commented 9 years ago

Original comment by AndyB (Bitbucket: AndyB, GitHub: AndyB).


Tool was successful when I added a layer in the mxd.

nickrsan commented 9 years ago

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


OK, I'm going to close it for now - definitely open a ticket if you get that full state generated as expert opinion again.

nickrsan commented 9 years ago

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


At this stage, a duplicate of #98 with different initial symptoms

nickrsan commented 9 years ago

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


Added mapping export option to not export metadata - obeys the config settings by default Made mapping tools only turn layers on if map document has layers (which should have happened before, not sure why it didn't). Resolves #98. Committing clean log DB to resolve #101 permanently.

nickrsan commented 9 years ago

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


Reopening for the issue of map showing the whole state - it occurs when just a single zone is selected, which has to do with the selection not running correctly in the new code. Fix that, then make some unit tests for the selection.

nickrsan commented 9 years ago

Original comment by AndyB (Bitbucket: AndyB, GitHub: AndyB).


Example: Kern River rainbow trout (SOM13) for expert opinion.

nickrsan commented 9 years ago

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


I think this is resolved. Kern River rainbow looks OK, and I feel like I remember this issue and think I resolved it. Reopen if you have seen this issue anywhere