Git Product home page Git Product logo

tuiview's People

Contributors

bhjolly avatar danclewley avatar danilobellini avatar gillins avatar gilltk avatar neilflood avatar petebunting avatar pierreroudier avatar robintw avatar terricain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tuiview's Issues

Palette images not recognised

I have a TIFF image with a palette but when I load it into tuiview it displays as greyscale, and says "no color table present"

Driver: GTiff/GeoTIFF
Files: no.tif
Size is 20000, 20000
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,20000.0)
Upper Right (20000.0,    0.0)
Lower Right (20000.0,20000.0)
Center      (10000.0,10000.0)
Band 1 Block=20000x48 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 11,13,14,255
etc

How to install latest version?

The version on conda-forge seems to be lagging behind the version on github. How difficult is it to get that updated?

In the situation where github is newer, do you have some instructions for people who have installed via conda-forge to get the latest version from github?

Thanks!

Apply stretch to selected layers.

Original report by Terry Cain (Bitbucket: terry-dc, ).


Applying a stretch to specific layers would be rather useful, as would deleting specific layers.
So for example, you could select 5 layers and apply the stretch to them or if multiple layers are selected the delete layer button would delete them all.

You should see a pull request soonish.

Tuivew - Negative Stretch

Original report by Nathan Thomas (Bitbucket: nathanmthomas, GitHub: nathanmthomas).


Hi,

I've noticed that there is no way to apply a linear stretch to images that have negative values (e.g., radar imagery in dB with the range -30 to -5 ). The minimum input box won't accept a negative sign and the 'down' arrow only goes to zero.

Could this be added in? I am able to stretch radar imagery using a standard deviation stretch but sometimes I would like a bit more control.

Thanks

Support multiple monitors with the tile window functionality

Currently the "tile windows" dialog only works with the primary monitor. It would be useful to be able to tile windows on multiple monitors.

One suggestion that would mean minimum changes is to make "tile windows" only work on the same screen as it was invoked from. So it would only tile windows that are on the same screen as it is shown. So first, you'd have to move all the windows you want to tile to the right screen using whatever mechanism is provided by your OS. Then invoke "tile windows" on one of the windows on that screen. You'd repeat this for each screen you want to tile windows for. Is this sufficient?

Getting tuiview to move windows between screens is more complex and I'd prefer to avoid, but open to suggestions.

cc: @deanpa

Sort multiple layers by dates in name

Sort multiple layers by dates in their filenames when non-iso dates are used - especially when short (3 char) and long month names are used.

Requested by James Shepherd

Multi viewer vector layer open

When opening a vector layer provide an option to add it to multiple or all open viewers at once.
Requested by James Shepherd

Allow Surrogate Table Lookup from floating point columns

Currently, only integer columns have the "Set column as Color Table Lookup" menu option. As @petescarth discovered this is a bit of a pain if you get pyshepseg to calculate a mean value for a segment as it saves this in a float column (although note that median values get saved in an int column). You have to create a new column with the integer version of the mean value.

I don't think there is any harm in allowing a Colour Table lookup on float columns by doing a round() first? Any thoughts @shepjd?

Crashes on PyQt5 when mouse wheel is used

Original report by Shuning Bian (Bitbucket: Steve, GitHub: Steve).


After loading a raster image use of the mouse wheel to zoom causes tuiview to crash immediately due to delta() being deprecated. Patch to fix this is attached, though I am not sure if the direction is correct, or if angleDelta() should be used over pixelDelta(). The hasattr check is probably also extraneous since PyQt5 is import explicitly.

Install broken

Original report by Anonymous.


The install method listed here (conda) doesn't work since the upgrade to Python 3.5.

Using the python 2 version of conda is not much better:

#!bash
$ conda install -c osgeo tuiview
$ tuiview
/bin/bash: /Users/mperry/miniconda2/bin/python.app: No such file or directory

Running with the conda python interpreter directly, there are conflicts with other QT libs on the system, with dozens of errors like

objc[92324]: Class QNSImageView is implemented in both /usr/local/lib/QtGui.framework/Versions/4/QtGui and /Users/mperry/miniconda2/lib/libQtGui.4.8.7.dylib. One of the two will be used. Which one is undefined.
QWidget: Must construct a QApplication before a QPaintDevice
Abort trap: 6

before a hard crash.

Versions. Anaconda as of the posting date, OS X 10.10

Coordinate readout in lat,lon

Currently the query tool displays the marker location coordinate in the projection units, but would it be possible to also display it in degrees latitude,longitude ?

Profile tool is empty

When I load a geotiff into TuiView, open the profile window, and draw a single line, the profile window is empty
(and there's no display of distance either).
It's a 4-band geotiff (R,G,B,A I assume).
tuiview-profile-empty

Format Floating point values better in Query Window

When the value is very small, all that is shown can be 321.... but in fact if you make the window larger you can see that the actual figure is 3.2134234234e-26. Would be nice if the truncating of the value always preserved the exponent so you could see the magnitude of the number easier, even if you have to expand to get the full value.

Allow globbing of filenames in file open dialog

In the file open dialogue allow the user to specify multiple files form the structured filenames though normal globbing (or possibly regular expressions, or both?).

  • So, for instance allowing all dates for a tile, or
  • All select tiles for a year though multiple glob charters

Requested by James Shepherd

Tuiview 1.2.1 crashes on Qsize for python 2.7

Original report by Anonymous.


This is what happens on my archlinux 32 machine:
$ tuiview
Traceback (most recent call last):
File "/usr/bin/tuiview", line 21, in
viewerapplication.run()
File "/usr/lib/python2.7/site-packages/tuiview/viewerapplication.py", line 222, in run
app = ViewerApplication()
File "/usr/lib/python2.7/site-packages/tuiview/viewerapplication.py", line 161, in init
self.viewers.newViewer()
File "/usr/lib/python2.7/site-packages/tuiview/geolinkedviewers.py", line 122, in newViewer
newviewer = viewerwindow.ViewerWindow()
File "/usr/lib/python2.7/site-packages/tuiview/viewerwindow.py", line 169, in init
self.restoreFromSettings()
File "/usr/lib/python2.7/site-packages/tuiview/viewerwindow.py", line 282, in restoreFromSettings
self.resize(settings.value("size", defaultsize).toSize())
AttributeError: 'QSize' object has no attribute 'toSize'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.