Difference between revisions of "Map Editing Tips and Hints"

From Wazeopedia
Line 72: Line 72:
 
===Open Papyrus in LiveMap===
 
===Open Papyrus in LiveMap===
 
<span style="font-family:Courier;font-size:small;"><nowiki>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+'/livemap/?zoom='+(wazeMap.zoom<5 ? wazeMap.zoom+11 : 15)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'LiveMap');})();</nowiki></span>
 
<span style="font-family:Courier;font-size:small;"><nowiki>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+'/livemap/?zoom='+(wazeMap.zoom<5 ? wazeMap.zoom+11 : 15)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'LiveMap');})();</nowiki></span>
 +
 +
===Open LiveMap in Papyrus===
 +
<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);window.open('http://'+window.location.hostname+'/cartouche/?zoom='+(g_map.zoom>10 ? g_map.zoom-11 : 0)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Papyrus');})();</nowiki></span>
  
 
[[Map Editing (new Editor)|Back to Map Editing]]
 
[[Map Editing (new Editor)|Back to Map Editing]]

Revision as of 15:53, 12 October 2011

Back to Map Editing


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

Permissions

We are working on a permissions scheme that will enable users to gain 'editing' credit, using ranks from 0 to 5. The new scheme will be based on the user's experience 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'));window.open('http://'+window.location.hostname+'/livemap/?zoom='+(wazeMap.zoom<5 ? wazeMap.zoom+11 : 15)+'&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);window.open('http://'+window.location.hostname+'/cartouche/?zoom='+(g_map.zoom>10 ? g_map.zoom-11 : 0)+'&lon='+center_lonlat.lon+'&lat='+center_lonlat.lat,'Papyrus');})();

Back to Map Editing