[mapguide-users] Need Highlighting Sample
GordonL
gordon.luckett at arrowgeomatics.com
Thu Oct 1 15:11:48 EDT 2009
Hi Matt,
the one item I want to mention here is the Load Procedure for DWG.
Although you can load DWG files, you cannot get OBJECT DATA, BLOCK
ATTRIBUTES or LINK TEMPLATES.
This is a huge chasm between DWG and FDO and its has been a hole in AutoCAD
Map to MapGuide since the early days of FDO.
The only way accross is an EXPORT to SDF (or other FDO data store) so
MapGuide can see it.
I would recommend using FME from Safe software to facilite the DWG with
OBJECT DATA to SDF.
You can't do it directly with MapGuide OS, MapGuide Enterprise, or Map 3D
(or any other Autodesk product) directly - only via EXPORT to FDO.
Also, if you are using Map 3D to view FDO data stores (i.e. MySQL, SDF,
Oracle, etc) you cannot quickly convert the data into linework with Object
Data.
Best way to use MapGuide - export your DWG into SDF (keeping the Object
Data) and then load the SDF using a Load Procedure or Alias a folder on the
server.
regards
gordon
ps. Once you have data that has a Key that you really want (not Handle -
blech!), you can find a lot of examples on
http://data.mapguide.com/mapguide/devguide/index.php check out the working
with feature data for samples with the selection ...
mwilson wrote:
>
> Hello,
> I am using MapGuide Enterprise 2010 and am in need of a simplified
> example for how to highlight items on a map. I used MapGuide Studio
> 2010 to import data from a dwg drawing. The drawing contains a 2d
> rendering of a building floor. I am trying to figure out how to
> hilight various rooms (or polylines) within the floor. Can
> someone please point me in the direction of an example that might show me
> how to highlight polylines within a map. Also is it possible to
> highlight ojbects based on their entity handle or is this info lost when
> importing from dwg.
>
> Fyi, I am using the AJAX viewer and coding in .net.
>
> Many thanks in advance,
> Matt
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3751366.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list