NetLogo / NetLogo/GIS-Extension

`gis:create-turtles-from-points`: Turtle placed outside of envelope when envelope set to `gis:envelope-of` the dataset in question

Open
#40 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
36
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Steps to Reproduce:

Tried to create turtle outside GIS envelope at: (-85.04320641132607, 41.60757853756865, NaN). Try setting your GIS world envelope with gis:set-world-envelope (gis:envelope-union-of (gis:envelope-of your-first-dataset) (gis:envelope-of your-second-dataset) etc.))
  • Run show gis:world-envelope and observe the output [-85.35946191554375 -84.99406832484011 41.607578537568656 41.97297212827229]

The desired behavior should be for the turtle to be placed within the NetLogo world, even if it has to get nudged just a tiny bit to not be on the edge of the envelope

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the gis:create-turtles-from-points behavior and reproduce the case using the Chicago fire-stations dataset and an envelope from gis:envelope-of. Check how points on the gis:set-world-envelope boundary are handled; done means the turtle is created inside the NetLogo world without the outside-envelope error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.