Hi James, Thank you for your solution. I tried and succeeded. Currently, I am investigating the same thing using APIs. Saravana
_____ From: [email protected] [mailto:[email protected]] On Behalf Of James H. Murphy Sent: Monday, June 15, 2009 9:52 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Dwg to shape Saravana, In Mapguide Studio create a new load procedure and browse to the dwg file, then just follow the steps setting the CAD layers, coordinate system, destination and etc. Then click the Load Resources. Now you should have a SDF (named same as the dwg name) file in the Repositories/Library/DataFiles/xxxx folders. James Murphy Geospatial Solutions Specialist ALACAD (205) 444-3100 www.alacad.com _____ From: [email protected] [mailto:[email protected]] On Behalf Of Saravana Prathap Sent: June 15, 2009 4:05 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Dwg to shape Hi James, I am a newbie. I want to import a DWG file (DWG -> SDF) into MapGuide using MapGuide studio. Can you tell me the procedure. Thank you in advance, Saravana _____ From: [email protected] [mailto:[email protected]] On Behalf Of James H. Murphy Sent: Wednesday, June 10, 2009 9:42 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Dwg to shape Andrew, Wow none of your dwgs can be opened in Studio? I just created a load procedure to load a dwg that started of in R12 vanilla AutoCAD opened up fine for me in 2010 Studio and create the SDF ok. James Murphy Geospatial Solutions Specialist ALACAD (205) 444-3100 www.alacad.com _____ From: [email protected] [mailto:[email protected]] On Behalf Of Andrew DeMerchant Sent: June 10, 2009 7:29 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Dwg to shape For what it's worth - I've never found Studio (any version) able to open a single one of my dwgs. I wouldn't recommend that - I'd go along with the DXF suggestion...you can then use something like ArcView (or maybe MapWindow could do it) to import the dxf and export as a shp file). Andrew On 6/10/2009 9:24 AM, Martin Morrison wrote: Correct, but you either spend countless hours trying to write a program that will be out of date with the next release, possibly infringing on copyrights, may not read all objects etc. or just buy a product (either Map or Studio) that will pay for itself...the right tool for the job. Martin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ivan Milicevic Sent: Wednesday, June 10, 2009 8:17 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Dwg to shape For small amount of money ;-) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Martin Morrison Sent: Wednesday, June 10, 2009 1:58 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Dwg to shape You can also buy AutoCAD Map will export a dwg to shape. Martin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Wednesday, June 10, 2009 4:00 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Dwg to shape AFAIK, the DWG is a proprietary format. There exists an OpenDWG alliance with a DWG library, but calling it "open source" is incorrect in my opinion. It is non-trivial to understand the DWG file format, especially since the 2004 version came out. I don't think any open source projects support DWG. If you have access to AutoCAD or similar, try exporting it as DXF as that is an open format: http://en.wikipedia.org/wiki/AutoCAD_DXF Your easiest bet is to purchase MapGuide Studio which can read in DWG files, and store them as SDF's (I think?). You can then use FDOToolbox to convert them to SHP. However, the current license model requires you to purchase MGE to get a copy of Studio, so that may be too much. Otherwise you can look at FME Universal Translator, which is capable of converting just about anything: http://docs.safe.com/fme/html/UT/welcome_to_fme_universal_translator.htm Regards, Kenneth Skovhede, GEOGRAF A/S padmini godavarthi skrev: Hi, iam using mapguide opensource 2.0 is there are any mapguide opensource dlls for converting drawing file to shape files and vice versa................ can anybody worked on this criteria...................... Regards, Padmini. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTEC <http://www.gemtec.ca> Limited 191 Doak Road Fredericton, NB, Canada E3C 2E6
<<image001.gif>>
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
