WildAid / o-fish-realm

Realm application code and sample data for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection. The web app allows agencies to gain insights from the aggregated information.
Apache License 2.0
23 stars 9 forks source link

MongoDB Schema for MPA data #39

Open o-fish-wildaid opened 4 years ago

am-MongoDB commented 4 years ago

@Sheeri we need to know what format the data will be in and how WildAid want to enter it

Sheeri commented 4 years ago

The polygons will be an array of coordinates, like: [ -88.03310394, -0.534202465 ], [ -88.28613281, -2.811371193 ], [ -93.12011719, -2.635788574 ], [ -95.14160156, -0.790990498 ], [ -96.28417969, 2.372368709 ], [ -94.26269531, 4.302591077 ], [ -91.01074219, 3.250208562 ], [ -88.03310394, -0.534202465 ]

An agency will only have one or a few MPAs, so I think a csv import would be easiest? e.g.: MPA.csv: -88.03310394, -0.534202465 -88.28613281, -2.811371193 -93.12011719, -2.635788574 etc. We don't have file uploading/importing capabilities yet in the web, so this will likely take a while to implement.