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

Inconsistent values for indigenous lands #5

Open
andre-carvalho opened this issue Aug 11, 2022 · 2 comments
Open

Inconsistent values for indigenous lands #5

andre-carvalho opened this issue Aug 11, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@andre-carvalho
Copy link
Member

The values shown in the line graph are not added together when we have more than a fraction of an indigenous land. Related data is presented as individual.
Possible problem for conservation units as well.

One solution is to join this data before putting it into the redis database.

@andre-carvalho andre-carvalho added the bug Something isn't working label Aug 11, 2022
@andre-carvalho
Copy link
Member Author

We have some identical names for different feature of TIs. Test the database using the SQL below.

  • It needs more research to confirm the integrity of the data presentation.
WITH candidates AS (
	SELECT terrai_nom as nome, count(*) as tt
		FROM amazonia.ti
	GROUP BY 1
	ORDER BY 2 DESC
)
SELECT m.id, c.nome, ST_Transform(m.geoms, 4326) as geom
FROM amazonia.ti m, candidates c
WHERE c.tt>1
AND m.terrai_nom=c.nome
ORDER BY 1 DESC

@andre-carvalho andre-carvalho added the help wanted Extra attention is needed label Sep 1, 2022
@andre-carvalho
Copy link
Member Author

The dashboard displays duplicate rows of data in CSV exported data and in the bar chart "Top10" for some special cases. This behavior is related to the original input data for UCs and TIs.

Reference video to illustrate:
https://terrabrasilis.dpi.inpe.br/download/terrabrasilis/terrabrasilis-about-dashboard-data-2024-04-19_14.56.59.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant