Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brush Data #47

Closed
amforte opened this issue Jan 23, 2021 · 10 comments
Closed

Brush Data #47

amforte opened this issue Jan 23, 2021 · 10 comments

Comments

@amforte
Copy link
Owner

amforte commented Jan 23, 2021

Hi,
After loading .mat file of DEM in GUI, I ran 'Segment Picker'. The output was in vector format where used 'Brush/Select Data' for selecting stream segments. Segments were selected (marked in red). My question is 'how do I make mat file containing StreamOBJs after selecting segments.' I cannot find further step to proceed.
Issue

Help would be appreciated. Thanks.

Originally posted by @hitander in #35 (comment)

@amforte
Copy link
Owner Author

amforte commented Jan 23, 2021

@hitander

Could you clarify, did you use the built in functionality of SegmentPicker to select streams or bypass this and use brush data to select streams?

@hitander
Copy link

hitander commented Jan 23, 2021 via email

@amforte
Copy link
Owner Author

amforte commented Jan 23, 2021

Yes, you are not using the internal SegmentPicker function, you are using the brush data. As the instructions that appear at the top of the window tell you, after you've zoomed in or out (or not) press enter on you keyboard and a set of crosshairs appear. This is how the code expects you to select streams. As you go through this process it will ask you if you want to continue with a yes no dialog box. When you tell it stop, a mat file will be generated with the selected streams as a STREAMobj inside.

Please consult the tutorial presentations / files as well if you need additional help.

@amforte amforte closed this as completed Jan 23, 2021
@hitander
Copy link

A set of crosshair is not appearing. That's why I used brush data.
When the function says "return/enter', I hit enter but nothing happens. I waited for several minutes for "return/enter' to pop up something. I have tried the same method numerous times and not able to proceed. Kindly suggest.

@amforte
Copy link
Owner Author

amforte commented Jan 23, 2021

Is the popup window (i.e. the window displaying the DEM and stream network) selected as the active window when you press enter or return? I've tested this on both a mac and PC and haven't had any issue with it not recognizing an enter/return press as long as the map window (as opposed to the main GUI window) is active so no, I don't have any alternative suggestions. Is this the standalone GUI or the App running inside Matlab?

@hitander
Copy link

hitander commented Jan 23, 2021 via email

@amforte
Copy link
Owner Author

amforte commented Jan 23, 2021

And you're using what version of Matlab?

@hitander
Copy link

hitander commented Jan 23, 2021 via email

@amforte
Copy link
Owner Author

amforte commented Jan 23, 2021

Ok, so it's likely a (Matlab) version issue if I had to guess. The GUI (and most of the underlying TAK functions) were designed on Matlab 2017 and greater. I've never tested these on versions of Matlab earlier than 2017. I've run multiple short courses and so have seen these functions run on a variety of different machines (so I'm pretty sure it's not a bug), but never on any version of matlab that far out of date.

I think you have three options:

(1) You could try running these codes outside of the GUI, i.e. use the native TAK functions in Matlab. There's a chance that maybe these will work better and that the issue lies with the way the GUI is interpreted by much older versions of Matlab.

(2) If you're able, you could try updating Matlab.

(3) If option 1 doesn't work and option 2 isn't viable, then you could installing the standalone gui with the correct Matlab Runtime Environment installed.

@hitander
Copy link

hitander commented Jan 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants