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.

I want to assign projection to shapefile in my web C# application, for this i am using Gdal/OGR/OSR C# bindings and add osr_csharp.dll and ogr_csharp.dll references. But i am facing some difficulty while writing the code for assigning projection to shapefile. I want to know is there any API documentation for this which can help me to understand the classes/methods of these libraries. OR if anybody have some piece of code for assigning projection to shapefile , then it will be great help for me.

share|improve this question

2 Answers 2

up vote 8 down vote accepted

This directory in the GDAL project tree has some C# examples, specifically this one that might suit your needs.

share|improve this answer

...and...
You can find the GDAL API documentation here
There is an GDAL API tutorial here
The OGR API documentation is here
The OSR API documentation is here

All the links you need for GDAL can be reached from http://www.gdal.org/
All the links you need for OGR/OSR can be reached from http://www.gdal.org/ogr/

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.