hjue / gpicsync

Automatically exported from code.google.com/p/gpicsync
Other
0 stars 0 forks source link

Would like to customize the generated description #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

geotag an image, summarize in IPTC caption.

What is the expected output? What do you see instead?

Current output is for example:

Latitude/Longitude=(57.702430 , 11.924333 ) <br>Near Geonames: Sannegården
Västra Götalands Län Sweden <a
href=http://www.geonames.org/maps/google_57.702430_11.924333.html> (Map
link)</a><br><br

Desired output should reflect the distance to the geoname, also provide a
link to google maps which is more precise than the one to geonames.

Latitude/Longitude=(57.702430 , 11.924333 ) <br>0.604 km from Sannegården
Västra Götalands Län Sweden <a
href="http://maps.google.com/?q=@57.702430,11.924333"> (Google
Maps)</a><br><br>

Best would be, if this entry can be customized by a template.

I don't know if it already exists. The entry should be appended to the
description if this already has contents.

What version of the product are you using? On what operating system?

gpicsync 1.09 on windows

Please provide any additional information below.

I tried to retrieve the geonames information by
http://ws.geonames.org/findNearbyPlaceName?lat=57.702430&lng=11.924333&style=lon
g

I guess it is the same webservice you are using.

Bernhard

Original issue reported on code.google.com by bernhard...@googlemail.com on 20 Jul 2007 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by francois...@gmail.com on 22 Jul 2007 at 8:05

GoogleCodeExporter commented 9 years ago
Hi Bernard,

With version 1.22 you can now customize the generated description (through the
configuration file) see
http://code.google.com/p/gpicsync/wiki/GeonamesMetadata

Default description example:

"""
geoname_caption=True
geoname_IPTCsummary=Taken at Latitude/Longitude:{LATITUDE}/{LONGITUDE} Near
{NEARBYPLACE} {REGION} {COUNTRY} <a
href=\"http://www.geonames.org/maps/google_{LATITUDE}_{LONGITUDE}.html\"> (Map 
link)</a>
"""

francois

Original comment by francois...@gmail.com on 28 Oct 2007 at 11:17