-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can we handle a Map configuration using locally downloaded configuration file? #9
Comments
There is no api to directly download a dataset.
VTS as a software is free, under the terms of BSD license. See the LICENSE file. However, all data are licensed separately.
I am not sure what you mean by granular details, but VTS browser starts with single mapconfig, which contains references to all relevant datasets, which are already tiled and LODed (level of detail).
You have to specify a protocol. The protocol for accessing local hard drives is However, I am unsure if the support for local files is actually compiled in. As for hosting any dataset (for both local and remote use), take a look at our backend components: |
The link you shared for the example data set which is freely available. I did several attempts to contact Melown Technologies from the website, but no response yet. What is our requirement? I have a few doubts can you please address them?
I'm sorry to post non-technical questions, I'm not sure if it's okay to discuss licensing here, but the only responsive social channel to contact Melown Technologies I found, is this git repo (at least in the current situation). It would be really great if you could help me contact the sales/marketing team. Thanks, |
I am sorry, I may have misremember the license.
I have notified the team.
The VTS software is BSD licensed. I probably misremember the license for the example dataset (or maybe we have some other elsewhere). I apologize for the confusion.
You can navigate anywhere where there are any data referenced by the mapconfig.
Yes camera position can be changed. The mapconfig contains initial position, but the application has ultimate control over it.
Yes the software can be used in this way.
VTS backend software is licensed under the same BSD.
I believe it is the later. That is - you have one mapconfig which can be viewed 3000 times per month.
Yes there certainly are. I will postpone this question for the sales team.
I can definitely confirm the license for the software. You should get a response from the sales team shortly. I apologize for the delay. Tomáš Malý |
Thanks Tomáš ! Apart from that, I have few more doubts on the technical front; 1. Server Configuration and Data I would like to know what amount of data would it be, in order to decide the capacity of the backend server setup. Could you please elaborate more on this, when you say, mid-range configurations what exact details of CPU, GPU, RAM and data transfer will suit for?
2. Caching the data on local machine 3. Could you please suggest some resources/websites where we can get the required data (Free/paid)? 4. Do we need to fetch all the data every time? |
We have successfully run vts backend on low-end laptops (good for a live presentation) as well as on server cluster (serving thousands of visitors a day). This will heavily depend on your particular use case and it is best to experiment and measure.
The path can be changed in vts::MapCreateOptions.
All downloaded files are stored on drive specifically to persist from session to session. |
Okay. Thank you so much! I have a query about data, It would be really helpful if you could suggest corresponding references to download the data in a valid file format(like a spreadsheet, KML, shapefile, etc.). |
https://vts-geospatial.org/reference/server/cmdline-tools/encoders.html?highlight=formats I believe we support 3d tiles too. |
Okay. |
Yes all the formats mentioned in that website have support for 3D data. |
Hi Tomáš, I had a problem maybe different from the discussion but perfectly matching the title of this issue. I would like to use the You said:
I realised that only the mapConfig file is supported, locally saved files linked in the mapConfig are not supported. To explain the issue, let's compare the Let's consider the following setup: map->setMapconfigPath(
"https://cdn.melown.com/mario/store/melown2015/"
"map-config/melown/Melown-Earth-Intergeo-2017/mapConfig.json",
""); It's working. Notice that the mapConfig contains relative as well as absolute links. The relative links are absolutized. I dived into the code and realized that the absolutized URL is made by
The complete URL is: Now let's consider the following setup: map->setMapconfigPath(
"file:///home/user/path/to/local/map/config/mapConfig.json",
""); The URI components -
The complete URL is What do you think? Best Regards, |
Hi Clement, |
I observed that every time we run the VTS browser, it calls URL to retrieve the data and all needed accompanying configuration too. I am wondering if I can download the required data and configuration file, save it locally on a machine and can the data be directly rendered?
If yes, I have the following queries in my mind;
If NO,
I tried to do so, but the API "" is probably useful only to retrieve the data from the web URL so it fails with the following error;
2020-04-03 14:37:10 W2 [9260(0)]: Resource <D:\Projects\Apogee_VTS\mapConfig.json> may retry in 16 seconds {manager.cpp:vts::MapImpl::resourcesCheckInitialized():691}
2020-04-03 14:37:26 E2 [9260(chttp:1)]: Exception <Transfer of <D:\Projects\Apogee_VTS\mapConfig.json> failed: <3, URL using bad/illegal format or missing URL>.> in download of <D:\Projects\Apogee_VTS\mapConfig.json> {curl.cpp:vts::`anonymous-namespace'::Task::done():197}
2020-04-03 14:37:26 E2 [9260(chttp:1)]: Error downloading <D:\Projects\Apogee_VTS\mapConfig.json>, http code 10500 {manager.cpp:vts::FetchTaskImpl::fetchDone():156}
2020-04-03 14:37:26 E3 [9260(0)]: All retries for resource <D:\Projects\Apogee_VTS\mapConfig.json> has failed {manager.cpp:vts::MapImpl::resourcesCheckInitialized():681}
2020-04-03 14:37:26 E4 [9260(0)]: Mapconfig failure. {map.cpp:vts::testAndThrow():337}
2020-04-03 14:37:51 E4 [9260(0)]: Mapconfig failure. {map.cpp:vts::testAndThrow():337}
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: