Data management tools for the Pelagos project
> ogr2ogr ../data/regions/regions.sqlite -append NOAA-MPA-8.shp -progress -f SQLite -lco OVERWRITE=YES -nlt POLYGON
To create a regions sqlite file to use with regionate.py:
Put a shapefile for each layer into a folder called "regions"
Create the sqlite file with:
ogr2ogr -f Sqlite -dsco SPATIALITE=YES -nlt polygon regions-2014-10-01.sqlite regions
Replace the date in the file name with today's date.