@@ -15,51 +15,56 @@ If you want to know the LCCS version, use the option ``--version`` as in::
15
15
16
16
Output::
17
17
18
- lccs, version 0.6 .0
18
+ lccs, version 0.9 .0
19
19
20
20
21
21
To list the available classification systems in a service, use the ``classification-systems `` command and provides a URL to the ``--url `` option::
22
22
23
- lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' classification-systems
23
+ lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' --access-token 'change-me' classification-systems
24
24
25
25
26
26
The above command will return a list of classification system names as::
27
27
28
- BDC
29
- IBGE
30
- PRODES
31
- MapBiomas5
28
+ prodes-1.0
29
+ terraclass-amz-1.0
30
+ deter-amz-1.0
32
31
33
32
To get more information about a specific classification system, use the ``classification-systems-describe `` command::
34
33
35
- lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' classification-systems -description --system_name 'PRODES -1.0'
34
+ lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' --access-token 'change-me' classification-system -description --system 'prodes -1.0'
36
35
37
36
Output::
38
37
39
- - authority_name: Projeto de Mapeamento Anual da Cobertura e Uso do Solo no Brasil (MapBiomas)
40
- - description: O Projeto de Mapeamento Anual da Cobertura e Uso do Solo do Brasil é uma iniciativa que envolve uma rede colaborativa com especialistas nos biomas, usos da terra, sensoriamento remoto, SIG e ciência da computação que utiliza processamento em nuvem e classificadores automatizados desenvolvidos e operados a partir da plataforma Google Earth Engine para gerar uma série histórica de mapas anuais de cobertura e uso da terra do Brasil.
41
- - id: 32
38
+ - authority_name: INPE
39
+ - description: Annual Deforestation Classification System
40
+ - id: 1
41
+ - identifier: prodes-1.0
42
42
- links: [{'href': 'https://brazildatacube.dpi.inpe.br/dev/lccs/classification_system', 'rel': 'parent', 'title': 'Link to this document', 'type': 'application/json'}, ..]
43
- - name: Mapbiomas5
44
- - version: 5
43
+ - name: prodes
44
+ - title: PRODES
45
+ - version: 1.0
46
+ - version_predecessor: None
47
+ - version_successor: None
48
+
45
49
46
50
47
51
List the available classes of a classification system, use the ``classes `` command::
48
52
49
- lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' classes --system_name 'PRODES -1.0'
53
+ lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' --access-token 'change-me' classes --system 'prodes -1.0'
50
54
51
55
The above command will return a list of classes of PRODES as::
52
56
53
- Desmatamento
54
- Floresta
55
- Hidrografia
56
- Não Floresta
57
- Nuvem
58
- Resíduo
57
+ desflorestamento
58
+ floresta
59
+ hidrografia
60
+ nao-floresta
61
+ nuvem
62
+ residuo
63
+
59
64
60
65
To get more information about a specific class, use the ``class-describe `` command::
61
66
62
- lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' class-describe --system_name 'PRODES -1.0' --class_name 'Desflorestamento '
67
+ lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' --access-token 'change-me' class-describe --system 'prodes -1.0' --system_class 'desflorestamento '
63
68
64
69
The above command will return a::
65
70
@@ -68,32 +73,32 @@ The above command will return a::
68
73
- description:
69
74
- id: 1
70
75
- links: [[{'href': 'https://brazildatacube.dpi.inpe.br/dev/lccs/classification_system/1/classes/1', 'rel': 'self', 'title': 'Link to this document', 'type': 'application/json'},...]
71
- - name: Desflorestamento
76
+ - name: desflorestamento
77
+ - title: Deforestation
72
78
73
79
74
80
Retrieve all available classification system mappings, use the ``available-mappings `` command::
75
81
76
- lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' available-mappings --system_name_source 'TerraClass_AMZ '
82
+ lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' --access-token 'change-me' available-mappings --system 'terraclass-amz-1.0 '
77
83
78
84
The above command will return a list of classification systems as::
79
85
80
- PRODES
86
+ Classification System [1:prodes - Version 2]
81
87
82
88
83
89
To get a mapping between classification systems, use the ``mappings `` command::
84
90
85
- lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' mappings --system_id_source 'TerraClass_AMZ ' --system_id_target 'PRODES '
91
+ lccs --url 'https://brazildatacube.dpi.inpe.br/dev/lccs/' mappings --system_id_source 'terraclass-amz-1.0 ' --system_id_target 'prodes-1.0 '
86
92
87
93
88
94
Output::
89
95
90
- Classification Source: TerraClass_AMZ
91
- Classification Target: PRODES
92
- {'degree_of_similarity': 1.0, 'description': '', 'links': [{'href': 'https://brazildatacube.dpi.inpe.br/dev/lccs/classification_system/TerraClass_AMZ/classes/Agricultura Anual', 'rel': 'item', 'title': 'Link to the source class', 'type': 'application/json'}, {'href': 'https://brazildatacube.dpi.inpe.br/dev/lccs/classification_system/TerraClass_AMZ/classes/Desmatamento', 'rel': 'item', 'title': 'Link to target class', 'type': 'application/json'}], 'source': 'Agricultura Anual', 'source_id': 85, 'target': 'Desmatamento', 'target_id': 175}
93
- {'degree_of_similarity': 1.0, 'description': '', 'links': [{'href': 'https://brazildatacube.dpi.inpe.br/dev/lccs/classification_system/TerraClass_AMZ/classes/Área Não Observada', 'rel': 'item', 'title': 'Link to the source class', 'type': 'application/json'}, {'href': 'https://brazildatacube.dpi.inpe.br/dev/lccs/classification_system/TerraClass_AMZ/classes/Nuvem', 'rel': 'item', 'title': 'Link to target class', 'type': 'application/json'}], 'source': 'Área Não Observada', 'source_id': 86, 'target': 'Nuvem', 'target_id': 179}
96
+ Agricultura Anual -> Desmatamento - Degree_of_similarity 0.0
97
+ Área Não Observada -> Nuvem - Degree_of_similarity 0.0
94
98
95
99
.. note ::
96
100
97
101
For more information, type in the command line::
98
102
99
103
lccs --help
104
+
0 commit comments