[mapguide-users] Raster support

Ing. Cristian Galdini cristian.galdini at dek.it
Thu Sep 11 05:53:12 EDT 2008


Hi,
Are .ecw and .jp2 supported by FDO GDAL in  Linux release mapguide 2.0.1 ?
I think not.....
What can I do?
Thanks

________________________________

Ing. Cristian Galdini
cristian.galdini at dek.it

ATTENZIONE: Il presente messaggio è utilizzabile solo dal proprietario
dell'indirizzo ricevente. Contiene informazioni private e riservate. E'
vietata la trasmissione, la distribuzione e la copia. Per favore contatti
immediatamente il mittente replicando a questa e-mail se ritiene di non
essere il destinatario previsto.
DISCLAIMER, PLEASE NOTE: This communication is intended only for use by the
addressee. It may contain confidential or privileged information.
Transmission, distribution and/or copy cannot be permitted. Please notify
sender immediately by reply e-mail if you are not the intended recipient.
 
 
-----Messaggio originale-----
Da: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] Per conto di
christophe_geomap
Inviato: giovedì 11 settembre 2008 10.43
A: mapguide-users at lists.osgeo.org
Oggetto: [mapguide-users] How to insert null
usingMgFeatureService::UpdateFeatures


Hi all,
I want to insert or update a value with null using
MgFeatureService::UpdateFeatures but i don't know how !
I try to do this :

   MgPropertyCollection insertProperties = new MgPropertyCollection();
   MgInt32Property mgProp = new MgInt32Property(propertyName, 0);
   mgProp.SetNull(true);
   insertProperties.Add(mgProp);
...
  
   MgFeatureCommandCollection commands = new MgFeatureCommandCollection();
   commands.Add(new MgInsertFeatures(classDef.GetName(), insertProperties));
   MgPropertyCollection updatedProps = featureService.UpdateFeatures(resId,
commands, false);

but it doesn't work. If i don't add MgProperty with null value to the
MgPropertyCollection, it work, but i  don't have null in my field (older
value if update, default value if insert).

In mapguide src the function
MgServerFeatureUtil::MgPropertyToFdoDataValue(MgProperty* srcProp) don't
test if the MgProperty is null.

Can anybody help me? 

Christophe
-- 
View this message in context:
http://www.nabble.com/How-to-insert-null-using-MgFeatureService%3A%3AUpdateF
eatures-tp19430424p19430424.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