ng points and when adding test for self intersections /
> collinearity against existing segments. The method returns the loops while
> points are added. The code is not in a public repo but I'll add the method
> below. It needs some basic methods and function which should be simple to
&g
Engineering, Vol. 30, 1163-1179.
[image: InnerLoop.png]
--
***
Chao YUE(岳超)
西北农林科技大学水土保持研究所 研究员
黄土高原土壤侵蚀与旱地农业国家重点实验室
State Key Laboratory of Soil Erosion and Dryland Farming on the Loess
Plateau
Institute of Soil and Water
dindex from the coordinates and put this into the index
>> field;
>> bring the table e.g. into excel;
>> do a pivot table for the attributes (count or sum).
>> If necessary, add the centerpoint coordinates to the resulting table;
>> convert the table into a new point
Hi Even,
this solves my probelm, the example in the script is quite useful. Thanks.
chao
On Sat, Mar 30, 2013 at 12:41 PM, Even Rouault wrote:
> Le samedi 30 mars 2013 12:22:25, Chao YUE a écrit :
> > Dear all,
> >
> > I am trying to create a new polygon shapefile a
408: >,
409: >,
411: >,
442: >,
443: >}
--
*******
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 G
___
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
*******
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR
By the way, if you just print the geometry in python you should get
> the "Well Known Text" representation which can be explanatory.
>
> Best regards,
> Frank
>
>
>
> On Thu, Mar 28, 2013 at 9:58 AM, Chao YUE wrote:
> > Dear all,
> >
> > I try to
= geo.GetGeometryRef(0)
ring.GetPointCount()
Out[29]:
0
In [31]:
ring = geo.GetGeometryRef(1)
ring.GetPointCount()
Out[31]:
0
In [34]:
feature.items()['SIZE_HA']
Out[34]:
13041.187
Chao
--
******
Chao
--
***
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.6
luckily, it solves my problem! thanks!
Chao
On Tue, Mar 26, 2013 at 6:26 PM, Kyle Shannon wrote:
> Not a fedora guy, but you probably need the gdal-python package, try
> installing python-gdal or gdal-python using yum.
>
> kss
>
> On Tue, Mar 26, 2013 at 11:18 AM, Chao YU
so what's going on here? thanks for any response.
best regards,
chao
--
*******
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF
Chao
--
***
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.6
say I can use directly
sudo apt-get install gdal
but it reports E: Unable to locate package gdal, I cannot find the package
in my Ubuntu software center either...
thanks,
Chao
2012/5/27 Even Rouault
> Selon Chao YUE :
>
> > Thanks Etienne, then I guess I will have the problem of
g/gdal/wiki/BuildHints
>
> Etienne
>
> On Sun, May 27, 2012 at 5:39 PM, Chao YUE wrote:
> > Finally I managed to install gdal 1.6.3 using a debien package (and I
> have
> > to install libgdal1-1.6.0 before ). But I read from
> > http://trac.osgeo.org/gdal/w
Finally I managed to install gdal 1.6.3 using a debien package (and I have
to install libgdal1-1.6.0 before ). But I read from
http://trac.osgeo.org/gdal/wiki/GdalOgrInPython
saying that from version 1.7.0, python 3 is needed.
thanks et cheers,
Chao
2012/5/27 Chao YUE
> Dear all,
>
>
n finalize_options
self.gdaldir = self.get_gdal_config('prefix')
File "setup.py", line 144, in get_gdal_config
return fetch_config(option)
File "setup.py", line 97, in fetch_config
raise gdal_config_error, e""")
File "", line 4,
16 matches
Mail list logo