0

I am trying to create a 1km2 grid of Kenya but I'm struggling. I have changed the projection to EPSG:32337 but this makes Kenya about 10 metres long which is obviously not right and leads to an error that the area I want to grid is too large. The standard projection (WGS84) will only allow me to create a grid in degrees.

  • Please describe the grid creation process more detailled. – Erik Dec 9 '19 at 16:18
  • Using 'create grid' in vector research tools, selecting my Kenya shapefile as the extent using the same projection as the layer and project (EPSG: 32337). Horizontal and Vertical spacing both set to 1km and both overlays left at zero. This brings up an error message stating:"Traceback (most recent call last): File "C:/PROGRA~2/QGIS3~1.8/apps/qgis/./python/plugins\processing\algs\qgis\Grid.py", line 133, in processAlgorithm self.tr('Horizontal spacing is too large for the covered area')) _core.QgsProcessingException: Horizontal spacing is too large for the covered area" – Birchy Dec 9 '19 at 16:34
  • 6
    Do not use "set crs". Reproject your data properly by using "export as" and set the crs there – MrXsquared Dec 9 '19 at 16:34
  • Following up on @MrXsquared's suggestion, before reprojecting your data, return it to the original CRS. If you reproject data whose CRS you changed, it will be even more wrong once re-projected. – csk Dec 9 '19 at 17:11

Your Answer

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

Browse other questions tagged or ask your own question.