On Mon, 07 Jun 2004 18:25:43 GMT, in autodesk.mapguide.general
ahmer77 wrote:
> We are using an SQL database with Mapguide server. The accident analysis software couples the two into one system.
Well, the first step is to have whoever made the decision to go to
this system without considering your business needs to find a solution
for you, either by interfacing with the vendor or exploring
third-party solutions. This isn't always that effective though 🙂 If
you have a competent GIS consultant working for you, they should be
able to work with the vendor to find an export methodology that meets
your needs.
If you really have to explore this yourself...
If this is point data and MapGuide is getting all of the data from SQL
Server, then it should be fairly easy for you to export this
information to a CSV format. I'm assuming that Autocad has a facility
to import a point layer from CSV.
If MapGuide is using a combination of SDF (mapping files similar to
SHP, but with limited data) and SQL Server then you may be able to do
something similar by exporting the data into CSV, importing the SDF
into Autocad (is this possible in straight Autocad?) and linking the
two.
To me, this situation screams FME. (www.safe.com). This product can
read SDF with an install of the SDF COM Toolkit (comes with MapGuide),
can read SQL Server through ODBC, and can write to shapefile or dwg.
I have found that the easiest way of importing complex data is to
convert to SHP via FME and then to import into Autodesk Map, but you
can go directly to DWG as well. No object data writing yet though.
There is an evaluation version of FME available on the Safe website.
Jason