Add "label_area" attribute to classification.geojson#128
Add "label_area" attribute to classification.geojson#128wouellette wants to merge 1 commit intodevelopmentseed:masterfrom
Conversation
On top of the "label" attribute indicating the presence or absence of a given class in the classification.geojson output, a new attribute called "label_area" was integrated which indicates the surface area of the present classes in a given tile. This is particularly useful as an indicator of class abundance.
|
@wouellette can you describe the use case here (and could it also be accomplished by using segmentation labels)? |
|
Hi Drew, I use the label-maker to filter on the following classes: And for me, knowing absence/presence of the feature per zoom level tile is not enough, I also want to know the abundance. The idea is that OSM QA tiles containing the largest surfaces areas of the above mapped classes are higher priority tiles to be used for training. I was initially using a postgis load of OSM to do this, but using the OSM QA tile set is much more efficient, and the label-maker interface to those tiles works wonderfully well for me. Moreover, since OSM data is often not good enough for training models due to its inaccuracy/inconsistency, tiles with higher class abundances are more likely to contain the features of interest, and therefore a subset of the generated tiles containing the classes of interest in "large" amounts could be revised/realigned (in the case of segmentation) or simply moderated (in the case of classification). I am not currently using the label-maker further than the |
|
Sounds great @wouellette. Can you update the test fixtures so that this passes and then I'll merge? Let me know if you need any help with that |
|
Closing it as this pull request has been taken up into #135 |
On top of the "label" attribute indicating the presence or absence of a given class in the classification.geojson output, a new attribute called "label_area" was integrated which indicates the surface area of the present classes in a given tile. This is particularly useful as an indicator of class abundance.