[fdo-dev] SHP : modifying properties

Dan Stoica dan.stoica at autodesk.com
Thu Sep 21 12:51:22 EDT 2006


It is not possible (yet) to add a property to a non-empty class.
This would mean to create a new DBF file, copy data and remove the original DBF.

The client can do this as well :-)

Dan.

-----Original Message-----
From: Ytse [mailto:bill_gfr at yahoo.fr] 
Sent: Thursday, September 21, 2006 8:59 AM
To: dev at fdo.osgeo.org
Subject: [fdo-dev] SHP : modifying properties

hi everyone

Is it possible to add a dataproperty to a featureclass
that already contains data ?

I can't get it to work (no problem when the class is
empty)

By the way (though not related to the title of the
topic), is it possible to do a kind of bulk loading ?
(I'm trying to populate a shape file from several
smaller files)
Or at least do something like filling my iinsert
object with my reader object ? 
I'm currently doing this process by looping a
foreach(propertydefinition in myReader.properties) and
adding them to myInsert.Propertyvalues, that works but
I guess that's not the way to go..

Thank you for your help


	

	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at fdo.osgeo.org
For additional commands, e-mail: dev-help at fdo.osgeo.org





More information about the Fdo_dev mailing list