[fdo-users] FDO 3.2 SHP insertion issue with Mapguide 6.5

Robert Fortin robert.fortin at autodesk.com
Mon Feb 26 10:45:37 EST 2007


Pierre,

I spoke with MG team and they suggested to delete the .ssi file (the MG 6.5 spatial index) after updating the SHP file. It should be rebuild by MG next time the SHP file is accessed.  The .ssi file is not maintained by the SHP provider. 

RF 

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Ytse
Sent: Monday, February 26, 2007 4:18 AM
To: Dan Stoica; fdo-users at lists.osgeo.org
Subject: [fdo-users] FDO 3.2 SHP insertion issue with Mapguide 6.5

Hi Dan and everyone, I'm sorry to bother you once again but I'm in a desperate need of solution about this issue

When I add a feature object to my feature class using FDO 3.2 I can read it again with FDO or ArcView, but Mapguide Viewer and Author 6.5 won't detect it. There might actually be an issue with the index as when I delete features (thus recompressing and reindexing the file), my new fetures will then appear.

You said you were able to see it in MAP, I guess you were talking about 2007 Could you or anyone else try to have a look at why Map 6.5 can't detect it ? I mean even if I have to do whatever binary operation to make it work, I have to correct this for the end of the week, that's my final deadline. 
If I can't make it I simply can't release my work.

Thank you
Pierre

----- Message d'origine ----
De : Dan Stoica <dan.stoica at autodesk.com> À : Ytse <bill_gfr at yahoo.fr> Envoyé le : Jeudi, 25 Janvier 2007, 17h49mn 44s Objet : RE: RE : : RE: [fdo-users] SHP modifications issue


We are in Ottawa, Canada.

Your SHP files look good in MAP. I can see the extra geometry added, with no attributes.

"was there any other way of performing this task?"
Nothing I can think of. In general, you cannot alter the schema of a class which contain data.

Dan.


-----Original Message-----
From: Ytse [mailto:bill_gfr at yahoo.fr]
Sent: Thursday, January 25, 2007 4:21 AM
To: Dan Stoica
Subject: RE : : RE: [fdo-users] SHP modifications issue

Where are you guys working, by the way ? 
My french contact at Autodesk has an email address that finishes by @eur.autodesk.com and you don't :)

Back to my insertion issue, you'll find two files attached to this mail :
- shp_1.zip contains one featureclass that I have imported from the french ministry for agriculture and recreated so that I've been able to add a column to create the link with my data (I have not found how to alter a feature class that already contains data so I decided to write a piece of code to duplicate a structure, was there any other way of performing this task ?)
- shp_2.zip contains the same file with one additional feature (the last one). I've inserted this feature using IInsert and specifying only two properties, the geometric property and the key link to my database, "ID_EXP" (do I have to explicitely set all other columns to an empty value ?)

If you find something that would be very nice


	

	
		
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com



More information about the fdo-users mailing list