From other sources it seems like Enketo doesn’t support select from .geojson file, is that correct? Even if that is the case, I still want to explore this issue/see if there is an easy way to get data for this kind of question with publicly available data. In that regard, I found a separate source for geoJSON files called geoBoundaries but it looks like ODK doesn’t support MultiPolygons, so I see that for the GIN dataset there are about a dozen or so MultiPolygons. My guess is these are along a coast line and include sets of islands. Has there been an easy workaround for this? I’m not sure how an svg would handle this… @ahblake do you know if SVGs can have multiple shapes that have the same id or how this would work?
I’m playing around with this below to convert .shp files with accompanying .dbf and .shx files to create an svg and got it working successfully with the caveat that each polygon is just named:
| list_name | name | label |
|---|---|---|
| svg_test | patch_1 | Patch 1 |
| svg_test | patch_2 | Patch 2 |
| svg_test | patch_3 | Patch 3 |
Works in Enketo and Collect (not Web Forms) but by default the boundaries are so faint that they are very difficult to see unless they are highlighted. This was fixed easily by adding
stroke: #000000; stroke-width: 1.5;
to this fairly close to the top of the SVG file
*{stroke: #000000; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: butt}Enketo Before boundaries
Enketo After changing boundaries
Webforms


