Re: [mapguide-users] Selecting in Fusion Template (Slate)
hi Adam I had the same problem, look the post http://n2.nabble.com/Resolved-selection-for-MapGuide-2-0-2-and-fusion-1-1-1td3786749.html#a3786749 bye Alba -- View this message in context: http://n2.nabble.com/Selecting-in-Fusion-Template-Slate-tp3860728p3870687.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] MapGuide vs Google maps
I have never used google maps and I was asked to write a report compairing the two. I am currently using Mapguide enterprise 2010. I am just wondering if anyone has any insight of the pros and cons for using either one or the other? Thanks -- View this message in context: http://n2.nabble.com/MapGuide-vs-Google-maps-tp3872133p3872133.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] MapGuide vs Google maps
This is a bit like comparing apples and oranges. The two are very different kind of technologies. Google Maps basically renders maps using pre-generated tiles. It has some good API for overlaying KML data, but that data will be rendered client-side by the user's browser so any excessive amounts of data will bring the whole thing to a screeching halt. Mapguide renders map images that are unique per session. Therefore, it has the ability to turn layers on or off, to personalise the look of a map layer at any time during the session and allow for rendering of custom data generated server-side. The dynamic nature of Mapguide allows you to generate thematics for your layers of data (like say, different colors for traffic levels on a street) and every time Mapguide generates an image of your map, the streets will be colored depending on the current values for the traffic levels. Thematics on layers is something that is very widely used in GIS. There's also the fun thing of mixing both technologies together. Using OpenLayers (www.openlayers.org), it is possible to overlay Google Maps data and Mapguide data. I do believe the very latest version of the Fusion Viewer enables dev. to create a viewer that does this as well. This can be very useful if you want to use Google's basemap and overlay some geometries from your own Mapguide server. You basically get Google's look and feel, plus its speed, along with your data. Keep in mind if your site isn't widely available to the public (no login, non-Intranet, etc), using Google Maps requires a license and there are fees attached to it. Nickthetemp wrote: I have never used google maps and I was asked to write a report compairing the two. I am currently using Mapguide enterprise 2010. I am just wondering if anyone has any insight of the pros and cons for using either one or the other? Thanks -- View this message in context: http://n2.nabble.com/MapGuide-vs-Google-maps-tp3872133p3874106.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] Re-projection information
Does anyone know of good sample code that illustrates how to re-project features/coordinates on the fly in MapGuide? Thanks, Gido ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re-projection information 2
I should have included my code in the previous message; may-be somebody can see what's wrong with it. Thanks, Gido $coordSysFactory = new MgCoordinateSystemFactory(); $sourceSRS = $coordSysFactory-Create($featureSRS); $targetSRS = $coordSysFactory-Create($mapSRS); $csTransformation = $coordSysFactory-GetTransform($sourceSRS, $targetRSR); $parcelQuery = new MgFeatureQueryOptions(); try { $featureReader = $layer-SelectFeatures($parcelQuery); while($featureReader-ReadNext()) { $attVal = $featureReader-GetString(PARCELDESI); $geoObj = $featureReader-GetGeometry(Geometry); $newObj = $geoObj-Transform($csTransformation); = Fails: } } ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Simple Open Map in .NET Issues
I create a session then use session to create site connection. I then have issues with map.open(). I tried map name Shebotgan and I tried using a resource indentifier. What am I doing wrong? MapGuideApi.MgInitializeWebTier(C:\\Program Files (x86)\\OSGeo\\MapGuide\\Web\\www\\webconfig.ini); MgUserInformation userInfo = new MgUserInformation(Anonymous, ); MgSite site = new MgSite(); site.Open(userInfo); String mgSessionId = site.CreateSession(); MgUserInformation userInfoSession = new MgUserInformation(mgSessionId); MgSiteConnection siteConnection = new MgSiteConnection(); siteConnection.Open(userInfoSession); //MgResourceIdentifier resourceId = new MgResourceIdentifier(Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition); //create resource services MgResourceService resourceSrvc = (MgResourceService)siteConnection.CreateService(MgServiceType.ResourceService); MgResourceIdentifier resourceId = new MgResourceIdentifier(Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition); MgMap map = new MgMap(); map.Create(resourceId, mapName); map.Open(resourceSrvc, mapName); ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re-projection information 2
Is that a copy/paste? If so, you have a typo in your $csTransformation definition (RSR instead of SRS) Jason 2009/10/22 Langen, Gido gido.lan...@nrcan-rncan.gc.ca I should have included my code in the previous message; may-be somebody can see what's wrong with it. Thanks, Gido $coordSysFactory = new MgCoordinateSystemFactory(); $sourceSRS = $coordSysFactory-Create($featureSRS); $targetSRS = $coordSysFactory-Create($mapSRS); $csTransformation = $coordSysFactory-GetTransform($sourceSRS, $targetRSR); $parcelQuery = new MgFeatureQueryOptions(); try { $featureReader = $layer-SelectFeatures($parcelQuery); while($featureReader-ReadNext()) { $attVal = $featureReader-GetString(PARCELDESI); $geoObj = $featureReader-GetGeometry(Geometry); $newObj = $geoObj-Transform($csTransformation); = Fails: } } ___ 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] Passing username and password into url with fusion
In my case, changing ApplicationDefinition.js doesn't fix the issue with authentication form in FF 3.0.14. If the final release will solve this problem, i'd love to wait.. thanks, GordonL wrote: You can fix it with that fix that was listed on an earlier post: In ApplicationDefinition.js, the method getAppDef(xhr) needs to be changed to be like this: getAppDef: function(xhr){ if (xhr typeof(xhr) == object xhr.responseText) { this.sessionId = xhr.responseText; Fusion.sessionId = this.sessionId; } var r = new Fusion.Lib.MGRequest.MGGetResourceContent(this.applicationDefinition); r.parameters.session = this.sessionId; r.parameters.format = 'application/json'; this.oBroker.dispatchRequest(r, OpenLayers.Function.bind(this.getAppDefCB, this)); } regards gordon ary_s wrote: the example works for IE and Chrome but my FF still ask username and password. thanks Andy Morsell wrote: No, Fusion does not support that. See this issue on the Fusion Trac: http://trac.osgeo.org/fusion/ticket/105 You can, however, pass a valid SESSION at the URL to bypass the login prompt. See the attached example. Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Fraser Burgess Sent: Tuesday, October 20, 2009 12:06 PM To: MapGuide Users Mail List Subject: [mapguide-users] Passing username and password into url with fusion Is there a trick to passing username and password into a URL with Fusion: A URL such as http://mywebsite.com/mapguide2010/fusion/templates/mapguide/TMOslate/index.h tml?ApplicationDefinition=Library%3a%2f%2fTMO%2fLayouts%2fTMO%20Map.Applicat ionDefinition http://mywebsite.com/mapguide2010/fusion/templates/mapguide/TMOslate/index. html?ApplicationDefinition=Library%3a%2f%2fTMO%2fLayouts%2fTMO%20Map.Applica tionDefinitionLOCALE=enUSERNAME=AnonymousPASSWORD= LOCALE=enUSERNAME=AnonymousPASSWORD= still brings up the log in prompt Fraser ___ 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/Passing-username-and-password-into-url-with-fusion-tp3860654p3876310.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