On December 8, 2013 New York City launched the NYC Crime Map. In collaboration with the NYC Police Department, the NYC Crime Map was developed in-house by DoITT GIS staff using Google’s Maps API, Places API and Maps Engine.
The application went through multiple rounds of intensive code reviews with Google engineers and rigorous regression testing by DoITT Quality Assurance staff. Map Engine Query Per Second (QPS) and Query Per Day (QPD) limits were increased to accommodate the expected high volume of traffic. These measures were taken to ensure a smooth release and positive experience for the users.
The application follows a responsive web design approach and is therefore optimized for most modern smartphones, tablets and desktop computers. The screenshots below demonstrate the layouts in a desktop browser and iPhone.
Crime Map in desktop.
Crime map in iPhone.
To protect privacy, crime data are located at the nearest intersection of a crime or the midpoint of a City block (approximately a street defined by two intersecting cross streets) for crimes occurring at a discrete addresses. For a detailed description of the data methodology, see the About page.
Crime can be visualized as graduated points, shaded precincts (i.e., choropleth) or a heat map. The graduated point view renders the data as points varying in size by the frequency of crimes at that specific location. In this way, locations with greater occurrence of crime will have a larger point. The precinct map aggregates the crime to the precinct level and normalizes the data showing aggregate crime rates (crimes per 1,000 people). The precinct view provides a city wide view of the data and allows for comparison of crimes across the different precincts that make up NYC. The heat map uses the Google Map API heatmap function to show the relative concentration or intensity of crime.
Local Law 39, passed by the City Council in May,2013, was the basis for the interactive crime map. This legislation provides the public with a more detailed view of crime within NYC than previously possible. As per the legislation, crime data is available for the current year and previous year and is aggregated by month, year to date and full year. The data will be updated monthly as it is received.
Posted in NYCityMap Release Notes | Tagged Crime, Crime Map, DoITT GIS, Google Map, map cache, mapping applications, NYC Police Department | Leave a Comment »
The previously mentioned NYCityMap interface changes are now live. These changes reflect usability improvements and address feedback received. The result is the preservation of existing functionality while streamlining the user interface. The changes are:
Addition of an Advanced tool. Within this are the previous tools that existed over the base map.
Replacing the slider with Map Type tool. Many users were confused by the slider and the ability to toggle between a cartographic map (Map) and the numerous years of aerial photography. All of these base maps still exist but are are now within the Map Type tool. The base map selected is shown by a check next to the entry.
Posted in NYCityMap Release Notes, We're Listening | 9 Comments »
The current release of NYCityMap includes interface updates and addresses issues resulting from the recent update of Chrome (version 29). The interface changes were a result of feedback received and are intended to improve the user experience.
The identify tool was removed; however the functionality still exists. The default tool (Pan) now handles this function similar to Google and Bing Maps. On single left click of the mouse, the tool identifies map features provided the user is zoomed enough to see the feature being identified. On left mouse hold the tool pans the map.
The code changes required due to the Chrome update were related to Dojo widets employed by NYCityMap. These widget were not rendering in Chrome properly. To those who were impacted by this issue, we apologize for the inconvenience. We had made the code changes and were already through testing and ready for release when the Chrome issue struck, We therefore released both changes together.
Well the story does not end there. We have since received feedback from some of our clients critical of the interface changes. We agreed with the feedback and have decided to make additional enhancements as follows:
- Remove the Pan tool entirely. This will be the default tool (pan/identify/zoom);
- Add zoom one level on left double-click of the mouse;
- Add an Advanced Tools button and place within the drag zoom, measure, save map and email a friend tools;
- Change the Show Aerial Photo tool to a button title Map Type. On click menu items will show the different Aerial Photography years.
- Change the drag zoom and measure tools to single action (i.e., after single use the tool defaults back to pan/identify/zoom.
These changes are underway and we expect to release these barring any unforeseen issues by the end of the month.
Posted in NYCityMap Release Notes | 2 Comments »
Coinciding with the release of the new New York City hurricane zones (see press release http://on.nyc.gov/12HfnB4) is the release of a new Hurricane Zone Finder application. The application was developed by NYC Department of Information Technology and Telecommunication (DoITT) in collaboration with the NYC Office of Emergency Management (OEM) and includes improvements over the previous version.
Application improvements include mobile browser support, address search enhancements, multi-modal transit directions and enhanced messaging. Additionally, the transparency of the hurricane zones can be adjusted to clearly display street names and landmarks for better orientation. To do so, click ‘Layer transparency…’ at the bottom of the legend.
NYC Hurricane Zone Finder
The new Hurricane Zone Finder application was developed using Google’s Maps Engine and Maps API. The hurricane zones and evacuation centers are stored in the cloud-based Maps Engine data store and published directly to the Google Maps API. Maps Engine is also queried to determine if the geocoded address is located within one of the six hurricane zones. Maps API and Maps Engine provided the ability to quickly develop an information-rich application while providing the necessary cloud resources to handle the traffic experienced during Hurricanes Irene and Sandy.
The evacuation centers are shown on the map and listed on the Evacuation Centers tab, in ascending order based on distance from the searched address. Directions are provided for each evacuation center or by default for the nearest evacuation center.
Evacuation Center Directions
When an evacuation order is announced, the application will specify for which evacuation zones the evacuation order is in effect for. At all other times, the residents of New York City can use the application for pre-planning and preparation.
Posted in NYCityMap Release Notes | 2 Comments »
Today’s snowfall may not have closed the City schools but it brought the third activation of PlowNYC. Developed at the request of Mayor Michael Bloomberg, and in collaboration with the Department of Sanitation, PlowNYC is a web-based mapping application that shows DSNY snow operations progress.
Streets are color-coded into time slices that represent the last time a street was serviced by a DSNY vehicle (plow or spreader). Figure 2 shows the time slices and the colors that represent them. Thus, in this case, streets with a color of green have been serviced in the last hour.
Global Positioning System (GPS) data are received from each equipped DSNY vehicle and transmitted to the operations center. The data is then coded to the street segment it falls on, with the time stamp of the GPS location. The streets are then processed to determine which time slice they fall within and then rendered as map tiles.
Due to the large amount of time required for data processing and map generation, the map is refreshed every fifteen minutes. The last and next update times are shown in the header. In Figure 1, the last update was at 9:45 am with the next update at 10:00 am.
New for this activation is a mobile-web version. Upon loading, individual devices are determined and the appropriate version of the application is served to the end user’s client (web or mobile). The mobile web version is accessed via the same url http://maps.nyc.gov/snow. Figure 3 shows how the application appears on an iPad.
PlowNYC is also accessible from the Office of Emergency Management’s Severe Weather site. the search form shown in Figure 4 is available during a PlowNYC activation.
PlowNYC shares many of the same components as NYCityMap. Geoserver and GeoWebCache are used to access and render the data as tiles. The mobile web version uses OpenLayers.
Posted in NYCityMap Release Notes | Leave a Comment »
In preparation for Hurricane Sandy, the DoITT GIS group launched a new Hurricane Evacuation Zone Finder on Friday October 26, 2012. The application was rapidly developed and deployed using Mapbox. Over the course of the devastating storm, there were nearly 6 million map views. We hope the information was easily understood and beneficial to the residents of NYC.
Mapbox is a cloud-based platform for publishing maps. The open source cartography tool TileMill was used to style the DoITT map data (layers). The layers were the updated evacuation zones and the evacuation centers. The City’s internal geocoding service Geosupport was utilized. With the ability of the cloud to handle large bursts in traffic and scale dynamically, DoITT GIS plans to utilize cloud-based offerings for future emergencies and large-scale events.
Posted in NYCityMap Release Notes | Leave a Comment »
The U.S. Constitution requires the redrawing every ten years of congressional and legislative boundaries (i.e., election districts) to account for shifts in population. This is referred to as redistricting. Concurrently, reapportionment is the redividing of a fixed number of seats in Congress (435) to be in proportion with a state’s population to the population in the U.S. As both of these efforts are based on population, they coincide with the U.S. Census Bureau’s decennial release of the federal census.
New York State convenes a Legislative Task Force to aid the legislature in meeting its constitutional mandate. This effort was completed earlier this year and resulted in new election districts. These new election districts apply to this coming election as they define the areas the to-be elected officials represent. In advance of these newly elected officials taking office in January, NYCityMap will be updated with the new election districts. There are numerous resources for comparing the new and old election districts. One of which is an interactive map from the New York Times.
Until then, NYCityMap will display the election districts for the currently elected officials. To see who is your elected official follow these instructions. To determine where to vote, use the Pollsite Locator. This site utilizes the new election districts to provide citizens their polling location based on the address of their residence.
Posted in NYC Geography Facts | 1 Comment »