Comments (12)
ArcGIS Maps SDK for Qt requires developers to adopt Qt 6, which allows the SDK to take advantage of new graphics APIs, platform architectures, language features, and more.
Perhaps using this SDK is a goal for when Windninja is pulled forward to a newer QT. OTOH, integrating this ESRI dependency may force future upgrades before you're ready. Unless you say otherwise, I'll start picking at option 2.
from windninja.
Chatter around vector plugins suggests they're experimental and unsupported...
https://openmaptiles.org/docs/website/leaflet/
from windninja.
This link suggests that Esri vector tiles should work with leaflet.
https://developers.arcgis.com/esri-leaflet/layers/add-a-vector-tile-layer/
from windninja.
Maybe this is the plugin we should be looking at:
https://github.com/Esri/esri-leaflet-vector
from windninja.
... which has these dependencies...
Dependencies
- Leaflet version 1.5.0 (or higher) is required.
- Esri Leaflet 2.3.0 (or higher) is required.
- maplibre-gl-js
Do you know what version of leaflet is bundled with windninja?
from windninja.
Looks like leaflet 1.3.4. We could probably update though?
https://github.com/firelab/windninja/tree/master/data/leaflet
from windninja.
Prolly should anyway. So just spitballing, it sounds like the path of least resistance is option 2. We update the bundled leaflet, bundle esri-leaflet-vector and its dependencies, and tweak the downloader code.
I'm not going to get to this prior to AL in early April, as I need to focus on getting the Openstack hardware physically cabled. As long as the stopgap solution in #483 works for you for now, I can come back to this when I get back...
from windninja.
Sounds good to me. I released 3.8.1 with the solution in #483 yesterday, so we are good for a little bit. We can work on this when you're back. I'll probably try to release 3.9.0 with some other fixes/upgrades around the end of May/early June. Would be good to include this in that release.
from windninja.
Slightly more advance option but might make it more seamless with the overall code base is to use the ArcGIS Qt SDK: https://developers.arcgis.com/qt/
This would give you a native form element rather than an embedded html/js page. If the functionality is simply 'display public maps from arcgis services and draw boundary polygons', you should be fine with the low level 'lite' (ie free) licensing level.
from windninja.
@fspataro Thanks Fred! We'll check this out.
from windninja.
Successfully converted html to esri-leaflet in my branch https://github.com/bnordgren/windninja/tree/arc_tile_servers
Works great in Firefox on ubuntu host. Doesn't want to work in the QT4 widget inside the app. What's the status of QT5 on master? I got an unresolved symbol when trying to run.
from windninja.
The Qt5 option in master is work that was done several years ago to attempt write a new GUI in Qt5. We didn't get very far and then decided for an even bigger overhaul to modernize the GUI with an in-app viewer in Qt5. Technosylva is helping us on this, but we haven't gotten very far. I haven't built with the Qt5 option in our master branch in a long time, some functions may have changed. I can't remember if it was using the C API or not. The easiest solution is to try and get something working in Qt4. I think our Qt5 GUI is still a ways out.
from windninja.
Related Issues (20)
- fetch_dem_exe issue HOT 2
- Inconsistency in vtk files from cli and GUI HOT 2
- Docker Issues: `Windninja: cannot connect to X server` HOT 1
- Installing WindNinja on an AWS EC2 Ubuntu server HOT 2
- Point Initialization failing during download HOT 1
- 3.8 and 3.9 don't build HOT 3
- Using vertical levels with weather model initialization HOT 3
- Mesh/output grid resolution issue/question HOT 2
- Inconsistent output filenames in the gridded initialization method
- Implement Back and Forth Error Compensation and Correction in Semi-lagrangian solver
- Enable fetching of archived HRRR from GCP HOT 1
- LCP service is broken HOT 6
- Incorrect time zone reported in the GUI with point initialization HOT 2
- Running WindNinja through a Cloud Service? HOT 2
- Disable SRTM data sources in GUI until the data is available again HOT 1
- Add 30 m COP30 global dataset HOT 1
- update docs for new SRTM source HOT 1
- Surface data bounds check not working properly in the GUI DEM download widget
- Add instructions for compiling OpenFOAM shared library for Windows
- shift WindNinja momentum solver runs from using the kEpsilon model to using the RNG kEpsilon model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windninja.