FDO 3.2 SHP insertion issue with Mapguide 6.5

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FDO 3.2 SHP insertion issue with Mapguide 6.5

ytse
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 <[hidden email]>
À : Ytse <[hidden email]>
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:[hidden email]]
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
_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users

=?utf-8?q?shp.zip?= (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: FDO 3.2 SHP insertion issue with Mapguide 6.5

Greg Boone

Adding the MapGuide user community...

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ytse
Sent: Monday, February 26, 2007 4:18 AM
To: Dan Stoica; [hidden email]
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 <[hidden email]>
À : Ytse <[hidden email]>
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:[hidden email]]
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

_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Reply | Threaded
Open this post in threaded view
|

RE: FDO 3.2 SHP insertion issue with Mapguide 6.5

Robert Fortin
In reply to this post by ytse
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: [hidden email] [mailto:[hidden email]] On Behalf Of Ytse
Sent: Monday, February 26, 2007 4:18 AM
To: Dan Stoica; [hidden email]
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 <[hidden email]> À : Ytse <[hidden email]> 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:[hidden email]]
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

_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Reply | Threaded
Open this post in threaded view
|

RE: FDO 3.2 SHP insertion issue with Mapguide 6.5

Dan Stoica
No, the .ssi file is the ESRI's index file.

The spatial index file is .idx. This one gets rebuild a reconnect time in case there is a mismatch between the number of geometries in .shp and the number of objects in .idx.

Dan.

-----Original Message-----
From: Robert Fortin
Sent: Monday, February 26, 2007 10:46 AM
To: Ytse; Dan Stoica; [hidden email]
Subject: RE: [fdo-users] FDO 3.2 SHP insertion issue with Mapguide 6.5

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: [hidden email] [mailto:[hidden email]] On Behalf Of Ytse
Sent: Monday, February 26, 2007 4:18 AM
To: Dan Stoica; [hidden email]
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 <[hidden email]> À : Ytse <[hidden email]> 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:[hidden email]]
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

_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
Reply | Threaded
Open this post in threaded view
|

Re: FDO 3.2 SHP insertion issue with Mapguide 6.5

Robert Bray-2
Actually the .ssi file is MG 6.5 spatial index for SHP. Pierre, please
try this suggestion and let me know if it works.

Bob

Dan Stoica wrote:

> No, the .ssi file is the ESRI's index file.
>
> The spatial index file is .idx. This one gets rebuild a reconnect time in case there is a mismatch between the number of geometries in .shp and the number of objects in .idx.
>
> Dan.
>
> -----Original Message-----
> From: Robert Fortin
> Sent: Monday, February 26, 2007 10:46 AM
> To: Ytse; Dan Stoica; [hidden email]
> Subject: RE: [fdo-users] FDO 3.2 SHP insertion issue with Mapguide 6.5
>
> 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: [hidden email] [mailto:[hidden email]] On Behalf Of Ytse
> Sent: Monday, February 26, 2007 4:18 AM
> To: Dan Stoica; [hidden email]
> 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 <[hidden email]> À : Ytse <[hidden email]> 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:[hidden email]]
> 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
>
> _______________________________________________
> fdo-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fdo-users
>
_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users