[gdal-dev] ogr shapefile viewer
Chaitanya kumar CH
chaitanya.ch at gmail.com
Thu Jan 6 13:12:11 EST 2011
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 <mohammedrashadkm at gmail.com
> wrote:
>
>
> On Thu, Jan 6, 2011 at 11:09 PM, Christopher Barker <Chris.Barker at noaa.gov
> > wrote:
>
>> 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 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.
>>>
>>
>> It's still not clear quite what you want. If you just want to look at
>> shape files, I'd use an off-the-shelf desktop GIS, there are lots, QGIS is
>> pretty nice.
>>
>> You can also render shapefiles with mapnik or mapserver -- both are highly
>> customizable and produce very nice output.
>>
>> If you want a library you can embed in your own app, and maybe customize,
>> that's a different story.
>>
> I need a c++ library to just display an OGR shapefile. i need to embed this
> C++ library in my application that what I need. Is that clear? If you need
> any further details i will provide.
>
>>
>> For Python you could use wxPython and my wx.lib.floatcanvas. It doesn't
>> understand shape files, but with OGR reading them, it's very easy to throw
>> points, lines and polygons on the canvas, and be able to zoom and pan around
>> to look at them.
>>
>> We've also got the "maproom" project:
>>
>> https://bitbucket.org/dhelfman/maproom/overview
>>
>> It's a bit stalled out now, but will be revived. It is designed to be a
>> general purpose lib and application for interactive map data viewing and
>> manipulation. It doesn't actually support shape files at the moment, but it
>> does use GDAL/OGR and has support for points and polygons, so not hard to
>> write a new plugin for shape.
>>
>> It's also using OpenGL for speedy rendering.
>>
>> HTH,
>>
>> -Chris
>>
>>
>>
>> --
>> Christopher Barker, Ph.D.
>> Oceanographer
>>
>> Emergency Response Division
>> NOAA/NOS/OR&R (206) 526-6959 voice
>> 7600 Sand Point Way NE (206) 526-6329 fax
>> Seattle, WA 98115 (206) 526-6317 main reception
>>
>> Chris.Barker at noaa.gov
>>
>
>
>
> --
> Rashad
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110106/efd25dc8/attachment.html
More information about the gdal-dev
mailing list