<html><body><div>The source projection is contained in the accompanying .prj file in the zip, so it's probably easiest just to download and extract the zip. <br></div><div><br>On Sep 12, 2017, at 04:06 PM, Nick Cummins <nickmcummins@icloud.com> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div><span style="font-size: 13px;" data-mce-style="font-size: 13px;">TOWNSSURVEY_POLY.shp</span> in <br></div><div><a href="http://wsgw.mass.gov/data/gispub/shape/state/townssurvey_shp.zip" rel="noreferrer" data-mce-href="http://wsgw.mass.gov/data/gispub/shape/state/townssurvey_shp.zip">http://wsgw.mass.gov/data/gispub/shape/state/townssurvey_shp.zip</a> <br></div><div><span style="font-size: 13px;" data-mce-style="font-size: 13px;"><br><strong>ogr2ogr -f "GeoJSON" -t_srs EPSG:4326 dest.json TOWNSSURVEY_POLY.shp</strong><br></span>produces the error for me<br><br>On Sep 12, 2017, at 04:01 PM, Even Rouault <even.rouault@spatialys.com> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote" style="font-family: 'monospace'; font-size: 9pt; font-weight: 400; font-style: normal;" data-mce-style="font-family: 'monospace'; font-size: 9pt; font-weight: 400; font-style: normal;"><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">On mardi 12 septembre 2017 21:55:31 CEST Nick Cummins wrote:</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> I'm trying to re-project a lidar point cloud file using PDAL, which uses</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> GDAL under the hood. When re-projecting a .las tile which I was previously</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> able to successfully transform the coordinate system from EPSG:4269</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> (lat/lon) to a US state plane projection, EPSG:102749, I now get the</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> following error:</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">></p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> (pdal pipeline filters.reprojection Error) GDAL failure (1) illegal axis</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> orientation combination (pdal pipeline filters.reprojection Error) GDAL</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> failure (1) Reprojection failed, err = -47, further errors will be</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> suppressed on the transform object. *** Error in `pdal': munmap_chunk():</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> invalid pointer: 0x00007f4ab1fec400 ***</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">></p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> I was looking online and found someone with a similar issue when running</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> ogr2ogr to re-project a shapefile. I am able to reproduce an error running</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">> the command and data described:</p><p style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;" data-mce-style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"> </p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">Nick,</p><p style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;" data-mce-style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"> </p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">Can you point to a link to the source shapefile that triggers the crash ?</p><p style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;" data-mce-style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"> </p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">Even</p><p style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;" data-mce-style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"> </p><p style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;" data-mce-style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;"> </p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">--</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;">Spatialys - Geospatial professional services</p><p style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;" data-mce-style="-qt-block-indent: 0; text-indent: 0px; -qt-user-state: 0; margin: 0px;"><a href="http://www.spatialys.com" rel="noreferrer" data-mce-href="http://www.spatialys.com">http://www.spatialys.com</a><br></p><style class="existing-message-styles" type="text/css"></style></div></blockquote></div></div><div class="_stretch"><span class="body-text-content">_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" data-mce-href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" data-mce-href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></span><br data-mce-bogus="1"></div><style class="existing-message-styles" type="text/css">.msg-quote .msg-quote p, li {white-space: pre-wrap;}
</style></div></blockquote></div></div></body></html>