0

My intuition is that the maps that Facebook generated for most countries are most useful on interactive maps like Carto's, as the killer feature is the resolution for which you'd need to zoom in.

However, I am not familiar with GeoTIFF, let alone importing them to Carto.

What would be an example workflow if someone would like to see, say, children under five of Hungary overlayed on a basemap?

2

You can download the CSVs first and look at it in QGIS https://dataforgood.fb.com/docs/high-resolution-population-density-maps-demographic-estimates-documentation/#data-format Then you can move on to GeoTiff which can also be viewed in QGIS. When you have that working you can export the data into a vector format like GeoJSON and use it in CartoDB or another web mapping platform.

4
  • Thanks, actually QGIS blows out of memory for me, it crashed after bloating to 59 GBs. Is there a simpler tool, maybe on the command line or something. Do I need more than a GeoTiff-GeoJSON conversion? – László Feb 4 '20 at 16:47
  • 1
    Yes try gdal.org/programs/gdal_polygonize.html You will need to know the values in the Geotiff file – Shoaib Burq Feb 4 '20 at 18:08
  • Forgive my ignorance, but now that installed gdal from conda, do I need more than a command like this python gdal_polygonize.py HUN_women_of_reproductive_age_15_49.tif -f GeoJSON HUN_women_of_reproductive_age_15_49.json mothers? This produces a 350 MB large JSON file from 16.5 MB large TIFF, but Carto imports it as an empty layer. – László Feb 5 '20 at 14:02
  • 1
    OK, I still could not get QGIS to work, but friends could. Also, other tools that build on gdal worked for (the rasterio package for Python) even though gdal did not. Thanks! – László Mar 7 '20 at 14:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.