Merge branch 'fronkdev' into 'master'
Added RW/HW to AddressDB Api search/find functions See merge request fronk/thetool!72
This commit is contained in:
@@ -27,6 +27,8 @@ class AddressDB {
|
|||||||
`Hausnummer`.`hausnummer` AS `hausnummer`,
|
`Hausnummer`.`hausnummer` AS `hausnummer`,
|
||||||
`Hausnummer`.`extref` AS `hausnummer_extref`,
|
`Hausnummer`.`extref` AS `hausnummer_extref`,
|
||||||
`Hausnummer`.`unit_count` AS `unit_count`,
|
`Hausnummer`.`unit_count` AS `unit_count`,
|
||||||
|
`Hausnummer`.`rw` AS `rw`,
|
||||||
|
`Hausnummer`.`hw` AS `hw`,
|
||||||
`Hausnummer`.`gps_lat` AS `gps_lat`,
|
`Hausnummer`.`gps_lat` AS `gps_lat`,
|
||||||
`Hausnummer`.`gps_long` AS `gps_long`,
|
`Hausnummer`.`gps_long` AS `gps_long`,
|
||||||
`Hausnummer`.`grund_nr` AS `grund_nr`,
|
`Hausnummer`.`grund_nr` AS `grund_nr`,
|
||||||
|
|||||||
@@ -709,6 +709,8 @@ class AddressdbApicontroller extends mfBaseApicontroller {
|
|||||||
'street' => $data->strasse,
|
'street' => $data->strasse,
|
||||||
'housenumber' => $housenumber,
|
'housenumber' => $housenumber,
|
||||||
'lot_number' => $data->grund_nr,
|
'lot_number' => $data->grund_nr,
|
||||||
|
'rw' => $data->rw,
|
||||||
|
'hw' => $data->hw,
|
||||||
'building_unit_count' => 0,
|
'building_unit_count' => 0,
|
||||||
'gps_lat' => ($data->gps_lat) ? (float)$data->gps_lat : null,
|
'gps_lat' => ($data->gps_lat) ? (float)$data->gps_lat : null,
|
||||||
'gps_long' => ($data->gps_long) ? (float)$data->gps_long : null,
|
'gps_long' => ($data->gps_long) ? (float)$data->gps_long : null,
|
||||||
@@ -777,6 +779,8 @@ class AddressdbApicontroller extends mfBaseApicontroller {
|
|||||||
}
|
}
|
||||||
$new_address['district'] = $ta['district'];
|
$new_address['district'] = $ta['district'];
|
||||||
$new_address['lot_number'] = $ta['lot_number'];
|
$new_address['lot_number'] = $ta['lot_number'];
|
||||||
|
$new_address['rw'] = $ta['rw'];
|
||||||
|
$new_address['hw'] = $ta['hw'];
|
||||||
$new_address['building_unit_count'] = $ta['building_unit_count'];
|
$new_address['building_unit_count'] = $ta['building_unit_count'];
|
||||||
$new_address['num'] = $u['num'];
|
$new_address['num'] = $u['num'];
|
||||||
$new_address['block'] = $u['block'];
|
$new_address['block'] = $u['block'];
|
||||||
|
|||||||
@@ -799,6 +799,14 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Grundstücksnummer
|
description: Grundstücksnummer
|
||||||
example: 123/7
|
example: 123/7
|
||||||
|
rw:
|
||||||
|
type: string
|
||||||
|
description: Rechtswert der Zugangskoordinate
|
||||||
|
example: "58876.54"
|
||||||
|
hw:
|
||||||
|
type: string
|
||||||
|
description: Hochwert der Zugangskoordinate
|
||||||
|
example: "262389.89"
|
||||||
building_unit_count:
|
building_unit_count:
|
||||||
type: int64
|
type: int64
|
||||||
description: Anzahl Wohneinheiten im Gebäude
|
description: Anzahl Wohneinheiten im Gebäude
|
||||||
@@ -907,6 +915,14 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Grundstücksnummer
|
description: Grundstücksnummer
|
||||||
example: 123/7
|
example: 123/7
|
||||||
|
rw:
|
||||||
|
type: string
|
||||||
|
description: Rechtswert der Zugangskoordinate
|
||||||
|
example: "58876.54"
|
||||||
|
hw:
|
||||||
|
type: string
|
||||||
|
description: Hochwert der Zugangskoordinate
|
||||||
|
example: "262389.89"
|
||||||
building_unit_count:
|
building_unit_count:
|
||||||
type: int64
|
type: int64
|
||||||
description: Anzahl Wohneinheiten im Gebäude
|
description: Anzahl Wohneinheiten im Gebäude
|
||||||
|
|||||||
Reference in New Issue
Block a user