I'm wondering whether it might be a good idea to remove the longitude and latitude properties from the schema.
If this information is stored in the schema itself (and assuming we don't want every space to figure out and enter their longitude and latitude manually), then any forms developed against the schema would need to convert location text (address) into geographic coordinates.
Whilst this can obviously be done, it adds complexity to an otherwise relatively easy task which 3rd parties might want to do themselves.
If longitude and latitude aren't stored in the schema, they can be derived from the address only where actually necessary (in the maps interface), through usually built in geo-coding APIs.
I'm wondering whether it might be a good idea to remove the longitude and latitude properties from the schema.
If this information is stored in the schema itself (and assuming we don't want every space to figure out and enter their longitude and latitude manually), then any forms developed against the schema would need to convert location text (address) into geographic coordinates.
Whilst this can obviously be done, it adds complexity to an otherwise relatively easy task which 3rd parties might want to do themselves.
If longitude and latitude aren't stored in the schema, they can be derived from the address only where actually necessary (in the maps interface), through usually built in geo-coding APIs.