|
|
|
|
@ -74,6 +74,7 @@ class PointService:
|
|
|
|
|
is_vis=True,
|
|
|
|
|
matching_status=MatchingStatus.Error.name,
|
|
|
|
|
status=PointStatus.Pending.name)
|
|
|
|
|
problem += 1
|
|
|
|
|
else:
|
|
|
|
|
models.PrePlacementPoint.objects.get_or_create(address=addr, street=response.get('street'),
|
|
|
|
|
house_number=response.get('houseNumber'),
|
|
|
|
|
@ -82,7 +83,8 @@ class PointService:
|
|
|
|
|
category=cat, geometry=wkt, sample_trn=False,
|
|
|
|
|
is_vis=True,
|
|
|
|
|
matching_status=MatchingStatus.New.name,
|
|
|
|
|
status=PointStatus.Pending.name, area=rayon, district=rayon.AO)
|
|
|
|
|
status=PointStatus.Pending.name, area=rayon,
|
|
|
|
|
district=rayon.AO)
|
|
|
|
|
return total, matched, problem
|
|
|
|
|
|
|
|
|
|
def make_enrichment(self):
|
|
|
|
|
|