<div dir="ltr">Hi All,<div><br></div><div>I've created an application where we can compare PMGSY and OSM rural Habitations data:</div><div><a href="https://server.nikhilvj.co.in/pmgsy/">https://server.nikhilvj.co.in/pmgsy/</a><br></div><div><br></div><div>Source code: <a href="https://github.com/answerquest/pmgsy_osm_comparison">https://github.com/answerquest/pmgsy_osm_comparison</a></div><div><br></div><div>Right-click on the map to load all habitations for that area (what they call Block).</div><div>If you scroll below the first table, You'll find an OSM button - click it to fetch rural places tagged "place=village" / "place=hamlet" / "place=isolated_dwelling". (points and centroids of areas)</div><div><br></div><div>The app will pull those from overpass, then compare with the Habitations data to show nearby and far OSM places.</div><div><br></div><div>There's also a feedback layer built : You can submit feedback for a PMGSY Habitation or an OSM place.</div><div>(Input side is ready; output side still work to do)</div><div><br></div><div>There is an "Edit in OSM" button below the map - clicking that will open up main website OSM Editor, with the block's boundary loaded as guide so that you can map.</div><div><br></div><div>There's more we can do with this - one idea is to make this a place where we can link up PMGSY and OSM ids and have feedback flow both ways.</div><div>Another is to vet the data and filter out the Habitations that are suitable candidates for a bulk import into OSM.</div><div><br></div><div>Inviting inputs and collaborations.</div><div><br></div><div>API doc: <a href="https://server.nikhilvj.co.in/pmgsy/docs/">https://server.nikhilvj.co.in/pmgsy/docs/</a></div><div>Tech stack: Backend: Python3 FastAPI</div><div>DB: PostGreSQL, same one as in <a href="https://github.com/answerquest/import_geosadak">https://github.com/answerquest/import_geosadak</a></div><div><br></div><div>I've also run an analysis on every state > district > block and created a stats CSV which gives numbers of habitations, OSM places, near/far breakup etc. You'll find it in the repo.</div><div>This project is a work in progress, so if you're reading this a week or month later, things may have changed.</div><div><br></div><div>Screenshots:</div><div><br></div><div><img src="https://server.nikhilvj.co.in/images/pmgsy-app-main.png" width="472" height="222"><br></div><div><br></div><div><img src="https://server.nikhilvj.co.in/images/pmgsy-app-hab-feedback.png" width="472" height="243"><br></div><div><br></div><div><img src="https://server.nikhilvj.co.in/images/pmgsy-app-osm-feedback.png" width="472" height="239"><br></div><div><br></div><div><img src="https://server.nikhilvj.co.in/images/pmgsy-app-osm-editor-with-block-boundary.png" width="472" height="269"><br></div><div><br></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>--<br>Cheers,<br>Nikhil VJ<br><a href="https://nikhilvj.co.in" target="_blank">https://nikhilvj.co.in</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 3, 2022 at 12:32 PM Nikhil VJ <<a href="mailto:nikhil.js@gmail.com" target="_blank">nikhil.js@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, I've imported the data to a PostGreSQL DB on my webserver - I think it'll be useful to have it in that form to be able to do more with it. <div><div><br></div><div>I've shared the import script and steps in this repo if anyone wants to load it into their own DB:<br></div><div><a href="https://github.com/answerquest/import_geosadak" target="_blank">https://github.com/answerquest/import_geosadak</a><br></div><div><br></div><div>Some data inconsistencies found:</div><div>States having BLOCK_ID values in boundaries shapefile which does not have matching Master data entry:<br>TamilNadu - 3<br>JammuAndKashmir - 3<br>These blocks do have road data etc but no entry in master data excel: 8108, 8105, 8106, 8063, 8034, 8041<br><br>States having BLOCK_ID=0 in their block boundary shapefile:<br>Punjab - 1<br>WestBengal - 3</div><div>I've imported these boundaries with randomly assigned block ids. We'll need to match them to actual block id.</div><div> </div><div>Limited offer: If someone wants to query my DB then pls contact me on nikhil.js (at) <a href="http://gmail.com" target="_blank">gmail.com</a> for credentials (limited capacity and bandwidth, note).<div><br></div></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>--<br>Cheers,<br>Nikhil VJ<br><a href="https://nikhilvj.co.in" target="_blank">https://nikhilvj.co.in</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 26, 2022 at 12:40 PM Arun Ganesh <<a href="mailto:arun.planemad@gmail.com" target="_blank">arun.planemad@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Wiki page outlining the data and notes to plan an import <a href="https://wiki.openstreetmap.org/wiki/India/PMGSY_rural_connectivty_data_import" target="_blank">https://wiki.openstreetmap.org/wiki/India/PMGSY_rural_connectivty_data_import</a></div>
_______________________________________________<br>
Talk-in mailing list<br>
<a href="mailto:Talk-in@openstreetmap.org" target="_blank">Talk-in@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-in" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-in</a><br>
</blockquote></div>
</blockquote></div>