Hi Alex,

Geocoding options are many.

I use the Royal Mail PAF data (commercial). Also, there are options like

http://postcodes.io/

Which I have not used, but looks pretty interesting.

There is no restriction on the volume of data you put into the Search API - 
although you will start to pay if you index or store over the free quota.

https://cloud.google.com/appengine/docs/quotas?hl=en#search

Best of luck!

On Wednesday, 6 January 2016 13:54:11 UTC, Alex Kerr wrote:
>
> Thanks Tom, I much appreciate these libraries which I already planned to 
> use, but wasn't quite sure how to layer my requirements on top of them - I 
> think the primary issue is how to have many records of people that I can 
> manipulate easily (e.g. in DataStore, Search API is a bad match for this I 
> think?) and also work out the nearest other people to them based on a human 
> readable address (or postcode at least). Do you recommend or use any 
> particular methods for Geocoding? As mentioned by barryhunter above use of 
> the Maps APIs requires display of, and results put on, a Google Map, which 
> is not necessarily what I want. These guys look like a potential 
> alternative tho: http://geocoder.opencagedata.com/
>
> Thanks again,
> Alex
>
> On Tuesday, January 5, 2016 at 7:26:29 PM UTC, Tom Walder wrote:
>>
>> Hi Alex,
>>
>> You can do all of this on App Engine, with PHP using the native Search 
>> API.
>>
>> I usually keep my transactional data in Datastore and then the "searchy" 
>> stuff, including Geo search in the Search API (when I'm, not using 
>> Elasticsearch).
>>
>> You will need one or more of these open source libraries (which I wrote 
>> [disclaimer)) - They are using the native Google Protocol Buffers API, same 
>> as the Python/Java/Go runtimes, so they are super quick.
>>
>> For Datastore
>> https://github.com/tomwalder/php-gds
>>
>> For Search API - there are specific examples and helper methods for Geo.
>> https://github.com/tomwalder/php-appengine-search
>> http://pub-search.appspot.com/
>>
>> Some more reading
>>
>> https://gae-php-tips.appspot.com/2015/12/19/making-cloud-datastore-easy-for-php-on-app-engine/
>>
>> Enjoy!
>>
>> Tom
>>
>>
>>
>>
>>
>> On Monday, 4 January 2016 20:50:44 UTC, Alex Kerr wrote:
>>>
>>> Hi all,
>>> Wondering how best to implement some basic geolocation stuff using 
>>> Google Cloud products (and open source if appropriate)
>>>
>>> I need to search user records I'm storing in Datastore, which include 
>>> the user's address (in ordinary human readable text format) to see which 
>>> other users are within a certain distance from them. Seems I can't do a 
>>> geospatial search directly on Datastore records but found something that 
>>> suggests a clever little mashup with Google's Search API: 
>>> http://ralphbarbagallo.com/2013/05/14/app-engine-geospatial-datastore-search-a-new-way/
>>>
>>> Questions:
>>> 1.) Is there any better (/more standard) way than what's suggested at 
>>> that link? (I know Cloud SQL allows geospatial searches but ideally I want 
>>> to use Datastore if possible to store my data in)
>>> 2.) Geospatial matches (at least using above techniques) need latitude 
>>> and longitude - are there any Google APIs or open source PHP stuff I could 
>>> use to convert addresses into lat/lon?
>>>
>>> I'm running on PHP AppEngine by the way and need a solution I can 
>>> implement very quickly and easily if at all possible!
>>>
>>> Many thanks for any info/suggestions!
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/390e949e-9296-49a7-911d-a2db0d21f79c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to