From gordon.luckett at arrowgeomatics.com Fri Jan 1 14:30:55 2010 From: gordon.luckett at arrowgeomatics.com (GordonL) Date: Fri Jan 1 14:30:57 2010 Subject: [mapguide-users] mapguide In-Reply-To: References: <000601ca82eb$8145ef50$280ba8c0@ssdr> Message-ID: <1262374255312-4240341.post@n2.nabble.com> Hi Naseeb, I would recommend creating an alias to a folder on your server using the MapGuide Administrator. 1. click Configure External Files. 2. Click Add Alias 3. Type the Alias Name (i.e. MY_SHP_FILES) 4. Type the full path to your SHP files (i.e. C:\DATA\SHP\) 5. Click Save Now using MapGuide Studio or Maestro you can use this alias as your data connection for SHP files. regards gordon Naseeb wrote: > > Hai to all, >> > > I have install map guide server and also i have uploaded the Sheboygan.zip > it is working fine. > one thing i don't know how to start application development and how to > upload the shape files in java platform.please can any help me.thank you > in > adavance. > > > > _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> > > > -- > NASEEB > > _______________________________________________ > 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-tp4202964p4240341.html Sent from the MapGuide Users mailing list archive at Nabble.com. From frank.misurec at open-minds.ca Sat Jan 2 17:04:43 2010 From: frank.misurec at open-minds.ca (Frank Misurec) Date: Sat Jan 2 19:59:16 2010 Subject: [mapguide-users] Fusion SetExtents Stops Working Message-ID: <001601ca8bf7$98606e80$c9214b80$@misurec@open-minds.ca> I have a MapGuide Enterprise 2010 application using Fusion. I have an application running in a custom widget, basically Task Pane, and it performs the basic operations: - Allows the user to open a Project - Creates several layers in the Session repository filtered for the objects belonging to the project - Opens the project zooms the map to the extents of the project This works fine, the project form opens and the following code is used to zoom to the extents: window.onload = function() { var mapWidget = window.top.Fusion.getWidgetById('Map'); var extents = new OpenLayers.Bounds($("#MinX").attr("value"), $("#MinY").attr("value"), $("#MaxX").attr("value"), $("#MaxY").attr("value")); mapWidget.setExtents(extents); } This all works fine. However, if I perform an action in another form and then return to the main project form the window.onload function is executed and the mapWidget.setExtents call never returns and the map is not refreshed. In addition my Map is partially frozen in the sense that the zoom in/out buttons on the toolbar don't work and panning doesn't work. However, Zoom Rectangle does work and this updates and refreshes the map reflecting any changes that were made. Also, after a Zoom Rectangle at any time I can make an edit and the window onload function works properly when the project form is redisplayed. Any ideas what the problem might be? Note the use of JQuery to retrieve the extents from the form elements. Any chance there is a conflict between JQuery and Javascript libraries Fusion is using? Thanks, Frank. From naseebshaik at gmail.com Mon Jan 4 00:04:11 2010 From: naseebshaik at gmail.com (Naseeb shaik) Date: Mon Jan 4 00:04:13 2010 Subject: [mapguide-users] mapguide In-Reply-To: <1262374255312-4240341.post@n2.nabble.com> References: <000601ca82eb$8145ef50$280ba8c0@ssdr> <1262374255312-4240341.post@n2.nabble.com> Message-ID: Thanx alot GordonL . On 1/2/10, GordonL wrote: > > > Hi Naseeb, > I would recommend creating an alias to a folder on your server using the > MapGuide Administrator. > > 1. click Configure External Files. > 2. Click Add Alias > 3. Type the Alias Name (i.e. MY_SHP_FILES) > 4. Type the full path to your SHP files (i.e. C:\DATA\SHP\) > 5. Click Save > > Now using MapGuide Studio or Maestro you can use this alias as your data > connection for SHP files. > > regards > gordon > > > > Naseeb wrote: > > > > Hai to all, > >> > > > > I have install map guide server and also i have uploaded the > Sheboygan.zip > > it is working fine. > > one thing i don't know how to start application development and how to > > upload the shape files in java platform.please can any help me.thank you > > in > > adavance. > > > > > > > > _______________________________________________ > >> mapguide-users mailing list > >> mapguide-users@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapguide-users > >> > >> > > > > > > -- > > NASEEB > > > > _______________________________________________ > > 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-tp4202964p4240341.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 > -- NASEEB -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100104/34561948/attachment.html From nick_sebastyan at yahoo.com Mon Jan 4 03:49:08 2010 From: nick_sebastyan at yahoo.com (Nick Sebastyan) Date: Mon Jan 4 03:55:52 2010 Subject: [mapguide-users] Security restrictions on layers functionality Message-ID: <457341.11655.qm@web113619.mail.gq1.yahoo.com> Greetings all, I was wondering if the functionality to restricted layers has been implemented because when i try to put restrictions on a layer when i try to view the map in a browser i get a "Permission denied to resource: Library://Samples/Sheboygan/Layers/Districts.LayerDefinition" error. What i mean by functionality is the map to be displayed without the restricted layers instead of getting an error page. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100104/f6fb3103/attachment.html From martin.morrison at edsi.com Mon Jan 4 08:31:10 2010 From: martin.morrison at edsi.com (Martin Morrison) Date: Mon Jan 4 08:31:12 2010 Subject: [mapguide-users] Security restrictions on layers functionality In-Reply-To: <457341.11655.qm@web113619.mail.gq1.yahoo.com> References: <457341.11655.qm@web113619.mail.gq1.yahoo.com> Message-ID: Create two maps, one with the secured layers, one without. The client only gets the secured map after login... Martin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Nick Sebastyan Sent: Monday, January 04, 2010 3:49 AM To: MapGuide Users Mail List Subject: [mapguide-users] Security restrictions on layers functionality Greetings all, I was wondering if the functionality to restricted layers has been implemented because when i try to put restrictions on a layer when i try to view the map in a browser i get a "Permission denied to resource: Library://Samples/Sheboygan/Layers/Districts.LayerDefinition" error. What i mean by functionality is the map to be displayed without the restricted layers instead of getting an error page. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100104/8c33158f/attachment.html From trevor_wekel at otxsystems.com Mon Jan 4 10:05:21 2010 From: trevor_wekel at otxsystems.com (Trevor Wekel) Date: Mon Jan 4 10:06:56 2010 Subject: [mapguide-users] Security restrictions on layers functionality In-Reply-To: References: <457341.11655.qm@web113619.mail.gq1.yahoo.com> Message-ID: <7661E3F3A90DBC47869E52672C2E4159F55E251535@VA3DIAXVS121.RED001.local> The security model in MapGuide does support layer permissions based on users/groups. However, I do not believe the ramifications of permissions on layers, feature sources, and maps has been fully considered. If a permission denied error on a layer or a feature source simply removed the layer(s) from map, a single map supporting a wide range of groups/roles could be created. This would be an excellent enhancement to MapGuide. I believe an RFC should be written to capture all the details on how permissions should affect display of maps. I expect there will be some code changes required in both viewers and the mapagent to successfully implement this enhancement. This would likely be a small to medium development effort (one week, maybe two) I have a couple of other ideas for RFCs in this realm as well: - Role based display of menu items and tool bar buttons. This would allow MapGuide to "autoconfigure" itself when a user logs in. This would take significantly more time to implement due to authoring and schema changes required. - LDAP/Active Directory integration. This would allow MapGuide to authenticate (username/password) and authorize (user/group/role) against corporate security infrastructure. I can't take credit for this idea. It was discussed during my time at Autodesk. This would also be a longer term project. If there is positive response from the list, I would be happy to take these on if funding can be found. Please keep in mind that funding can also come from multiple sources. This is one of the advantages of open source. A single company does not have to bear the entire financial burden. Thanks, Trevor From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison Sent: January 4, 2010 6:31 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Security restrictions on layers functionality Create two maps, one with the secured layers, one without. The client only gets the secured map after login... Martin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Nick Sebastyan Sent: Monday, January 04, 2010 3:49 AM To: MapGuide Users Mail List Subject: [mapguide-users] Security restrictions on layers functionality Greetings all, I was wondering if the functionality to restricted layers has been implemented because when i try to put restrictions on a layer when i try to view the map in a browser i get a "Permission denied to resource: Library://Samples/Sheboygan/Layers/Districts.LayerDefinition" error. What i mean by functionality is the map to be displayed without the restricted layers instead of getting an error page. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100104/9a159c65/attachment.html From gordon.luckett at arrowgeomatics.com Mon Jan 4 11:05:21 2010 From: gordon.luckett at arrowgeomatics.com (GordonL) Date: Mon Jan 4 11:05:24 2010 Subject: [mapguide-users] 2.1 Beta (Fusion) Problems In-Reply-To: <1246983838486-3220307.post@n2.nabble.com> References: <006d01c9f687$5c8074b0$15815e10$@com> <008401c9f697$66e63fb0$34b2bf10$@com> <1246047333702-3163783.post@n2.nabble.com> <1246983838486-3220307.post@n2.nabble.com> Message-ID: <1262621121668-4250537.post@n2.nabble.com> Oops. The BETA 1b for Autodesk MapGuide Enterprise 2010 Webextension breaks this fix.. now FireFox is prompting again for password, even with this fix. Does this occur in MGOS too? thanks gordon GordonL wrote: > > Awesome fix! Thanks for that. I now have Firefox working without > prompting for a password! > > thanks again > > gordon > > > Benoit Begin wrote: >> >> The Firefox issue is fairly straightforward to fix, except for my lack of >> understanding of the actual cause of the issue. >> >> 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)); >> } >> >> Basically what happens is that this function is called by this line of >> code: >> "window.setTimeout(OpenLayers.Function.bind(this.getAppDef,this),5);". >> For a reason that I couldn't identify due to lack of time, the value of >> xhr is sometimes equal to 5. Therefore, this causes the code to go into >> assigning 5.responseText (undefined) to this.sessionId and making it >> require to login again. >> >> I'm guessing it has something to do with an underlying library doing some >> funky binding/prototyping under Firefox, but I didn't have time to find >> the cause. My fix only works because it makes sure the xhr parameter is >> an object and has the responseText parameter, so it's not really a >> "clean" fix per say, but atleast it makes things work under Firefox. >> >> >> Andy Morsell wrote: >>> >>> Correction, http://trac.osgeo.org/fusion/ticket/232 does not appear to >>> be a >>> problem in this version. >>> >>> Andy >>> >>> >>> From: mapguide-users-bounces@lists.osgeo.org >>> [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Andy >>> Morsell >>> Sent: Friday, June 26, 2009 10:56 AM >>> To: 'MapGuide Users Mail List' >>> Subject: [mapguide-users] 2.1 Beta (Fusion) Problems >>> >>> Hi all, >>> I installed MGOS 2.1 Beta yesterday and here are several Fusion problems >>> that I?m seeing: >>> >>> * Firefox is still prompting for user authentication even when >>> SESSION is passed as a URL parameter. It works ok in IE. This has been >>> mentioned in other threads here. >>> * The Secondary and Main toolbars do not appear in all MapGuide >>> templates. It looks like they may be covered by other divs. I see this >>> in >>> both FF and IE. >>> * Tooltip hyperlinks do not appear as clickable hyperlinks >>> anymore. >>> The text of the hyperlink appears though. Both FF and IE. >>> * Several tooltip problems that I have logged in Trac have not >>> been >>> fixed. Some of these I even included the code fixes for! These >>> include: >>> >>> http://trac.osgeo.org/fusion/ticket/232 >>> http://trac.osgeo.org/fusion/ticket/236 >>> http://trac.osgeo.org/fusion/ticket/237 >>> >>> I will be voting -1 on releasing MGOS 2.1 until the above Fusion >>> problems >>> are fixed and a newer release of Fusion is included. I realize that >>> most of >>> these problems are with Fusion, but as far as I am concerned Fusion and >>> MGOS >>> are intertwined in terms of functionality. I will add the new items to >>> the >>> Fusion Trac in the next day or so. My next step is to look at my ECW?s >>> and >>> MrSID?s with 2.1 since others have reported problems with that. >>> >>> Andy Morsell, P.E. >>> Spatial Integrators, Inc. >>> 47? 46' N 116? 49' W >>> www.SpatialGIS.com >>> >>> >>> _______________________________________________ >>> 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/2-1-Beta-Fusion-Problems-tp3163004p4250537.html Sent from the MapGuide Users mailing list archive at Nabble.com. From isidoro.aguilera at aplicad.com Mon Jan 4 12:04:54 2010 From: isidoro.aguilera at aplicad.com (iaguilera) Date: Mon Jan 4 12:04:55 2010 Subject: [mapguide-users] WMS connection config in MGOS 2.1 Message-ID: <1262624694197-4250883.post@n2.nabble.com> I'm trying to do a WMS connection to the next WMS service: http://www.idee.es/wms/PNOA/PNOA and layer: pnoa. I want to configure de coordenate system to EPSG:23030, so I included the next config.xml file, but the connection doesn't work. Without config.xml file the connection works, but I need to specify the coordinate system. Where's the problem?: png false 0xFFFFFF 0 EPSG:23030