Width data in shape file to import to SBuilderX?

This is the Forum to discuss the use of SBuilderX (version 3.10 and above). For previous versions of SBuilder please use the "SBuilder for Flight Simulator FS2004" forum.
Post Reply
Roman2109
Posts: 4
Joined: Mon Nov 30, 2009 6:51 am

Width data in shape file to import to SBuilderX?

Post by Roman2109 » Mon Nov 30, 2009 7:38 am

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

User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Re: Width data in shape file to import to SBuilderX?

Post by Luis Sa » Mon Nov 30, 2009 6:44 pm

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

Roman2109
Posts: 4
Joined: Mon Nov 30, 2009 6:51 am

Re: Width data in shape file to import to SBuilderX?

Post by Roman2109 » Mon Nov 30, 2009 7:01 pm

Unfortunately the dot is set already in my regional settings :(

Best regards,
Roman

Post Reply