Map Editing Tips and Hints: Difference between revisions Discussion View history

m (modified 'segment beyond limit' workaround slightly)
m (Removed cartouche-specific scriptlets)
Line 84: Line 84:
===Open LiveMap in Waze Map Editor===
===Open LiveMap in Waze Map Editor===
<span style="font-family:Courier;font-size:small;"><nowiki>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');})();</nowiki></span>
<span style="font-family:Courier;font-size:small;"><nowiki>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');})();</nowiki></span>
===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.
<span style="font-family:Courier;font-size:small;"><nowiki>javascript:(function(){document.getElementById('archivePanel').style.width='950px';})();</nowiki></span>
===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.
<span style="font-family:Courier;font-size:small;"><nowiki>javascript:(function(){document.getElementById('updateRequestPanel').style.width='500px';})();</nowiki></span>





Revision as of 17:26, 4 December 2012

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 the editor.
  • 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 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 sets the turn restrictions

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 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 initially draw or stretch as much as you like before saving


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

Several very useful bookmarklet scripts have been developed to enhance the map editing process.

To facilitate rapid switching between maps with the same map 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).

Although the old Cartouche map editor is near retirement, there are functions which are not yet available in the new editor. Therefore some switching between editors is still necessary, especially for viewing Update Requests in the old Cartouche editor.

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');})();


Bookmarklets for specific states and regions

If you know of a script for a specific area, please add it to this list or request for it to be added here.


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