We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Data model: addresses

asked 2020-05-15 14:09:46 +0200

martinp gravatar image

Are there any plans to define data model for "addresses" - as a geographical point with address information? To be used for address searching.

Or should some other data model be used (building)?



edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-06-02 09:48:59 +0200

Thank you for your question that it is a very relevant one.

Address is something which is extensively used across most of the data models (most of them are using it). In fact, we have in the common schema at the very root of the initiative a section "Location-Commons" in which we used the postal addressproperties coming from schema.org under the object address.

About the geographical location, this is also available for all the data models in the common schema in the same section, "Location-Commons", in the "location" property, which is a geojson point. As geojson point it allows being a GeoJSON Point, GeoJSON LineString, GeoJSON Polygon, GeoJSON MultiPoint, GeoJSON MultiLineString or GeoJSON MultiPolygon. Therefore you will see in most of the data models a preceding line to properties section like this one.

"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"

In which all these properties (location and address) are included in the data model.

Are your needs covered with this approach or do you need anything else? Please let us know here or in our mail alberto . abella @fiware.org

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-05-15 14:09:46 +0200

Seen: 70 times

Last updated: Jun 02