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 have been looking around several hours, even days, but couldn't find a clear answer to my question.

I am working on a WebGIS tool that interprets local geology. From more than 70 asc-files, I would like to create one raster layer that contains in each raster cell the local geology, e.g. as a 2 x n vector with a code for the present formations and their thickness.

First of all, is this a good idea? Or is it better to query all layers in the WebGIS tool for the specific location?

I tried already to create a raster file, where each cell value was linked to a vector in a sort of attribute table. However, I was unable to save this table in Python, unless as a txt-file, and directly link it to the raster file. Is there a specific raster type that does this?

Thank you!

share|improve this question
For your information, I did it with a shapefile in which each raster cell is represented as a polygon. It is a large file but it works very well in the online application. – user19264 Jul 24 '14 at 8:01

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.