[prev in list] [next in list] [prev in thread] [next in thread]
List: mapguide-users
Subject: Re: [mapguide-users] SHP Feature source update
From: smeurant <smeurant () celsius-tech ! com>
Date: 2009-11-30 9:51:58
Message-ID: 1259574718828-4086781.post () n2 ! nabble ! com
[Download RAW message or body]
I made the change.
I still have a "Invalid stream header exception" but the new feature is
successfully added to the feature source .
I will check where the exception come from and I will update my post later.
Thanks for your help Kenneth.
Kenneth Skovhede, GEOGRAF A/S wrote:
>
> MgLayer is the name of the class that is used for runtime layers.
> Im guessing that layer.GetClassName() returns "MgLayer".
> Have you tried with GetFeatureClassName():
> http://mapguide.osgeo.net/files/mapguide/docs/webapi/d6/de2/class_mg_layer_a983e24398d337eff4809830993eb992.html#a983e24398d337eff4809830993eb992
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> smeurant skrev:
> > Hi all,
> >
> > I try to update a SHP feature source using the MapGuide Java API with a
> > servlet.
> > But i have a problem with this step :
> >
> > featureService.UpdateFeatures(FeatureSourceID,featureCommandCollection,false);
> >
> > Like say the API doc , it return a MgPropertyCollection.
> > And in this propertyCollection, i found a error msg sent by FDO :
> >
> > An exception occurred in FDO component.
> > FDO class 'MgLayer' not found in schema.
> >
> > Is the problem come from my implementation or, is it a bug in MGOS 2.1b?
> > Thanks for your help
> >
> > P.S : You can find the full servlet implementation in the attached file
> > http://n2.nabble.com/file/n4076428/updateFeatureSource.java
> > updateFeatureSource.java
> >
> _______________________________________________
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: \
http://n2.nabble.com/SHP-Feature-source-update-tp4076428p4086781.html Sent from the \
MapGuide Users mailing list archive at Nabble.com. \
_______________________________________________ mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic