<div dir="ltr"><p class="MsoNormal">Hello Sarah,</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">Thank you for guiding me through the first steps in developing
an implementation plan for the project titled “Improve Postcode Handling”.</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">I have gone through <a href="http://wiki.openstreetmap.org/wiki/Elements">http://wiki.openstreetmap.org/wiki/Elements</a>
to better understand the OSM data model. I now have a fair idea of what nodes, ways,
relations, tags are and how they are related to each other. I also went through
<a href="http://wiki.openstreetmap.org/wiki/Key:addr"><span style="font-size:10pt;line-height:115%;font-family:"courier new"">http://wiki.openstreetmap.org/wiki/Key:addr</span></a>
and <a href="http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dpostal_code"><span style="font-size:10pt;line-height:115%;font-family:"courier new"">http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dpostal_code</span></a>
and understand how postcodes are either mapped to an address or to an area
within a geo fence. I also built and ran a few addr:postcode and boundary:postal_code queries using the
Overpass Turbo Wizard (<a href="https://overpass-turbo.eu/">https://overpass-turbo.eu/</a>
)for examples of the data output on the map.</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">I went through <a href="https://en.wikipedia.org/wiki/Postal_code">https://en.wikipedia.org/wiki/Postal_code</a>
to get a general idea about postcode systems. The characters used in postal
codes are the Arabic numerals "0" to "9", letters of the ISO
basic Latin alphabet, spaces and hyphens. India has a 6 character numeric
postcode, but many countries have alphanumeric postcodes with varying number of
characters.</p><p class="MsoNormal"><br></p>
<p class="MsoNormal">I have experience in installing Wordpress, WooCommerce and
other Ecommerce softwares on AWS. Hence, I plan to install Nominatim on AWS Server
- free tier (<a href="https://aws.amazon.com/free/">https://aws.amazon.com/free/</a>
). However, from what I’ve read, it looks like 1 GB of RAM provided under free
tier may not be sufficient. I would appreciate if you could suggest alternative
low cost/free servers. In addition to <a href="https://github.com/twain47/Nominatim/blob/master/docs/install-on-ubuntu-16.md">https://github.com/twain47/Nominatim/blob/master/docs/install-on-ubuntu-16.md</a>
and <a href="https://github.com/twain47/Nominatim/blob/master/docs/Import_and_update.md">https://github.com/twain47/Nominatim/blob/master/docs/Import_and_update.md</a>
, I will also refer to the following installation guides: <a href="https://www.snip2code.com/Snippet/248983/Instructions-for-installing-an-OpenStree">https://www.snip2code.com/Snippet/248983/Instructions-for-installing-an-OpenStree</a>
, <a href="https://andrewwhitby.com/2014/12/18/nominatim-on-ec2/">https://andrewwhitby.com/2014/12/18/nominatim-on-ec2/</a>
, <a href="http://wiki.openstreetmap.org/wiki/Nominatim/Installation">http://wiki.openstreetmap.org/wiki/Nominatim/Installation</a>
.</p>
<p class="gmail-MsoNoSpacing">Thank you.</p>
<p class="gmail-MsoNoSpacing">Regards,</p><p class="gmail-MsoNoSpacing">Hriday.</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 2:23 AM, Sarah Hoffmann <span dir="ltr"><<a href="mailto:lonvia@denofr.de" target="_blank">lonvia@denofr.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Hriday,<br>
<br>
thank you for your interest in the OSM GSoC.<br>
<br>
There are a couple of things you can do to prepare for the postcode<br>
project.<br>
<br>
First of all you should familiarize yourself a bit with the OSM data<br>
model in general (nodes, ways, relations, tags) and then find out<br>
how postcode tagging works in particular. There are essetially two<br>
ways how postcodes are mapped: as part of an address for a particular<br>
house (see <a href="http://wiki.openstreetmap.org/wiki/Key:addr" rel="noreferrer" target="_blank">http://wiki.openstreetmap.org/<wbr>wiki/Key:addr</a>) or as an<br>
area (see <a href="http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dpostal_code" rel="noreferrer" target="_blank">http://wiki.openstreetmap.org/<wbr>wiki/Tag:boundary%3Dpostal_<wbr>code</a>).<br>
You can use Overpass (or Overpass Turbo) to find examples of the data.<br>
<br>
Nominatim actually uses complete OSM data dumps and processes them<br>
into a search database. So improving the search means improving the<br>
import process. So, next you should try and set up your own instance<br>
of Nominatim using the current development version from<br>
<a href="https://github.com/twain47/Nominatim" rel="noreferrer" target="_blank">https://github.com/twain47/<wbr>Nominatim</a> (installation documentation<br>
can be found in the doc/ directory) and a data extract from<br>
<a href="http://download.geofabrik.de/" rel="noreferrer" target="_blank">http://download.geofabrik.de/</a>. I recommend something from Europe<br>
as there is already a fair coverage with postcodes.<br>
<br>
Finally, it will also be helpful if you do a little bit of research<br>
about postcodes in general to find out what different systems are<br>
in use and where.<br>
<br>
Hope that helps to get you started.<br>
<br>
Kind regards<br>
<br>
Sarah<br>
<div><div class="h5"><br>
On Thu, Feb 16, 2017 at 07:13:31PM +0530, Hriday N Sanghvi wrote:<br>
> Hello Lonvia,<br>
><br>
><br>
> I’m a student of Computer Science Engineering at SRM University, India (<br>
> <a href="http://www.srmuniv.ac.in/" rel="noreferrer" target="_blank">http://www.srmuniv.ac.in/</a>). I am interested in submitting my proposal for<br>
> GSOC 2017 for either one of the Open Street Map projects 1. Improve<br>
> Postcode handling or 2. OpenAddresses for Nominatim.<br>
><br>
><br>
> I have extensive experience working with PHP and MySQL databases on various<br>
> web based projects. I have undergone a PostgreSQL course on<br>
> <a href="https://www.lynda.com/PHP-5-tutorials/PostgreSQL-9-with-PHP-Essential-Training/73930-2.html" rel="noreferrer" target="_blank">https://www.lynda.com/PHP-5-<wbr>tutorials/PostgreSQL-9-with-<wbr>PHP-Essential-Training/73930-<wbr>2.html</a><br>
> and <a href="http://www.tutorialspoint.com/postgresql/" rel="noreferrer" target="_blank">http://www.tutorialspoint.com/<wbr>postgresql/</a> and I’m quite comfortable<br>
> working with Github. I have some experience with Google Maps API while<br>
> working on a location based Click-and-Collect grocery shopping app. I plan<br>
> to continue with coding for OSM even after the GSOC project and also plan<br>
> to base my six months project in the eighth and final semester of my course<br>
> on OSM.<br>
><br>
> I understand that the list of accepted mentoring organizations will be<br>
> published on February 27 and potential student participants will discuss<br>
> application ideas with mentoring organizations from February 27 to March 20<br>
> and that student application period is open from March 20 to April 3, but I<br>
> wish to start early.<br>
><br>
><br>
> I have downloaded JOSM to edit my local area on the map, but I found ID<br>
> editor to be an easier option.<br>
><br>
> With regard to extraction of postcode data and exporting data to the<br>
> Nominatim database related to the project titled “Improve Postcode<br>
> Handling”, I have looked at API v 0.6 (<br>
> <a href="http://wiki.openstreetmap.org/wiki/API_v0.6" rel="noreferrer" target="_blank">http://wiki.openstreetmap.org/<wbr>wiki/API_v0.6</a> ), including the endpoints for<br>
> capabilities (<a href="http://api06.dev.openstreetmap.org/api/capabilities" rel="noreferrer" target="_blank">http://api06.dev.<wbr>openstreetmap.org/api/<wbr>capabilities</a> ),<br>
> permissions (<a href="http://api06.dev.openstreetmap.org/api/0.6/permissions" rel="noreferrer" target="_blank">http://api06.dev.<wbr>openstreetmap.org/api/0.6/<wbr>permissions</a> ),<br>
> change sets (<a href="http://api06.dev.openstreetmap.org/api/0.6/changesets" rel="noreferrer" target="_blank">http://api06.dev.<wbr>openstreetmap.org/api/0.6/<wbr>changesets</a> ), nodes<br>
> (<a href="http://api06.dev.openstreetmap.org/api/0.6/node/12345" rel="noreferrer" target="_blank">http://api06.dev.<wbr>openstreetmap.org/api/0.6/<wbr>node/12345</a> ), and trace<br>
> metadata (<a href="http://api06.dev.openstreetmap.org/api/0.6/gpx/12345/details" rel="noreferrer" target="_blank">http://api06.dev.<wbr>openstreetmap.org/api/0.6/gpx/<wbr>12345/details</a> ) in<br>
> which I was asked for Authentication.<br>
><br>
> I also went through the Overpass API (<br>
> <a href="http://wiki.openstreetmap.org/wiki/Overpass_API" rel="noreferrer" target="_blank">http://wiki.openstreetmap.org/<wbr>wiki/Overpass_API</a> ), Overpass Turbo remote (<br>
> <a href="http://overpass-turbo.eu/" rel="noreferrer" target="_blank">http://overpass-turbo.eu/</a> ) and Overpass Turbo Query form (<br>
> <a href="http://www.overpass-api.de/query_form.html" rel="noreferrer" target="_blank">http://www.overpass-api.de/<wbr>query_form.html</a> ).<br>
><br>
> Though I was able to download limited data using the “Download Map data<br>
> from OSM server” tool in JOSM, I am not sure about the endpoint and query<br>
> to get post codes using API v 0.6 or Overpass API. I would really<br>
</div></div>> appreciate any help on this. <<a href="http://overpass-api.de/api/" rel="noreferrer" target="_blank">http://overpass-api.de/api/</a>><br>
<span class="">><br>
> I’m confident of producing productive work during the GSOC period. Before I<br>
> start working on the proposal for GSOC 2017, I would appreciate any<br>
> guidance you could provide.<br>
><br>
><br>
> Thank you.<br>
><br>
><br>
> Regards,<br>
><br>
> Hriday N Sanghvi<br>
<br>
</span>> ______________________________<wbr>_________________<br>
> dev mailing list<br>
> <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
> <a href="https://lists.openstreetmap.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/dev</a><br>
<br>
</blockquote></div><br></div>