Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to add new DataProfiles #37

Open
EricBoix opened this issue Aug 30, 2017 · 2 comments
Open

Provide a way to add new DataProfiles #37

EricBoix opened this issue Aug 30, 2017 · 2 comments
Milestone

Comments

@EricBoix
Copy link
Contributor

Issue by jeremyedert
Tuesday Apr 26, 2016 at 08:41 GMT
Originally opened as https://github.com/MEPP-team/VCity/issues/103


3DUSE uses a class called DataProfile that contains all the settings regarding the position of data. Notably:

  • The bounding box of the area covered by the data (used to draw the grid on the main window)
  • The tile size on the x and y axis
  • An offset applied to coordinates to avoid the manipulation of big numbers
  • An offset to set the ID number of tiles

Currently, 3DUSE provides 3 preset DataProfile: Paris, Lyon, and "None". FloodAR adds a DataProfile for Sablons. The values for these data profiles are set in C++ code in dataprofile.cpp.
The data profile can be changed during runtime in the settings dialog by selecting a data profile other than the one currently in use (no matter which one), and editing manually the values. This change is only effective until the data profile is changed again or the application is closed. There is no way to save a new data profile.

A user that works on a new area and wants a new DataProfile (for instance, to have the grid on the main window) need to edit the settings window at each runtime, or ask the developpers to add a new DataProfile to the application.

It may be judicious to provide a way to save/read a DataProfile in a configuration file or equivalent to avoid this issue.
Also, as the dataprofile is strongly related to the "current" dataset, maybe such files can be stored and opened along data?

@EricBoix EricBoix added this to the Q4 2016 milestone Aug 30, 2017
@EricBoix
Copy link
Contributor Author

Comment by fpedrinis
Tuesday Jul 12, 2016 at 13:18 GMT


Where can we put such files ? They have to be accessible from 3D-Use project in each OS, but also from the Windows package installed on computer without the resources stored in Github.

This is probably the same problem as in issue #79.

Alternative : propose to the user to choose the folder when datasets will be stored. This path will be saved in QSettings as in the plugin Visibility.

@EricBoix
Copy link
Contributor Author

Comment by frogsapo
Wednesday Sep 07, 2016 at 12:22 GMT


Part of the job (accessing a file in a portable manner) was done with the skybox. We should create a new issue requiring to have at hand (in a portable manner) a directory at installation stage (as opposed to build stage). Then the present issue should be made dependent of this new issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant