Hi,
I might have newbie problem with OGRs GML driver in Python.
I try to read GML files with Python script, but wont get access to
features. I tried this on Window (ogr version 1.11.1), unfortunately I
couldnt check this in other enviroments, yet.
So my sample testing script result is
---
Le dimanche 09 novembre 2014 18:28:13, Pekka Sarkola a écrit :
Hi,
I might have newbie problem with OGRs GML driver in Python.
I try to read GML files with Python script, but wont get access to
features. I tried this on Window (ogr version 1.11.1), unfortunately I
couldnt check this in
Hi Even,
Thanks about help!
Yes, it seems that my python script use older version of GDAL (1.10.1). I
didn't check that: I thought that even FeatureCount won't work in older
version.
So I need check how to be sure that right version of ogr is loaded. PATH
settings etc. boring ;-)
Rgs,
Pekka
Le dimanche 09 novembre 2014 20:55:09, Pekka Sarkola a écrit :
Hi Even,
Thanks about help!
Yes, it seems that my python script use older version of GDAL (1.10.1). I
didn't check that: I thought that even FeatureCount won't work in older
version.
MTK files are quite close to standard GML
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
Đà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
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*
Đà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