<div dir="ltr"><div>Your transformation is working properly, but you are viewing the data in a viewer which interprets your data as cartesian.  Your XYZ range of (degrees, degrees, meters) is probably something like (0.0000001, 0.0000001, 100), and since your Z-values are several orders of magnitude larger than the XY, you get a vertical line when you interpret this as cartesian.  You can use any non-geographic coordinate system for a better viewing experience (or find a viewer that understands geographic coordinates), but there's nothing wrong with your data transformation itself.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié, 31 ene 2024 a la(s) 10:12 a.m., Heiko Steinfeld via pdal (<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a>) escribió:<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 dir="ltr"><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Hello,</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">i try<span style="font-size:11pt"> to reproject from EPSG:28992 to EPSG:4326. This doesn’t work. The result is a straight line.</span><br></p><div>Original:</div><img src="cid:ii_ls0aeecp0" alt="image.png" width="306" height="131" style="outline: 0px; margin-right: 0px;"><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Projected:</p><img src="cid:ii_ls0aeyl11" alt="image.png" width="27" height="220" style="margin-right: 0px;"><div><br><p class="MsoNormal" style="margin:0cm;font-size:11pt"><font face="Calibri, sans-serif">This is the command i use: </font><font face="monospace">pdal translate ./Test/original.laz ./Test/projected.laz reprojection --filters.reprojection.in_srs="EPSG:28992" --filters.reprojection.out_srs="EPSG:4326" --writers.las.scale_x=0.0000001 --writers.las.scale_y=0.0000001 --writers.las.offset_x="Auto" --writers.las.offset_y="Auto"</font><font face="Calibri, sans-serif"><b></b></font></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><b> </b></p><p class="MsoNormal" style="margin:0cm;font-size:11pt"><font face="Calibri, sans-serif">The spatial reference of the original file is: </font><font face="monospace">PROJCS[\"Amersfoort / RD New\",GEOGCS[\"Amersfoort\",DATUM[\"Amersfoort\",SPHEROID[\"Bessel 1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],AUTHORITY[\"EPSG\",\"6289\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],</font></p><p class="MsoNormal" style="margin:0cm;font-size:11pt"><font face="monospace">UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4289\"]],PROJECTION[\"Oblique_Stereographic\"],PARAMETER[\"latitude_of_origin\",52.1561605555556],</font></p><p class="MsoNormal" style="margin:0cm;font-size:11pt"><font face="monospace">PARAMETER[\"central_meridian\",5.38763888888889],PARAMETER[\"scale_factor\",0.9999079],PARAMETER[\"false_easting\",155000],PARAMETER[\"false_northing\",463000],</font></p><p class="MsoNormal" style="margin:0cm;font-size:11pt"><font face="monospace">UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],AUTHORITY[\"EPSG\",\"28992\"]]</font></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><i> </i></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">I use the pdal version: <i>2.6.0</i></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">But i also tried 2.6.2 with same result.</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><i> </i></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">When i look at <a href="http://epsg.io/" target="_blank">epsg.io</a> the transformation from EPSG:28992 to EPSG:4326 should be possible.</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"><i> </i></p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">I don’t know what i’m doing wrong. I tried with several laz-files but the result is the same for all of them.</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">I hope anybody can give me a hint.</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif"> </p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Kind regards</p><p class="MsoNormal" style="margin:0cm;font-size:11pt;font-family:Calibri,sans-serif">Heiko</p></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a><br>
</blockquote></div>