Afternoon,
I'm hoping that someone out there will be able to help me or tell me that I'm completely going off in the wrong direction!!!
I'm trying to get the Autodesk FDO Provider for SQL Server to work. I can get it to connect to the database and table that I want to use, but MapGuide Studio, claims that there is no geometry for the table, and when I go to view the table it thinks that there is no data in the table.
However, if I remove the data in the geometry column, then MapGuide Studio displays the data held in that table.
I had to generate the geometry data myself, and I think that is the cause of the problem. I found an SQL query online which would convert easting and northing references to geometry data that could be used in SQL Server 2008.
The SQL statement I used is:
UPDATE TestPoints
SET [Geometry] = GEOMETRY::STGeomFromText('POINT(' + CAST(Easting AS VARCHAR(10)) + ' ' + CAST(Northing AS VARCHAR(10)) + ')', 0)
It did generate geometry data but I'm guessing it is not in the correct format for MapGuide.
Does anyone know how I can generate the correct geometry data from the easting and northing references I have, so that I can use SQL Server 2008, the FDO SQL Server provider, and MapGuide Enterprise all together??
Thanks,
Bev