Skip to content

Commit 6d27671

Browse files
Merge pull request #13 from rustprooflabs/maintenance
Minor updates, license year, customization improvements
2 parents 289c10c + c8847b1 commit 6d27671

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM rustprooflabs/pgosm-flex
22

33
# Install pgfaker extension
4-
RUN wget https://github.com/rustprooflabs/pgfaker/releases/download/0.0.1/pgfaker_0.0.1_debian-11_pg15_amd64.deb \
4+
RUN wget https://github.com/rustprooflabs/pgfaker/releases/download/0.0.2/pgfaker_0.0.2_debian-11_pg16_amd64.deb \
55
-O /tmp/pgfaker.deb \
66
&& dpkg -i --force-overwrite /tmp/pgfaker.deb
77

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Ryan Lambert
3+
Copyright (c) 2023 - 2024 Ryan Lambert
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PostGIS Geo Faker
1+
# PostGIS GeoFaker
22

33
The project creates fake store and customer data with geospatial
44
components based on OpenStreetMap. The use of OpenStreetMap data

docs/src/customize.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@ see [issue #9](https://github.com/rustprooflabs/geofaker/issues/9).
1111
1212
## Range and Density of Customer points
1313

14-
The customer points currently have two main tunable options.
14+
The customer points currently have two main tunable options:
15+
16+
* `_distance_scale` default 1.5
17+
* `_density_scale` default 1.0
18+
19+
After running the main process, you can re-run the steps creating the `geofaker.customer`
20+
points using the following code. This example doubles the density scale (from 1.5 to 3)
21+
and reduces density from 1.0 to 0.25.
22+
23+
> See `app/run_faker.sql` for what runs by default.
1524
1625

1726
```sql

0 commit comments

Comments
 (0)