Subscribe to this thread
Home - Cutting Edge / All posts - Manifold System 9.0.164.5
adamw


7,903 post(s)
#23-Jan-18 17:16

9.0.164.5

manifold-9.0.164.5-x64.zip

SHA256: 3ed35c52570d666f1dafb326fa0bb4b4ef148176c15f6c8ea8baea5011de2936

manifold-viewer-9.0.164.5-x64.zip

SHA256: 820be36af7801176e34bccc616f80446d656ce4303e755db79ab9fa953f2aeb2

adamw


7,903 post(s)
#23-Jan-18 17:16

Changes

The Style pane displays channels on style items / in the field combo / in the channel list using distinctive icon.

The context menu in the channel list in the Style pane allows setting the range of values for selected channels to autocontrast of varying degrees (spreads of 1 / 1.5 / 2 / 2.5 / 3 standard deviations).

The channel list in the Style pane allows setting the channels to ARGB / BGR / BGRA / RGB / RGBA / single channel presets using a toolbar button on top of the list.

The Overrides dialog used in the Style pane is merged into the pane. The choice for a new field is converted to a button that creates a new table field.

The definitions of datums used in PRJ files use more precise values for inverse flattening.

The TIFF dataport produces style data for single-channel images with valid statistics and for four-channel images with no special channels (previously, the fourth channel would have been interpreted by the rest of the system as the alpha channel by default).

The GEOJSON web dataport caches data (entire GEOJSON value) if caching is allowed.

End of list.

Mike Pelletier


1,492 post(s)
#23-Jan-18 18:27

With a pallette image, it would be nice if after changing the style that there was a way to recover the original colors settings. Don't see a way to do that now.

Dimitri


4,837 post(s)
#23-Jan-18 19:00

There is an inconvenient way: Copy and save the value of the StylePixel property for the image. Save it in a table or save it as a comment. It is just a JSON text. You can get that from the properties dialog or from the mfd_meta table.

After changing the palette if you want the old one back, just copy the old, saved palette value and paste it back into the StylePixel property value.

Of course, we need a more convenient way. :-)

We also need to have saving of styles for vectors as well. I'd like to get back a style setup previously used for a drawing without having to copy/paste from style strings previously manually saved.

Mike Pelletier


1,492 post(s)
#23-Jan-18 19:23

Ah yes, forgot about that. Thanks.

Dimitri


4,837 post(s)
#24-Jan-18 06:28

One more way: whatever drawing or image you start with, before altering the style take a moment to copy/paste the drawing or image in the Project pane. That is very quick: ctrl-c/ctrl-v, a half-second.

You can then change Style however you like in the original. If you want to go back, just go back to the copy.

This technique takes advantage of how drawings and images are effectively zero size, just a few bytes for their properties and that's all. This takes some getting used to because we tend to think that a 100 GB image is not something casually to be copied. But it is the image's table that is 100 GB, not the image, which is basically zero bytes. Make a thousand copies of it and you won't move the needle at all on the size of a .map, although a thousand copies might increase the size of the equivalent .mxb by a few KB. But that's KB,not MB or GB.

tjhb
8,005 post(s)
online
#23-Jan-18 20:19

Of course, we need a more convenient way. :-)

To me this seems like an ideal job for a script add-in, at least in the short term.

But for this we need API access to both the name of the component or components which are selected in the Project pane; the name of the component in the active window (if any); and if a map is active, the name of the active layer.

These API additions seem an urgent priority to me. Given them, we can adapt the GUI to our own usage, fill in our own needs. And share the improvements--perhaps with later incorporation into the product, for any add-ins that become widely used.

Dimitri


4,837 post(s)
#24-Jan-18 06:39

Yes, agree on the API.

The add-in would be fun to script but only for short term fun. We are doing our best to make any such add-in obsolete very soon.

Because Style is already highly visible/accessible in tables there are all sorts of UI things in the "convenient" direction that can be done with surprisingly little effort. Some biggies that come to mind:

1. Log a history in some system table and then provide some UI controls to exploit that history. You could save a hundred prior StylePixel strings, for example, with total ease and not significantly increase the size of a project at all. It's not like having to save a hundred prior versions of the whole data of a drawing or image. Once you have such a history you can go back and forth between prior versions, a very fluid, Photoshop-style Undo/Redo, at least for Style.

1a. Over time, that is something we can introduce for other characteristics that are stored as simple properties, such as coordinate systems. Have a history of all prior coordinate system JSON strings? No problem going back to a prior version. The plan is to provide more Undo and multi-step Undo where that does not either kill performance or unacceptably increase project size.

2. History is cool but it is also desirable to be able to save/load styles, share styles more fluidly between components (copy/paste, etc...), have favorites, etc. The more extensive Style options become the more this will be desired. This can take more work than 1) above because while there is no rocket science involved there are a bunch of controls that must be provided with a good, fluid arrangement and sense of taste.

The focus, of course, continues on bringing in big things like the recent migration of raster styling from the old Edit-Style dialog to the Style panel, but we want also to find time in cutting edge builds for a few simple UI improvements like the above as builds come out. This will get done in the weeks ahead.

Mike Pelletier


1,492 post(s)
#24-Jan-18 16:31

Glad to hear that undos are on the drawing board! If they grow the size of the project up to "a tad significantly", it would be worth it.

adamw


7,903 post(s)
#24-Jan-18 09:04

In addition to what Dimitri said:

If you didn't yet hit the Update Style button and simply want to go back to what the style is, Ctrl-click the style item to unselect it. This will clear and hide the list of colors and discard the changes you made to it. Click (or Ctrl-click) the item again to see the current = original style.

Manifold User Community Use Agreement Copyright (C) 2007-2017 Manifold Software Limited. All rights reserved.