Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

Up to now, I have used GDAL in order to read raster information and geotiffs and show them with the help of OpenGL. Now I have a vector dataset, and by that, I mean I have the files with types:

DBF File , PRJ File , SBN File , SBX File , SHP File , LOCK File , XML Document , SHX File

I want to read the vector information (e.g vertexes of the geometries and geometrical and topological relationships between feature) and then show them using OpenGL.

  • What part of GDAL library should I study?
  • Can you introduce me a tutorial link that has fully covered what I want to read from the vector dataset?
share|improve this question
well @Kurt what do you mean? the link that you have provided is this page's link! what do you mean by duplication? where is the question that mine has is duplicated with? – sepideh Sep 7 '13 at 6:41
He probably meant the question you asked just after this one... – BradHards Sep 7 '13 at 7:04
but @BradHars they aren't the same. This one is about How to read vector datasets but that one is about How to show this information – sepideh Sep 7 '13 at 7:48
sepideh, you use the phrase to "and then show them using opengl" here, so it is hard to determine what the difference between this Q and your next one is. (Technical point: GDAL is for reading/writing rasters, and OGR for vectors. Though often bundled together they aren't the same.) We need you to back up and provide more context to your questions, give us the view from 10,000 feet as it were. What would be your end goal, after you have the answers? – matt wilkie Sep 7 '13 at 8:09
the OGR C & C++ tutorial is here: – matt wilkie Sep 7 '13 at 8:17

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.