importer: a geonorge: provider — Geonorge's order→deliver download API (anonymous, no credential) #219
Labels
No labels
blocked
claude-wip
map-report
map:is
map:se
needs-review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
art/ismap#219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Norway (#210, #217) needs one piece of new importer code and only one: a fetcher for
Geonorge's order→deliver download API.
What the flow actually is — verified end to end 2026-08-24
It is Lantmäteriet's Geotorget shape without the OAuth. No account, no email, no token,
no API key:
A live order for N50 Kartdata (
ea192681-d039-42ec-b1bc-f3ce04c189ac), area Fedje (4633),format GML, projection 25833 returned
referenceNumber 48142795-…with the file alreadyReadyForDownload; the zip downloaded and unpacked into seven themed GML files. A secondorder for Alvdal (3428) behaved identically.
Because there is no credential, this is not an R142 case — nothing goes in
conf/secrets.yaml. But it is also not a plaindownloads:GET, because the fetch needs aPOST and a reference number. Hence a provider.
Notes for the implementation
landsdekkendeexists: the N50 area codelist has 373 entries — 15fylke,357
kommuneand 1landsdekkende, code0000"Hele landet". Order the country inone go; do not loop 357 municipalities.
(EPSG:25833 is the sensible national default).
capabilitiesadvertisessupportsDownloadBundling,supportsPolygonSelection,supportsAreaSelection,deliveryNotificationByEmail: false.complete, do not place an order at all.
httptestserver, the wayimporter/clms.go's testsdo — capabilities, codelists, order, the poll transition, and a terminal failure.
appConfig,include.go, the import fetch phase, and both thefetchand
listsubcommands, and updatedocs/importer-cli.md's usage lines for both — theCLMS work missed the
listhalf of that the first time.The same provider covers every Kartverket dataset Norway needs: N50 Kartdata, NVDB Vegnett,
Stedsnavn (komplett SSR), Administrative enheter kommuner — all CC BY 4.0, all
GEONORGE:DOWNLOAD.