hmm thanks, this seems to be exactly what i wanted. do you know a way to extract just those coordinates to make this: http://api.geonames.org/countryCode?lat=43.545261&lng=-5.661926&username=demo from that big link ? i'm not that good web developer, i'm a .net developer and i make websites for fun so i think this is kinda advanced. i just want to add a new column on the database that says "country" and place those country codes inside it for every user. i belive it is best with a php script or something that i can run on my server and update all the tables. if you can point me on the right direction again i would be thankfull. thanks in advance.
On 11 Jul, 16:56, Barry Hunter <[email protected]> wrote: > In that URL is a coordinate (in markers=) > > You could run that through a reverse geocoder. > > geonames.org (among others) have one you can use. I dont think you can > use Googles one. > > http://www.geonames.org/export/web-services.html#countrycode > > > > > > > > On Mon, Jul 11, 2011 at 4:28 PM, droidman <[email protected]> wrote: > > is there any way to convert the link like this: > > //maps-api-ssl.google.com/maps/api/staticmap? > > size=195x150&sensor=false&client=google-profiles&markers=size:small > > %7Ccolor:blue%7C43.545261,-5.661926&markers=size:small%7Ccolor:green > > %7C43.545261,-5.661926%7C43.545261,-5.661926&signature=95uwVzl9ioXF0aQOEH5E > > M8MUiqY > > %3DAMP3uWaVK- > > OQiARQSnObXWY49ODSBjTLmJPZgsqcIVlVdoNru59HLMtLhqYuzJcVK8Z2HCqjqSaS > > into the country ? > > in that link for example the country is Spain i think, and on my > > database every user has this field but i forgot to put the country. > > how can i convert every link to the user country ? > > thanks in advance > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps API V2" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-maps-api?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
