code:work:lvisf:2021:rtp:server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
code:work:lvisf:2021:rtp:server [2022/02/02 22:13] – [Viewing local tiles] david | code:work:lvisf:2021:rtp:server [2022/02/02 22:39] (current) – [Subdivisions] david | ||
---|---|---|---|
Line 520: | Line 520: | ||
If you want a smaller **pbf** file which should take less time to ingest, you can grab the subdivisions here: | If you want a smaller **pbf** file which should take less time to ingest, you can grab the subdivisions here: | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | < | ||
+ | time osm2pgsql -d gis --create --slim | ||
+ | time osm2pgsql -d gis --append --slim | ||
+ | </ | ||
Line 634: | Line 639: | ||
* Try our locally hosted map now! [[http:// | * Try our locally hosted map now! [[http:// | ||
- | Put this into **leaflet.html** in your html folder | + | - Put this into **leaflet.html** in your html folder <code html> |
- | + | ||
- | <code html> | + | |
< | < | ||
<html lang=" | <html lang=" | ||
Line 677: | Line 680: | ||
</ | </ | ||
</ | </ | ||
+ | </ | ||
+ | - And modify the line that renders the tile layer with this line < | ||
+ | L.tileLayer(' | ||
</ | </ |
code/work/lvisf/2021/rtp/server.1643840013.txt.gz · Last modified: 2022/02/02 22:13 by david