The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Dissemination and Capacity Strengthening » Application Programming Interface (API)  » Problem opening geojsons using API
Problem opening geojsons using API [message #30672] Fri, 17 January 2025 10:42 Go to previous message
oliver-fiala is currently offline  oliver-fiala
Messages: 4
Registered: June 2024
Member
I am familiarising myself at the moment with the possibility to call spatial boundary files for selected DHS surveys using the API (as described here: https://api.dhsprogram.com/#/api-geometry.cfm).

While this works fabulously for some surveys (eg, the suggested example http://api.dhsprogram.com/rest/dhs/geometry/SN2010DHS works well, both with QGIS as well as with geospatial tools in Stata), many other surveyIds or country codes (eg, BD2014DHS or BD or EG) produce errors with any programme, suggesting there are issues with the geojson. I was wondering if this is a known problem or if I am missing anything?
 
Read Message
Read Message
Read Message
Previous Topic: API query relocated
Goto Forum:
  


Current Time: Thu Jan 23 17:33:49 Coordinated Universal Time 2025