[Qgis-user] Read polygon attribute Table
Nicolas Cadieux
njacadieux.gitlab at gmail.com
Wed Sep 23 10:49:25 PDT 2020
Hi,
I could only be of help if your are working outside the QGIS API. I normally work with python directly for this stuff. I would use a geopandas dataframe that can be easily created. Google Geopandas and you with find it in a flash.
Nicolas Cadieux
> Le 23 sept. 2020 à 13:13, ming han <dustming at gmail.com> a écrit :
>
>
> Hi Nicolas
>
> Many thanks for your reply, would you please give me some specific suggestions. Normally I can read the attribute table by reading the dbf files. but this time I stored the vector object in memory, do not want to save it to files.
> I can only read the attribute of this vector object feature by feature. I do not know how to read all attribute at once.
> Thanks
> Ming
>
> Nicolas Cadieux <njacadieux.gitlab at gmail.com> 于2020年9月23日周三 下午12:03写道:
>> Hi,
>>
>> More knowledgeable people than me surely respond but are you looking for something like geopandas dataframe? I image the QGIS API has something like this.
>>
>> Nicolas Cadieux
>>
>> > Le 23 sept. 2020 à 11:41, ming han <dustming at gmail.com> a écrit :
>> >
>> >
>> > Hi All
>> >
>> > Is there a way to read the polygon attribute table at one time with python. I notice that there are several ways to read it feature by feature.
>> >
>> > Thanks
>> > Ming
>> > _______________________________________________
>> > Qgis-user mailing list
>> > Qgis-user at lists.osgeo.org
>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200923/8c2107e5/attachment-0001.html>
More information about the Qgis-user
mailing list