10

I'm using QGIS.

How can I create a shapefile consisting of a grid 0.5° latitude and 1° longitude in size?

11

use the MMQGIS plugin, after installing you find it in qgis 1.8 under plugins--mmqgis. select create --create grid layer and enter the appropriate valuesenter image description here

for h spacing and v spacing select 1 or 0.5 (instead of 10 in my screenshot)

hope this helps

10

Another option is to use the built-in Vector Grid tool. (Toolbar menu: Vector → Research → Vector Grid):

Vector Grid window

  • Is this guaranteed to be in line with the real latitude and longitude lines? I didn't see how they choose where to start the lines. – Ross Jul 22 at 4:03
  • The grid starts at xmin,ymin and next coordinates are chosen by adding the specified horizinal/vertical spacing. The code that creates the grid is here github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/… – spatialthoughts Jul 22 at 4:31
  • Thanks! I ended up downloading a file with the lines I needed from Natural Earth. – Ross Jul 22 at 4:43

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.