4

I make a raster file from LiDAR .las files in SAGA. The CRS of .las is Slovenian National Grid. Then, I export it as GeoTiff (Import/Export - GDAL/OGR - Export GeoTiff). When I import it into QGIS (Project CRS is Slovenian National Grid) I get error CRS was undefined - and it sets it up to Project CRS. Almost everything is fine - Raster correlates with satellite image. It is just that I get little skewed raster. For example, when I try to do map through qgis2web I get this black bands at top and bottom:

enter image description here

What am I doing wrong?

1

I think I cracked it. I get skewed raster if my Project CRS is set up as Slovenian National Grid.

If I set it up as WGS84 and import Tif Raster it gives me error and sets up raster CRS to WGS84. That puts tif in the middle of Atlantic. But if I then, correct project CRS back to Slovenian National Grid and also Raster CRS - raster is not skewed and in right position.

  • 2
    Settings -> Options -> CRS -> CRS for new layers should be set to Prompt for CRS. Then you can assign the projection if it can not be read from the source file. Raster -> Projection -> Assign Projection does basically the same. For the black stripe: Use the identify tool to get the pixel value, and set that as additional nodata value. – AndreJ May 4 '16 at 16:05
  • I think i figured out. As i open open Layers plugin and add Google satellite it changes my Project CRS to WGS 84 Mercator. If i put it back to SNG, everything is ok. But black stripe still persist in qgis2web plugin. – Jost Hobic May 4 '16 at 16:20

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.