Ohio/Other/Main: Difference between revisions Discussion View history

(Updated OH Scripts section)
m (synced to wiki matching history up to)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
*<b> OHIO SPECIFIC SCRIPTS </b>
*<b> OHIO SPECIFIC SCRIPTS </b>
<br />
<br />
To assist with editing in Ohio several scripts have been created and have been rolled into a single script for ease of maintenance. The below script will load a tab in the left panel called OH Scripts and will have options to enable the 4 scripts that are specific to Ohio, and options for opening the current WME location in TIMS (Ohio's GIS system) or Google Map Maker (GMM).<br />
To assist with editing in Ohio several scripts have been created and have been rolled into a single script for ease of maintenance. The below script will load a tab in the left panel labeled "OH Scripts" which has options to enable the 4 scripts that are specific to Ohio and options for opening the current WME location in TIMS (Ohio's GIS system) and Google Map Maker (GMM).
 
<br />
[https://greasyfork.org/en/scripts/23799-wme-oh-scripts WME OH Scripts] <br />
[https://greasyfork.org/en/scripts/23799-wme-oh-scripts WME OH Scripts] <br />



Latest revision as of 19:08, 23 December 2016


  • OHIO SPECIFIC SCRIPTS


To assist with editing in Ohio several scripts have been created and have been rolled into a single script for ease of maintenance. The below script will load a tab in the left panel labeled "OH Scripts" which has options to enable the 4 scripts that are specific to Ohio and options for opening the current WME location in TIMS (Ohio's GIS system) and Google Map Maker (GMM).
WME OH Scripts


  • BOOKMARKLETS


Read here how to install bookmarklets

Open in TIMS - FC

javascript:(function(){var projI=new OpenLayers.Projection("EPSG:900913");var projE=new OpenLayers.Projection("EPSG:4326");var center_lonlat=(new OpenLayers.LonLat(Waze.map.center.lon,Waze.map.center.lat)).transform(projI,projE);var topleft=(new OpenLayers.LonLat(Waze.map.getExtent().left,Waze.map.getExtent().top)).transform(projI,projE);var bottomright=(new OpenLayers.LonLat(Waze.map.getExtent().right,Waze.map.getExtent().bottom)).transform(projI,projE);var lat=Math.round(center_lonlat.lat*1000000)/1000000;var lon=Math.round(center_lonlat.lon*1000000)/1000000;var spn=Math.abs(topleft.lat-bottomright.lat)+','+Math.abs(topleft.lon-bottomright.lon);var newZoom= (Waze.map.zoom + 12);window.open('https://gis.dot.state.oh.us/tims/map?center='+lon+','+lat+'&level='+newZoom+'&visiblelayers=odot-osip-1:0,1%7Codot-osip-2:0,3%7CAssets:-1%7CBoundaries:2%7CEnvironmental:-1%7CProjects:-1%7CRoadway%20Information:9%7CStrategic%20Transportation%20System:-1%7CSafety:-1','ODOT TIMS');})();

Open in TIMS - County Road Display

javascript:(function(){var projI=new OpenLayers.Projection("EPSG:900913");var projE=new OpenLayers.Projection("EPSG:4326");var center_lonlat=(new OpenLayers.LonLat(Waze.map.center.lon,Waze.map.center.lat)).transform(projI,projE);var topleft=(new OpenLayers.LonLat(Waze.map.getExtent().left,Waze.map.getExtent().top)).transform(projI,projE);var bottomright=(new OpenLayers.LonLat(Waze.map.getExtent().right,Waze.map.getExtent().bottom)).transform(projI,projE);var lat=Math.round(center_lonlat.lat*1000000)/1000000;var lon=Math.round(center_lonlat.lon*1000000)/1000000;var spn=Math.abs(topleft.lat-bottomright.lat)+','+Math.abs(topleft.lon-bottomright.lon);var newZoom= (Waze.map.zoom + 12);window.open('https://gis.dot.state.oh.us/tims/map?center='+lon+','+lat+'&level='+newZoom+'&visiblelayers=Assets:-1%7CEnvironmental:-1%7CProjects:-1%7CRoadway Information:8%7CStrategic Transportation System:-1','ODOT TIMS');})();