Netlogo GIS坐标转换问题

时间:2019-06-19 15:40:03

标签: gis netlogo

我想使用以下命令导出基于shp文件的NetLogo模拟输出以光栅化:

to export-GIS
  let patches_out nobody
  ask one-of patches [set patches_out gis:patch-dataset pcolor]
  gis:store-dataset patches_out (word "usos" ".asc")
end

但它输出:

Extension exception: you must define a coordinate transformation before using any other GIS features
error while patch 17 -10 running GIS:PATCH-DATASET
  called by procedure EXPORT-GIS
  called by Button 'export-GIS'

如何定义坐标转换?

1 个答案:

答案 0 :(得分:0)

解决了在设置阶段添加以下行的问题:

HttpClientXsrfModule.withOptions({
      cookieName: 'XSRF-TOKEN',
      headerName: 'X-CSRF-TOKEN'
}),