You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create_boreholes_3d Geographical coordinate processing exists bug To Reproduce
Steps to reproduce the behavior:
it is my dataframe
2.it is my code
`
import gemgis as gg
import pyvista as pv
color_dict = { 'rock':'#3182bd', 'coal':'#9ecae1' }
pd.set_option('display.float_format', lambda x: '%.10f' % x)
tubes, labels, df_groups = gg.visualization.create_boreholes_3d(df=borehole_last_df,
min_length=10,
color_dict=color_dict,
radius=50)
sargs = dict(fmt="%.0f", color='black')
p = pv.Plotter(notebook=True)
for k in tubes.keys():
p.add_mesh(tubes[k], show_scalar_bar=True)
p.set_background('white')
p.show_grid(color='black')
p.set_scale(1,1,5)
p.show()
`
3. its result
It looks like it works well
5. But my coordinates have been processed by me
`
borehole_last_df['X'] = borehole_last_df['X'] * 100000
borehole_last_df['Y'] = borehole_last_df['Y'] * 100000
`
6. this is a real data
it is result
8.All drills overlap together
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [macOS]
Browser [e.g. chrome, safari]
Version [10.15]
Additional context
gemgis = 1.1.8
pandas = 2.0.1
The text was updated successfully, but these errors were encountered:
Describe the bug
create_boreholes_3d Geographical coordinate processing exists bug
To Reproduce
Steps to reproduce the behavior:
2.it is my code
`
import gemgis as gg
import pyvista as pv
color_dict = { 'rock':'#3182bd', 'coal':'#9ecae1' }
pd.set_option('display.float_format', lambda x: '%.10f' % x)
tubes, labels, df_groups = gg.visualization.create_boreholes_3d(df=borehole_last_df,
min_length=10,
color_dict=color_dict,
radius=50)
sargs = dict(fmt="%.0f", color='black')
p = pv.Plotter(notebook=True)
for k in tubes.keys():
p.add_mesh(tubes[k], show_scalar_bar=True)
p.set_background('white')
p.show_grid(color='black')
p.set_scale(1,1,5)
p.show()
`
3. its result
It looks like it works well
5. But my coordinates have been processed by me
`
borehole_last_df['X'] = borehole_last_df['X'] * 100000
borehole_last_df['Y'] = borehole_last_df['Y'] * 100000
`
6. this is a real data
8.All drills overlap together
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
gemgis = 1.1.8
pandas = 2.0.1
The text was updated successfully, but these errors were encountered: