[mapguide-users] Re: MgInsertFeatures clears the feature source

mika at digikartta.net mika at digikartta.net
Mon Nov 28 07:01:05 EST 2011


 Jackie,
 I think I found what was wrong with my setup. I was recreating the 
 feature source in every insert loop. So after adding if-clause in this, 
 I can't repeat the misfunctioning:

 if(!mrs.ResourceExists(dataSourceId)) 
 mfs.CreateFeatureSource(dataSourceId, sdfParams);

 Sounds reasonable?

 - mika -


 On Mon, 28 Nov 2011 03:34:26 -0800 (PST), Jackie Ng 
 <jumpinjackie at gmail.com> wrote:
> Are you catching any exceptions that may be thrown by
> MgFeatureService.UpdateFeatures ?
>
> - Jackie
>
> --
> View this message in context:
> 
> http://osgeo-org.1803224.n2.nabble.com/MgInsertFeatures-clears-the-feature-source-tp7027286p7038402.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list