This is the port of the FOSDEM campus to c3nav.de data. We gather on irc.freenode.net#fosdem-nav to coordinate the work.
This needs to happen in http://nav.fosdem.org/editor .
What about connecting two outside areas properly? We have two fairly complex shapes. They're on the same level and should have been one continuous area in the first place. Just overlap them. This is also often done in the 33c3 maps with rooms, obstacles, buildings… anything that is of the same type and overlaps will be merged on map/graph creation (with a few exceptions like elevator levels).
The FOSDEM site as you may know is built on a slope: level 0 of the
campus main street is both level 0 and level 1 of the same building.
Does c3nav provide for that? How do we best enter information in that
situation?
Yes you can and yes it provides. :)
To connect levels, you need an intermedate level anyway. Thats a level that contains no buildings but rooms that represent staircases, escalators and slopes. these intermediate levels are connected to non-intermediate levels by levelconnectors, which are polygons belonging to mor than one level. (just look at level 0-1 oder 1-2 in c3nav-33c3 for more details… btw, if you want to go completely crazy look at the stairs and interwithin hall 1 and 2). These “intermediate rooms“ are slopes, if you dont add anything else to it. They only become escalators when you overlap them with an escalator area or if you add steps to it.
Some things to consider:
Make sure you have docker allready installed. If you do a fresh install make sure that your user has the right permissions and is in the docker group.
$ mkdir -p fosdem-map-data/map
$ cd fosdem-map-data/map
$ git clone git@github.com:FOSDEM/maps.git
$ docker pull c3nav/c3nav
$ cd ..
$ docker run --rm --name fosdem-map -v $(pwd):/data c3nav/c3nav loadmap
$ docker run --rm --name fosdem-map -v $(pwd):/data c3nav/c3nav build
$ docker run --rm --name fosdem-map -p 8042:8000 -v $(pwd):/data c3nav/c3nav runlocal
Maps should now be available at http://localhost:8042/.
Use the editor at http://localhost:8042/editor/.
When you're done adding a feature, run
$ docker run --rm --name fosdem-map -v $(pwd):/data c3nav/c3nav dumpmap
Then commit the changes.
To allow this server to act as nav.fosdem.org and use the fosdem maps, we created a file named ~/.c3nav.cfg
:
[c3nav] public_packages=map.fosdem.org [django] hosts = nav.fosdem.org