Difference between revisions of "Template:AddCode"

From Wazeopedia
(→‎Locking Segments: more details added; noted area manager override)
(→‎Locking Segments: fixed wikilink)
Line 44: Line 44:
* Connecting or disconnecting a different, unlocked segment
* Connecting or disconnecting a different, unlocked segment
* Deleting a segment connected to the locked segment
* Deleting a segment connected to the locked segment
* Changing the [[turn permissions]] of the locked segment
* Changing the [[Map_Editing_Quick-start_Guide#Turn_restrictions_.28allowed_turns.29|turn restrictions]] of the locked segment
==Moving segments beyond the limit==
==Moving segments beyond the limit==

Revision as of 01:03, 17 June 2012

Back to Map Editing

Login Position

To start Waze Map Editor at a particular position, (your home),

  1. Adjust the map display area the way you want it to start up in each time
  2. Click on the permalink link in the bottom right corner
  3. Bookmark this URL, and you'll always be at 'home' when you start Papyrus
  • The editor opens at the last location you were editing by default.
  • You can still create a bookmark from the Permalink and use that bookmark to open the editor
  • Sometimes, it is advantageous to allow the editor to open in the previous location, in case you have edits to complete from a previous editing session

Editing with roads layer off

You can edit roads and nodes without the road layer actually showing on the screen. Turn off the Roads overlay layer while leaving the Bing Aerial layer on. As the pointer hovers over the road or node element, you can then select it and make any necessary changes. This is useful for aligning to aerial images.

Deleting geometry nodes quickly

The d key may be held down while moving the cursor along a segment to delete nodes quickly as soon as the cursor reaches it. This will save you having to hit d dozens of times for very messy geometries.

Streets with no name or city

  • To create or edit segments without a city and/or street name, you must use the check the "No name" box for these fields.
  • Newly drawn streets can be saved without entering a city or street name, but they will show in red on the map and will not be available in the client or for routing
  • When drawing a new road, it cannot loop back onto itself and create a junction. You must have more than one segment.

Adjusting geometry of multiple selected segments

When multi-selecting streets (such as setting neighbourhood streets to set them as two-way), you can also adjust geometry of any selected segment as you hover over it without losing the selection set.

Editing a junction locks it

In areas with base maps, there is a distinction between junctions created or updated by the editors and junctions that have never been touched and were created during the base map upload process.

These junctions appear as if at the turns are forbidden, but you can route as if the turns are allowed. The routing algorithm will prefer routing using segments and junction whose turns are explicitly set by the users, but in case where there is no alternative, or it is fairly longer, it will route through where there are no explicit allowed turns.

Setting a road to 2-directional will not change the status of its nodes. However, once the node is edited, they are assumed to be strictly valid, just like nodes in areas without base maps.

Editing ranks and the locking feature

The Editing ranks page has more detailed information than the summaries below.


The permissions scheme in the Waze Map Editor allows users to gain editing ranks, using ranks from -1 to 6. This scheme is based on the user's experience in terms of edit count as well as the importance of each road.

Locking Segments

When you lock a segment, only a user with the same rank or higher can change this segment or an Area Manager covering that segment. Currently this includes all edits including, but not limited to:

  • Connecting or disconnecting a different, unlocked segment
  • Deleting a segment connected to the locked segment
  • Changing the turn restrictions of the locked segment

Moving segments beyond the limit

When the error checker is working, and you move the end of a segment a significant distance from its original ending or beginning location, such as when a section of road is missing and you are stretching a segment across the gap, you may get an error reading, "Could not save changes: Some elements were moved beyond the allowed limit."

Here are some workarounds:

  • Adjust the end a shorter distance and save, then repeat until the full gap is crossed.
  • Split the segment into two or perhaps more smaller segments.
  • Draw a new road, which you can stretch as much as you like before saving (often requires draw, pan map, stretch, pan map, etc.)

Speed cams

  • The last person to edit the speed cam or red light cam is basically locking it to his rank. A user with a lower rank will not be able to change or delete the camera, unless he is the owner of the camera or if it's in his area of management.
  • The camera direction (the direction from the center of the image to the red circle) defines the driving direction for the camera. The current camera image implies that the camera captures the traffic from behind. Don't be fooled.
  • The "30" on the speed cam icon is just part of the image and is not an indication of the actual speed the speed camera is set to.
  • The client warns about a speed camera if it is valid, points in the same direction as the road segment, and the driver is exceeding the limit set on the camera.
  • The client warns about a red light camera if it is valid and points in the same direction as the road segment.

Map Editor Bookmarklet Scripts

During the time of transition from the Cartouche map editor and the new editor (Waze Map Editor), there are functions which are not yet available in the new editor. Some switching back and forth may be necessary, especially for viewing Update Requests in the old Cartouche editor. In addition, there is a script to open the LiveMap with the current Waze Map Editor view.

To facilitate switching back and forth with the same view, here are several code snippets you can use for a bookmarklet in any modern browser. Even easier is a drag-n-drop solution on this dropbox page (AlanOfTheBerg's dropbox).

Open Cartouche in Waze Map Editor

javascript:(function(){var center_lonlat=new OpenLayers.LonLat(g_cartouche.map.center.lon,g_cartouche.map.center.lat);center_lonlat.transform(new OpenLayers.Projection("EPSG:900913"),new OpenLayers.Projection("EPSG:4326"));window.open('https://'+window.location.hostname+'/editor/?zoom='+(g_cartouche.map.zoom)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Waze Map Editor');})();

Open Waze Map Editor in Cartouche

javascript:(function(){var center_lonlat=new OpenLayers.LonLat(wazeMap.center.lon,wazeMap.center.lat);center_lonlat.transform(new OpenLayers.Projection("EPSG:900913"),new OpenLayers.Projection("EPSG:4326"));window.open('https://'+window.location.hostname+'/cartouche_old/?zoom='+(wazeMap.zoom)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Cartouche');})();

Open Waze Map Editor in LiveMap

javascript:(function(){var center_lonlat=new OpenLayers.LonLat(wazeMap.center.lon,wazeMap.center.lat);center_lonlat.transform(new OpenLayers.Projection("EPSG:900913"),new OpenLayers.Projection("EPSG:4326"));var mapZoom=(window.location.hostname=='world.waze.com' ? (wazeMap.zoom<5 ? (wazeMap.zoom<2 ? wazeMap.zoom+6 : wazeMap.zoom+5) : 9) : (wazeMap.zoom>10 ? wazeMap.zoom-11 : 0));window.open('http://'+window.location.hostname+'/livemap/?zoom='+mapZoom+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'LiveMap');})();

Open LiveMap in Waze Map Editor

javascript:(function(){var center_lonlat=OpenLayers.Layer.SphericalMercator.inverseMercator(g_map.getCenter().lon,g_map.getCenter().lat);var mapZoom=(window.location.hostname=='world.waze.com' ? (g_map.zoom>6 ? (g_map.zoom>7 ? g_map.zoom-5 : g_map.zoom-6) : 0) : (g_map.zoom>10 ? g_map.zoom-11 : 0));window.open('https://'+window.location.hostname+'/editor/?zoom='+mapZoom+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Waze Map Editor');})();

Expand size of Archive (Routes) Window

This script which can be made into a bookmarklet, will expand the size of the Archive window in old Cartouche to account for the recently changed filename length which pushes some window elements to the right causing them to be unavailable.

Change the 950px to a number of your choice if 950 isn't wide enough.


Expand size of Update Requests Window

This script which can be made into a bookmarklet, will expand the size of the Update Requests panel in old Cartouche to account for long usernames which can push some window elements to the right causing them to be unavailable.

Change the 500px to a number of your choice if 500 isn't wide enough.


Plugins, Extensions and Tools

Please see the Community Plugins, Extensions and Tools for details on the Waze Map Editor extension/addon to allow easy correction of smudged cities, misspellings, etc.

Back to Map Editing