Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
1  
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
3  
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
3  
the OGR C & C++ tutorial is here: gdal.org/ogr/ogr_apitut.html –  matt wilkie Sep 7 '13 at 8:17

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.