[Pandas-dev] Is there a pandas_read_gml available?
Joris Van den Bossche
jorisvandenbossche at gmail.com
Wed Dec 1 08:56:00 EST 2021
I don't know myself (didn't use it for reading GML), but based on the
comments in the StackOverflow question, you need at minimum Fiona 1.8.4. I
think the python and pandas version you mention will be fine.
Best,
Joris
On Wed, 1 Dec 2021 at 14:50, Shaozhong SHI <shishaozhong at gmail.com> wrote:
> Hi, Joris,
>
> Many thanks. Which version of Python, Pandas and fiona should I use?
>
> At the moment, I got Python 3.6.5 and Pandas 1.1.5 on.
>
> Regards, David
>
>
> On Wed, 1 Dec 2021 at 13:42, Joris Van den Bossche <
> jorisvandenbossche at gmail.com> wrote:
>
>> Hi David,
>>
>> I think that the Fiona library should be able to read GML files (
>> https://stackoverflow.com/questions/53249561/is-it-possible-to-read-gml-or-kml-files-with-fiona),
>> and if that's the case, you can use GeoPandas to read that directly into a
>> dataframe (
>> https://geopandas.org/en/stable/docs/reference/api/geopandas.read_file.html
>> )
>>
>> Best,
>> Joris
>>
>> On Wed, 1 Dec 2021 at 14:38, Shaozhong SHI <shishaozhong at gmail.com>
>> wrote:
>>
>>> How to read gml into pandas data frame?
>>>
>>> Is there a pandas_read_gml available?
>>>
>>> Regards, David
>>> _______________________________________________
>>> Pandas-dev mailing list
>>> Pandas-dev at python.org
>>> https://mail.python.org/mailman/listinfo/pandas-dev
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pandas-dev/attachments/20211201/1486af7c/attachment.html>
More information about the Pandas-dev
mailing list