AgentAnalyst-Problem: Loading a Raster-Dataset

90
0
2 weeks ago
New Contributor

Hello,
I have a problem loading a raster dataset into AgentAnalyst. This is the code I am using as action:

def loadRaster():
print "Load"
raster=ESRIRaster("C:\Users\Friederike\Documents\Masterarbeit\GIS\Erarbeitetes","EignRaster")
self.addRaster("EignRaster",raster)
print "Loaded"

def initAgents():
self.loadRaster()

I get no syntax error. I get the following error message:

Exception in thread "AWT-EventQueue-0" java.security.PrivilegedActionException: java.security.PrivilegedActionException: AutomationException: 0x80041018 - Raster-Dataset konnte nicht ge÷ffnet werden in '"esriDataSourcesRaster.GdalRasterDataset"'
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

I use ArcMap 10.6. and Java 1.8..

I hope someone can explain to me what the problem is and how I can solve it. Thank you in advance.

Tags (2)
Reply
0 Kudos
0 Replies