<div dir="ltr">Thanks Justin for sharing!<div><br></div><div>I've downloaded and extracted the India.geojsonl on a webserver.</div><div><br></div><div><div>ref about .geojsonl : <a href="https://www.interline.io/blog/geojsonl-extracts/">https://www.interline.io/blog/geojsonl-extracts/</a> </div><div>-> pretty useful! One can loop through a huge file without having to load it all into RAM.</div><div></div></div><div><br></div><div>top lines look like:</div><div>{"type": "Feature", "properties": {},"geometry": {"type": "Polygon","coordinates": [[[83.06380515611697, 25.34167404697847], [83.06380909901775, 25.341635591519122], [83.06386494585949, 25.341640268589657], [83.06386100295869, 25.341678724047526], [83.06380515611697, 25.34167404697847]]]}}<br>{"type": "Feature", "properties": {},"geometry": {"type": "Polygon","coordinates": [[[87.87555977691633, 22.397660095199], [87.8754256865811, 22.397658576750985], [87.87542690191553, 22.397566835386712], [87.87556099225075, 22.39756835383578], [87.87555977691633, 22.397660095199]]]}}<br></div><div>...</div><div>So we have just basic polygons, one for each building, no properties or categorization.<br></div><div><br></div><div>Here are some ideas on what to do with this:</div><div><br></div><div>1. Postgresql DB:</div><div>- Load all of these into a PostGreSQL DB</div><div>- Setup an api that will take a lat/lon and give all shapes within 1km radius</div><div>- Next possible api: send a bounding polygon and get all buildings in that</div><div><br></div><div>2. Split up by district or lower level admin boundaries:</div><div>- Load the admin boundaries into a Postgresql DB</div><div>- Loop through each line (ie each building)</div><div>- Find out which place it's in by ST_Within query</div><div>- Dump it into a separate .geojsonl for that place</div><div>- We've now split it into multiple smaller files that are more usable, can be loaded up by OSM mappers etc.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" 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 Wed, May 18, 2022 at 3:51 AM Justin <<a href="mailto:justinelliotmeyers@gmail.com">justinelliotmeyers@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"><img alt="lg.png" width="550px" height="96px" src="cid:1bebcf64-5dc3-46f5-9854-f8cbb9b110bf"><br><div><br></div><div><a href="https://github.com/microsoft/GlobalMLBuildingFootprints" target="_blank">https://github.com/microsoft/GlobalMLBuildingFootprints</a><br></div><div><br></div><div><br></div>
<p></p>
-- <br>
Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting <a href="http://datameet.org" target="_blank">http://datameet.org</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "datameet" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:datameet+unsubscribe@googlegroups.com" target="_blank">datameet+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/datameet/68c0ecc4-5b07-4eb9-a69d-ae6e5ad6832bn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/datameet/68c0ecc4-5b07-4eb9-a69d-ae6e5ad6832bn%40googlegroups.com</a>.<br>
</blockquote></div>