Comments (5)
Thank you for opening this issue! This has been on my mind but it's not something I've directly addressed yet. Using BUILD.md as a template I came up with this as a possible procedure for bringing up an instance with an arbitrary extract. There might be complications along the way but I like that it remains fairly simple, though not as simple as bringing up a city that BBBike covers.
-
Download an OSM extract and and put it inside of a "data" subdirectory e.g.
mkdir -p ./data && cd ./data && wget https://example.com/Atlantis.osm.pbf
-
Create a file in the data directory with the bounding box of your osm extract, formatted like:
minLat minLng maxLat maxLng
. As an example, the bounding box of the seattle metro area is approximately.-122.462 47.394 -122.005 47.831
-
Execute
make Atlantis
using your extract name. -
Make a
.env
file with configuration. See/copy.env.example
for defaults. In particular:HEADWAY_PUBLIC_URL
(Optional for fully local setup) Pick a base URL for the domain you wish to serve on, paying attention to scheme (http vs https), domain and port (if not default). This will look like "http://example.com" or "http://maps.example.com:8080". Please omit the trailing slash.HEADWAY_AREA
: The name of the osm extract (without the .osm.pbf suffix).
-
Execute
docker-compose up -d
to bring up a headway server on port 8080. -
(For internet-facing installations only) reverse-proxy internet traffic to port 8080.
from headway.
If this seems reasonable to people I'll probably try and iron out the issues later today or maybe sometime this week if I don't get to it today. I think there will be issues.
from headway.
Hi @ellenhp, have you started on this? I want to add my entire region of my country as nothing near me is available on BBBike. Your method for updating the Makefile is easy enough for me to do.
e.g. make custom NewZealandNorthIsland "-122.462 47.394 -122.005 47.831"
from headway.
I haven't started on this yet, and I'm on a small vacation right now so I won't be able to until I get back. I'm glad people are interested though! If you want to try feel free to comment here with any issues you find and any workarounds. Off the top of my head I know you'll need to define the bbox and the name like you did in your example command.
from headway.
This should be implemented now. See https://github.com/headwaymaps/headway/blob/main/BUILD.md for documentation and please do open issues if you find any!
from headway.
Related Issues (20)
- Support 3rd party Pelias endpoints
- Showing a locality POI should use an "outline" rather than a "pin" UI HOT 2
- The place URL doesn't update with subsequent searches unless you click "clear" HOT 1
- The map should start more zoomed in when possible HOT 1
- Allow to select other POIs while one is already selected HOT 5
- Show more data about POI when clicked HOT 1
- Change cursor when hovering over a POI HOT 1
- "Show my location" feature HOT 3
- _ HOT 6
- What format are the codes in the `--countries` build argument? HOT 3
- Increase `retry_count` pelias/services/wait.sh or make configurable HOT 5
- valhalla-build-polylines aborts HOT 2
- Question - How to pass multiple OTP-Instances to Transitmux using Earthfile HOT 6
- Headway, helm & hardening HOT 2
- Headway shows trip-items as "Walk" instead of "Subway" HOT 2
- about.maps.earth certificate error HOT 1
- Is there more documentatin besides BUILD.md HOT 5
- Error when building with north-america-latest HOT 2
- Integrating Overture Map's "Places theme"? HOT 1
- README seems incomplete or maybe it's a me issue? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headway.