Re: [gdal-dev] How to get value of Spatial Attributes Ogr Provider

2014-11-10 Thread Dao Thang
Hi Chaitanya, Thanks again. As i told, my data don't have layer M_SREL. But other application can read my data and show the QUAPOS attribute. So this attribute is not in that layer as you told. — *Đào Trọng Thắng* *Mobile:* 0919 262 988 Tầng 11 -

[gdal-dev] How to get value of Spatial Attributes Ogr Provider

2014-11-09 Thread Dao Thang
Hi All, I used sharpmap with ogr provider to read S57 file. But i don't see the spatial attributes example: QUAPOS attribute in the DEPCNT layer. Does anyone help me get it. Thanks [image: Inline image 1] — *Đào Trọng Thắng* *Mobile:* 0919 262 988

Re: [gdal-dev] How to get value of Spatial Attributes Ogr Provider

2014-11-09 Thread Chaitanya kumar CH
Đào, Refer to http://www.s-57.com/ Depth contour features don't have a Quality of position attribute. On Mon, Nov 10, 2014 at 7:29 AM, Dao Thang thang...@gmail.com wrote: Hi All, I used sharpmap with ogr provider to read S57 file. But i don't see the spatial attributes example: QUAPOS

Re: [gdal-dev] How to get value of Spatial Attributes Ogr Provider

2014-11-09 Thread Dao Thang
Hi Chaitanya, QUAPOS is not attribute of feature object of Depth contour. I know that. But QUAPOS that i searching is spatial attribute of Spatial object. You can read S57 specification to know Spatial Attribute. Thanks — *Đào Trọng Thắng*

Re: [gdal-dev] How to get value of Spatial Attributes Ogr Provider

2014-11-09 Thread Chaitanya kumar CH
Đào, You can look for the M_SREL feature in the required area and read it's attributes. You can apply a spatial filter on the M_SREL layer with the particular DEPCNT feature. Also, note that the DEPCNT features are often not very accurate. On Mon, Nov 10, 2014 at 10:03 AM, Dao Thang