<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Martin,</p>
<p>Thanks for sharing this initial version - it's great to see some
of the possibility.</p>
<p>Is this something you would like to / be able to develop? I'd be
interested in exploring the possibility of developing this, and am
happy to put some money in towards this if you (or anyone else) is
interested. <br>
</p>
<p>Please do let me know your thoughts. <br>
</p>
<p>Best wishes,<br>
Nick.<br>
</p>
<div class="moz-cite-prefix">On 3/22/22 12:31, Martin Dobias via
QGIS-Developer wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAC2XbFfgUFiTT=Anz16P4M9Q+sfa63YPYQPCoGy_YauUN4mZCw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi Andreas!<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Mar 22, 2022 at 9:49
AM Andreas Neumann <<a href="mailto:a.neumann@carto.net"
moz-do-not-send="true" class="moz-txt-link-freetext">a.neumann@carto.net</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div
style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><br>
Would any part of the current QGIS Desktop part be
re-usable in a "web assembly" QGIS? Or would the GUI part
have to be re-developed?
</div>
</blockquote>
<div><br>
</div>
<div>In theory, we could try to run QGIS Desktop as it is in
WebAssembly environment in the browser, Qt generally
supports that. There are many question marks though, among
some I can think of:</div>
<div>- dealing with files / data sources - this would need
many changes to accept the fact that we are not dealing with
a local file system and that access to raw data over network
will be generally much slower. Also persistence of data -
you will probably want to have some server backend anyway to
store the data.<br>
</div>
<div>- Qt Widgets-based apps can be run on WebAssembly, but I
have a feeling that the performance would not be great, due
to the way how the get rendered on screen (all work done on
CPU) - I would expect that an optimized OpenGL / WebGL based
GUI would have much better performance in browsers -
probably based on Qt Quick module (like Input / QField)</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div
style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>I would also assume that access to local files would be
very restricted - right? Network based resources (DB
access and web services) would probably work fine?</p>
</div>
</blockquote>
<div>Indeed, access to local files from browser would not be
possible at all - data would need to come from the server.
Network based resources would work fine, but with various
limitations - for example, you are normally not allowed to
request resources from other servers unless the servers
allow that [1], and you can't directly access services like
PostgreSQL that are not HTTP servers (although of course
this could be handled by tunneling through WebSockets, or
using HTTP-based protocols like Postgrest).<br>
</div>
<div><br>
</div>
<div>Cheers</div>
<div>Martin<br>
</div>
<div><br>
</div>
<div>[1] <a
href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"
moz-do-not-send="true" class="moz-txt-link-freetext">https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS</a></div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Nick Bearman
+44 (0) 7717745715
<a class="moz-txt-link-abbreviated" href="mailto:nick@geospatialtrainingsolutions.co.uk">nick@geospatialtrainingsolutions.co.uk</a>
Due to my own life/work balance, you may get emails from me outside of normal working hours. Please do not feel any pressure to respond outside of your own working pattern.</pre>
</body>
</html>