[Gdal-dev] projection info in mapinfo tab files corrupt whenspecifying -a_srs or -s_srs and -t_srs in ogr2ogr

Richard Matsunaga richard.matsunaga at waypointinfo.com
Thu Jun 1 12:01:48 EDT 2006


Now I'm confused. I had to fix this in order to get OGR working MI tabs.
Once the new release came out, I started using that version and it still
worked, so I assumed that the flag was changed in the GDAL build. Am I
wrong? Maybe I have some unintentional referencing happening!

The issue Peter has described is exactly the one which I was experiencing
and was solved by Daniel's suggestion below.

Richard 

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Frank Warmerdam
Sent: May 31, 2006 11:08 PM
To: Daniel Morissette
Cc: gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] projection info in mapinfo tab files corrupt
whenspecifying -a_srs or -s_srs and -t_srs in ogr2ogr

Daniel Morissette wrote:
> This may be related to a bug in the MITAB library which is used by OGR 
> to read/write TAB files:
> http://bugzilla.maptools.org/show_bug.cgi?id=1319#c7
> See also:
> http://bugzilla.maptools.org/show_bug.cgi?id=1254
> 
> Perhaps try rebuilding gdal/ogr/ogrsf_frmts/mitab with 
> -DMITAB_AFFINE_PARAMS (and then relink ogr2ogr) and see if the crash 
> goes away.

Daniel,

Should I be changing GDAL to build mitab this way?  Is there a reason this
isn't the default?

Best regards,
-- 
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org

_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev





More information about the Gdal-dev mailing list