Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timothycarambat/the_www_tileserver
Tile Server for The World Wide Web App. This is a package that uses a custom tileserver that you can POST to and Update a GeoJSON file live!
https://github.com/timothycarambat/the_www_tileserver
api aws ec2 geojson geojson-files geojson-parser microserver node rest rest-api tile-server tileserver webtiles
Last synced: 12 days ago
JSON representation
Tile Server for The World Wide Web App. This is a package that uses a custom tileserver that you can POST to and Update a GeoJSON file live!
- Host: GitHub
- URL: https://github.com/timothycarambat/the_www_tileserver
- Owner: timothycarambat
- License: mit
- Created: 2019-10-21T06:08:41.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T02:40:08.000Z (about 5 years ago)
- Last Synced: 2024-12-13T19:14:37.046Z (about 1 month ago)
- Topics: api, aws, ec2, geojson, geojson-files, geojson-parser, microserver, node, rest, rest-api, tile-server, tileserver, webtiles
- Language: TypeScript
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Actual Worldwide Web
## This is a support service for "The World Wide Web" application.
This application is a simple tileserver that stands alone and serves tiles to
the application via an endpoint through the Leaflet api. By default this app loads and serves
files out of the `data` folder. If you hit the application on port 80 it will show whatever is in
the `public` folder or just a list of available geojson files.To request tiles you should send a request like this
`http://localhost:8123/[geojson file name in data dir you want to source]/{z}/{x}/{y}.geojson`This application is a fork of Erik Vullings geojson-tile-server NPM package, but has
been modified to take a coordinate GEOJSON and append it to an existing geojson file.When a file is update the server then reloads the geojson files so tiles being served
are the most up to date ones.You may need to create the `data` folder and you can copy the `sample.geojson` into the directory to get started.
Name it whatever you want.
If you change the main file when to appending results you are will need to modify and reserve
with the following changes
```
const geoJSONFile = path.join(__dirname, `../data/sample.geojson`);
options.data = './data'
options.port = 8123
```
To start running on production use `forever` inside the app directory
`forever -c "npm run start" -o log/logfile.log ./`