7

I created a shapefile from WKT in QGIS using the values from this link.

I want to create a vector grid with 1kmx1km cells but I can't figure out what values need to be set for the X and Y parameters. How do I calculate those?

5

If you want a vector grid in kilometers:

  1. Set the project CRS to something projected like the UTM zone of your part of the world. World mercator EPSG:3857 is not useful, because this projection has real meters only at the equator.

  2. Load a vector or raster file of the area you are interested in, with On-the-fly-reprojection enabled.

  3. If necessary, save the shapefile to the CRS of the project, add that to the canvas and delete the WGS84 version.

  4. Vector -> Research Tools -> Vector grid with the current extent. Parameter X (and Y) should be 1000 (meters).

  • I started a new project and set the CRS to EPSG:32615. With on the fly transformation enabled. Added the layer from the WKT provided in the question. When I tried creating the vector grid, the units were still stuck in degrees. What am I doing wrong? – bcosynot Apr 12 '14 at 23:05
  • 1
    Saving the source shapefile to UTM solves your problem, see my extended answer. It seems to be a bug if project and layer CRS are different. I opened a ticket for it: hub.qgis.org/issues/10059 – AndreJ Apr 13 '14 at 8:37

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.