Data models by Geolonia Inc.

geocoding

Geocoding

Models for the results of a geocoder (software that finds coordinates for an address). The address itself is datamodels.jp's JapaneseAddress; these models add what the geocoding did, such as how much of the address matched and which data it used, so results from different geocoders have the same shape.

Version
0.1.0
@context
https://models.geolonia.com/context/geocoding/v0.jsonld (exact version: https://models.geolonia.com/context/geocoding/v0.1.0.jsonld)
Vocabulary
https://models.geolonia.com/vocab/geocoding/v0.1.0.jsonld
Namespace
https://models.geolonia.com/ns/geocoding#

Models

Terms

Every type and attribute this subject defines. A term's IRI begins with the namespace, for example https://models.geolonia.com/ns/geocoding#GeocodingResult.

GeocodingResult

GeocodingResult (Type)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.
queryThe address text given to the geocoder, unchanged
unmatchedPartsParts of the input that did not match, in input order, such as a building name or a floor
matchLevelThe 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
coordinateLevelWhich 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
matchLevelLabelThe 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")
geocoderName of the geocoder that made the result
geocoderVersionVersion of the geocoder
datasetVersionVersion of the address data the geocoder used
dateGeocodedWhen the address was geocoded