Skip to content

NW/GIS: Update sample models to work in NetLogo Web#452

Open
LaCuneta wants to merge 1 commit into
mainfrom
nlw-extension-updates
Open

NW/GIS: Update sample models to work in NetLogo Web#452
LaCuneta wants to merge 1 commit into
mainfrom
nlw-extension-updates

Conversation

@LaCuneta

Copy link
Copy Markdown
Contributor

NetLogo Web has recently added support for the NW and GIS extensions. These extensions include data loading/saving commands that only work on the local file system, but now we've added string-based alternatives so NetLogo Web can load and save data for them, too. This PR updates the NW and GIS code examples to work with NetLogo Web.

  • Add a new GIS Airport Example, based on the GIS vector tutorial, and add its data files for reference or updates.
  • Update GIS General Examples and GIS Gradient Example to use embedded resources for their data; resources are still also kept in the report for reference or updates.
  • Update NW General Examples to include saving/loading networks to/from strings and loading from embedded resources.

The GHA tests did not pass, but I don't think they're passing on main, either. Manual tests all went fine for me in 7.0.4 and NLW latest. Let me know if you need any changes. Thanks!

@LaCuneta
LaCuneta force-pushed the nlw-extension-updates branch 2 times, most recently from e17ce53 to 759724f Compare July 24, 2026 18:45
- Add GIS Airport Example, based on the GIS vector tutorial
- Update GIS General Examples and GIS Gradient Example to use embedded
  resources for their data; resources are still kept in the report for
reference or updates.
- Update NW General Examples to include saving/loading networks to/from
  strings, saving files from strings, and loading from embedded
resources.
@LaCuneta
LaCuneta force-pushed the nlw-extension-updates branch from 759724f to 7dda839 Compare July 24, 2026 19:03
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.

1 participant