2

My las file had a spatial reference of "None." I tried to assign the CRS (in which data were collected) with the following command line:

las2las flightline_002.las --a_srs EPSG:32632
lasinfo --no-check flightline_002.las 

Lasinfo still reports it as "None." See screenshot below, line 'Spatial Reference':

enter image description here

Those extent coordinates are UTM meters.

I am working through the examples on http://www.liblas.org/start.html#osx, with libLAS 1.7.0, GeoTIFF 1.4.0 GDAL 1.11.1, Mac OS 10.9.4. Any thoughts?

4
  • What is the original (source) spatial reference?
    – Aaron
    May 20, 2016 at 0:26
  • None. I mean, the data was collected in EPSG 32632, but that doesn't seem to be stored with the .las.
    – J Kelly
    May 20, 2016 at 0:27
  • Those extent coordinates are UTM meters.
    – J Kelly
    May 20, 2016 at 0:28
  • :) I dunno -- let's see if I can clip it without a crs.
    – J Kelly
    May 20, 2016 at 12:03

1 Answer 1

3

las2las flightline_002.las --a_srs EPSG:32632 doesn't modify flightline_002.las. Rather, it creates a new file called output.las with the spatial reference information. output.las is the default value of the -o [ --output ] option available in las2las.

To specify the new filename, use the following construction:

las2las --a_srs EPSG:32632 flightline_002.las flightline_002_w_srs.las

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.