geolite 0.0.8

open source geocode solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# extract

parse a `.osm.pbf` file and populate the database layer by layer

the three stages that come before these — scanning the file into byte ranges, reading its header
and decoding its nodes, ways and relations — belong to the file itself and live in
[`domain/osm_pbf_file`](../domain/readme.md#osm_pbf_file).

## admin_levels

the stage moved into the area it produces: `admin_level::extract(level)` in
[`domain/admin_level`](../domain/readme.md#admin_level).

## house_numbers

1. queries house number nodes from `osm_nodes` (those with `addr:housenumber`)
2. assigns each node to a street (`admin_levels` row) using proximity or name matching
3. inserts into `house_numbers` with geometry and the strategy used