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.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to