[Gdal-dev] Shapefile and SpatialRef problem
Frank Warmerdam
warmerdam at pobox.com
Tue Jan 9 12:17:58 EST 2007
Gauthier,Jean-Philippe [CMC] wrote:
>
> Just tried gdal 1.4.0 and a problem arise when using
> OGR_L_GetSpatialRef to get the spatial reference of a previously opened
> shapefile datasource. It returns NULL whathever
>
> the shapefile. It does work for other file type like mid/mif.
>
> Used to work with gdal 1.3.2
>
> Any Idea ?
Jean-Philippe,
Can you be specific? Perhaps file a bug including a dataset demonstrating
the problem, and indications of your platform, etc.
Note, there was a problem introduced just after the 1.4.0 release was snapped
that made it into the FWTools 1.1.3 release that resulted in .prj files
with no newline not being read properly. There was also a bug fixed
before 1.4.0 was snapped with .prj files of a particular length. So I'm
very nervous about this area of code, but I was under the impression the
release itself was clean.
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 OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list