Map Editing Tips and Hints View history

Revision as of 16:56, 22 November 2011 by Alanoftheberg (talk | contribs)

Login Position

To start Papyrus 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 do in 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 Aerial overlay layer. 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 use two segments.

Adjusting geometry of multiple selected segments

When multi-selecting streets (such as setting neighborhood 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.

Permissions

The permissions scheme in the Papyrus editor allows users to gain editing ranks, using ranks from 0 to 5. 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. At the moment this includes all edits, including connecting a different, unlocked segment to it.

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.

Scripts to help move between editors and LiveMap

During the time of transition from the Cartouche map editor and the new editor (Papyrus), 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 Papyrus view.

To facilitate switching back and forth with the same view, here are two 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 Papyrus

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('http://'+window.location.hostname+'/cartouche/?zoom='+(g_cartouche.map.zoom)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Papyrus');})();

Open Papyrus 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('http://'+window.location.hostname+'/cartouche_old/?zoom='+(wazeMap.zoom)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'oldCartouche');})();

Open Papyrus 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 Papyrus

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('http://'+window.location.hostname+'/cartouche/?zoom='+mapZoom+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Papyrus');})();

Community Plugins, Extensions and Tools

The Waze community has created the following plugins or extensions for use in the Waze web-based environments.

For Firefox, these scripts require the Greasemonkey Addon.

Papyrus Extended Tools

This plugin/extension which displays a table of all the current view's country, state, city and street names. You can select all segments of a street using a custom button. This extension makes it very easy to find and fix incorrect cities and states (for the US) and bad street names.

This table of information appears on the left side of the window, to the left of the map display area, and underneath the Properties drawer. If you don't see it, retract the Properties drawer.

Download the Papyrus Extended Tools

LiveMap Navigation List

This plugin/extension works with the Waze LiveMap only. After installing, create a route in the LiveMap by clicking on the origin and destination. Once the LiveMap requests the route, the left side area will switch from the current events scrolling list, to a navigation list of the route. Multiple routes are displayed. Each turn is clickable and the map will zoom to that location.

Download the LiveMap Navigation List


Back to Map Editing