2

I'm a complete novice to the world of GIS. I'm involved with a project which requires LIDAR data to be imported into CAD software.

When I go to the geostore, which contains LIDAR survey data published by the UK government, I find that the DSM and DTM downloads give a list of files with a .asc file type.

99 files in download

I found that these could be opened easily enough with notepad. When opened, there are a huge number of rows and columns.

Data contained in .asc files

I need to know what a single point is (i.e. what is x, y and z). If I can understand what is going on, I can find a way to change the data so it is a list of coordinates and that way, I can import it into CAD data.

Another thing I would like to know is how to actually use the data to pick a location. The area I have shown in my example was downloaded from a large area (around 100 square kilometers, if I've understood map scales correctly). I'd like to be able to know what areas, specifically, that the numbers are defining.

I have found an online link that has described the format to some extent, but I still need things dumbed down a bit more.

4
  • The LiDAR data you have is from the Environment Agency you can use a number of GIS Tools for using this point cloud data - As your asking for CAD here is another related question gis.stackexchange.com/questions/193906/…
    – Mapperz
    Aug 16 '16 at 19:03
  • Hi Mapperz, thanks for the response. I'll have a look at that particular feature and see if is a viable way to solve my problem.
    – Harry_1994
    Aug 16 '16 at 19:05
  • Here is a Video for AutoDesk InfraWorks 360 & AutoCAD Map 3D (2016) using the EA.asc [LiDAR] files knowledge.autodesk.com/support/autocad-civil-3d/learn-explore/…
    – Mapperz
    Aug 16 '16 at 19:08
  • Welcome to GIS SE! Thankyou for taking the Tour to learn about our focussed Q&A format. I recommend not thinking about GIS SE as being some sort of online GIS tutor. For your questions to be answered here they should as much as possible describe not just what you want to do, but precisely what you have tried and where you are stuck trying that. You seem to have two questions but no question marks so I think your first target should be to ask a single focussed question (with a question mark).
    – PolyGeo
    Aug 16 '16 at 19:59
3

It is important to disambiguate some concepts first. LiDAR data is point cloud data. It can be of types binary or non-binary, but it is not LiDAR data you are working with.

Instead, you have a raster, which is roughly a regular grid having one variable/information represented inside each cell (pixel) of the grid. DSMs and DTMs can be derived from LiDAR data, and they represent surfaces, where the information inside each pixel is elevation data (the z values), and the grid is georeferenced, in which every cell of this grid has a x and y coordinate. Here is a GIS post to understand the differences between DSM and DTM.

The type of raster file you have is .asc, which is also known as ESRI ASCII raster format. Here is another GIS reference about .asc files. Now, let's go to your questions:

I need to know what a single point is (i.e. what is x, y and z).

The first pixel (origin) from your raster, which is the most top (or bottom) left of the grid, have x and y coordinates corresponding to the xllcorner and yllcorner coordinates of the .asc file, hence 350000 and 300000, respectively. These are the coordinates from the lower left corner of the first pixel (if it was the center coordinates, then, the .asc file would carry xllcenter and yllcenter instead). Then, the z value of the first pixel is 118.700.

Another thing I would like to know, is how to actually use the data to pick a location... I'd like to be able to know what areas, specifically, that the numbers are defining.

You can directly import .asc files in almost all GIS software such as ArcGIS, QGIS, R, etc. To know its location open the file together with other vector data as background reference (such as a map from UK, for example). Note, you need to know in which coordinate reference system (CRS) your raster is, in order to get the exact location. If you don't know what it is, this post might help.

0

At Autodesks Autolisp forum I have added two autolisp functions to import points from ESRI ASCII raster format (.asc file) and to filter out unnecessary points.

Since I received negative points let me explain a bit how and when you can use this option.

Ok this is definitively not the best solution since one can in a first place use various converters to convert .asc in point cloud and use it inside Acad.

For users that don't use Acad verticals or who need pointset inserted into plain vanilla ACAD as point objects to create contours or what ever they need, there are two functions ASC_INN and FILTER_OUT. First is used to read in .asc file and create point objects. To remove unnecessary points user can create a closed polyline and use function FILTER_OUT to remove all points outside bounding polyline. Since in .asc file we have a point set of 250 000 (500 × 500) points using point objects hugely slows Acad. .
I have created this code for my personal use and I'm sharing it to anyone who may need it. I use point sets to create natural terrain for simulation of open pit opening and development regarding terrain configuration and don't use ACAD verticals.

This directly answers OP original posts and what he wanted to achieve as a CAD user, but not from a perspective of a GIS user.

In case when extracting a corridor as in picture below is needed it takes only a few minutes of work.

enter image description here

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.