-
Notifications
You must be signed in to change notification settings - Fork 2
/
justfile
40 lines (35 loc) · 1.51 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@try-shapefile:
cargo build --release
cd ./target/release/ && ./popgis --input ../../examples/shapefile/andalucia.shp \
--uri postgresql://pio:password@localhost:25432/popgis \
--schema shapefile \
--table andalucia
@try-shapefile-to-webmercator:
cargo build --release
cd ./target/release/ && ./popgis --input ../../examples/shapefile/andalucia.shp \
--uri postgresql://pio:password@localhost:25432/popgis \
--schema shapefile \
--table andalucia3857 \
--srid=4326 \
--reproject=3857
@try-geojson:
cargo build --release
cd ./target/release/ && ./popgis --input ../../examples/geojson/spain.geojson \
--uri postgresql://pio:password@localhost:25432/popgis \
--schema geojson \
--table spain
@try-geojson-to-webmercator:
cargo build --release
cd ./target/release/ && ./popgis --input ../../examples/geojson/spain.geojson \
--uri postgresql://pio:password@localhost:25432/popgis \
--schema geojson \
--table spain3857 \
--srid=4326 \
--reproject=3857
@try-osmpbf:
cargo build --release
cd ./target/release/ && ./popgis --input ../../examples/osmpbf/monaco-latest.osm.pbf \
--uri postgresql://pio:password@localhost:25432/popgis \
--schema osmpbf \
--table monaco \
@set-tags: