Tag Info

New answers tagged

0

Well all our searching and trying stuff over the last two weeks finally paid off and we found out how to edit attributes of a queried feature using the Silverlight API/.NET/LINQ/REST Feature Services. I'm posting the code here in case someone else is struggling with this issue. The tricky bit is that the queried object (FeatureSet Graphic) is different ...


1

If you take a closer look at the documentation example, you'll notice that they use the IFeatureClass::AddField function IField guidField = new FieldClass(); IFieldEdit guidFieldEdit = (IFieldEdit)guidField; guidFieldEdit.Name_2 = "OldGlobalID"; guidFieldEdit.Type_2 = esriFieldType.esriFieldTypeGUID; guidFieldEdit.DefaultValue_2 = null; ...


0

The solution was to set IGeoProcessor2.AddToResults to false. Something like IGeoProcessor2 gp = new GeoProcessorClass(); gp.AddToResults = false; IGeoProcessorResult results = new GeoProcessorResultClass(); IVariantArray parameters = new VarArrayClass(); parameters.Add(tempFC); parameters.Add(outFC); results = ...


2

Thanks for sharing your module. You have mentioned a number of places yourself so let's try to summarize: communitydownloads.pbinsight.com: The Pitney Bowes Software site for sharing tools and source code for all our products MapInfo-L on Google Groups: the mailing list for a questions related to MapInfo products. It has been around for two decades and it ...


0

I suggest class from .NET framework: DbGeography DbGeography dbg = DbGeography.FromText(wkt_string);



Top 50 recent answers are included