Geocoding: HSS LocationTypes versus PTV LocationTypes
Posted: Wed Dec 18, 2024 10:07 am
Hi there,
Well, here's what I can respond to this:I am not sure how to handle the HANA spatial services "address types" via the PTV geocoder.
In HANA we know country, state, county, postalCode, city, district, intersection, street, houseNumberInterpolated, houseNumberExact, houseNumberWithSupplement, other. Is there a matching table?
Code Description Typical Level of Accuracy 100 Country identified Very broad country level 200 Region / State identified Regional level 300 City identified City or locality level 400 Postal code identified ZIP/postal code centroid 500 Street identified Street-level accuracy 600 House number identified Midpoint of house number range 700 Building identified Building-level accuracy 800 Address matched exactly Very precise / nearly rooftop 900 Manually validated or pinpointed coordinates Fully accurate / user-verified
| HANA Spatial Services | PTV Developer Geocoding / xLocate2 | Comment |
|---|---|---|
| country , state , county | not defined | Won't occur in PTV |
| postalCode | LocationType.POSTAL_CODE | |
Code: Select all | ||
| city / district | LocationType.LOCALITY | We do not distinguish between city and district |
Code: Select all | ||
| intersection | LocationType.INTERSECTION | Today (18.12.2024) this type is defined but due to current implemented it won't appear so far. Might appear in the future. |
| street | LocationType.STREET | |
Code: Select all | ||
| houseNumberInterpolated | LocationType.INTERPOLATED_ADDRESS | |
Code: Select all | ||
| houseNumberExact, houseNumberWithSupplement | Locatin Type.EXACT_ADDRESS | We do not distinguish between them though we can return both "flavours" |
Code: Select all | ||
| other | not defined | |
| ??? | LocationType.POINT_OF_INTEREST | Today (18.12.2024) this type is defined but due to current implemented it won't appear so far. Might appear in the future. |