Which coordinate system (EPSG) and grid resolution should I use when importing terrain?

The short answer

Choose the EPSG code of the projected coordinate system your survey data was delivered in, and set the drawing units before you import. You no longer choose a grid resolution for survey data: the terrain is a TIN surface built from the real survey points, and LAS/LAZ, LandXML and contour imports set the density themselves. Only Import KML/KMZ still asks for a Grid resolution. Most terrain that lands in the wrong place or shows the wrong area comes from a units mismatch or a wrong EPSG code, not from the terrain data.


1. Where each importer takes the coordinate system from

The four importers on the Terrain Import panel handle the coordinate system differently:

  • Import KML/KMZ: no choice needed. KML is always latitude and longitude, and PVX.AI projects it into the UTM zone of the boundary. The elevation data is downloaded for that boundary.
  • Import LAS/LAZ: reads the coordinate system from the file header and shows Detected from LAS header. If the header has none, it shows Coordinate system not detected and you must pick one before you continue. The points keep their own coordinates; the code locates the site and sets the units.
  • Import LandXML: shows what the file says about its coordinate system. An EPSG code in the file is pre-selected for you to confirm; a name or description is shown as information only, and a file labelled ED50 gets a warning. The coordinate system is optional: without one, the terrain is imported as it is and location-based features (sun position) are not set. Import LandXML replaces the removed Import TXT/CSV: export point files from your survey software as LandXML.
  • Import Contours: the coordinate system is optional and never moves the contours. They stay at their drawing coordinates. The code is used only to locate the site on the globe, for sun position, KML export and soil analysis. Click No Coordinate System Information if you do not have one.

Where a picker appears, type the EPSG code or part of the name in Search EPSG code or name… to find it.

2. Which EPSG code do I enter?

Enter the code of the system the surveyor used, not one that looks close. Look for it in the survey report, in the .prj file delivered with the data, or in the drone processing report. It is usually a national grid, a UTM zone, or a State Plane zone.

  • US State Plane in US survey feet: pick the US survey feet variant of the zone (often marked ftUS). PVX.AI converts these codes at the exact survey foot, and drawings set to US survey feet are read the same way.
  • Latitude and longitude in degrees: convert the points to a projected coordinate system first, usually the UTM zone of the site, and import that file with the matching EPSG code. LandXML import expects projected coordinates in metres or feet. KML and KMZ files are the exception: they are always in latitude and longitude, and the KML import handles them directly.
  • KML export: if the code you chose cannot be converted for Google Earth, Design (KML) export refuses it and asks you to choose another system, instead of writing a file in the wrong place.

What to do: follow the importer guide for your data: Importing Contour Lines, Importing Point Cloud (Drone) Data, Importing LandXML Terrain or Importing KML Files.

3. My terrain lands in the wrong place or shows the wrong area

Check these in order:

  1. Drawing units. PVX.AI reads the units from the drawing (the AutoCAD INSUNITS setting). A unitless drawing and a millimetre drawing are both treated as metres, and an inch drawing as feet. If your data is in feet but the drawing says metres, every distance and area is off by a factor of about 3.3. Set the drawing units to match the data before importing. See AutoCAD Versions, Language, and Units.
  2. Wrong EPSG on a point cloud or LandXML file. The code tells PVX.AI where the coordinates are on the globe and in which unit. A wrong code puts the site in the wrong place for sun position, soil, erosion, the web viewer and KML export, or scales it wrongly. A code that does not fit the data is refused, and so is an import into a drawing already set to a different EPSG code.
  3. Contours or points mixed with other data. In Import Contours, use the Search layers… box to tick only the layers that hold contours or spot heights. Text far from the other elevation points makes PVX.AI ask whether to leave those layers out.
  4. A LandXML file imported with no coordinate system, whose coordinates are not in the drawing’s system. Either pick the right code, or convert the file first.

4. Which grid resolution should I use?

For survey data, none. Every drawing’s terrain is now one TIN surface (a triangulated surface built from the real survey points), and grading, Adapt Terrain to Pile, Collision Analysis, contours and volumes all read that same surface. What each importer asks for:

  • Import LAS/LAZ and Import LandXML (survey points): the Distance between points is Automatic. Set it by hand under Advanced only to make a very large survey lighter. A distance smaller than the survey’s own point spacing adds no detail.
  • Import LandXML (a surface): the surveyor’s triangles are used as they are. A very large surface is simplified to fit, and the wizard tells you first.
  • Import Contours: every contour is kept as a breakline; there is nothing to set.
  • Import KML/KMZ: still asks for a Grid resolution (3 to 25 m, default 10 m), the spacing at which the downloaded elevation is sampled. The source data is about 30 m, so a much finer value adds no detail.

The LAS/LAZ, LandXML and contour wizards also show an Analysis grid spacing under Advanced: a helper grid that some analyses still read. It does not change the terrain surface; leave it as it is unless support asks you to change it.

A drawing saved with the older grid terrain is converted to a TIN surface when you open it, in one undo step, and PVX.AI shows a notice. Check the levels of an older drawing after it is converted. For very large sites, around 500 MW and up, split the site into several PV areas or drawings to keep it workable.

5. Check the terrain before you design on it

After importing, check the site is where you expect it (compare it with a satellite image or the boundary KML) and that the area matches the survey. On the Terrain Settings tab of any import window, tick Show aspect maps (N-S and E-W) and adjust the Slope Analysis Ranges to see which way the ground falls. Use Create Specific Legend on the Terrain panel to get a slope legend for one area only.

More on what PVX.AI does with terrain is on the terrain analysis page on pvx.ai.


Related