Mahagama is a locality and its consensus geometry is derived from geonames.
{"gn:population":0,"geom:latitude":7.5643,"gn:name":"Mahagama","wof:name":"Mahagama","counts:names_total":2,"gn:feature_code":"PPL","gn:feature_class":"P","mz:is_current":-1,"wof:hierarchy":[{"continent_id":102191569,"country_id":85632313,"county_id":1092061929,"locality_id":1226798553,"region_id":85673779}],"gn:dem":37,"mz:min_zoom":12,"lbl:min_zoom":13.5,"geom:area":0,"gn:latitude":7.5643,"gn:asciiname":"Mahagama","lbl:bbox":"79.8696,7.5443,79.9096,7.5843","counts:concordances_total":1,"gn:country_code":"LK","geom:type":"Point","wof:lastmodified":1566595744,"gn:admin1_code":"32.0","wof:belongsto":[102191569,85632313,85673779,1092061929],"wof:repo":"whosonfirst-data-admin-lk","wof:country":"LK","counts:names_preferred":2,"geom:area_square_m":0,"counts:names_variant":0,"wof:breaches":[],"edtf:inception":"uuuu","iso:country":"LK","geom:bbox":"79.8896,7.5643,79.8896,7.5643","name:hin_x_preferred":["महगामा"],"wof:superseded_by":[],"wof:geomhash":"9dc859938d26ef6844ed1067ec59d885","wof:placetype_id":102312317,"mz:is_ceased":0,"lbl:max_zoom":18,"wof:placetype":"locality","gn:longitude":79.8896,"mz:is_deprecated":0,"gn:modification_date":"1994-01-08","geom:longitude":79.8896,"wof:id":1226798553,"wof:concordances":{"gn:id":1237085},"src:geom":"geonames","gn:geonameid":1237085,"wof:tags":[],"counts:names_languages":2,"name:bih_x_preferred":["महगामा"],"wof:supersedes":[],"wof:parent_id":1092061929,"wof:placetype_names":["locality"],"mz:hierarchy_label":1,"gn:timezone":"Asia/Colombo","edtf:cessation":"uuuu"}