[gdal-dev] ogr shapefile viewer

Mohammed Rashad mohammedrashadkm at gmail.com
Thu Jan 6 12:19:09 EST 2011


On Thu, Jan 6, 2011 at 10:45 PM, Mateusz Loskot <mateusz at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110106/07e11a1c/attachment.html


More information about the gdal-dev mailing list