Before she left, Chris created two new tutorials to introduce new users to web mapping. Introduction to Carto is for students who register for the Github Student Developer Pack. Learn how to create interactive thematic and reference maps that you can embed and share with others. If you want to create full-fledged presentations that incorporate text, maps, and other multimedia, then check out our ESRI Story Maps tutorial. Create an ArcGIS Online account to get started with telling your stories. These and other tutorials are available via our Resources page.
In other news, I've posted an updated spreadsheet that lists all the non-profits in New York City as of June 2019. See the IRS Tax Exempt Organizations. A reminder that the GIS Lab will be closed for the next two weeks. We'll be back in business on July 15th.
We've just updated our NYC Mass Transit Spatial Layers series, using the MTA's static data feed. This is the most comprehensive update that's we've done in a while, updating stops and routes for the buses, trains, and subway stops. There are a few noteworthy changes. First, the Metro-North routes now actually reflect the routes the trains travel, in that the lines follow the location of tracks. In previous versions the routes were simply straight lines drawn between stations, which made the layer useful for creating metropolitan-level schematics but not much else. With this update, the Metro-North routes layer is now just as good as the subway and LIRR layers for depicting the geographic location of routes:
The second big change is that we've created QGIS style files for the Metro-North, LIRR, and subway routes. If you add the shapefile to QGIS it will read the accompanying qml file by default and assign appropriate colors and thickness to each line, representing how the routes appear on transit maps. The LIRR styles incorporate overlay ordering, so the lines are drawn on top of one another in a way that approximates the transit map. The subway and Metro-North styles incorporate offsets so you can see lines that run side by side, without one line covering up all the others. You can see an offset example in the image above for Metro-North. If you'd prefer not to apply the styles, you can either turn them off in the symbology tab or move / delete the qml file that accompanies the shapefile.
Last, while we've recently been including the color hex code in the attribute table of each of the routes file, we've modified these attributes to insert the pound symbol in front of the six-digit code so you can readily apply these colors in QGIS. For example, for the bus routes if you go into the Symbology Tab under the Properties menu and select Single line, beside the color drop down you can click the data defined button, and for field type string you can specify the color field:
After making the selection and applying it, each line is symbolized using the color stored in this attribute column:
This is a quick way for assigning colors. It won't display the colors by line in the legend; to do that you would need to create a style file. ArcGIS users can also use the colors stored in the table to create layer files, which are the equivalent of QGIS qml styles.
As always, we've moved the older transit layers to our NYC Mass Transit Spatial Layers Archive. No updates yet for subway ridership I'm afraid. We'll keep an eye on it and will post an update shortly after the data becomes available.
It's been a busy semester, and I have a few updates to share. First and foremost, Ryan has finished a new QGIS Raster Tutorial. Our previous tutorial received a lot of downloads but was now too far out of date, so he wrote a completely new one for QGIS 3.4 that covers the fundamentals of working with rasters. It uses surface temperature and land use and land cover data in NYC as examples. The tutorial and sample data are licensed under Creative Commons for anyone to use and share, so check it out!
- I've updated the GIS Practicum manual for QGIS, moving us from 2.18 Las Palmas to 3.4 Madeira.
- Chris has created updated versions of the CUNY Campus Facilities layers for CUNY campus buildings and properties; our first update for this series in several years.
- We've updated the NYC Geocoded Real Estate Sales database, with new data for 2018 sales.
- I've posted new PATH train ridership data on the NYC Mass Transit Spatial Layers page.
Next items on the list: an update of our NYC mass transit features for May and a probably a new version of the NYC Geodatabase in July. Between now and then we should also hopefully have updates for NYC subway ridership for 2018 (the MTA hasn't posted new data yet). I'm working with Andrew at NYU to get many of our updates posted in their spatial repository, as it's been a couple years since we've actively collaborated on this.
I've also posted hours for the GIS Lab this summer. We'll be open for the last week of May and practically all of June, but will shut down June 28 through July 12. We'll open again Mon-Thu for the remainder of July. August is still a toss-up at this point, so stay tuned.
We've managed to squeeze in a few data updates before the end of the year. It's been a year since our last update to the NYC Geodatabase but we finally have a new edition for January 2019. This one contains a lot of updates: new census data tables for the 2013-2017 ACS and 2016 ZBP, ridership data from 2017 for the NYC subway and PATH trains, a new subway stations layer, and all new layers for facilities (colleges, hospitals, libraries, and schools) from 2018. The data dictionary has been updated so you can read about the changes in more detail; in particular there have been some issues with the facilities layers that have forced us to modify those files from previous versions.
Some smaller updates: we have a new data file listing IRS Tax Exempt Organizations in NYC (non-profits) as of December 2018, and have updated all the map links in the NYC data guide to point to the latest version of the census ACS.
The GIS Lab will be closed for a bit until the holidays have passed. Our hours for the winter session have been posted, and midway through January we'll post hours for spring 2019. Happy New Year!
We just completed an update for the NYC Mass Transit Spatial Layers series where we've created new data for the bus and express bus stops and routes. This update is a big one, as there were significant changes to bus stops and routes in Staten Island. We also updated the subway stops layer as a new attribute column was available that indicates whether the stop is underground, above ground, or elevated. We chose not to update the subway routes or any of the rail layers; for one thing there are no changes from the current source data and the last published version. The other reason is that we make a number of manual fixes to points and lines because the data is bad (Metro North) or the MTA has failed to update it (the subway routes file in the GTFS static feed still does not include the 2nd avenue subway, two years after it opened). Rather than redo all of our work, we're keeping the same files since there were no actual changes.
We're a little behind in releasing updates for our datasets, since I was away last academic year and we're still in the process of getting the lab back in shape. We recently completed a few updates:
- NYC Geocoded Real Estate Sales: we've added sales for 2017. There's a shapefile with all 2017 sales, and an updated Spatialite database that contains sales for all years from 2003 to 2017.
- NYC Mass Transit Spatial Layers: we've updated the ridership statistics to include data for 2017 for the NYC subway and the PATH train. The data is published in spreadsheet format.
Updates for the future? We're aiming to release a new version of our NYC mass transit layers (points and lines for buses and trains) for the month of November before this semester is over. The next version of the NYC Geodatabase will be the January 2019 iteration, which will include not just the usual ACS updates but all the updates we missed this summer (schools, hospitals, libraries, subway stations and ridership, and ZBP data). Stay tuned!
GISMO (the local chapter of the NY State GIS Association) is hosting a GIS job fair on Wednesday November 14, 2018 at Hunter College CUNY. The fair runs from 1pm to 5pm and is located in the Hunter College West Building. For more information and to register visit http://www.gismonyc.org/events/upcoming/.
The library has recently purchased updated data from the China Data Center: the 2015 edition of the China City Statistical Indicators with Maps. Data is provided in point and polygon shapefiles and in a tabular Excel format for Prefecture-level and County-level cities. Cities in China differ from the North American model, in that they represent areas that contain both urban and rural components and they cover the country in it's entirety. The point shapefiles represents the center of the urbanized area, while polygon files represent the entire administrative or legal area. Provinces are the 1st-level administrative sub-divisions of China, Prefectures are the 2nd-level, and Counties are the 3rd.
The data includes several demographic and socio-economic indicators, many for the prefectures and fewer for the counties. You can view an index of the available variables and files on the China Data Center Datasets page. The data is copyrighted for educational, non-commercial use and our license permits us to share the data only with current Baruch students, faculty, and staff. Current members of the Baruch College community can email us (using your CUNY email address) to request access to specific files.
Registration is now open for the fall semester’s GIS (geographic information systems) Practicum, Introduction to GIS Using Open Source Software (featuring QGIS). The sessions will be held in the GIS Lab at Baruch College:
- Friday Oct 26th
- Friday Nov 16th
The day-long workshop runs from 9am to 4:30pm. Current CUNY graduate students, faculty, and staff, and full-time Baruch undergrads are eligible to register. Advance registration is required; the fee is $30 and includes a detailed tutorial manual and a light breakfast. Participants must bring their own laptop with QGIS 2.18 pre-installed in order to take the class. Visit the GIS Practicum page to learn more and to register: http://guides.newman.baruch.cuny.edu/gis/gisprac.
If you are using the NYC Geodatabase with QGIS 3.2 (and possibly 3.0) and are not able to view certain layers (i.e. you drag them into the map view and nothing appears), this is due to some bug with how QGIS reads Spatialite layers that have spatial indexes. The following layers are affected: a_pumas2010, a_tracts, and a_zctas. To get them to display, you can disable the spatial index. You can do this is the Spatialite GUI or the QGIS DB Manager by running this command in the SQL window:
SELECT DisableSpatialIndex('LAYER', 'geometry');
Where LAYER is the name of the layer in quotes, i.e. 'a_tracts'. Run this command on each of the three layers. Then refresh the database or remove the connection and re-establish it, and try adding the layers to the view. You should be back in business.
Alternatively, you could go back to using QGIS 2.18, which is still the long term release and is inherently more stable and hassle free.
Janine's last day working for the GIS lab today - she will be sorely missed! While she and Anastasia are off to new adventures and my academic leave continues during the summer, the lab will be closed in July and August. I'll be back the first week of fall and will be recruiting for a new lab assistant position (possibly two), so look for an announcement here sometime in August.
Janine was pretty busy before she left - here are some updates:
- The national IRS Migration Database has been updated with a new year of data. For state to state and county to county flows the newest year is 2015-16.
- The NYC Mass Transit Spatial Layers have been updated with new stop and line features for all the buses and the subway. The subway update reflects the re-opening of the South Ferry station and the shut down of the older South Ferry Loop at the southern end of the 1 Line. The source data for the regional trains hasn't changed, so we skipped updates for those.
- We have a new IRS Tax Exempt Organizations file for NYC for June 2018, listing all the non-profits in the city.
Some of the other datasets that we usually release around this time of year will be delayed until I return in the fall. This includes: 2017 ridership data for the subway and PATH, NYC real estate sales for 2017, and an updated version of the NYC Geodatabase.
As for the GIS Practicum, I won't be updating the manual this year as QGIS 2.18 will continue to be the long term release (LTR) until the end of October 2018. I plan on running a couple of workshops in the fall based on it, and you can sign up to be notified by email when registration opens. As the final version of the 2.x series 2.18 will continue to be supported for a few more years. I will eventually update the manual to the new LTR 3.4 in 2019, but it probably won't happen until mid to late spring.
We've recently updated several of our datasets:
- NYC Mass Transit Spatial Layers: Janine created updated files for the buses last semester; since there were no changes to the subway and train files we let those go.
- NYC Geodatabase: I created version jan2018 with updates to the census American Community Survey data tables for PUMAs, ZCTAs, and census tracts. The new tables are from the 2012-2016 ACS.
- IRS Tax Exempt Organizations: We added a new file for dec2017, a list of all the non-profits in NYC.
- US Presidential Election County Results: The government deleted this data from their servers, so we've saved it. Boundaries and tables for 2004, 2008, and 2012.
The GIS Lab is now open for business for the spring semester. I'm still away on leave until the end of August, but Janine continues to captain the ship and is in on Thursdays and Fridays. GIS Lab hours for the spring are posted.
So this summer we're taking our show on the road! The Free and Open Source for Geospatial (FOSS4G) conference is "the" international conference for all things related to geospatial technology and open source software. FOSS4G 2017 is in Boston August 14-18 and the Baruch GIS team will be there. We'll be running our full-day introductory GIS Practicum workshop (re-dubbed "Introduction to GIS Using QGIS" for the conference) at the Harvard Center for Geographic Analysis in Cambridge on Tuesday Aug 15th. There are a slew of great workshops being offered that Monday and Tuesday, covering all technologies and user levels. The main conference runs from Wednesday to Friday.
In preparation for the conference and the upcoming academic year, I will be updating the GIS Practicum manual pretty soon. While QGIS 2.18 Las Palmas is currently the latest release, it is scheduled to become the new Long Term Release once version 3.0 comes out later this year. I'm going to make the switch from 2.14 to 2.18 in the next workbook, since this change is on the horizon.
We've just released the latest (our 10th version!) of the NYC Geodatabase, our foundational resource for mapping and analyzing NYC city-level features and data in GIS. We're continuing to offer two formats with identical content - a Spatialite version for QGIS and Spatialite users, and an MS Access personal geodatabase for ArcGIS folks.
There are a number of noteworthy updates in this new version (July 2017):
- All of the facility point features (colleges, hospitals, libraries, private and public schools) have been updated with new data from May 2017, replacing the data from 2015. The City Dept of Planning has upgraded and reconfigured their Facilities database (FacDB) so there are differences in how the attribute tables are structured.
- New ZIP Code Business Patterns (ZBP) data has been added for 2015, replacing the data from 2014. As before, we've aggregated the ZIP Code data to the ZCTA level, but this time we've used an updated version of the ZIP to ZCTA crosswalk. This crosswalk contains updates and a number of error corrections in ZIP assignments. Most of the fixes are minor (in NYC there were 19 reassignments; the most significant ones were the reassignment of ZIPs 11249 and 10118 to different ZCTAs), but for the sake of consistency I've gone back and updated all of our old ZBP data (2010 to 2014) and published these as text files in an addendum in the NYC Geodatabase Archive, in case anyone needs to go back in time. The updated crosswalk is stored in the database as the b_zips_to_zcta table.
- We have new NYC subway ridership data for 2016 for the subway_complexes table, along with an updated notes table with information on station closures. The W train (relaunched in 2016) has been added to the list of attributes, but the new 2nd Ave subway stations (and the rerouting of the Q train) have not. These stations opened on Jan 1, 2017, so we have no ridership data for 2016. These stations are included in the subway_stations table, which we have not updated since January as there were no salient changes,
- Lastly, we have 2016 ridership data for the PATH train stations in NYC, in the path_stations file.
Related to this work, I've created / updated a couple of resources outside of the NYC Geodatabase:
- I often get requests for ridership data from folks who are not database or GIS users, so I've provided it in a spreadsheet format. The first workbook is for the NYC Subway and contains both the ridership data from the geodatabase and the service notes. The second workbook is for the PATH Train; unlike the geodatabase it contains ridership for ALL of the stations (not just the ones in NYC). Both workbooks contain a metadata sheet that covers the sources and content. Both spreadsheets are available on the NYC Mass Transit Spatial Layers page.
- Under the NYC Geographies resources I've updated the NYC ZIP to ZCTA crosswalk spreadsheet. It contains a metadata worksheet that explains how the crosswalk was generated (using a national crosswalk file from Nov 2015 created by the UDS Mapper and distributed by the MCDC, and the MCDC's 2014geocorr engine for relating ZCTAs to counties). So if you have ZIP Code-level data that you want to aggregate by ZCTA (so you can map the data by ZCTA or associate it with ZCTA-level census data) you can use this spreadsheet or the b_zips_to_zcta table in the geodatabase.
Janine has cranked out a new version of our recently released IRS Migration Database, which contains state to state and county to county flows that represent where tax filers have moved from year to year. Here are the salient changes:
- We have added the two latest years of data: 2013-14 and 2014-15.
- Beginning with 2013-14 the IRS added a new category to the state migration files to count internal state migrants. In the past, any filer who remained in the state was counted as a non-migrant, but now non-migrants are counted as filers whose address did not change. If they moved within the same state they are counted in a new, separate category as internal migrants. Since the non-migrants and internal migrant categories are mutually exclusive, both are stored in the regular inflow and outflow tables. The county migration tables do not have a comparable category: any person who remained in the same county was counted as a non-migrant, even if their address within the county changed.
- Beginning with 2013-14 the IRS increased the thresholds for disclosure in reporting migration flows. Individual state to state flows were suppressed if there were less than 10 migrant filers (previously the threshold was 3). Individual county to county flows were suppressed if there were less than 20 migrant filers (previously the threshold was 10).
- For this iteration of our database, we modified the county tables by moving records for Other Flows by US region (Northeast, Midwest, South, and West) from the regular inflow and outflow tables to the totals tables from 1995-1996 forward. These categories represent subdivisions of the Other Flows - Different State category. For these filers, their specific county of origin or destination is not tabulated because the total number of migrants was too small and fell under the disclosure thresholds. So they were aggregated into categories for Other Flows - Same State and Other Flows - Different State. For the latter, subcategories were provided that indicated the number of migrants from the other states by region; since these values are not mutually exclusive (they represent portions of Other Flows - Different State) they were moved out of the inflow and outflow tables and into the totals tables to avoid double counting. The state tables were unaffected, as their flows are not categorized in this manner.
- The way the Other Flows - Different State category was tabulated for counties prior to 1995-1996 was quite different; in these years, the categories represent different levels of specificity that were allowed by the disclosure rules. If the number of migrants could be reliably reported by region, then other flows categories for regions were reported. If this was not possible, then the region data was collapsed into one Other Flows - Different State category. For these earlier years these categories were mutually exclusive, so this data remains in the regular inflow and outflow tables.