[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #CZY-769256]: Trying to open a zip-ed shapefile



Ethan,

I tried opening the shapefile in the IDV (w/o creating a plugin) and got a
slightly more intelligible error message: "can't handle shapefile shape type
-31907568".

Is there the possibility that this shapefile is corrupted? Can you open it in
other GIS tools? I just tried opening it up via Python and I also got this
message:

"Unsupported shape type: 13"

There appears to be something a little funky about this shape file.

Best,

Unidata IDV Support

> Hi guys,
> 
> I got this zip-ed shapefile [1] from some hydrology folks. It is modeled
> river flow data for 61818 river segments in Texas. I tried to open it as a
> map following the steps given in Users Guide 7.4.1.2 "Creating Map Plugin"
> section. It may contain timeseries data for each of the river segments.
> Could that be the problem?  The error message/stacktrace I got [2] wasn't
> too helpful to me.
> 
> Thanks,
> 
> Ethan
> 
> [1]
> https://drive.google.com/a/ucar.edu/file/d/0Bz54loClKyEKU0tZMS0tMkNwWkU/view?usp=sharing
> 
> [2]
> Setting visibility
> java.lang.NullPointerException
> at ucar.unidata.gis.maps.MapInfo.createMapData(MapInfo.java:548)
> at
> ucar.unidata.idv.control.MapDisplayControl$MapState.getData(MapDisplayControl.java:2207)
> at
> ucar.unidata.idv.control.MapDisplayControl$MapState.checkVisibility(MapDisplayControl.java:2230)
> at
> ucar.unidata.idv.control.MapDisplayControl$MapState.init(MapDisplayControl.java:2263)
> at
> ucar.unidata.idv.control.MapDisplayControl.addMap(MapDisplayControl.java:705)
> at
> ucar.unidata.idv.control.MapDisplayControl.selectMap(MapDisplayControl.java:933)
> at
> ucar.unidata.idv.control.MapDisplayControl$2.actionPerformed(MapDisplayControl.java:769)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.AbstractButton.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
> at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 
> 


Ticket Details
===================
Ticket ID: CZY-769256
Department: Support IDV
Priority: Normal
Status: Open