Open konektaz opened 11 years ago
The immediate problem is easily solved, however the problem also raises a wider issue which needs to be resolved.
Remove the "External ID" field from the "Add Location Form". The External ID should be defined by us (see below), not the user.
Thus far, the External ID field in our DB is filled with the Location ID which we receive from OSM (that is, for locations which we have received from OSM). Assuming we prevent the user from filling in the External ID field (as above), we therefore need to fill this field ourselves.
Given that we are interested in sharing our location data, it would seem wise to continue to map our External ID field to the Location ID of OSM. Therefore, for locations added by our users, we should, IMO, do the following:
We could use django-celery to run the task of querying OSM and updating our DB in the background
@konekta @timlinux
the form is broken http://www.konektaz.info/location/add/
please try and load this location to test and see error https://www.centrallondonhealthcare.co.uk/local-healthcare-services/walk-in-services/soho-nhs-walk-in-centre/
error message is..
Location with this External id already exists