Subscribe to this thread
Home - General / All posts - a few thoughts on improvements
artlembo


3,400 post(s)
#22-Jul-17 14:39

Before I send this off, I wanted to make sure that I was barking up the right tree. These are a few of the situations I've encountered that I think could make using Radian easier. Let me know if I'm asking for things that are already done, as it is possible that I've missed things:

Drawings

I love the addition of the Alt-click to see the attributes. I lobbied for that , and am very happy it is there. But, like all good things, I've discovered that I want more :-) I would like to be able to edit the attribute information that pops up like we did in 8.

Tables

I would really like to see a filter where we could display only the selected records.

Query Engine

To improve usability, I would like to see highlighting of words, intellisense, and better debugging. All query engines that I work with (Postgres, SQLite, SQL Server, Manifold 8) have these features. In fact, I find myself doing more with those other tools because they have the features.

highlighting of key words: this makes it so much more readable

Intellisense: At the present time, I no longer need intellisense for Manifold 8 SQL or Postgres. I have literally written thousands of hours of SQL code over the years, so I have most of the object model memorized. But, having just started SQL Server again (after many years), I can't begin to tell you how much easier this is, having the engine help me along as I write the queries. The other nice thing is that SQL Server creates a pop-up box showing the object definition, so I know that I have to pass, say, a float to a command.

debugging: Pretty much the only error we get reported isInvalid object reference. This is not very helpful, and dissuades me from making more use of SQL in Radian. I think having even the level of debugging that 8 has will go a long way.

Anyway, that's all for now. Do people agree with this? In terms of building a house, it seems like the structure is in place, and it is a really awesome house. What I am talking about are things like needing to finish off the moulding around the doors, getting the baseboards in, and screwing in the switch plates for the light fixtures.

KlausDE

6,410 post(s)
#22-Jul-17 18:29

I agree and wrote an overlapping suggestion.

I thought I could learn from the SQL code that the transform dialog offers to uncover. But I must say I need much too long to understand the sophisticated code behind the functions to make this a simple source for copy and paste. I just leave with admiration.


Do you really want to ruin economy only to save the planet?

lionel

995 post(s)
#23-Jul-17 02:37

if you have a look to manifold 8 it heavy base for script debug about ActiveScript neither .NET/CLI script . There is no support of debug for CLI language inside manifold !!! and activestate python is not python script support(ed, ll be) by Qgis , Blender,krita ....

Really think people ll have to use an external editor perhaps a manifold plugin for a free editor !!! ( notepad ++ , atom IDE ? ) . the SQL Wizard is really amazing .... need to know if such functionnalities was already implemented in some SQL Editor ! really disruptive ( buzz word )

Really need to know a efficient python COM editor using manifold as a server and use python a script as a client !

import

win32com.client

maApp 

=

win32com.client.Dispatch(

"manifold.Application"

)

duplicate question compare to http://www.georeference.org/forum/t38094.1#38095

regard's


Book about Science , cosmological model , Interstellar travels

Boyle surface fr ,en

adamw


10,447 post(s)
#23-Jul-17 07:24

Regarding the editor for Python - Visual Studio supports editing Python code. I didn't use Visual Studio with Python code much, but I think they use whatever installation of Python you already have, so it should be possible to coerce it to use IronPython, which Radian supports directly.

artlembo


3,400 post(s)
#23-Jul-17 17:36

IronPython is something I haven't used much. I make use of lots of Python packages: I pip them into my Python directory (i.e. geocoder, vincenty, psycopg2, etc.). Also, I make a lot of use of Arcpy which is also located in the Python27 directory (or Python33).

Do you know if it is possible to use the Script component within Manifold (or Radian), and have access to those other libraries in Python27?

tjhb
10,094 post(s)
#23-Jul-17 19:11

You can import any Python module into IronPython, and therefore use it inside Manifold or Radian, provided it is written in Python. Modules and libraries written in C (like numpy, scipy) can't be used from IronPython (though any .NET library can).

lionel

995 post(s)
#23-Jul-17 20:27

there was a port of numpy and scipy for ironpython but all seem old

http://pytools.codeplex.com/wikipage?title=NumPy%20and%20SciPy%20for%20.Net

.

really find cubersome to install any library extension when use non Microsoft "standart" language.

very old ( 2015) http://www.grasshopper3d.com/forum/topics/scipy-and-numpy

.

nothing is standart if implemented only on specific bundle

2011 http://blog.enthought.com/python/scipy-for-net/#.WXT1uek69xA

see also https://www.enthought.com/products/epd/

.

this link seem usefull because an author write that " Otherwise, seriously, save yourself the hassle " ... consider to use ActivePython ( recommanded by cda ) but also anaconda since it support many other tools but out of the subject because only python not ironpython .

https://stackoverflow.com/questions/28413824/installing-numpy-on-windows

.

I think expect that microsoft since the first version API ( MFC) must have wonderfull library .NET or wrapper that can do what numpy and scipy do ! .

https://en.wikipedia.org/wiki/List_of_numerical_libraries

some implemented using https://en.wikipedia.org/wiki/Math_Kernel_Library

.

in github there is tutorial with big restriction ( fortran compiler , size) to compile numpy using MSVC ( C++)

https://github.com/numpy/numpy/wiki/Building-with-MSVC

.

All this make me really sad ....


Book about Science , cosmological model , Interstellar travels

Boyle surface fr ,en

tjhb
10,094 post(s)
#23-Jul-17 22:47

For Visual Studio, PTVS (Python Tools for Visual Studio) is fully supported by Microsoft, and comes included in all Visual Studio packages. It supports all Python flavours including IronPython, for projects of course but also with a handy REPL interface (Alt-I for IronPython 64-bit Interactive), all with code hints and IntelliSense for .NET classes and Python types.

For editing code as plain text with beautiful syntax highlighting you can't beat Notepad++ with the Zenburn theme.

Attachments:
Zenburn.png

lionel

995 post(s)
#23-Jul-17 23:43

https://www.codeproject.com/articles/694248/sharpening-notepadplusplus

https://htmlpreview.github.io/?https://github.com/bruderstein/nppPluginManager/blob/master/doc/index.html

Attachments:
manifold_notepadpp_manager.png


Book about Science , cosmological model , Interstellar travels

Boyle surface fr ,en

lionel

995 post(s)
#24-Jul-17 00:12

anaconda has MKL intel optimisation

https://docs.continuum.io/mkl-optimizations/

https://numerics.mathdotnet.com/ use also MKL


Book about Science , cosmological model , Interstellar travels

Boyle surface fr ,en

tjhb
10,094 post(s)
#23-Jul-17 05:47

Under Dimitri's encouragement, I've been working on a short list of features I most want to see in 9. Of course it is taking too long, it's tricky. I hope you don't mind Art if I tack one of them onto your thread here, since it seems to fit with your thinking well.

Drawings

...

I would go further again. There is currently only one thing stopping me from using Radian Studio rather than Manifold 8 for data analysis, data correction, data wrangling. OK two things, which I would like to see merged, namely:

(1) The Info pane, with selection filter*, next/previous navigation*, Go To and Zoom To the current object. (Ping is less important.) Something like this is absolutely necessary for serious data analysis. Even a halfway implementation would be welcome. (*If necessary, order can be arbitrary.)

(2) Saved views.

(3) We already have labels. My reason for listing labels here as well is...

I would like to see (1), (2) and (3) combined into one UI interface. I'm not exactly sure how, but for now: I'd like to be able to create a set of labels-aka-views, with a name (= label text), a location and a scale (scale can be optional, current scale being the default). I want these to be accessible and navigable in the same pane used to navigate through selected objects, in 8 called the Info pane.

In that pane, the list of labels/views/objects should be sortable by name, by X, or by Y. (Maybe also by Z, M or an arbitrary attribute.) A generic term for labels/views/objects here could be bookmarks.

The basic use case is this. I use a query (or a transform) to identify a subset of objects that satisfy certain criteria. I then need to scroll through the objects, showing each in its location and context, with its attributes (editable), and to make a quick note for some objects (name=label: no need for double-entry). Later, I need to be able to return to annotated objects, using labels and/or attributes to identity which objects I need to pay closest attention to.

I'm wedging this in here because it seems to chime with what Art is suggesting, and because as I said this gap is the one thing that stops me from using Radian as spatial tool of choice. I will work it up into a proper suggestion later. (Art gives a welcome kick up the bum.)

Tables

I would really like to see a filter where we could display only the selected records.

We have discussed this before. On the face of it, it's tricky, because the engine doesn't know which objects are selected (that is, which objects fall within the applicable selection set) until all objects have been fetched. So a selection filter is really a query, and it could take a very long time if the table is large.

But how about a halfway measure. How about if there were a selection filter to show selected table records within the bounds of the current window for the associated drawing or image. These records have necessarily already been fetched, since their data is shown. The filter (button) would belong not to the table window, but to the drawing or image window; it would filter the display in the table window.

Query Engine

...

My vote: (1) keyword highlighting, (2) better error messages (with line numbers if that can be done). Intellisense one fine day, not such a priority given the query builder and table panels.

lionel

995 post(s)
#23-Jul-17 10:49

i agree with thoses items and already send and continue to send suggestion like this to manifold .

even all is from a point of view of a non gis professionnal guy !!


Book about Science , cosmological model , Interstellar travels

Boyle surface fr ,en

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