Alegre is a locality and its consensus geometry is derived from quattroshapes.
{"geom:latitude":-15.051417,"wof:name":"Alegre","counts:names_total":7,"name:ceb_x_preferred":["Alegre"],"mz:is_current":-1,"wof:hierarchy":[{"continent_id":102191577,"country_id":85633009,"county_id":102050699,"localadmin_id":404550839,"locality_id":101947009,"macroregion_id":1511777415,"region_id":85681895}],"name:srp_x_preferred":["Алегре"],"qs:a2_lc":"2908705","mz:min_zoom":12,"lbl:latitude":-15.051142,"lbl:min_zoom":13.5,"geom:area":1.34E-4,"counts:concordances_total":2,"qs:adm0":"Brazil","geom:type":"Polygon","wof:lastmodified":1577838024,"qs:a2":"CONDE0BA","qs:a1":"*BA","wof:belongsto":[85681895,102191577,404550839,85633009,1511777415,102050699],"mps:latitude":-15.051142,"qs:a0":"Brasil","wof:repo":"whosonfirst-data-admin-br","qs:loc":"Alegre","wof:country":"BR","counts:names_preferred":7,"geom:area_square_m":1596732.179485,"name:swe_x_preferred":["Alegre"],"counts:names_variant":0,"wof:breaches":[],"edtf:inception":"uuuu","iso:country":"BR","geom:bbox":"-42.2431432519,-15.060851114,-42.2299243417,-15.0441246105","src:lbl_centroid":"mapshaper","wof:superseded_by":[],"name:fra_x_preferred":["Alegre"],"name:nld_x_preferred":["Alegre"],"wof:geomhash":"8bea0f25d3e18811875fc9f3e61322f0","qs:pop":0,"wof:placetype_id":102312317,"qs:la_lc":"*","qs:level":"locality0","mz:is_ceased":0,"lbl:max_zoom":18,"wof:placetype":"locality","mz:is_deprecated":0,"qs:type":"Local urban minor","geom:longitude":-42.237393,"wof:id":101947009,"qs:source":"ABrasil IBGE","wof:concordances":{"gn:id":6316337,"qs_pg:id":9},"qs:a1r":"*","name:cat_x_preferred":["Alegre"],"src:geom":"quattroshapes","src:geom_alt":[],"wof:tags":[],"counts:names_languages":7,"mps:longitude":-42.237928,"qs:a1_lc":"29","wof:supersedes":[],"lbl:longitude":-42.237928,"wof:parent_id":404550839,"wof:placetype_names":["locality"],"mz:hierarchy_label":1,"edtf:cessation":"uuuu","name:deu_x_preferred":["Alegre"]}