extension exception: 1944553 while applying raster netlogo gis

﹥>﹥吖頭↗ 提交于 2019-12-02 04:15:42

I'm pretty sure there is an off-by-one error in RasterDataset.resample, but I've never had the time to look into it. You should be able to work around this issue by removing the "- 1"'s from your call to resize-world, i.e.,

resize-world 0 gis:width-of (gis:load-dataset my-dataset) 0 gis:height-of (gis:load-dataset my-dataset)

If that doesn't work, let me know and I'll see if I can find time to investigate further.

The issue was finally solved after recreating all ascii files. Even though there was no apparent difference in the old and new ascii files, the old files must have been corrupted somehow. The code in the question works fine now. Hopefully this topic is still helpful for anybody running into the same error.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!