Data models by Geolonia Inc.

geocoding

GeocodingResult

Geocoding result

The result of geocoding one address. The address is datamodels.jp's JapaneseAddress and the coordinates are a point. On top of that it records how much of the input matched (matchLevel), which part of the address the coordinates belong to (coordinateLevel), and which geocoder and which version of the data were used. Every geocoder writes its match levels differently, so they are mapped to shared values, and the geocoder's own wording stays in matchLevelLabel.

Stage
experimental
Kind
entity
Type IRI
https://models.geolonia.com/ns/geocoding#GeocodingResult
JSON Schema
https://models.geolonia.com/schema/geocoding/GeocodingResult/v0.1.0.json
@context
https://models.geolonia.com/context/geocoding/v0.jsonld
Example
https://models.geolonia.com/examples/geocoding/GeocodingResult/example.json
Download
CSV template Table Schema Structured output for AI PostgreSQL / PostGIS table About these files

Attributes

query

The address text given to the geocoder, unchanged

string, required. IRI: https://models.geolonia.com/ns/geocoding#query

address

The matched address, as datamodels.jp's JapaneseAddress. The geocoder's normalised one-line address goes in addressText

object. IRI: https://schema.org/address

unmatchedParts

Parts of the input that did not match, in input order, such as a building name or a floor

array. IRI: https://models.geolonia.com/ns/geocoding#unmatchedParts

matchLevel

The most detailed part of the address that matched: prefecture, city (county or municipality), machiaza (大字・町), machiazaDetail (丁目・小字), residentialBlock (街区符号, block number), residentialNumber (住居番号, residence number), parcel (地番, lot number). parcel is an alternative to the two residential levels (residentialBlock, residentialNumber), not more detailed than them. Left out when no value fits; the geocoder's own value goes in matchLevelLabel

string. IRI: https://models.geolonia.com/ns/geocoding#matchLevel

coordinateLevel

Which part of the address the coordinates belong to, with the same values as matchLevel. It can be less detailed than matchLevel: the address may match down to the residence number while the geocoder only has a point for the town

string. IRI: https://models.geolonia.com/ns/geocoding#coordinateLevel

matchLevelLabel

The match level as the geocoder returns it, unchanged, as text: a geocoder that returns a number gives it as text (for example rsdtdsp_rsdt, or "3")

string. IRI: https://models.geolonia.com/ns/geocoding#matchLevelLabel

geocoder

Name of the geocoder that made the result

string. IRI: https://models.geolonia.com/ns/geocoding#geocoder

geocoderVersion

Version of the geocoder

string. IRI: https://models.geolonia.com/ns/geocoding#geocoderVersion

datasetVersion

Version of the address data the geocoder used

string. IRI: https://models.geolonia.com/ns/geocoding#datasetVersion

dateGeocoded

When the address was geocoded

string, date-time. IRI: https://models.geolonia.com/ns/geocoding#dateGeocoded

location

The point the geocoder found, as a GeoJSON Point

object. IRI: https://uri.etsi.org/ngsi-ld/location

Standards referenced

Notes