Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get ascii grid with land use data (by one parameter - CODE_00). Afterwards I will import it into simulation tool. But I cannot figure out how to convert ascii grid from shapefile. Shapefile comes from CORINE ( or raster data from CORINE (

What could be the best solution for such a task?

This is how should look ascii grid(if I get lucky):

ncols         750
nrows         250
xllcorner     20
yllcorner     55
cellsize      500
NODATA_value  -9999
26 26 6 26 26 26......
25 8 11 23 22 .........
share|improve this question
I'm sorry, exactly what is the need here? You mention both a shapefile and a grid. Are you trying to vectorize the grid or rasterize the shapefile? If it's the latter, what kind of features are in the shapefile and what logical format does the grid need to be in ("ASCII" covers a lot of ground)? – whuber Jun 6 '12 at 21:08
CORINE gives shapefile with land use polygons and feature CODE_00 represents land use type. I want to make ascii grid from this spahefile by parameter CODE_00. – Artis Jun 6 '12 at 21:35
So are you trying to rasterize those polygons? And if so, what is the relevance of the CORINE raster data you mention at the end of the question? – whuber Jun 6 '12 at 21:35
yes, that could be correct term for this :) – Artis Jun 6 '12 at 21:37
well, I can download shp file from CORINE and also "big" tif file with clc_legend_qgis.txt Maybe one of these two sources can be converted to ascii grid. – Artis Jun 6 '12 at 21:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.