I am unable to load raster image into netlogo.
Following is the code i have used:
extensions [ gis ]
globals [ raster-dataset ]
set raster-dataset gis:load-dataset "D:/SUKHJIT PROJECT/1979sup2.asc"
The error message displayed:
Extension exception: only GEOGCS and PROJCS are supported error while observer running GIS:LOAD-DATASET called by procedure LOAD-RASTER called by Button 'Raster'
The image i am trying to load is an unsupervised classified raster image which i have converted in .asc format in ArcGIS.
Best How To :
That NetLogo code looks fine and is exactly the same syntax that I have successfully used in my project. One possibility is that the problem is with the format of the .asc data, it may have been corrupted. Try opening the .asc dataset with a text editor and check that it looks like the example given at ArcGIS doco. In particular, the first 6 lines have specific information about how much GIS data follows. If nothing is obviously wrong, please provide a screenshot of the top left corner (first 6 lines plus a bit) of your .asc file in the text editor.