Skip to content

Vector analysis tutorial: new NC dataset - #149

Open
Valyrian-Code wants to merge 1 commit into
OSGeo:mainfrom
Valyrian-Code:vector-analysis-raleigh
Open

Valyrian-Code wants to merge 1 commit into
OSGeo:mainfrom
Valyrian-Code:vector-analysis-raleigh

Conversation

@Valyrian-Code

@Valyrian-Code Valyrian-Code commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Moves the vector analysis tutorial to the new Raleigh dataset, as offered in #136.

  • schools now use elem = 'yes' instead of GLEVEL
  • major roads are picked from the OSM roads by highway
  • ZIP code areas are clipped to the study area first, since they run past its edge and the per-ZIP counts would come out low otherwise
  • the scale bar shows 5 km since 10 km no longer fit, and it moved to the bottom left: these maps fill the frame, and every spot along the bottom right covers a school

All numbers and tables come from running the cells, and I double checked the main counts with v.distance and v.what.vect.

I left viewshed on its own data. It's built around the Nantahala fire towers, and Raleigh only has about 140 m of relief against roughly 1160 m there.

Move the tutorial from nc_spm_08_grass7 to raleigh_northcarolina_usa_epsg6542
and work in its mapset_1.

The new schools layer flags levels with elem, middle and high instead of a
single GLEVEL column, so the elementary selection uses elem = 'yes'. Major roads
are extracted from the OpenStreetMap roads by their highway class.

The ZIP code areas extend beyond the study area while the schools and roads
stop at its edge, so they are clipped to the region first. Without that, the
per-ZIP school counts would undercount the ZIP codes cut by the edge.

The scale bar shows 5 km, since the default 10 km bar no longer fit the
narrower maps, and sits bottom left where it covers no school.
Copilot AI balanced review requested due to automatic review settings October 14, 2026 17:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants