[gdal-dev] GeoRSS AUTHOR_NAME option

andy aborruso at gmail.com
Fri Aug 27 03:45:50 PDT 2021


Thank you very much

______
Scusami per la brevità, ti sto scrivendo dal cellulare.

website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E EPSG:4326

Il ven 27 ago 2021, 12:10 Even Rouault <even.rouault at spatialys.com> ha
scritto:

> Andrea,
>
> the driver documentation indicates that AUTHOR_NAME is only used for Atom
> format output, and that by default the driver uses the RSS format, so this
> behaves as expecte
>
> Even
> Le 27/08/2021 à 11:31, andy a écrit :
>
> Hi,
> if I use AUTHOR_NAME option, I have no element in the XML header.
>
> Starting in example from this CSV
>
> description,link,pubDate,title,guid
> a description,https://lorem.com/1431092533786918915,2021-08-27T03:13:43Z,a title,https://lorem.com/1431092533786918915
>
> and running
>
> ogr2ogr -f geoRSS -dsco TITLE="header title" -dsco LINK="https://lorem.com/feed.xml" -dsco DESCRIPTION="header description" -dsco AUTHOR_NAME="The great author" -dsco USE_EXTENSIONS="YES" tmp.xml tmp.csv -oo AUTODETECT_TYPE=YES
>
> I have this
>
> <?xml version="1.0"?><rss version="2.0" xmlns:georss="http://www.georss.org/georss">
>   <channel>
>     <title>header title</title>
>     <description>header description</description>
>     <link>https://lorem.com/feed.xml</link>
>     <item>
>       <description>a description</description>
>       <link>https://lorem.com/1431092533786918915</link>
>       <pubDate>Fri, 27 Aug 2021 03:13:43 GMT</pubDate>
>       <title>a title</title>
>       <guid>https://lorem.com/1431092533786918915</guid>
>     </item>
>   </channel></rss>
>
> I’m using GDAL 2.4.4, released 2020/01/08. Do I have this problem due to
> this old version?
>
> Thank you
> --
> ___________________
>
> Andrea Borruso
> website: https://medium.com/tantotanto
> 38° 7' 48" N, 13° 21' 9" E, EPSG:4326
> ___________________
>
> "cercare e saper riconoscere chi e cosa,
>  in mezzo all’inferno, non è inferno,
> e farlo durare, e dargli spazio"
>
> Italo Calvino
>
> _______________________________________________
> gdal-dev mailing listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210827/9be67a04/attachment.html>


More information about the gdal-dev mailing list