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

Visualize the polygons #56

Closed
im-prakher opened this issue Jul 20, 2020 · 2 comments
Closed

Visualize the polygons #56

im-prakher opened this issue Jul 20, 2020 · 2 comments
Assignees

Comments

@im-prakher
Copy link
Contributor

im-prakher commented Jul 20, 2020

Created a shape-visual.js and gmap.js component that uses react-leaflet to visualize the GeoJSON data.

@dlebauer
Copy link
Member

dlebauer commented Jul 24, 2020

we don't need to visualize the shapefiles directly, we want to visualize the data after it has been inserted into the database. For example, to look at the map of experiments we want to test that this is valid ....

select experiments.name, sitename, st_asgeojson(geometry) as polygon from sites 
    join experiments_sites on sites.id = experiments_sites.site_id 
   join experiments on experiments.id = experiments_sites.experiment_id 
   where ????<find the stuff that hasn't been committed e.g. sites.created_at = just now>;

similar w/ joins to treatments and cultivars

@dlebauer dlebauer changed the title Visualize the shapefiles Visualize the polygons Jul 24, 2020
@im-prakher
Copy link
Contributor Author

im-prakher commented Aug 25, 2020

Done in #69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants