Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friedjoff/google-maps-alternatives
Talk and code examples about alternatives to Google Maps
https://github.com/friedjoff/google-maps-alternatives
Last synced: 10 days ago
JSON representation
Talk and code examples about alternatives to Google Maps
- Host: GitHub
- URL: https://github.com/friedjoff/google-maps-alternatives
- Owner: friedjoff
- Created: 2019-04-03T06:38:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T07:21:26.000Z (almost 6 years ago)
- Last Synced: 2024-11-07T13:56:22.309Z (2 months ago)
- Language: HTML
- Size: 23.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Maps alternatives
Talk and code examples about alternatives to Google Maps.
* [Slides](https://github.com/friedjoff/google-maps-alternatives/raw/master/slides.pdf)
## Requirements
* [GDAL](https://www.gdal.org/)
* [tippecanoe](https://github.com/mapbox/tippecanoe)
* [Yarn](https://yarnpkg.com/lang/en/)## Getting started
* `yarn run georeferencing` to assign coordinates to citymap.jpg image.
* `yarn run reprojecting` to transform the image to Web Mercator projection.
* `yarn run tiling` to create raster tiles based on the georeferenced image.
* `yarn run generate-vector-tiles` to create vector tiles based on the GeoJSON file.
* Run `yarn install` and `yarn run serve-vector-tiles` to start a local vector tile server.
* Have a look at the code examples 1 to 6.## Overpass API queries
Query used to generate trees-small.json file:
```
[out:json][timeout:25];
(
node["natural"="tree"](47.9795383955,7.8295813256,48.0119900765,7.8759939415);
);
out body;
>;
out skel qt;
```Query used to generate trees-big.json file:
```
[out:json][timeout:250];
(
node["natural"="tree"](47.52681,7.503992,48.72392,9.246965);
);
out body;
>;
out skel qt;
```