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 to handle all UI events, > react on windows resize, etc. > I can't believe size of Shapefile does change. It can't change as it's a > file on disk, so unless you edit vectors in file, its size never changes. > You probably mean size of vectors displayed. Again, it's simple example, > loads Shapefile, creates a window, draws vectors from Shapefile in this > window. That's it. > > You wanted simple, this is simple. > > > can you point me to some other example with any api OpenGL also no >> problem >> > > Just google, there is plenty. > > 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 website. The only thing you need more is to pass vector > data/point to rendering API you want to use. > > yes Mateusz Loskot, i need this part. passing the vector data/point to a rendering API. Anyone can provide a simple example other than http://www.codeproject.com/KB/openGL/RenderSHP.aspx > p.s. please, do not reply privately to folks from mailing lists, > reply to mailing list. > > > Best regards, > -- > Mateusz Loskot, http://mateusz.loskot.net > Charter Member of OSGeo, http://osgeo.org > Member of ACCU, http://accu.org > -- Rashad
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev