Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load areas of interest into single aois table using hstore, starting with sanctuaries #13

Open
bbest opened this issue May 2, 2022 · 0 comments

Comments

@bbest
Copy link
Contributor

bbest commented May 2, 2022

Use PostgreSQL hstore to store the many varying fields of any given AOI feature into a single column, say attr, starting with load_sanctuaries.Rmd.

See:

CREATE TABLE books (
	id serial primary key,
	title VARCHAR (255),
	attr hstore);
INSERT INTO books (title, attr)
VALUES
	('PostgreSQL Tutorial',
	  '"paperback" => "243",
	   "publisher" => "postgresqltutorial.com",
	   "language"  => "English",
	   "ISBN-13"   => "978-1449370000",
           "weight"    => "11.2 ounces"');
@bbest bbest changed the title load areas of interest into single aoi table using hstore, starting with sanctuaries load areas of interest into single aois table using hstore, starting with sanctuaries May 2, 2022
bbest added a commit that referenced this issue May 2, 2022
… `field_labels`. table `columns_renamed` -> `fields_renamed`; flag todo #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant