Re: [gdal-dev] ogr shapefile viewer

2011-01-06 Thread Mateusz Loskot
On 06/01/11 16:53, Mohammed Rashad wrote: Anyone plea se provide a source code of just a simple shapefile viewer in C/C++ or python http://www.codeproject.com/KB/openGL/RenderSHP.aspx Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member

Re: [gdal-dev] ogr shapefile viewer

2011-01-06 Thread Mohammed Rashad
i checked it. Its not working properly and uses openGL On Thu, Jan 6, 2011 at 10:31 PM, Mateusz Loskot mate...@loskot.net wrote: On 06/01/11 16:53, Mohammed Rashad wrote: Anyone plea se provide a source code of just a simple shapefile viewer in C/C++ or python

Re: [gdal-dev] ogr shapefile viewer

2011-01-06 Thread Mateusz Loskot
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

Re: [gdal-dev] ogr shapefile viewer

2011-01-06 Thread Mohammed Rashad
On Thu, Jan 6, 2011 at 10:45 PM, Mateusz Loskot mate...@loskot.net wrote: On 06/01/11 17:06, Mohammed Rashad wrote: when the window resize the size of shapefile is also changed. by not working I mean its not displaying shapefile correctly. This is a very simple example, it does not have

Re: [gdal-dev] ogr shapefile viewer

2011-01-06 Thread Christopher Barker
On 1/6/11 9:19 AM, Mohammed Rashad wrote: Instead of looking for code, I'd rather suggest to sit down and think what you need. I assure you, all you need you have in OGR tutorial on gdal.org/ogr http://gdal.org/ogr website. The only thing you need more is to pass vector

Re: [gdal-dev] ogr shapefile viewer

2011-01-06 Thread Chaitanya kumar CH
Rashad, I assume you are looking for a simple viewer for non-changing shapefiles. You can use the GDAL library and the code from the gdal_rasterize utility. On Thu, Jan 6, 2011 at 11:17 PM, Mohammed Rashad mohammedrasha...@gmail.com wrote: On Thu, Jan 6, 2011 at 11:09 PM, Christopher Barker