lucc / khard

Console vcard client
https://khard.readthedocs.io/en/latest/
GNU General Public License v3.0
595 stars 66 forks source link

Support GEO property and/or geo parameter #305

Open owenh000 opened 2 years ago

owenh000 commented 2 years ago

khard 0.17.0 does not offer to add or edit geographical latitude/longitude coordinates, either as a separate GEO property (vCard 3.0 or 4.0) or as a geo parameter (vCard 4.0). Please consider adding support for this in some form, if possible with the underlying vobject library.

Thanks for your work on khard!


Relevant documentation:


Currently, if the GEO property already exists, the semicolon is escaped when the vCard file is written back out, resulting in an invalid GEO property value.

Input:

BEGIN:VCARD
VERSION:3.0
GEO:0.990000;-0.990000
END:VCARD

Output:

BEGIN:VCARD
VERSION:3.0
GEO:0.990000\;-0.990000
END:VCARD