Shape Append Error

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
rbrown3rd
Posts: 91
Joined: Sun Mar 06, 2005 5:11 am
Contact:

Shape Append Error

Post by rbrown3rd » Wed Nov 07, 2007 12:29 pm

I am getting the following error when trying to import a shape file. I am running version 3.10.

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Void SHPGetInfo(Int32, Int32 ByRef, Int32 ByRef, Int32, Int32)
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at WindowsApplication1.moduleSHAPE.SHPGetInfo(Int32 hShp, Int32& pnEntities, Int32& pnShapeType, Int32 padfMinBound, Int32
padfMaxBound)
at WindowsApplication1.moduleSHAPE.AppendSHPFile(String filename)
at WindowsApplication1.frmStart.AppendSHPMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

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

Post by Luis Sa » Wed Nov 07, 2007 11:08 pm

Hi,

May be you want to send me the problematic shape file ... ?

Kind Regards,

Luis

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

Post by Luis Sa » Sun Nov 11, 2007 11:40 pm

Hello,

Thank you for sending me the file. The file does not use the Geographic Projection. You need to convert it and then you will be able to append it.

Regards,

Luis

ps: please see your email

Post Reply