[Gdal-dev] OGR:GetNextFeature() throws exception in WINXP

Vidhiyadharan Nadarajah vdharan2001 at gmail.com
Mon Mar 20 21:38:06 EST 2006


You can down load the shape files from the following link
http://vdharan.741.com/india_ds.dbf
http://vdharan.741.com/india_ds.shp
http://vdharan.741.com/india_ds.shx

Best Regards,
N.Vidhiyadharan

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org]On Behalf Of Mateusz Łoskot
Sent: Tuesday, March 21, 2006 4:50 PM
To: gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] OGR:GetNextFeature() throws exception in WINXP


vdharan nadra wrote:
> Dear Mateusz Łoskot,
> Thanks for your suggestion.But I have made a mistake while pasting my
> code . The actual code is as follows and it still has the problem
> running in XP. I have also added the check for NULL layer as you have
> suggested. In XP i get the output of "printf( "%.3f,%.3f\n",
> poPoint->getX(), poPoint->getY() );" for few polygons and then the
> application crashes.
 > [...]

Is this possible for you to give us your shapefile you are
using with this code?
If it is, please publish it somewhere to download.
It would help much.

Cheers
--
Mateusz Łoskot
http://mateusz.loskot.net
_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/266 - Release Date: 21/02/2006

--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/266 - Release Date: 21/02/2006




More information about the Gdal-dev mailing list