Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 794 Bytes

File metadata and controls

23 lines (13 loc) · 794 Bytes

README

Quick Start

Donwload Shapefile from here and put it on a folder called data.

Start composition:

  • docker compose up -d

Load data:

  • docker run --network=vtiles-postgis_bridge1 -v "${PWD}/data:/mnt" ghcr.io/osgeo/gdal:ubuntu-full-3.8.4 \ ogr2ogr -a_srs "EPSG:3763" -t_srs "EPSG:4326" -f "PostgreSQL" PG:"dbname='db' user='postgres' host='db'" /mnt/CRUS+_31_julho2024.shp -lco GEOMETRY_NAME=geom -lco FID=OBJECTID -lco precision=NO -lco SPATIAL_INDEX=GIST \ -nlt PROMOTE_TO_MULTI -nln crus_31_julho2024 -overwrite

Restart docker compose:

  • docker compose restart

Open html file

comment/uncomment the martin and pg_tileserv code. View the benchmarking results in the console of the developer tools.