Note that there are some explanatory texts on larger screens.

plurals
  1. PODo a geocoding Request as User/Guest, not the Server
    primarykey
    data
    text
    <p>I'm currently building a small commnunity where users can mark specific positions on a map.</p> <p>To save the Map points I need to save lat/lng to my database, but the user don't know lat/lng, so I have to use the (reverse) geocoding API.</p> <p>I've looked into geonames.org but the results of the Fulltext-Search is...well not so good. If i search for "München" for example I get about 5 Results with the same title/name.</p> <p>Testing the same City in Google Maps Api, the results are much better, so i want to use the Google Gecoder.</p> <p>The only problem left is, on the documentation page there's a limit mentioned - max 2500 requests/day.</p> <p>Well that sounds a lot, but if my Community gets bigger it's not that much...</p> <p>So my question is, is it possible to do a Geocode Request to Google Maps Api using the Guests IP-Address, so Google don't count it as request from my server?</p> <p>Currently "my way" to geocode something is to get a seperate PHP file through AJAX (jQuery) while passing the search string to it. The PHP file then get the results with "simplexml_load_file", and then give it back to the main document.</p> <p>If you look at this Geocoder: <a href="http://www.gpsvisualizer.com/geocoder/" rel="nofollow">http://www.gpsvisualizer.com/geocoder/</a></p> <p>You can see in the Footer this description: "This form uses JavaScript-On-Demand (JSON) code that causes your Web browser to be the one making the request (rather than gpsvisualizer.com), which means your queries don't count against my server's limit."</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload