-
Notifications
You must be signed in to change notification settings - Fork 4
Contributing
Requirements: MRT server member.
To start mapping, join MRT-Map's Discord server and ping 7d for the Mapper role. This role will give you access to a private channel for mappers only.
DO NOT push to the main branch or development branch (only 7d can cos he knows the standard :D); fork this repo and write the changes there, and also create a pull request for merging into the development branch. Optionally (but please do for your first time mapping), consult 7d to check if the standard is correct before pushing. Once a namespace is complete, your fork will then be merged into main at the discretion of 7d, and these changes will be deployed to the map itself.
Firstly, decide on a 3-letter namespace. All components in a single region / category you map will be under this namespace. This is to divide the components into separate files, as well as minimise ID collisions.
A list of namespaces can be found in #namespace-list in the MRT Mapping Services discord.
Stencil2 is an map data editor made by __7d. You can download it here.
The current version as of writing is v2.1.0. A manual is available here.
After plotting, export the data (to a folder).
Fork the map-data repository and upload (commit & push) the .pla2.msgpack files in the files folder.
When you are done, create a pull request onto this main repository. After 7d hand-checks the data for any mistakes or noncompliance, the data is merged and will be rendered in the next scheduled render.
- Map the roads. They are line components.
- A list of road types:
localHighwaySlip,bRoadSlip,aRoadSlip,localPedestrianQuaternaryRoad,localQuaternaryRoad,localPedestrianTertiaryRoad,localTertiaryRoad,localSecondaryRoad,localMainRoad,localHighway,bRoad,aRoad - If it is one-way, add
onewayto the tags - If it is elevated or underground, append
_elevatedor_underground. For example,localHighway_underground Pedestrian crossing? UsepedestrianCrossing(point component) on a node where there is a crossing- Dont map sidewalks!
- Highways should be mapped with two components, both oneway
- A list of road types:
- Map the paths in the city. This includes alleyways, park paths, but not sidewalks
- The type is
pathway._elevatedor_undergroundcan also be appended. - If your path is in the park you can map it together with the park
- The type is
- Map the railways going through the town. The tracks are line components as well.
- The only type is
rail. -
_elevatedand_undergroundalso can be appended too. - Rail crossing? Use
railCrossing(point component)
- The only type is
- Map the stations in the town.
- The type for station buildings is
transportBuildingand for platforms isplatform. If you have underground structures, append_underground. - The platform and the track components should share nodes, ie they shd be connected.
- Mark stations with
railStation(its a point component),andundergroundExitfor underground exits
- The type for station buildings is
- Map the buildings.
- The type is
building. There is also an_undergroundprefix. For city halls, usecityHall. - The buildings should not connect to the road.
- If you have rooftop gardens, map those as well.
- The type is
- Map the parks.
- The type for the area is
park. (Not a point component). - If you have a national park, don't map it yet.
- If you have a plaza, use
plaza.
- The type for the area is
- Mark individual services (optional)
- All are point components. They are
parking,bikeRack,shop,restaurant,hotel,arcade,supermarket,clinic,library,placeOfWorship,petrol,cinema,bank,gym,shelter,playground,fountain,taxiStand,pickUpDropOff,attraction
- All are point components. They are
- Map the zones of the city.
- Types:
residentialArea,industrialArea,commercialArea,officeArea,residentialOfficeArea,schoolArea,healthArea,agricultureArea,militaryArea - If you have a national park area don't use this
- You can anchor to other nodes for this, if possible.
- Types:
- Map heliports, seaplane ports, waterports, airports and bus stops.
- Types:
gate,apron,taxiway,runway,helipad.gateandhelipadare area components, not a point.taxiwayandrunwayare lines - For buildings use
transportBuilding - Mark bus stops and waterports with
ferryStoporbusStop - If it is a local ferry you can also map the route with
ferryLine
- Types:
- Map the natural features around your town. This includes national parks and empty patches
- Types:
grass,shrub,forest,stone,sand - If you have lakes use
waterSmall, if you are next to a large ocean usewaterLarge - If you have a small island use
landSmall; or if its large (like Kazeshima) uselandLarge
- Types:
- Map the subdivisions and town borders.
- Types:
subdistrict,district,town - They are area components
- Types:
- If you are mapping for the first time, check with me often if the format is correct. You might be mapping it wrong, who knows?
- You can reference nodes from another namespace.
- This Github thing is too convoluted for me! You can just dm it to 7d, he will check and upload it for you :)
-
When will my data appear on the map? Every hour a render job will be run on the main branch of
map-dataand the tiles will be updated with your new data automatically.