[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-user
Subject:    Re: [Qgis-user] qgis2threejs plugin problem
From:       Karl_Magnus_Jönsson_via_QGIS-User <qgis-user () lists ! osgeo ! org>
Date:       2023-03-30 9:50:25
Message-ID: MM0P280MB0039BD4CA9AED9EECDB1A606AF8E9 () MM0P280MB0039 ! SWEP280 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Hi!
I've managed to export a page with pointcloud. I don't remember exactly but I think \
Luigi is on the right track. You have to copy the point cloud to the web server \
manually. It won't export. It's a bit tricky since the preview won't load from the \
web server and the export not a local file. So you have to add it twice (local to see \
it in preview and from web server for the export) The URL may be tweaked in the \
data/index/scene.json file.

Hope this works for you.

Here is my example: https://kartor.kristianstad.se/publicerat/externt/3d/BN19-2137/
If anyone knows how to change the standard classification colors it would be nice to \
know. It works but it could be nicer.

Karl-Magnus Jönsson


Från: QGIS-User <qgis-user-bounces@lists.osgeo.org> För Luigi Pirelli via QGIS-User
Skickat: den 30 mars 2023 11:11
Till: Krisztián Kovács <perjesikovacs@gmail.com>
Kopia: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] qgis2threejs plugin problem

not so much time to answer and dig into... point cloud server in streaming as EPT \
need a webservice to be served. I suppose you are adding them in QGIS and are served \
from some place. So your web page (that do not show points) would be able to access \
that server that is serving points pointed by EPT. In any case check F12 browser \
debug page to see network errors. I suppose this could give you info where the \
problem is.

Luigi Pirelli

**************************************************************************************************
                
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Book: Mastering QGIS3 - 3rd \
Edition<https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
                
* Hire a team: http://www.qcooperative.net
**************************************************************************************************



On Thu, 30 Mar 2023 at 11:02, Krisztián Kovács via QGIS-User \
<qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>> wrote: Dear All,
I have a problem with the Qgis2threejs plugin.
when I want to export my point cloud data I get the following message.
[cid:image001.png@01D962FB.3BFE86B0]
Earlier I've tried to replace this file that the message told in the export folder( \
it didn't worked)but now in the 3.3sw version Unfortunately i still don't know what \
should i do to get the correct index.html file which could show us the point cloud in \
the web browser

[cid:image002.png@01D962FB.3BFE86B0]

Now I have an empty page without the my pointcloud.
[cid:image003.png@01D962FB.3BFE86B0]
Does anybody experience how to use this plugin correct?
Thanks  your advice.


Kovács Krisztián


_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org<mailto:QGIS-User@lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Franklin Gothic Book";
	panose-1:2 11 5 3 2 1 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.E-postmall18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="SV" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><a name="T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US">Hi!<br> I've managed to export a page with \
pointcloud. I don't remember exactly but I think Luigi is on the right track. You \
have to copy the point cloud to the web server manually. It won't export. It's a bit \
tricky since the preview won't load from the web server  and the export not a local \
file. So you have to add it twice (local to see it in preview and from web server for \
the export) The URL may be tweaked in the data/index/scene.json \
file.<o:p></o:p></span></a></p> <p class="MsoNormal"><span \
style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></span></p> <p \
class="MsoNormal"><span style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US">Hope this works for \
you.<o:p></o:p></span></span></p> <p class="MsoNormal"><span \
style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></span></p> <p \
class="MsoNormal"><span style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US">Here is my example: </span></span><a \
href="https://kartor.kristianstad.se/publicerat/externt/3d/BN19-2137/"><span \
style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US">https://kartor.kristianstad.se/publicerat/externt/3d/BN19-2137/</span></span><span \
style="mso-bookmark:T_Default_Reply"></span></a><span \
style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US"><o:p></o:p></span></span></p> <p \
class="MsoNormal"><span style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US">If anyone knows how to change the standard \
classification colors it would be nice to know. It works but it could be nicer. \
<o:p></o:p></span></span></p> <p class="MsoNormal"><span \
style="mso-bookmark:T_Default_Reply"><span lang="EN-GB" \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></span></p> <p \
class="MsoNormal"><span style="mso-bookmark:T_Default_Reply"><b><span \
style="font-size:10.0pt;font-family:&quot;Franklin Gothic \
Book&quot;,sans-serif;color:black">Karl-Magnus Jönsson</span></b></span><span \
style="mso-bookmark:T_Default_Reply"><span \
style="font-size:10.0pt;font-family:&quot;Franklin Gothic \
Book&quot;,sans-serif;color:black"> <o:p></o:p></span></span></p>
<span style="mso-bookmark:T_Default_Reply"></span>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span \
style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p> <div \
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"> <p \
class="MsoNormal"><b>Från:</b> QGIS-User &lt;qgis-user-bounces@lists.osgeo.org&gt; \
<b> För </b>Luigi Pirelli via QGIS-User<br>
<b>Skickat:</b> den 30 mars 2023 11:11<br>
<b>Till:</b> Krisztián Kovács &lt;perjesikovacs@gmail.com&gt;<br>
<b>Kopia:</b> qgis-user@lists.osgeo.org<br>
<b>Ämne:</b> Re: [Qgis-user] qgis2threejs plugin problem<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">not so much time to answer and dig into... point cloud server in \
streaming as EPT need a webservice to be served.&nbsp;<o:p></o:p></p> <div>
<p class="MsoNormal">I suppose you are adding them in QGIS and are served from some \
place.<br> So your web page (that do not show points) would&nbsp;be able to access \
that server that is serving&nbsp;points pointed by EPT.<br> In any case check F12 \
browser&nbsp;debug page to see network errors. I suppose this could&nbsp;give you \
info where the problem is.<br clear="all"> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Luigi Pirelli<br>
<br>
**************************************************************************************************<br>
                
* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" \
                target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>
* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" \
target="_blank"> http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>
* GitHub: <a href="https://github.com/luipir" \
                target="_blank">https://github.com/luipir</a><br>
* Book:&nbsp;<a href="https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition" \
target="_blank">Mastering QGIS3 - 3rd Edition</a><o:p></o:p></p> </div>
<div>
<p class="MsoNormal">* Hire a team: <a href="http://www.qcooperative.net" \
target="_blank"> http://www.qcooperative.net</a><br>
**************************************************************************************************<o:p></o:p></p>
 </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, 30 Mar 2023 at 11:02, Krisztián Kovács via QGIS-User \
&lt;<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>&gt; \
wrote:<o:p></o:p></p> </div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm \
6.0pt;margin-left:4.8pt;margin-right:0cm"> <div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif">Dear All,<br> I have a problem with the Qgis2threejs plugin.<br>
when I want to export my point cloud data I get the following message.<br>
<img border="0" width="433" height="562" style="width:4.5104in;height:5.8541in" \
id="Bild_x0020_1" src="cid:image001.png@01D962FB.3BFE86B0"><o:p></o:p></span></p> \
</div> <div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif">Earlier I've tried to replace this file that the message told in \
the export folder( it didn't worked)but now in the 3.3sw \
version&nbsp;Unfortunately&nbsp;i still don't&nbsp;know what should  i do to get the \
correct index.html file which could show us the point cloud in the web \
browser&nbsp;<o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif"><o:p>&nbsp;</o:p></span></p> </div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif"><img border="0" width="2211" height="303" \
style="width:23.0312in;height:3.1562in" id="Bild_x0020_2" \
src="cid:image002.png@01D962FB.3BFE86B0"></span><span \
style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif"><o:p></o:p></span></p> </div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif"><o:p>&nbsp;</o:p></span></p> </div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif">Now I have an empty page without the my \
pointcloud.<o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New \
Roman&quot;,serif"><img border="0" width="562" height="285" \
style="width:5.8541in;height:2.9687in" id="Bild_x0020_3" \
src="cid:image003.png@01D962FB.3BFE86B0"></span><span \
style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"><br> Does \
anybody experience&nbsp;how to use this plugin correct?<br> Thanks&nbsp; your \
advice.<o:p></o:p></span></p> </div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><b><span style="font-family:&quot;Times New \
Roman&quot;,serif;color:#666666;background:white">Kovács \
Krisztián</span></b><o:p></o:p></p> <div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" \
target="_blank">QGIS-User@lists.osgeo.org</a><br> List info: <a \
href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank"> \
                https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" \
target="_blank"> https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p>
 </blockquote>
</div>
</div>
</body>
</html>


["image001.png" (image/png)]
["image002.png" (image/png)]
["image003.png" (image/png)]

_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--===============4745709801601691810==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic