Hi All,
I am trying to import shp file with additional width data for lines. But if I set "Get width from field WIDTH" I get message "Field "WIDTH" is not a double precision number and will be ignored".
In my shape file editor I have next values for its type:
- short integer
- long integer
- float with additional precision and scale fields (whole and fractional part as I understood)
- double with the same fields as above.
First two types give the message as described above.
If I set double or float and set some values for precision and scale when I try to import shp I get error:
Error Report created by SBuilderX on 30.11.2009 2:32:27
Attempted to read or write protected memory. This often indicates that other memory is corrupt.
System.AccessViolationException: Attempted to read or write protected memory. This often indicates that other memory is corrupt.
in SBuilderX.moduleSHAPE.DBFIsAttributeNULL(Int32 hdbf, Int32 iShape, Int32 iField)
in SBuilderX.moduleSHAPE.AppendSHPLines(String filename, Int32 NoOfItems, Boolean IsZ)
in SBuilderX.moduleSHAPE.AppendSHPFile(String filename)
in SBuilderX.frmStart.AppendSHPMenuItem_Click(Object sender, EventArgs e)
in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ToolStrip.WndProc(Message& m)
in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
So does anyone know what type of that damn width should I use to import all my data to SBuilderX?
I am trying to import shp file with additional width data for lines. But if I set "Get width from field WIDTH" I get message "Field "WIDTH" is not a double precision number and will be ignored".
In my shape file editor I have next values for its type:
- short integer
- long integer
- float with additional precision and scale fields (whole and fractional part as I understood)
- double with the same fields as above.
First two types give the message as described above.
If I set double or float and set some values for precision and scale when I try to import shp I get error:
Error Report created by SBuilderX on 30.11.2009 2:32:27
Attempted to read or write protected memory. This often indicates that other memory is corrupt.
System.AccessViolationException: Attempted to read or write protected memory. This often indicates that other memory is corrupt.
in SBuilderX.moduleSHAPE.DBFIsAttributeNULL(Int32 hdbf, Int32 iShape, Int32 iField)
in SBuilderX.moduleSHAPE.AppendSHPLines(String filename, Int32 NoOfItems, Boolean IsZ)
in SBuilderX.moduleSHAPE.AppendSHPFile(String filename)
in SBuilderX.frmStart.AppendSHPMenuItem_Click(Object sender, EventArgs e)
in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
in System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.ToolStrip.WndProc(Message& m)
in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
So does anyone know what type of that damn width should I use to import all my data to SBuilderX?