[gdal-dev] Mixing gdal and shapelib?

2010-09-01 Thread Stephen Woodbridge
Hi devs, I have written a program that uses gdal to access raster images and shapelib calls to read and write some shapefiles. I'm getting some SEGVs and I crashed valgrind! see valgrind gdb runs below. It also appears the gdal/ogr has a copy of shapelib build into it so I have tried loading

[gdal-dev] Image registration, gdal?

2010-09-01 Thread conpie
Greeting to all. First, i'd like to thank all contributors to gdal/ogr. For my problem: i am to write an image registration plugin for a software. looking at qgis, i'd be happy to mimic the georeferencer and wrap the gdalwarp algorithm. i've been looking a little at the code, but am still asking m

Re: [gdal-dev] swig generated files for Perl bindings removed from repository

2010-09-01 Thread Ari Jolma
On 08/19/2010 04:20 PM, Frank Warmerdam wrote: Ari, I agree, you are welcome to remove the perl bindings from the repository. I see that the mkgdaldist.sh script is already regenerating the perl (and C#) bindings when release and nightly distributions are prepared. If it has not already been do

[gdal-dev] convert multipart polygon to single part polygon

2010-09-01 Thread Sebastian E. Ovide
Hi All, Is it possible to create a single part polygon from a multipart polygon ? thanks -- Sebastian E. Ovide ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] MapInfo mixed geometry

2010-09-01 Thread Sebastian E. Ovide
Thanks ! On Wed, Sep 1, 2010 at 1:54 PM, Frank Warmerdam wrote: > Sebastian E. Ovide wrote: > >> Hi All, >> >> I have MapInfo mixed geometry files. As MapServer doesn't support layers >> wityh mixed geometry, Is it possible to use gdal for extracting its points, >> its polygaons etc... and save

Re: [gdal-dev] MapInfo mixed geometry

2010-09-01 Thread Frank Warmerdam
Sebastian E. Ovide wrote: Hi All, I have MapInfo mixed geometry files. As MapServer doesn't support layers wityh mixed geometry, Is it possible to use gdal for extracting its points, its polygaons etc... and save them in different files ? Sebastian, You can do something like: ogr2ogr your_

Re: [gdal-dev] MapInfo mixed geometry

2010-09-01 Thread Chaitanya kumar CH
Sebastian, You can write a python script to do that. Refer to ogr2ogr.py in http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples for a sample. Skip features according to their geometry's types using GetGeometryType(). On Wed, Sep 1, 2010 at 4:03 PM, Sebastian E. Ovide < sebastian.ov.

[gdal-dev] MapInfo mixed geometry

2010-09-01 Thread Sebastian E. Ovide
Hi All, I have MapInfo mixed geometry files. As MapServer doesn't support layers wityh mixed geometry, Is it possible to use gdal for extracting its points, its polygaons etc... and save them in different files ? thanks -- Sebastian E. Ovide ___ gdal-

Re: [gdal-dev] Extract elevation from (latitude, longitude)

2010-09-01 Thread Carmelo Terrasi
OK, I got it, it works, thank you so much!!! 2010/8/31 J Luis > Carmelo, > > In GMT with GDAL support that is trivial to do using the grdtrack program. > > Joaquim Luis > > > Hello everybody, > first of all my apologies cause I'm a newbie with this stuff... > > I'm trying to build a function a