title: Importing rasters into Netlogo
body: <p>I am trying to use the GIS Extension to import a raster map into NetLogo. Here is my code:</p>
  
  <pre><code>set map gis:load-dataset "C:/data/testraster5mglobal.asc"
  gis:set-world-envelope-ds gis:envelope-of map
  gis:apply-raster map hab
  ask patches with [ hab = 2] [set pcolor white]
  </code></pre>
  
  <p>In comparison with my raster (figure 1), the corridors represented in white do not appear entirely in NetLogo (figure 2). How can I resolve this problem ?</p>
  
  <p><strong>Figure 1</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/V8Rid.png" alt="enter image description here"></p>
  
  <p><strong>Figure 2</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/u0BRg.png" alt="enter image description here"></p>
  
  <p>Here is the header of my asc file:</p>
  
  <pre><code>ncols         8298
  nrows         8891
  xllcorner     616738.95851945
  yllcorner     4992014.9456261
  cellsize      5
  NODATA_value  -9999
  </code></pre>
  
  <p>Thanks in advance for your help.</p>