Hi,
I am trying to import shp file with additional width data for roads. 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(Obje ct key, EventArgs e)
in System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
in System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
in System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
in System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met)
in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
in System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs 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(Mes sage& m)
in System.Windows.Forms.ToolStrip.WndProc(Message& m)
in System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
in System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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?
__________________
Best regards,
Roman
Width data in shape file to import to SBuilderX?
Re: Width data in shape file to import to SBuilderX?
Hello,
I am not sure about this but, can you set the Regional Settings to use . as decimal separator? I am sorry if you already use that symbol as decimal separator.
Regards, Luis
I am not sure about this but, can you set the Regional Settings to use . as decimal separator? I am sorry if you already use that symbol as decimal separator.
Regards, Luis
Re: Width data in shape file to import to SBuilderX?
Unfortunately the dot is set already in my regional settings
Best regards,
Roman
Best regards,
Roman