Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread sekko970
Hi Jackie, yes, the ReleaseReader is from the samples. Jackie Ng wrote: What does your ReleaseReader() look like? If it's from the samples, it's supposed to close any open MgFeatureReaders that may exist in the result returned from MgFeatureService.UpdateFeatures() - Jackie

Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread sekko970
Hi Simon, what I have to do to include in my ASP.NET project FDO .NET API? Simon Pelicon wrote: Hi! Here is sample in C# from my code using just FDO .NET API. This inserts FEATURE in any FDO datasource specified in my FDO connection (m_Conn) like SHP,SDF, oracle IInsert

Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread Simon Pelicon
Hi! Add references to this files: OSGeo.FDO.dll OSGeo.FDO.Geometry.dll OSGeo.FDO.Common.dll OSGeo.FDO.Spatial.dll simon On Fri, Nov 6, 2009 at 9:41 AM, sekko970 fabio.francesch...@techneteam.itwrote: Hi Simon, what I have to do to include in my ASP.NET project FDO .NET API? Simon

Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread sekko970
Ok for OSGeo.FDO.dll OSGeo.FDO.Geometry.dll OSGeo.FDO.Common.dll but if I try to create a reference to OSGeo.FDO.Spatial.dll, I have the following error: no type libraries were found in the component. (FDOSpatial.dll is already in my project bin folder). f. Simon Pelicon wrote: Hi!

Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread Simon Pelicon
You have all this files (also OSGeo.FDO.Spatial.dll ) in FDO Windows SDK. download link: http://fdo.osgeo.org/content/fdo-331-downloads http://fdo.osgeo.org/content/fdo-331-downloadssimon On Fri, Nov 6, 2009 at 10:58 AM, sekko970 fabio.francesch...@techneteam.itwrote: Ok for OSGeo.FDO.dll

Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread sekko970
I have already downloaded all the dll for FDO Windows SDK, but 3.4 version. f. Simon Pelicon wrote: You have all this files (also OSGeo.FDO.Spatial.dll ) in FDO Windows SDK. download link: http://fdo.osgeo.org/content/fdo-331-downloads

Re: [mapguide-users] Add geometry to SHP

2009-11-06 Thread sekko970
The problem is that I cannot include FDOSpatial.dll in my project. In fact, if I try to create a reference to OSGeo.FDO.Spatial.dll, I have the following error: no type libraries were found in the component (FDOSpatial.dll is already in my project bin folder). f. sekko970 wrote: I have

Re: [mapguide-users] Add geometry to SHP

2009-11-05 Thread Jackie Ng
What does your ReleaseReader() look like? If it's from the samples, it's supposed to close any open MgFeatureReaders that may exist in the result returned from MgFeatureService.UpdateFeatures() - Jackie sekko970 wrote: I tryng to add a point to an existing SHP data connection in ASP.Net

Re: [mapguide-users] Add geometry to SHP

2009-11-05 Thread Zac Spitzer
what's in the string? it's probably an error string if your feature source readonly? http://trac.osgeo.org/mapguide/ticket/649 a very nasty annoying bug z On Fri, Nov 6, 2009 at 9:45 AM, Jackie Ng jumpinjac...@gmail.com wrote: What does your ReleaseReader() look like? If it's from the

Re: [mapguide-users] Add geometry to SHP

2009-11-05 Thread Dejan Gregor
Hello Simon, thank you for the code sample! Did you need to develop any additional tools for adding features (e.g. edit tool)? I am not a developer, but would really like to test this on adding new polygons (SHP) through the MGOS 2.x web client. Thanks, I will try it out. Dejan On Fri, Nov 6,