Skip to content

Demo applications based on Wegue (WebGIS with OpenLayers and Vue.js)

License

Notifications You must be signed in to change notification settings

meggsimum/wegue-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

de8afd1 · Feb 6, 2023
Mar 18, 2021
Dec 9, 2022
Feb 6, 2023
Aug 26, 2021
Sep 13, 2018
Dec 15, 2022
Nov 29, 2017
Dec 14, 2022
Dec 14, 2022
May 24, 2020
Apr 29, 2021
Oct 14, 2020
Sep 4, 2017
Sep 4, 2017
Mar 31, 2022
Apr 18, 2019
Jan 10, 2022
Sep 4, 2017
Aug 8, 2019
Nov 29, 2017
Feb 6, 2023
May 4, 2021
May 4, 2021
Aug 23, 2022
Dec 15, 2022

Repository files navigation

Wegue Demo

A demo of a webmap using Wegue.

Setup

# install dependencies
npm i

# dev setup
npm run serve

# build for production
npm run build

Update to latest Wegue

# pull the version you want by specifying a commit hash
git pull official-wegue-origin <commit-hash>

# ... solve conflicts if there are any ...

Data

We use Natural Earth data. Since these layers contain a lot of attributes, we only select a few ones using ogr2ogr:

ogr2ogr \
  -f GeoJSON \
  app/static/data/places.json \
  https://raw.githubusercontent.com/martynafford/natural-earth-geojson/master/110m/cultural/ne_110m_populated_places.json \
  -select 'NAME,ADM0NAME,POP_MAX,TIMEZONE'

ogr2ogr \
  -f GeoJSON \
  app/static/data/countries.json \
  https://raw.githubusercontent.com/martynafford/natural-earth-geojson/master/110m/cultural/ne_110m_admin_0_countries.json \
  -select 'NAME,NAME_LONG,POP_EST'

ogr2ogr \
  -f GeoJSON \
  app/static/data/timezones.json \
  https://raw.githubusercontent.com/martynafford/natural-earth-geojson/master/10m/cultural/ne_10m_time_zones.json -select 'NAME'

About

Demo applications based on Wegue (WebGIS with OpenLayers and Vue.js)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages