[gdal-dev] Small issue at OGR_G_GetCoordinateDimension doc

2011-09-06 Thread Joaquim Luis

Hi

The doc of OGR_G_GetCoordinateDimension states at

http://www.gdal.org/ogr/ogr__api_8h.html#8a5e78b0753339d1cdd282b0e151d28f

that

...
Returns:
in practice this always returns 2 indicating that coordinates 
are specified within a two dimensional space.


but that's not true as I just confirmed with the autotest multipatch.shp 
example file, where it returns 3 as it should because vectors are 3D.



Joaquim
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Small issue at OGR_G_GetCoordinateDimension doc

2011-09-06 Thread Even Rouault
Le mercredi 07 septembre 2011 01:48:09, Joaquim Luis a écrit :
> Hi
> 
> The doc of OGR_G_GetCoordinateDimension states at
> 
> http://www.gdal.org/ogr/ogr__api_8h.html#8a5e78b0753339d1cdd282b0e151d28f
> 
> that
> 
> ...
> Returns:
>  in practice this always returns 2 indicating that coordinates
> are specified within a two dimensional space.
> 
> but that's not true as I just confirmed with the autotest multipatch.shp
> example file, where it returns 3 as it should because vectors are 3D.

Fixed. Thanks.

> 
> 
> Joaquim
> ___
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev