[mapguide-users] Can't insert feature into certain SDFs

Jason Birch Jason.Birch at nanaimo.ca
Wed May 30 11:05:18 EDT 2007


Well, that's bizarre :)

Is test2.sdf an SDF3 file or an older sdf2 file that you're converting?
How did you create it?

Jason

-----Original Message-----
From: Takashige Nakagawa
Subject: Re: [mapguide-users] Can't insert feature into certain SDFs

Hi all.

I found it. That's the Studio's bug.
Test2.sdf contains no features. It's identity property
"Autogenerated_SDF_ID" is set to be autogenerated and read-only.
When it's loaded via Sutdio to e.g. 
"Library://Samples/Data/Test2.FeatureSource", autogenerated and
read-only attributes are lost.
Insertion didn't work because the "Autogenerated_SDF_ID"  was null (my
code skips the autogenerated property).

When it comes to Test.sdf, loading works. Test.sdf has 3 features.


More information about the mapguide-users mailing list