Hi Nikhil, 

Will try out some of the things you suggested & get back to you. Thanks !

On Saturday, February 1, 2020 at 4:27:45 PM UTC+8, Nikhil VJ wrote:
>
> Hi Saba,
>
> Sharing two approaches, one of which I've taken to replicate at my end 
> what mapbox does, without relying on them, to make this:
> https://server.nikhilvj.co.in/watershed_overlap_map/overlap-watershed2.html
>
> 1. *QMetaTiles* plugin on QGIS
>
> Generate tiles from QGIS project
>
> Generates raster tiles from QGIS project for selected zoom levels and tile 
> naming conventions (Slippy Map or TMS). It can also package tiles for 
> variety of formats and applications, NextGIS Mobile, GeoPaparazzi, simple 
> Leaflet-based viewer and MBTiles.
>
> >> could be used to generate tiles from a large GeoTIF, host own tiles as 
> an alternative to mapbox
>
>
> 2. Gdal2tiles program
>
> Command-line: https://github.com/commenthol/gdal2tiles-leaflet
>
> GUI tool : https://wiki.osgeo.org/wiki/MapSlicer
>
>
> I think I'd done the latter and later on found out about the former as a 
> much simpler way.
>
>
> In QMetaTiles plugin, check on the "write leaflet..." option and it should 
> also generate a webpage for you. Then you can just upload the webpage and 
> the folder onto a website and you have both a generic page and a custom 
> tile-layer URL path to give to others.
>
>
> Extra Detail:
>
> What either of these do is : cut up that one big image into "slippy" map 
> tiles, the kind you see when you see on a web map. Thousands of 256x256 
> pixel images at different zoom levels, which can then be loaded onto a 
> webmap as a custom background tiles source. Advantage is that a user can 
> easily browse around and only the required portions are loaded quickly, 
> rather than having to load up the entire tif.
>
>
> Side note: The same tech can be used for tiling non-map large images too. 
> Working example: 
> https://server.nikhilvj.co.in/tilemaker/leaflet-painting.html#1/0/0
>
>
> --------
>
> Data related
>
> I opened the link to humdata site you mentioned in your email and tried 
> downloading the data. Didn't work from browser at all - download would 
> reach 90-something percent and then die off. Then I went on my website 
> server and downloaded there and it worked, and it worked by command-line 
> "wget" on my ubuntu laptop.
>
>
> Loading the .tif on QGIS, lookin good:
> [image: AS44.png]
>
> ... but it's not the whole country.
> All the maps from AS42 through AS47 can be seen here: 
> https://data.humdata.org/search?q=southasia&ext_search_source=main-nav
>
>  
> More links related:
> https://data.humdata.org/organization/facebook
>
> https://ai.facebook.com/blog/mapping-the-world-to-help-aid-workers-with-weakly-semi-supervised-learning
>
> --
> Cheers,
> Nikhil VJ
> https://nikhilvj.co.in
>
>
> On Fri, Jan 31, 2020 at 6:02 PM Saba Mundlay <smun...@gmail.com 
> <javascript:>> wrote:
>
>>
>> Hi Friends, 
>>
>> I've *really* been struggling to get these datasets 
>> <https://data.humdata.org/dataset/southasia_as434-high-resolution-population-density-maps>
>>  
>> onto Mapbox. Would appreciate guidance / help. The issue seems to be that 
>> the dataset is a 64-bit tif, and mapbox maxes out at 8-bit tifs...
>> I know that it CAN be done because of this blog 
>> <https://blog.mapbox.com/ebola-response-platform-fc092fdbead1>. 
>>
>> -- 
>> Datameet is a community of Data Science enthusiasts in India. Know more 
>> about us by visiting http://datameet.org
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "datameet" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to data...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/datameet/4a03621f-0f10-413a-b75a-c793e5e054f9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/datameet/4a03621f-0f10-413a-b75a-c793e5e054f9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datameet+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/4279aec7-a721-4c62-93cc-4df461852167%40googlegroups.com.

Reply via email to