Uploaded image for project: 'Ergo'
  1. Ergo
  2. ERGO-491

Intersection analysis can't handle the data that has many attribute fields

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.1.0
    • NIST-V1
    • None
    • None

      When performing Overlay:Intersection analysis under GIS, it creates an error when the input dataset's data fields are too many. If I recall correctly, there was some issue about reporting the number of maximum dataset field number was probably 49. Anyway, this problem still remains and need to be fixed.
      To produce the error:
      1. Use shelby county
      2. Open GIS -> Overlay:Intersection analysis
      3. Use first data Social Vulnerability Census Block Grou under Social Vulnerability Census Data
      4. Use second data as Shelby COunty Developed Area under Social Vulnerability Devloped Area

      This will make an error of the following but if you reduce the attribute field to low enough in census data, it will work

      248828 - [ERROR] [edu.illinois.ncsa.ergo.core.analysis.types.UseCase]: Script failed
      ncsa.tools.elf.core.exceptions.ActivationException: Failed executing script
      at ncsa.tools.elf.scripts.modules.SerialScriptsModule.wrappedActivate(SerialScriptsModule.java:75)
      at ncsa.tools.elf.core.BaseContainerModule.activate(BaseContainerModule.java:22)
      at ncsa.tools.elf.core.types.ElfContainer.startModules(ElfContainer.java:225)
      at ncsa.tools.elf.core.types.ElfContainer.activateScriptModules(ElfContainer.java:195)
      at ncsa.tools.elf.embedded.container.EmbeddedElfContainer.wrappedStart(EmbeddedElfContainer.java:46)
      at ncsa.tools.elf.core.types.ElfContainer.start(ElfContainer.java:75)
      at ncsa.tools.elf.embedded.managers.EmbeddedExecutionManager.execute(EmbeddedExecutionManager.java:36)
      at edu.illinois.ncsa.ergo.core.analysis.elf.ElfScriptExecutable$1.run(ElfScriptExecutable.java:141)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      Caused by: ncsa.tools.elf.core.exceptions.ScriptExecutionException: java.lang.ArrayIndexOutOfBoundsException: 29968
      at ncsa.tools.ogrescript.tasks.OgreScriptBaseTask.execute(OgreScriptBaseTask.java:59)
      at ncsa.tools.ogrescript.modules.DynamicTaskExecutionModule.runTask(DynamicTaskExecutionModule.java:53)
      at ncsa.tools.ogrescript.modules.SerialTaskExecutionModule.runTasks(SerialTaskExecutionModule.java:13)
      at ncsa.tools.ogrescript.tasks.container.Try.wrappedExecute(Try.java:60)
      at edu.illinois.ncsa.ergo.core.analysis.elf.tasks.AnalysisTask.wrappedExecute(AnalysisTask.java:55)
      at ncsa.tools.ogrescript.tasks.OgreScriptBaseTask.execute(OgreScriptBaseTask.java:52)
      at ncsa.tools.ogrescript.modules.DynamicTaskExecutionModule.runTask(DynamicTaskExecutionModule.java:53)
      at ncsa.tools.ogrescript.modules.SerialTaskExecutionModule.runTasks(SerialTaskExecutionModule.java:13)
      at ncsa.tools.ogrescript.OgreScript.execute(OgreScript.java:132)
      at ncsa.tools.elf.scripts.modules.SerialScriptsModule.wrappedActivate(SerialScriptsModule.java:70)
      ... 8 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 29968
      at org.geotools.data.shapefile.dbf.DbaseFileReader.fastParse(DbaseFileReader.java:608)
      at org.geotools.data.shapefile.dbf.DbaseFileReader.readObject(DbaseFileReader.java:488)
      at org.geotools.data.shapefile.dbf.DbaseFileReader.access$000(DbaseFileReader.java:72)
      at org.geotools.data.shapefile.dbf.DbaseFileReader$Row.read(DbaseFileReader.java:80)
      at org.geotools.data.shapefile.ShapefileFeatureReader.buildFeature(ShapefileFeatureReader.java:254)
      at org.geotools.data.shapefile.ShapefileFeatureReader.hasNext(ShapefileFeatureReader.java:195)
      at org.geotools.data.store.ContentFeatureCollection$WrappingFeatureIterator.hasNext(ContentFeatureCollection.java:143)
      at edu.illinois.ncsa.ergo.gis.datasets.factories.ShapefileDatasetFactory.addFeatures(ShapefileDatasetFactory.java:404)
      at edu.illinois.ncsa.ergo.gis.datasets.factories.ShapefileDatasetFactory.storeDataset(ShapefileDatasetFactory.java:335)
      at edu.illinois.ncsa.ergo.gis.datasets.factories.ShapefileDatasetFactory.ingestDataset(ShapefileDatasetFactory.java:189)
      at edu.illinois.ncsa.ergo.gis.datasets.factories.ShapefileDatasetFactory.ingestDataset(ShapefileDatasetFactory.java:134)
      at edu.illinois.ncsa.ergo.gis.repositories.LocalRepository.ingest(LocalRepository.java:448)
      at edu.illinois.ncsa.ergo.core.analysis.elf.tasks.StoreResultsTask.wrappedExecute(StoreResultsTask.java:77)
      at ncsa.tools.ogrescript.tasks.OgreScriptBaseTask.execute(OgreScriptBaseTask.java:52)
      ... 17 more

              Unassigned Unassigned
              ywkim Yong Wook Kim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: