<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Thank you for the detailed response!</div>
<div> </div>
<div>Just to make sure I understood correctly, you're saying that I can't import a DWG directly into MapGuide and then highlight polylines because the OBJECT DATA is lost? Therefore I would have no Key/Handle to identify any of the polylines/objects. So I must use a DWG to FDO/SDF converter in order retain the proper info required to perform highlights of specific objects?</div>
<div> </div>
<div>Can you tell me why the Handle should be avoided? I'm not saying I disgree, was just hoping to go this route since the handle is readily available to me in our scenario. We'll have to setup new linkages to work with a 'key'. Also, how is the key different than a handle? </div>
<div> </div>
<div>Your help is very much appreciated,</div>
<div>Matt</div>
<div> </div>
<BLOCKQUOTE style="PADDING-LEFT: 8px; FONT-SIZE: 10pt; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid; COLOR: black; FONT-FAMILY: verdana" mce_style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div >-------- Original Message --------<BR>Subject: Re: [mapguide-users] Need Highlighting Sample<BR>From: GordonL <gordon.luckett@arrowgeomatics.com><BR>Date: Thu, October 01, 2009 12:11 pm<BR>To: mapguide-users@lists.osgeo.org<BR><BR><BR>Hi Matt,<BR>the one item I want to mention here is the Load Procedure for DWG. <BR><BR>Although you can load DWG files, you cannot get OBJECT DATA, BLOCK<BR>ATTRIBUTES or LINK TEMPLATES.<BR><BR>This is a huge chasm between DWG and FDO and its has been a hole in AutoCAD<BR>Map to MapGuide since the early days of FDO. <BR><BR>The only way accross is an EXPORT to SDF (or other FDO data store) so<BR>MapGuide can see it. <BR><BR>I would recommend using FME from Safe software to facilite the DWG with<BR>OBJECT DATA to SDF.<BR><BR>You can't do it directly with MapGuide OS, MapGuide Enterprise, or Map 3D<BR>(or any other Autodesk product) directly - only via EXPORT to FDO. <BR><BR>Also, if you are using Map 3D to view FDO data stores (i.e. MySQL, SDF,<BR>Oracle, etc) you cannot quickly convert the data into linework with Object<BR>Data. <BR><BR>Best way to use MapGuide - export your DWG into SDF (keeping the Object<BR>Data) and then load the SDF using a Load Procedure or Alias a folder on the<BR>server.<BR><BR>regards<BR>gordon<BR><BR>ps. Once you have data that has a Key that you really want (not Handle -<BR>blech!), you can find a lot of examples on<BR><a href="http://data.mapguide.com/mapguide/devguide/index.php" target=_blank mce_href="http://data.mapguide.com/mapguide/devguide/index.php">http://data.mapguide.com/mapguide/devguide/index.php</a> check out the working<BR>with feature data for samples with the selection ...<BR><BR><BR><BR><BR><BR><BR><BR><BR>mwilson wrote:<BR>> <BR>> Hello, <BR>> I am using MapGuide Enterprise 2010&nbsp;and am in need of a simplified<BR>> example for how to highlight items on a map.&nbsp; I used MapGuide Studio<BR>> 2010 to import data from a dwg drawing.&nbsp; The drawing contains a 2d<BR>> rendering of a building floor.&nbsp; I am trying to figure out how to<BR>> hilight various rooms (or polylines)&nbsp;within the floor.&nbsp; Can<BR>> someone please point me in the direction of an example that might show me<BR>> how to highlight polylines within a map.&nbsp; Also is it possible to<BR>> highlight ojbects based on their entity handle or is this info lost when<BR>> importing from dwg.&nbsp; <BR>> &nbsp; <BR>> Fyi, I am using the AJAX viewer and coding in .net. <BR>> &nbsp; <BR>> Many thanks in advance, <BR>> Matt <BR>> <BR>> _______________________________________________<BR>> mapguide-users mailing list<BR>> mapguide-users@lists.osgeo.org<BR>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank mce_href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><BR>> <BR>> <BR><BR>-- <BR>View this message in context: <a href="http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3751366.html" target=_blank mce_href="http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3751366.html">http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3751366.html</a><BR>Sent from the MapGuide Users mailing list archive at Nabble.com.<BR>_______________________________________________<BR>mapguide-users mailing list<BR>mapguide-users@lists.osgeo.org<BR><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target=_blank mce_href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><BR></DIV></BLOCKQUOTE></span></body></html>