Table2Points filter should make an attempt to auto-select x,y,z column data
When using the Table2Points
filter it would be nice if ParaView could attempt to set the X Column
, Y Column
, and Z Column
properties to the tabular data with corresponding x, y, or z as their names. Currently no attempt is made, and it's a bit annoying to have to constantly reset these values every time I analyze data files with x,y,z info. Here's an example of what I'm working with, note that there are 6 variables and three of these are exactly x
, y
, and z
.
Perhaps a quick check to see if there exists non-ambiguous variable names for spatial coordinates. If any ambiguity exists, you could either go back to default, show a message, or maybe select based on Levenshtein distance (source1, source2) or similar method.
For instance, if presented with any of the following variable names:
-
cpu
,time
,type
,x
,y
,z
--> select:x
y
z
-
cpu
,time
,type
,X
,Y
,Z
--> select:X
,Y
,Z
-
cpu
,time
,type
,X-Data
,Y-Data
,Z-Data
--> select:X-Data
,Y-Data
,Z-Data
-
cpu
,time
,type
,x
,Y
,Z-Data
--> select:x
,Y
,Z-Data
while for the following datasets:
-
X
,Y
,Z
,x
,y
,z
--> show:<Select a variable>
-
XData
,YData
,ZData
,x
,y
,z
--> show:<Select a variable>
or select:x
y
z
-
XData
,YData
,ZData
,LongVariableNameWith_x_init
,LongVariableNameWith_y_init
,LongVariableNameWith_z_init
--> show:<Select a variable>
or select:ZData
YData
ZData
-
A_x
,A_y
,A_z
,Bx
,By
,Bz
,x
,y
,z
--> show:<Select a variable>
or select:x
y
z
-
extreme
,yakkity
,xyz
,xylophone
,ZOOTAXY
,dummy
--> show:<Select a variable>
due to too much ambiguity.