RE: [mapguide-users] Draw a line
Hy. I just runn the task_pane_redlining.php example but it opens a form that say to pres the button and draw a line on the map but when a do that doesn't happen anything. What is wrong? What sould I do? Thank you again! Warren Medernach-2 wrote: There are some digitizing samples found in the phpsamples data set. I suggest you start there to get an understanding of how that is accomplished. Warren M -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of ama.stan Sent: Wednesday, September 30, 2009 7:02 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Draw a line Hy. I'm just began studying MapGuide Enterprise 2010 and I would apreciate some help. After I studyied all examples from MapGuide Developer's Guide a want to draw a new line on the map. How can I do that? -- View this message in context: http://n2.nabble.com/Draw-a-line-tp3742542p3742542.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Draw-a-line-tp3742542p3747276.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] UPDATE: How to secure WMS Layers in MGE?
After some research I came to the following conclusion: MapGuide Enterprise doesn't offer you the possibility to secure WMS-layers. So normally they are accessible for everyone that knows the url http:///mapguide(X)/mapagent/mapagent.fcgi So what I tried was to secure the WMS on the webserver level, we at the Belgian Railways are using Windows 2K3 servers with IIS. 1/ I disabled the option anonymous access 2/ I checked the option use windows authentication (so this means that the users that want to use the wms service need an account on the windows domain. 3/ When you want to use the wms as a supplementary layer in another MGE map (for example an ajax viewer or fusion viewer) you also have to provide credentials of a domain user. You have to keep in mind that in companies there's a policy that users have to reset their passwords after a month. So maybe you can ask for a domainuser for which the password doesn't expire. 4/ For external users (not part of the domain) we'll have to write a wms server as a wrapper around the MGE webservice. Users have to authenticate to access the wrapper, the MGE WMS can use the user account defined in step 3. So I hope this can be helpful for some of you experimenting with WMS Services. Kind regards, M. - Matthias Valcke CAD/GIS Consultant Belgian Railways (NMBS - SNCB) http://www.realdolmen.com http://n2.nabble.com/file/u288841/image001.gif -- View this message in context: http://n2.nabble.com/How-to-secure-WMS-Layers-in-MGE-tp3721492p3747487.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Create Featuresource
Hi Kenneth, thank you for your clarification. I've got it running with the solution you mentioned. I added an entry to the PATH env variable that points to the bin folder of my FDO SDK. That's a solution for my development environment. But when I release our WebApplication to our costumers I think I can't convince them to first download the FDO SDK and then set an environment variable. Any Idea? By the way, what is the difference between the FDO dll's and the MapGuide dll's. When I reference the MapGuideDotNetApi.dll I also have to copy the c++ dll into the bin folder. That works fine. Obviously the windows dll location algorithm looks into the bin folder. With the FDO libraries (managed / unamanged) I see no difference. I should be able to add the reference to all managed libraries and then put the appropriate c++ dll into the bin folder. Why does this scenario fail? Thanks, Gunter Kenneth Skovhede, GEOGRAF A/S wrote: When running a WebApp the actual assembly is placed in a temp folder. You can read System.Reflection.Assembly.GetExecutingAssembly().Location, to see it. The windows dll location algorithm looks in the current dir, then searches path, etc. You need the dll's to be in the PATH env paths, you also need native code execution privileges. Regards, Kenneth Skovhede, GEOGRAF A/S Jackie Ng skrev: FDO needs the VC++ runtime library. The OSGeo.FDO.*.dll files are .net wrappers around the native libraries which use the VC++ runtime. Do not uninstall it. The fact that you have it working in a windows application means that you have the runtime library installed. It also means that there is definitely something to do with it being a web application, that's causing FDO to fail. What that is, I do know at the moment. - Jackie Gunter Becker wrote: Using the SDK File in a WindowsApplication works for me! But I would like to manage the creation of a feature source in the WebApplication. I think I have the C++ runtime library installed but I don't know exactly. How can I determine that I have Visual C++ 2008 runtime library installed? I don't need it becaus I#m not a C++ programmer! So do you think uninstalling the runtime library could solve my problem? Gunter Jackie Ng wrote: Do you have the Visual C++ 2008 runtime library installed? If so, I wonder then if it is because you are using this in an ASP.net environment and that is somehow messing with the paths? - Jackie Gunter Becker wrote: OK, I tried it with the SDK files and know I got the error message: The specified module could not be found Any ideas? Gunter Gunter Becker wrote: No, these files are from FDO API and Common Binaries under Windows Binaries. Does it make a difference? I'll download the SDK files an give this a try! Gunter Jackie Ng wrote: These dlls are from the FDO SDK? Make sure that *all* the dlls (and providers.xml) from your FDO SDK are in the output directory - Jackie Gunter Becker wrote: Thank you Jackie, I've put all the managed and unmanaged dll's from the windows binaries in the bin folder of my WebApplication and tried to follow your steps but I got an error message : File or assembly file:///C:\Users\gunter.becker\Documents\Visual Studio 2008\Projects\CSOGIS\bin\ExpressionEngine.dll or one of its dependencies, was not found. The module was expected to contain an assembly manifest. Do you know if I miss something? Gunter Jackie Ng wrote: FDO is the way to go. As Kenneth already mentioned, this approach won't be portable unless you want to dive into the native C++ API. The Managed FDO API is only available for Windows. To do this, you will have to do the following: FDO side: 1. Create a FDO connection to the desired provider 2. Create and execute an ICreateDataStore command 3. Build your FDO feature schema (similar to MapGuide) 4. Create and execute an IApplySchema command, with the schema you built. Then it's over to the MapGuide side: 1. Create a new feature source xml document with the same connection settings 2. Save this into your site repository using MgResourceService. The MapGuide 2.2 APIs will eventually remove the need to use FDO directly for some providers (the non-RDBMS ones) - Jackie Gunter Becker wrote: Hi, I want to create a new featuresource (shp, sdf or SQL Server 2008 Spatial) from my webapplication (c# .NET). I got it working for a sdf FeatureSource with the MapGuideAPI. But I'm wondering if it is possible for SHP or SQL Server Spatial at all. What are the steps to create an shape-file in the repository or as an external file and what are the steps to create a spatial database table. Is there an easy way to do this with the MaestroAPI. Or do I have to use the FdoAPI ? Thanks, Gunter
RE: [mapguide-users] MySQL Data Connection Error in Mapguide Maestro
You will need to get the libmysql.dll from your database install. This either needs to be in your system path or copied to the fdo directory of your mg server install. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Raghu.indigo Sent: Wednesday, September 30, 2009 11:00 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MySQL Data Connection Error in Mapguide Maestro I am trying to add data connection from MySQL server but i getting the following error : The remote server returned an error: (559) MgFdoException.: An exception occurred in FDO component. The runtime was not found (module LIBMYSQL.dll). Please verify your mysql client component installation. Exception occurred in method MgFdoConnectionManager.Open at line 858 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\common\manager\FdoConnectionManager.cpp Platform: Windows Xp with Sp2 MapGuide 2.0 MySQL Server 5.0.86 Mapguide Maestro 1.0.9.15910 - Raghu Indigo Information System Bangalore, India. -- View this message in context: http://n2.nabble.com/MySQL-Data-Connection-Error-in-Mapguide-Maestro-tp3747052p3747052.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Mapguide 2.0.2 and SQLite
No It errors out before it even gets to the Point that I can see the Layers/Schema of the SQLite datasource Doesnt matter if its Maestro or Studio...It seems to be in The mapguide 2.0.2 itself...I can't figure it out... I really like the concept of moving this person over to it because of their GIS experience level, its a great first step into GeoSpatial databases for them and cuts out the server side Network connection which is a nagging problem...But unfortunately they are on 2.0.2 and Studio, They dont have money to buy Enterprise this year, which means no Option to upgrade their Studio license, and Id rather not downgrade them to 2.0.0 since 2.0.2 has so many bug fixes (minus this one) in it. Kenneth Skovhede, GEOGRAF A/S wrote: Can you render the layer if you put it in a map? The preview function tries to read the spatial context to determine the display extents of the preview, but since that fails, it won't preview. When you view the layer in a map, it won't try to read the spatial extents. Regards, Kenneth Skovhede, GEOGRAF A/S Flipper skrev: Traian Was Extremely helpful in getting a build of the SQLite drivers that were built on FDO 3.3 and 3.4 http://13-9.com/ LINK that work Extremely well for me on Mapguide Open Source 2.0.0...My problem is that it does not work on 2.0.2 Which is FDO 3.3.1, but discussing with him, Traian compiled with the latest code in the 3.3 branch, which is 3.3.1. It should not make any difference though, since 3.3.1 only has a few bug fixes on top of 3.3. And it still worked on 2.0.0 and not 2.0.2...Traian can';t really help me any further since this no longer seems to be an issue with the driver but with the MG release...THANKS SOO MUCH FOR YOUR HELP TRAIAN! I've USED the same versions of Maestro and of Mapguide Studio 2009 on my 2.0.0 product to Author out SQLIte layers...both work On 2.0.2 Mastro gives me this error when I try to validate a data source connection ... Validating file: Session:663cacec--1000-8000-002219fbc74d_en_7F010AFC0AFB0AFA//f4004ed7-a9ec-4586-8395-c94fb7121247.FeatureSource Warning - OSGeo.MapGuide.MaestroAPI.FeatureSource: No spatial contexts found Error - OSGeo.MapGuide.MaestroAPI.FeatureSource: Failed to read schema description: The remote server returned an error: (559) MgNullReferenceException.: Null reference. Exception occurred in method MgServerDescribeSchema.ExecuteDescribeSchema at line 62 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\ServerDescribeSchema.cpp in Studio on 2.0.2 I get a Null Reference error When i try to do a preview on the Data connection and a Null Reference Pop up error and a Resource Id does not belong to a valid Feature Source Popup when i try to Create a layer from the datasource. Also in Studio the interface does not give me an area to enter a filename, on one machine, but on a machine where I did install the newest 3.3.1 FDo driver it does but doesnt give me a UseFdo metadata option like 2.0.0 did. Anybody have any ideas...Id just go to 2.1 myself or downgrade if it werent for the fact that its for others and not myselfAny help would be extremely appreciated ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Mapguide-2-0-2-and-SQLite-tp3732265p3749717.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Need Highlighting Sample
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 2010nbsp;and am in need of a simplified example for how to highlight items on a map.nbsp; I used MapGuide Studio 2010 to import data from a dwg drawing.nbsp; The drawing contains a 2d rendering of a building floor.nbsp; I am trying to figure out how to hilight various rooms (or polylines)nbsp;within the floor.nbsp; Can someone please point me in the direction of an example that might show me how to highlight polylines within a map.nbsp; Also is it possible to highlight ojbects based on their entity handle or is this info lost when importing from dwg.nbsp; nbsp; Fyi, I am using the AJAX viewer and coding in .net. nbsp; Many thanks in advance, Matt ___ mapguide-users mailing list mapguide-users@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. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Need Highlighting Sample
Quote Gordon: Although you can load DWG files, you cannot get OBJECT DATA, BLOCK ATTRIBUTES or LINK TEMPLATES. You used to be able to with Autodesk MapGuide Studio 2008 and below by defining feature classes in Map. As part of the feature class, you could assign the object data or data link attributes and then Studio would let you import the entire feature class. But, Autodesk did away with the capability in Studio 2009 for whatever reason so now people are stuck doing this outside of MapGuide. I do the same thing as your last description: export from Map to SDF with the object data or link template data then load on to the MapGuide server and connect to the folder via an alias. For performance reasons, I do this in lieu of exporting with only the key and using a database join in MapGuide. Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL Sent: Thursday, October 01, 2009 12:12 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Need Highlighting Sample 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 2010nbsp;and am in need of a simplified example for how to highlight items on a map.nbsp; I used MapGuide Studio 2010 to import data from a dwg drawing.nbsp; The drawing contains a 2d rendering of a building floor.nbsp; I am trying to figure out how to hilight various rooms (or polylines)nbsp;within the floor.nbsp; Can someone please point me in the direction of an example that might show me how to highlight polylines within a map.nbsp; Also is it possible to highlight ojbects based on their entity handle or is this info lost when importing from dwg.nbsp; nbsp; Fyi, I am using the AJAX viewer and coding in .net. nbsp; Many thanks in advance, Matt ___ mapguide-users mailing list mapguide-users@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. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] GDAL problem
I'm getting a problem showing a jpg and a tiffwhen I run MGOS (2.0.2) in debug mode, I see: (7120) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. Exception occurred in method MgServerSelectFeatures.SelectFeatures at line 249 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\ServerSelectFeatures.cpp I've tried about everything that I can think of - any suggestions? Other files in other projects are working fine. Andrew -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pièces jointes) est confidentiel et peut être privilégié. La distribution ou la divulgation non autorisée de ce courriel est interdite. Sa divulgation à toute personne autre que son destinataire ne constitue pas une renonciation de privilège. Si vous avez reçu ce courriel par erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces jointes, de votre système informatique et de vos dossiers. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] GDAL problem
I have seen this when MG is not able to read the header of the file correctly and you end up with invalid coordinates in the config file. What does your config file look like? Does it have 10/-10 for values in the bounding box? We ended up having to right an FME script to deal with extracting the coordinates correctly. Regards, Jonathon From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: October 1, 2009 12:53 PM To: MapGuide Users Mail List Subject: [mapguide-users] GDAL problem I'm getting a problem showing a jpg and a tiffwhen I run MGOS (2.0.2) in debug mode, I see: (7120) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. Exception occurred in method MgServerSelectFeatures.SelectFeatures at line 249 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services \feature\ServerSelectFeatures.cpp I've tried about everything that I can think of - any suggestions? Other files in other projects are working fine. Andrew -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTEC Limited http://www.gemtec.ca 191 Doak Road Fredericton, NB, Canada E3C 2E6 Internal Virus Database is out of date. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.13.111/2386 - Release Date: 09/21/09 05:51:00 image001.gif___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] GDAL problem
It actually looks like I don't have one - is that possible? If I go to the generic editor for my data source and press the "show all" button, I see nothing listed. I should point out that these files have their coords in world files (so, a tfw and a jgw), rather than right in the image header Andrew On 10/1/2009 5:36 PM, Jonathon McIntyre wrote: I have seen this when MG is not able to read the header of the file correctly and you end up with invalid coordinates in the config file. What does your config file look like? Does it have 10/-10 for values in the bounding box? We ended up having to right an FME script to deal with extracting the coordinates correctly. Regards, Jonathon From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: October 1, 2009 12:53 PM To: MapGuide Users Mail List Subject: [mapguide-users] GDAL problem I'm getting a problem showing a jpg and a tiffwhen I run MGOS (2.0.2) in debug mode, I see: (7120) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. Exception occurred in method MgServerSelectFeatures.SelectFeatures at line 249 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\ServerSelectFeatures.cpp I've tried about everything that I can think of - any suggestions? Other files in other projects are working fine. Andrew -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 Internal Virus Database is out of date. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.13.111/2386 - Release Date: 09/21/09 05:51:00 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pièces jointes) est confidentiel et peut être privilégié. La distribution ou la divulgation non autorisée de ce courriel est interdite. Sa divulgation à toute personne autre que son destinataire ne constitue pas une renonciation de privilège. Si vous avez reçu ce courriel par erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces jointes, de votre système informatique et de vos dossiers. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Need Highlighting Sample
Thank you for the detailed response! 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? 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? Your help is very much appreciated, Matt Original Message Subject: Re: [mapguide-users] Need Highlighting SampleFrom: GordonL gordon.luck...@arrowgeomatics.comDate: Thu, October 01, 2009 12:11 pmTo: mapguide-users@lists.osgeo.orgHi 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, BLOCKATTRIBUTES or LINK TEMPLATES.This is a huge chasm between DWG and FDO and its has been a hole in AutoCADMap to MapGuide since the early days of FDO. The only way accross is an EXPORT to SDF (or other FDO data store) soMapGuide can see it. I would recommend using FME from Safe software to facilite the DWG withOBJECT 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 ObjectData. Best way to use MapGuide - export your DWG into SDF (keeping the ObjectData) and then load the SDF using a Load Procedure or Alias a folder on theserver.regardsgordonps. Once you have data that has a Key that you really want (not Handle -blech!), you can find a lot of examples onhttp://data.mapguide.com/mapguide/devguide/index.php check out the workingwith feature data for samples with the selection ...mwilson wrote: Hello, I am using MapGuide Enterprise 2010nbsp;and am in need of a simplified example for how to highlight items on a map.nbsp; I used MapGuide Studio 2010 to import data from a dwg drawing.nbsp; The drawing contains a 2d rendering of a building floor.nbsp; I am trying to figure out how to hilight various rooms (or polylines)nbsp;within the floor.nbsp; Can someone please point me in the direction of an example that might show me how to highlight polylines within a map.nbsp; Also is it possible to highlight ojbects based on their entity handle or is this info lost when importing from dwg.nbsp; nbsp; Fyi, I am using the AJAX viewer and coding in .net. nbsp; Many thanks in advance, Matt ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3751366.htmlSent from the MapGuide Users mailing list archive at Nabble.com.___mapguide-users mailing listmapguide-users@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: SPAM-LOW: Re: [mapguide-users] GDAL problem
Problem solved - as usual it was a coord system problem. I was blind for a bit therehad my map set to a different system (had copied it as a template from another project in another province). Andrew On 10/1/2009 5:43 PM, Andrew DeMerchant wrote: It actually looks like I don't have one - is that possible? If I go to the generic editor for my data source and press the "show all" button, I see nothing listed. I should point out that these files have their coords in world files (so, a tfw and a jgw), rather than right in the image header Andrew On 10/1/2009 5:36 PM, Jonathon McIntyre wrote: I have seen this when MG is not able to read the header of the file correctly and you end up with invalid coordinates in the config file. What does your config file look like? Does it have 10/-10 for values in the bounding box? We ended up having to right an FME script to deal with extracting the coordinates correctly. Regards, Jonathon From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: October 1, 2009 12:53 PM To: MapGuide Users Mail List Subject: [mapguide-users] GDAL problem I'm getting a problem showing a jpg and a tiffwhen I run MGOS (2.0.2) in debug mode, I see: (7120) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. Exception occurred in method MgServerSelectFeatures.SelectFeatures at line 249 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\ServerSelectFeatures.cpp I've tried about everything that I can think of - any suggestions? Other files in other projects are working fine. Andrew -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 Internal Virus Database is out of date. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.13.111/2386 - Release Date: 09/21/09 05:51:00 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pices jointes) est confidentiel et peut tre privilgi. La distribution ou la divulgation non autorise de ce courriel est interdite. Sa divulgation toute personne autre que son destinataire ne constitue pas une renonciation de privilge. Si vous avez reu ce courriel par erreur, veuillez nous aviser et liminer ce courriel, ainsi que les pices jointes, de votre systme informatique et de vos dossiers. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pices jointes) est confidentiel et peut tre privilgi. La distribution ou la divulgation non autorise de ce courriel est interdite. Sa divulgation toute personne autre que son destinataire ne constitue pas une renonciation de privilge. Si vous avez reu ce courriel par erreur, veuillez nous aviser et liminer ce courriel, ainsi que les pices jointes, de votre systme informatique et de vos dossiers. -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 This e-mail message (including attachments,
RE: [mapguide-users] Need Highlighting Sample
Autodesk replaced DETE with RealDWG in Studio 2009 thus explaining the different behaviour. - Jackie Andy Morsell wrote: Quote Gordon: Although you can load DWG files, you cannot get OBJECT DATA, BLOCK ATTRIBUTES or LINK TEMPLATES. You used to be able to with Autodesk MapGuide Studio 2008 and below by defining feature classes in Map. As part of the feature class, you could assign the object data or data link attributes and then Studio would let you import the entire feature class. But, Autodesk did away with the capability in Studio 2009 for whatever reason so now people are stuck doing this outside of MapGuide. I do the same thing as your last description: export from Map to SDF with the object data or link template data then load on to the MapGuide server and connect to the folder via an alias. For performance reasons, I do this in lieu of exporting with only the key and using a database join in MapGuide. Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL Sent: Thursday, October 01, 2009 12:12 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Need Highlighting Sample 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 2010nbsp;and am in need of a simplified example for how to highlight items on a map.nbsp; I used MapGuide Studio 2010 to import data from a dwg drawing.nbsp; The drawing contains a 2d rendering of a building floor.nbsp; I am trying to figure out how to hilight various rooms (or polylines)nbsp;within the floor.nbsp; Can someone please point me in the direction of an example that might show me how to highlight polylines within a map.nbsp; Also is it possible to highlight ojbects based on their entity handle or is this info lost when importing from dwg.nbsp; nbsp; Fyi, I am using the AJAX viewer and coding in .net. nbsp; Many thanks in advance, Matt ___ mapguide-users mailing list mapguide-users@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. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3752881.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Need Highlighting Sample
Hello Jackie, I do have some experience with RealDWG, are you saying that I can convert DWG to SDF using RealDWG? Thanks, Matt -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Thursday, October 01, 2009 5:12 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Need Highlighting Sample Autodesk replaced DETE with RealDWG in Studio 2009 thus explaining the different behaviour. - Jackie Andy Morsell wrote: Quote Gordon: Although you can load DWG files, you cannot get OBJECT DATA, BLOCK ATTRIBUTES or LINK TEMPLATES. You used to be able to with Autodesk MapGuide Studio 2008 and below by defining feature classes in Map. As part of the feature class, you could assign the object data or data link attributes and then Studio would let you import the entire feature class. But, Autodesk did away with the capability in Studio 2009 for whatever reason so now people are stuck doing this outside of MapGuide. I do the same thing as your last description: export from Map to SDF with the object data or link template data then load on to the MapGuide server and connect to the folder via an alias. For performance reasons, I do this in lieu of exporting with only the key and using a database join in MapGuide. Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL Sent: Thursday, October 01, 2009 12:12 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Need Highlighting Sample 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 2010nbsp;and am in need of a simplified example for how to highlight items on a map.nbsp; I used MapGuide Studio 2010 to import data from a dwg drawing.nbsp; The drawing contains a 2d rendering of a building floor.nbsp; I am trying to figure out how to hilight various rooms (or polylines)nbsp;within the floor.nbsp; Can someone please point me in the direction of an example that might show me how to highlight polylines within a map.nbsp; Also is it possible to highlight ojbects based on their entity handle or is this info lost when importing from dwg.nbsp; nbsp; Fyi, I am using the AJAX viewer and coding in .net. nbsp; Many thanks in advance, Matt ___ mapguide-users mailing list mapguide-users@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. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3752881.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Need Highlighting Sample
Yes, but they actually removed overall product functionality in Studio when they did that. That's not something that you see too often in software products. I guess RealDWG must not support object data or data links. Although I see that FME's Map 3D Object Data Reader/Writer now uses RealDWG as well. So maybe Autodesk just didn't have the time or initiative to retain that functionality when switching DWG reader engines. Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Thursday, October 01, 2009 5:12 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Need Highlighting Sample Autodesk replaced DETE with RealDWG in Studio 2009 thus explaining the different behaviour. - Jackie Andy Morsell wrote: Quote Gordon: Although you can load DWG files, you cannot get OBJECT DATA, BLOCK ATTRIBUTES or LINK TEMPLATES. You used to be able to with Autodesk MapGuide Studio 2008 and below by defining feature classes in Map. As part of the feature class, you could assign the object data or data link attributes and then Studio would let you import the entire feature class. But, Autodesk did away with the capability in Studio 2009 for whatever reason so now people are stuck doing this outside of MapGuide. I do the same thing as your last description: export from Map to SDF with the object data or link template data then load on to the MapGuide server and connect to the folder via an alias. For performance reasons, I do this in lieu of exporting with only the key and using a database join in MapGuide. Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL Sent: Thursday, October 01, 2009 12:12 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Need Highlighting Sample 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 2010nbsp;and am in need of a simplified example for how to highlight items on a map.nbsp; I used MapGuide Studio 2010 to import data from a dwg drawing.nbsp; The drawing contains a 2d rendering of a building floor.nbsp; I am trying to figure out how to hilight various rooms (or polylines)nbsp;within the floor.nbsp; Can someone please point me in the direction of an example that might show me how to highlight polylines within a map.nbsp; Also is it possible to highlight ojbects based on their entity handle or is this info lost when importing from dwg.nbsp; nbsp; Fyi, I am using the AJAX viewer and coding in .net. nbsp; Many thanks in advance, Matt ___ mapguide-users mailing list mapguide-users@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. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Need-Highlighting-Sample-tp3751164p3752881.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org
[mapguide-users] Fusion Error (Object Doesn't Supported)
Hii group, I'm having with fusion 1.0/2.0 with MGOS 2.1. FusionSF keep on saying object doesn't supported when i tried to view it on my browser. I would like to know if anybody manage to use fusion with MGOS 2.1? What version is suitable for it? thanks, -- View this message in context: http://n2.nabble.com/Fusion-Error-Object-Doesn-t-Supported-tp3753421p3753421.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Fusion Error (Object Doesn't Supported)
Are you using the compressed or non-compressed version? Do you get the same result when you switch? - Jackie ary_s wrote: Hii group, I'm having with fusion 1.0/2.0 with MGOS 2.1. FusionSF keep on saying object doesn't supported when i tried to view it on my browser. I would like to know if anybody manage to use fusion with MGOS 2.1? What version is suitable for it? thanks, -- View this message in context: http://n2.nabble.com/Fusion-Error-Object-Doesn-t-Supported-tp3753421p3753515.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users