Closed JoseluDAM2000 closed 5 years ago
Hi, Can you pass me the job id, I'll check the detailed log on the server. I don't think the DEV server is configured to generate the "raster" tileset package since it was built to test the new "clustered" output.
Also you can try this setting for the products parameters:
"products":"vector:true;raster:false;topofire:false;geopdf:false;clustered:true;weather:true"
I'll add this to the API doc:
products parameter is a semi-colon delimited key value pair list. The key-value pair is delimited with a colon:
product_code : true / false ; product_code : true / false ; product_code : true / false ; ...
Available products to generate:
Here is: af7b58be-ba70-4232-9c58-7c4fd55836ef
Can you reply this thread when you have the "raster" malfunctionality solved?
Thanks, it's definitely something in the raster generation. I'm digging a little deeper. It does look most of the tile maker is installed so it might be something else. Couple of things:
The raster tile generator is a big performance hit, we might disable it in the future. What is your display client/use case? We might have a better "product" for you to use.
There are two typo in your job request: a. there's an extra quote character at the end of the products: weather:true\" b. the mesh choice key has an extra "sa"
I don't think these are causing the error but would result in not getting back exactly what you expect.
ok, turns out the extra quote in the products was causing the weather files to be skipped (ie false) and there was error in the tilemaker looking for the max wx speed which wasn't calculated. Also a couple of mods from a local commit weren't sync'd from the last big update that starts the deprecation of the raster product so I didn't fully test the raster pipeline. It seems to run this job correctly now.
@nwagenbrenner is modifying the test server to run the momentum solver so you'll have to wait until she's done with that update to verify the fix there.
We use the rasters as a web layer to represent the simulation. The server still having troubles to simulate. Check the sim 41b58946-584d-46d7-b974-65c89124f900.
Ok, either I forgot to move the edits over to the deployed app folder or we overwrote them with a stale git repo while patching the momentum solver.
Give it another try...
Once we fully put the momentum solver in place, we'll likely turn off the raster output as those two combined are really heavy on the server and jobs will take awhile to generate. You'll be better off using the vector product geojson files in a web browser. OpenLayers, Leaflet, ArcGIS all have native support for the geojson output.
Thanks Fred, Joaquin at Technosylva here. We have to talk about losing the tiles. We have done a performance test on rendering the geojson files on mobile at it just simply can not do it. It might draw the first 1 hour, but the performance is terrible. We really need the tiles. I'll discuss with Natalie too. Thanks for the support!@
Hi Joaquin, Right, on mobile devices the geojson files are a little too heavy, that's the exact reason for the "clustered" output product. It's not a true GIS format but it's really easy to work with since it's just a simple dataset. What mapping platform library are you using? The main windninja mobile app is using OpenLayers so you can see how the data is converted to a map layer in the repo source. I probably have an example of how it works with ArcGIS JS and Leaflet should be pretty similar..
Thanks Fred! I'll let @JoseluDAM2000 and Santiago Monedero continue the conversation :) Team is using the ArcGIS Runtime for QT. Thanks!
Thanks Fred, I am Santiago from Technosylva.
We use ArcGIS for QT on a 3D environment and as Joaquin says the performance using graphic overlays with some data Natalie sent us some time ago (around 20000 vectors per time step) is horrible on a mobile device (in 2D is better but still not good enough). Right now our implementation is using tiles and it works very very smoothly so if it was possible to keep those tiles we would really really appreciate it.
Thanks for the support.
The raster generation works perfectly now.
When i send a job to the Dev server, it just fail. This are the messages from the server:
Im using the imputs from here: https://github.com/firelab/windninja-mobile/blob/master/WindNinja-Server/Docs/Web_API.md#200-job-details