[gdal-dev] ogr shapefile viewer

Mateusz Loskot mateusz at loskot.net
Thu Jan 6 12:07:06 EST 2011


On 06/01/11 16:58, Mohammed Rashad wrote:
> i checked it. Its not working properly and uses openGL

You didn't mention it can not be based on OpenGL or any other rendering 
API. No idea what you mean "not working properly",

The code provides good example on how to read vectors from Shapefile
and pass to renderer. Just translate it to your renderer, Windows GDI, 
GTK+, whatever.
If you want to use OGR, but not Shapelib, learn from OGR tutorial and do 
the same thing.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the gdal-dev mailing list