[gdal-dev] problem on function "OGR_FD_GetName"
randyqiu
randyqiuxy at hotmail.com
Thu Jun 17 03:41:32 EDT 2010
Hi Chaitanya,
Thanks for your quick response!
I use this function in parse a s57 file(*.000). In this format file,I
think the layer-name in OGR should be like this:
berths,bridge,canals...
which to some extend,is as same as a feature-name. But now I'm not sure
whether I understand this concept right or not?
In my application,OGR_FD_GetName()returns:
DSID
Point
Line
Area
Meta
I'd like to know whether this function works fine or not? If yes, how
should I get a feature's name?
Thanks a lot!
Best regards,
Randy
> OGR_FD_GetName() returns the name of the feature definition set during
> it's creation. It doesn't have to be unique and doesn't represent the
> object type or geometry type. It is not affected by any environment
> variables.
>
> On Thu, Jun 17, 2010 at 11:53 AM, randyqiu <randyqiuxy at hotmail.com>
> wrote:
> Hi list,
> I reinstalled my OS (Ubuntu10.04) recently and now the
> OGR_FD_GetName
> function results in "layername" with
> "point,Line,Area,Meta",but I
> believe this function could get a layer's object name but not
> its
> geometry type.
> I'm not sure the problem exist in environment variable or not
> and, if
> so, what are they?
> Best regards
> Randy
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
> --
> Best regards,
> Chaitanya kumar CH.
> /tʃaɪθənjə/ /kʊmɑr/
> +91-9494447584
> 17.2416N 80.1426E
More information about the gdal-dev
mailing list