[gdal-dev] problem on function OGR_FD_GetName
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@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] problem on function OGR_FD_GetName
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 randyqi...@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@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 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] display picture
在 2009-11-09一的 09:39 +0800,weixj2003ld写道: Hi, Thank you for your answer. I want to know how to display the picture file which GDAL generates,that is,Does GDAL only generate RASTER or VECTOR file and not display it? Kind regards. Hi Wei, You are right.But if you want to display it,do something with openev. Best regards, Randy __ 网易历六年耗亿资打造,3D国韵网游《天下贰》,免费领光盘 __ 09年新晋3D主流网游《天下贰》,网易六年亿资打造 ___ 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
[gdal-dev] help:About Getting StyleString
Hi, I have been in trouble with getting S_57 format(.000) files’ “styleString”. According to the article named “OGR - Feature Style http://www.gdal.org/ogr/ogr_feature_style.html Specification”, I wanted to get some information about “drawing tools” such as color、pen width by using some functions as follows: OGRLayer::GetStyleTable ()、OGRFeature::GetStyleString()、OGRDataSource:: GetStyleTable() But they all returned nothing(0x00) which means these functions were useless and didn’t get what I want . Now, can you tell me the reason? Is it because I used the wrong function or anything else? Can you give me an instance about getting the “StyleString” or “drawing tools” information? Thanks, any suggestion or help will be appreciated!!! ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev