iaasen / geonorge
REST-based access to Geonorge address API. The Norwegian public registry of addresses
dev-main
2025-06-06 11:41 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7
- iaasen/stdlib: dev-master
- proj4php/proj4php: ^2
This package is auto-updated.
Last update: 2025-06-06 11:41:29 UTC
README
REST API
Client implementation of Geonorge address API's
Official documentation:
- https://kartkatalog.geonorge.no/metadata/adresse-rest-api/44eeffdc-6069-4000-a49b-2d6bfc59ac61
- https://ws.geonorge.no/adresser/v1/
Local DB import
A second solution using a local database import has been added. The download files are found here:
- https://nedlasting.geonorge.no/geonorge/Basisdata/MatrikkelenAdresse/CSV
- https://nedlasting.geonorge.no/geonorge/Basisdata/MatrikkelenAdresseLeilighetsniva/CSV
Database table named geonorge_addresses and genorge_bruksenheter must be created in the default database. Use the console command "geonorge:db-create" See the following functions for the table definitions:
- \Iaasen\Geonorge\LocalDb\AddressTable::createTable()
- \Iaasen\Geonorge\LocalDb\BruksenhetTable::createTable()