From messagesky at 126.com Tue Apr 1 00:26:00 2008 From: messagesky at 126.com (messagesky) Date: Tue Apr 1 00:23:03 2008 Subject: [mapguide-users] Help, Set up Sample Applications (Java) References: <200804011100211713072@126.com>, <7a85053e0803312033l16649c4dh6dceedcb6fa0cfa3@mail.gmail.com> Message-ID: <200804011225575159610@126.com> LOAD SUCCEEDED Thank you! 2008-04-01 messagesky 发件人: Zac Spitzer 发送时间: 2008-04-01 11:58:14 收件人: MapGuide Users Mail List 抄送: 主题: Re: [mapguide-users] Help, Set up Sample Applications (Java) rename the file to .mgp On Tue, Apr 1, 2008 at 2:00 PM, messagesky wrote: > > > Hello! > > I want set up Sample Applications (Java) with Apache and Tomcat in Windows > following the document "InstallMapGuideOpenSourceSamples.pdf". > > > Download the package Sheboygan.mgp from > https://mapguide.osgeo.org/download/releases/2.0.x-samples. The URL is > http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp > > Download it. It is not Sheboygan.mgp. It is Sheboygan.zip. > > UnZip Sheboygan.zip, put it to "C:\Program > Files\MapGuideOpenSource\Server\Packages". It do not work. > > Would you like give me some help? > > Thank you very much! > > 2008-04-01 ________________________________ > > messagesky > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/7c81bf2e/attachment.html From messagesky at 126.com Tue Apr 1 02:16:31 2008 From: messagesky at 126.com (messagesky) Date: Tue Apr 1 02:13:27 2008 Subject: [mapguide-users] Can not run Simple Application(Java) Message-ID: <200804011416295001663@126.com> My Computer: Windows XP, Java:1.5 (1) install MgServerSetup-2.0.0.exe (2) install MgWebServerExtensionsSetup-2.0.0.exe Select "Bundled Configuration" ---> Java (3) Download Sheboygan.mgp from http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And put it to "MapGuideOpenSource\Server\Packages" (4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by Administrator, admin load package:Sheboygan.mgp succeeded. (5) Visit: http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp Just like this: <%@ page import="org.osgeo.mapguide.*" %> <%@ page import="java.util.*" %> <%@ page import="java.io.*" %> <%@ page import="java.text.*" %> <%@ page import="javax.servlet.jsp.*" %> <%@ page import="javax.servlet.http.*" %> <%@ include file ="utilityfunctions.jsp" %> (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add "JkMount /mapguide2008/javaviewersample/* worker1" at the end of file. restart apache. Visit: http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp Just like this: <%-- -Copyright (C) 2004-2006 Autodesk, Inc. -This library is free software; you can redistribute it and/or -modify it under the terms of version 2.1 of the GNU Lesser -General Public License as published by the Free Software Foundation. -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA --%> <%@ page import="org.osgeo.mapguide.*" %> <%@ page import="java.util.*" %> <%@ page import="java.io.*" %> <%@ page import="java.text.*" %> <%@ page import="javax.servlet.jsp.*" %> <%@ page import="javax.servlet.http.*" %> <%@ include file ="utilityfunctions.jsp" %> My Englis is very poor. Would you like give me some help? Thanks a lot. 2008-04-01 messagesky -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/ae9c6751/attachment.html From zac.spitzer at gmail.com Tue Apr 1 02:21:08 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Tue Apr 1 02:21:10 2008 Subject: [mapguide-users] Can not run Simple Application(Java) In-Reply-To: <200804011416295001663@126.com> References: <200804011416295001663@126.com> Message-ID: <7a85053e0803312321ge367d7el46f465245567b5f7@mail.gmail.com> JkMount /mapguide2008/javaviewersample/* worker1 looks wrong, the 2008 probably relates to the commercial mapguide, try JkMount /mapguide/javaviewersample/* worker1 z On Tue, Apr 1, 2008 at 5:16 PM, messagesky wrote: > > > My Computer: Windows XP, Java:1.5 > > (1) install MgServerSetup-2.0.0.exe > (2) install MgWebServerExtensionsSetup-2.0.0.exe > Select "Bundled Configuration" ---> Java > (3) Download Sheboygan.mgp from > http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And > put it to "MapGuideOpenSource\Server\Packages" > > (4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by > Administrator, admin > load package:Sheboygan.mgp succeeded. > > (5) Visit: > http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp > Just like this: > > <%@ page import="org.osgeo.mapguide.*" %> > <%@ page import="java.util.*" %> > <%@ page import="java.io.*" %> > <%@ page import="java.text.*" %> > <%@ page import="javax.servlet.jsp.*" %> > <%@ page import="javax.servlet.http.*" %> > <%@ include file ="utilityfunctions.jsp" %> > > "http://www.w3.org/TR/html4/frameset.dtd"> > > (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add > "JkMount /mapguide2008/javaviewersample/* worker1" at the end of file. > restart apache. Visit: > http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp > Just like this: > <%-- > -Copyright (C) 2004-2006 Autodesk, Inc. > -This library is free software; you can redistribute it and/or > -modify it under the terms of version 2.1 of the GNU Lesser > -General Public License as published by the Free Software > Foundation. > > -This library is distributed in the hope that it will be useful, > -but WITHOUT ANY WARRANTY; without even the implied warranty of > -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU > -Lesser General Public License for more details. > > -You should have received a copy of the GNU Lesser General > Public > -License along with this library; if not, write to the Free > Software > -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA > 02110-1301 USA > --%> > > <%@ page import="org.osgeo.mapguide.*" %> > <%@ page import="java.util.*" %> > <%@ page import="java.io.*" %> > <%@ page import="java.text.*" %> > <%@ page import="javax.servlet.jsp.*" %> > <%@ page import="javax.servlet.http.*" %> > <%@ include file ="utilityfunctions.jsp" %> > > > > My Englis is very poor. Would you like give me some help? > Thanks a lot. > > > > > 2008-04-01 ________________________________ > > messagesky > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From messagesky at 126.com Tue Apr 1 02:33:12 2008 From: messagesky at 126.com (messagesky) Date: Tue Apr 1 03:00:15 2008 Subject: [mapguide-users] Can not run Simple Application(Java) References: <200804011416295001663@126.com>, <7a85053e0803312321ge367d7el46f465245567b5f7@mail.gmail.com> Message-ID: <200804011433116712827@126.com> Add "JkMount /mapguide/javaviewersample/* worker1" to the end of "WebServerExtensions\Apache2\conf\httpd.conf" restart ApacheMapGuide Visit: http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp Just like: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.2.4 (Win32) PHP/5.2.5 mod_jk/1.2.25 Server at 127.0.0.1 Port 8008 2008-04-01 messagesky 发件人: Zac Spitzer 发送时间: 2008-04-01 14:21:12 收件人: MapGuide Users Mail List 抄送: 主题: Re: [mapguide-users] Can not run Simple Application(Java) JkMount /mapguide2008/javaviewersample/* worker1 looks wrong, the 2008 probably relates to the commercial mapguide, try JkMount /mapguide/javaviewersample/* worker1 z On Tue, Apr 1, 2008 at 5:16 PM, messagesky wrote: > > > My Computer: Windows XP, Java:1.5 > > (1) install MgServerSetup-2.0.0.exe > (2) install MgWebServerExtensionsSetup-2.0.0.exe > Select "Bundled Configuration" --- > Java > (3) Download Sheboygan.mgp from > http://download.osgeo.org/mapguide/releases/2.0.0/samples/Sheboygan.mgp. And > put it to "MapGuideOpenSource\Server\Packages" > > (4) Visit:http://127.0.0.1:8008/mapguide/mapadmin/login.php. Login in by > Administrator, admin > load package:Sheboygan.mgp succeeded. > > (5) Visit: > http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp > Just like this: > > <%@ page import="org.osgeo.mapguide.*" % > > <%@ page import="java.util.*" % > > <%@ page import="java.io.*" % > > <%@ page import="java.text.*" % > > <%@ page import="javax.servlet.jsp.*" % > > <%@ page import="javax.servlet.http.*" % > > <%@ include file ="utilityfunctions.jsp" % > > > "http://www.w3.org/TR/html4/frameset.dtd" > > > (6) When I Opet the file: WebServerExtensions\Apache2\conf\httpd.conf, add > "JkMount /mapguide2008/javaviewersample/* worker1" at the end of file. > restart apache. Visit: > http://127.0.0.1:8008/mapguide/javaviewersample/ajaxviewersample.jsp > Just like this: > <%-- > -Copyright (C) 2004-2006 Autodesk, Inc. > -This library is free software; you can redistribute it and/or > -modify it under the terms of version 2.1 of the GNU Lesser > -General Public License as published by the Free Software > Foundation. > > -This library is distributed in the hope that it will be useful, > -but WITHOUT ANY WARRANTY; without even the implied warranty of > -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > GNU > -Lesser General Public License for more details. > > -You should have received a copy of the GNU Lesser General > Public > -License along with this library; if not, write to the Free > Software > -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA > 02110-1301 USA > --% > > > <%@ page import="org.osgeo.mapguide.*" % > > <%@ page import="java.util.*" % > > <%@ page import="java.io.*" % > > <%@ page import="java.text.*" % > > <%@ page import="javax.servlet.jsp.*" % > > <%@ page import="javax.servlet.http.*" % > > <%@ include file ="utilityfunctions.jsp" % > > > > > My Englis is very poor. Would you like give me some help? > Thanks a lot. > > > > > 2008-04-01 ________________________________ > > messagesky > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/35e1e3aa/attachment.html From yannick.veillet at wanadoo.fr Tue Apr 1 03:47:50 2008 From: yannick.veillet at wanadoo.fr (Yannick Veillet) Date: Tue Apr 1 03:47:54 2008 Subject: [mapguide-users] SDF 3 and MGOS 2.0 Message-ID: Hi, I just have a problem when I want to read an SDF3 layer (FDO3.3) with MGOS 2.0. When I use join between SDF3 and ODBC Access table. It doesn't display my layer. Is it normal? SDF3 without join is OK, what's wrong! Thanks for help! Yannick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/c41067b4/attachment.html From yannick.veillet at wanadoo.fr Tue Apr 1 03:50:36 2008 From: yannick.veillet at wanadoo.fr (Yannick Veillet) Date: Tue Apr 1 03:50:39 2008 Subject: [mapguide-users] Ltrim Message-ID: Hi, Is it possible to use Ltrim, Rtrim .in advanced options when you create a layer with mapguide studio? Anyone have an example or syntax? Thanks Yannick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/996a4399/attachment.html From zac.spitzer at gmail.com Tue Apr 1 03:51:53 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Tue Apr 1 03:51:56 2008 Subject: [mapguide-users] SDF 3 and MGOS 2.0 In-Reply-To: References: Message-ID: <7a85053e0804010051h3b2a7d3elb7e88a5d1b56c027@mail.gmail.com> is there anything in the server error.log? On Tue, Apr 1, 2008 at 6:47 PM, Yannick Veillet wrote: > > > > > Hi, > > I just have a problem when I want to read an SDF3 layer (FDO3.3) with MGOS > 2.0. When I use join between SDF3 and ODBC Access table. It doesn't display > my layer? > > Is it normal? > > SDF3 without join is OK, what's wrong! > > Thanks for help! > > > > Yannick > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From yannick.veillet at wanadoo.fr Tue Apr 1 04:26:41 2008 From: yannick.veillet at wanadoo.fr (Yannick Veillet) Date: Tue Apr 1 04:26:44 2008 Subject: [mapguide-users] SDF 3 and MGOS 2.0 In-Reply-To: <7a85053e0804010051h3b2a7d3elb7e88a5d1b56c027@mail.gmail.com> References: <7a85053e0804010051h3b2a7d3elb7e88a5d1b56c027@mail.gmail.com> Message-ID: No, nothing! -----Message d'origine----- De?: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] De la part de Zac Spitzer Envoy??: mardi 1 avril 2008 09:52 ??: MapGuide Users Mail List Objet?: Re: [mapguide-users] SDF 3 and MGOS 2.0 is there anything in the server error.log? On Tue, Apr 1, 2008 at 6:47 PM, Yannick Veillet wrote: > > > > > Hi, > > I just have a problem when I want to read an SDF3 layer (FDO3.3) with MGOS > 2.0. When I use join between SDF3 and ODBC Access table. It doesn't display > my layer > > Is it normal? > > SDF3 without join is OK, what's wrong! > > Thanks for help! > > > > Yannick > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users From madair at dmsolutions.ca Tue Apr 1 09:04:33 2008 From: madair at dmsolutions.ca (Mike Adair) Date: Tue Apr 1 09:04:41 2008 Subject: [mapguide-users] Fusion vs Basic web layouts using Sheboygan samples report very different co-ordinates In-Reply-To: <7a85053e0803311644y533b04f8p363505cce00f7d8c@mail.gmail.com> References: <7a85053e0803310057x72ace322u2bdb9a92d6322fe4@mail.gmail.com> <47F0FDC3.9090002@dmsolutions.ca> <7a85053e0803311644y533b04f8p363505cce00f7d8c@mail.gmail.com> Message-ID: <47F232E1.1000603@dmsolutions.ca> No this is a Fusion only thing. OL is reporting the correct location, some of the Fusion constants used to calculate the coordinates in other units are incorrect/inconsistent. I'm actually in the process of changing that over to just use the OL MousePosition control. Mike Zac Spitzer wrote: > and this also affects openlayers trunk? > > On Tue, Apr 1, 2008 at 2:05 AM, Mike Adair wrote: > >> I can confirm that this is indeed a Fusion issue. Internally, Fusion is >> using a different value for 'metersPerUnit' that what is returned by the >> mapguide server. Look for this to be resolved soon in SVN. The >> geography of the underlying map is correct however. >> >> Mike >> >> >> >> Zac Spitzer wrote: >> > I have been having issues with getting the an openlayers tiled >> > mapDefinition to match >> > up with some markers coming out of the database. >> > >> > So in classic, take a step back and try and solve the problem I just >> > did a quick test using >> > Mapguide studio 2009 with the Sheboygan samples, and i have found what >> > appears to be a >> > serious discrepancy between the co-ordinates being reported (and used?) >> > >> > Open a flexible web layout and a basic web layout from the Sheboygan samples. >> > >> > Zoom into district 8 and note the co-ordinates for the intersection of >> > N 3rd St & Parks street >> > >> > The Flexible Layout reports (x: -88.2986, y: 44.062) >> > The Basic Layout reports (x: -87.704540 y:43.765598) >> > >> > Google agrees with the basic layout co-ordinates >> > http://maps.google.com.au/maps?f=q&hl=en&geocode=&q=Sheboygan+&ie=UTF8&ll=43.765636,-87.704528&spn=0.002677,0.007167&z=18&iwloc=addr >> > >> > Is there a reason behind this? >> > >> > >> > >> >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> > > > > From sir_sunkee at yahoo.ca Tue Apr 1 10:51:45 2008 From: sir_sunkee at yahoo.ca (Don C. MacGregor) Date: Tue Apr 1 10:51:48 2008 Subject: [mapguide-users] Adding custom tasks to Fusion template Message-ID: <730487.8923.qm@web50004.mail.re2.yahoo.com> Hi all, I am running MGOS 2.0 with IIS and PHP on Win2003 using AJAX viewer, and now want to switch to fusion technology. Can someone please help by telling me how could I add my current custom tasks in AJAX viewer to task list of fusion template. Thanks --------------------------------- Ask a question on any topic and get answers from real people. Go to Yahoo! Answers. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080401/549f451e/attachment.html From gbraun at victoria.ca Tue Apr 1 11:28:21 2008 From: gbraun at victoria.ca (Gary Braun) Date: Tue Apr 1 11:28:22 2008 Subject: [mapguide-users] Studio Login Problem Message-ID: <16418676.post@talk.nabble.com> I'm no longer able to log into MG Studio 2008, I keep getting "User name or password is invalid". I've gone into the site administrator, reset my password and restarted the mapguide service afterward, but I still can't log in. This also affects my ability to view my site with the DWF viewer, which demands login credentials in order to display, but since my credentials are apparently no longer valid, I can't view my own map unless I use the AJAX version. Can anyone provide some guidance as to what might have gone wrong here? BTW, it's not just me, there are three other users here who can no longer log in either. thx, gb -- View this message in context: http://www.nabble.com/Studio-Login-Problem-tp16418676s16610p16418676.html Sent from the MapGuide Users mailing list archive at Nabble.com. From bruce.dechant at autodesk.com Tue Apr 1 11:54:41 2008 From: bruce.dechant at autodesk.com (Bruce Dechant) Date: Tue Apr 1 11:54:45 2008 Subject: [mapguide-users] SDF 3 and MGOS 2.0 In-Reply-To: References: <7a85053e0804010051h3b2a7d3elb7e88a5d1b56c027@mail.gmail.com> Message-ID: <155A38FD45A9BC42AACCA9C78C31748C250BDF0EA2@ADSK-NAMSG-02.MGDADSK.autodesk.com> Yannick, Can you describe the join you are using? Ie: Outer, Inner, 1-1, 1-many. Could it be a case issue between the primary and secondary keys? Ie: CA != ca, but CA = CA (Join is case sensitive) Are you using multiple join keys? Is the SDF the primary and the Access database the secondary? (Most likely, but just want to confirm) Any information you can provide would help. Thanks, Bruce -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Yannick Veillet Sent: Tuesday, April 01, 2008 2:27 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] SDF 3 and MGOS 2.0 No, nothing! -----Message d'origine----- De : mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] De la part de Zac Spitzer Envoy? : mardi 1 avril 2008 09:52 ? : MapGuide Users Mail List Objet : Re: [mapguide-users] SDF 3 and MGOS 2.0 is there anything in the server error.log? On Tue, Apr 1, 2008 at 6:47 PM, Yannick Veillet wrote: > > > > > Hi, > > I just have a problem when I want to read an SDF3 layer (FDO3.3) with MGOS > 2.0. When I use join between SDF3 and ODBC Access table. It doesn't display > my layer... > > Is it normal? > > SDF3 without join is OK, what's wrong! > > Thanks for help! > > > > Yannick > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ 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 From Ivan.Milicevic at supranet.hr Tue Apr 1 09:35:45 2008 From: Ivan.Milicevic at supranet.hr (Ivan Milicevic) Date: Tue Apr 1 13:04:15 2008 Subject: [mapguide-users] SDF 3 and MGOS 2.0 In-Reply-To: References: <7a85053e0804010051h3b2a7d3elb7e88a5d1b56c027@mail.gmail.com> Message-ID: <9CAB6B340CCF9E44BE4ACFCF56E67B071551E6@supranet> Testing ODBC connection failed? -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Yannick Veillet Sent: Tuesday, April 01, 2008 10:27 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] SDF 3 and MGOS 2.0 No, nothing! -----Message d'origine----- De?: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] De la part de Zac Spitzer Envoy??: mardi 1 avril 2008 09:52 ??: MapGuide Users Mail List Objet?: Re: [mapguide-users] SDF 3 and MGOS 2.0 is there anything in the server error.log? On Tue, Apr 1, 2008 at 6:47 PM, Yannick Veillet wrote: > > > > > Hi, > > I just have a problem when I want to read an SDF3 layer (FDO3.3) with MGOS > 2.0. When I use join between SDF3 and ODBC Access table. It doesn't display > my layer... > > Is it normal? > > SDF3 without join is OK, what's wrong! > > Thanks for help! > > > > Yannick > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ 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 From jackie.ng at aecsystems.com.au Tue Apr 1 13:17:05 2008 From: jackie.ng at aecsystems.com.au (Jackie Ng) Date: Tue Apr 1 13:17:07 2008 Subject: [mapguide-users] Studio Login Problem In-Reply-To: <16418676.post@talk.nabble.com> References: <16418676.post@talk.nabble.com> Message-ID: <16419210.post@talk.nabble.com> What is your Web Extensions configuration/setup? - Jackie Gary Braun wrote: > > I'm no longer able to log into MG Studio 2008, I keep getting "User name > or password is invalid". I've gone into the site administrator, reset my > password and restarted the mapguide service afterward, but I still can't > log in. This also affects my ability to view my site with the DWF viewer, > which demands login credentials in order to display, but since my > credentials are apparently no longer valid, I can't view my own map unless > I use the AJAX version. > > Can anyone provide some guidance as to what might have gone wrong here? > > BTW, it's not just me, there are three other users here who can no longer > log in either. > > thx, > gb > -- View this message in context: http://www.nabble.com/Studio-Login-Problem-tp16418676s16610p16419210.html Sent from the MapGuide Users mailing list archive at Nabble.com. From gbraun at victoria.ca Tue Apr 1 13:32:56 2008 From: gbraun at victoria.ca (Gary Braun) Date: Tue Apr 1 13:32:58 2008 Subject: [mapguide-users] Studio Login Problem In-Reply-To: <16419210.post@talk.nabble.com> References: <16418676.post@talk.nabble.com> <16419210.post@talk.nabble.com> Message-ID: <16419437.post@talk.nabble.com> Mapguide was installed using IIS Configuration, .NET development, Custom Setup to include PHP. Jackie Ng wrote: > > What is your Web Extensions configuration/setup? > > - Jackie > > > Gary Braun wrote: >> >> I'm no longer able to log into MG Studio 2008, I keep getting "User name >> or password is invalid". I've gone into the site administrator, reset my >> password and restarted the mapguide service afterward, but I still can't >> log in. This also affects my ability to view my site with the DWF >> viewer, which demands login credentials in order to display, but since my >> credentials are apparently no longer valid, I can't view my own map >> unless I use the AJAX version. >> >> Can anyone provide some guidance as to what might have gone wrong here? >> >> BTW, it's not just me, there are three other users here who can no longer >> log in either. >> >> thx, >> gb >> > > -- View this message in context: http://www.nabble.com/Studio-Login-Problem-tp16418676s16610p16419437.html Sent from the MapGuide Users mailing list archive at Nabble.com. From madair at dmsolutions.ca Tue Apr 1 14:16:27 2008 From: madair at dmsolutions.ca (Mike Adair) Date: Tue Apr 1 14:16:31 2008 Subject: [mapguide-users] Adding custom tasks to Fusion template In-Reply-To: <730487.8923.qm@web50004.mail.re2.yahoo.com> References: <730487.8923.qm@web50004.mail.re2.yahoo.com> Message-ID: <47F27BFB.2090709@dmsolutions.ca> Don, You first need to create elements that will run your custom tasks like so using the InvokeScript widget: task1 InvokeScript where the > > > > > where the ---------------------------------------------------------------------------------------------------- Max !! ----- Original Message ---- From: Sandeep Thosar To: MapGuide Users Mail List Sent: Wednesday, April 9, 2008 11:33:13 AM Subject: Re: [mapguide-users] Data Package Problem Dear Rahul, I use Asp.Net 2.0 and i load packages also but what is the start up page i set to run the application. my WebLayout stored in C:\Program Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts and the path which returned in JAvascript is "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; I can't understand from where WebLayout Picked. Please help me. With Regards, Sandeep On Wed, Apr 9, 2008 at 9:53 AM, Rahul wrote: Hi , I think you try to check through MapAgent and see that you can get some xml output for the Feature Source loaded through Data Package(*.mgp). http://x.x.x.x:8008/mapguide/mapagent/ One more thing are you using MapGuide Studio and if so then you can check the loaded package and see that you can preview weblayout or layers in the mapguide studio. Max ---------------------------------------------------------------------------------------------------------- Dear Rahul, After i load data packages from site administrator and i run my application then i get blank output without any Error. Please told me exactly what happen and which page i set to start up page for the mapguide application or there is any changes require in mapguide open source sample code. Please help me. With Regards, Sandeep You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080408/9cf5048d/attachment.html From sandeepthosar at gmail.com Wed Apr 9 01:05:14 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Wed Apr 9 01:05:16 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: <157887.58211.qm@web34507.mail.mud.yahoo.com> References: <157887.58211.qm@web34507.mail.mud.yahoo.com> Message-ID: Dear Rahul, Thanks for the information but when i debug this page it shows me UserId= Anonymous and Password="" then create session after that it goes to where i get session information and shows WebLayout path Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout and then get blank output so where i stroes this Library folder in my application folder or currently it stored in C:\Program Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. Please help me. With Regards, Sandeep On Wed, Apr 9, 2008 at 10:17 AM, Rahul wrote: > Hi , > > I think you should check www/dotnetviewersample/* > ajaxviewersample.aspx* file , this file contain the information regarding > the weblayout as well as the startup page for the sample application. > > > > > --------------------------------------------------------------------------------------------------- > > > > > > ---------------------------------------------------------------------------------------------------- > Max !! > > > ----- Original Message ---- > From: Sandeep Thosar > To: MapGuide Users Mail List > Sent: Wednesday, April 9, 2008 11:33:13 AM > Subject: Re: [mapguide-users] Data Package Problem > > Dear Rahul, > > I use Asp.Net 2.0 and i load packages also but what is the start up page i > set to run the application. > > my WebLayout stored in C:\Program > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts > and the path which returned in JAvascript is > "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; > > I can't understand from where WebLayout Picked. > > Please help me. > > With Regards, > > Sandeep > > On Wed, Apr 9, 2008 at 9:53 AM, Rahul wrote: > > > Hi , > > > > I think you try to check through MapAgent and see that you can > > get some xml output for the Feature Source loaded through Data > > Package(*.mgp). > > > > > > > > http://x.x.x.x:8008/mapguide/mapagent/ > > > > > > > > One more thing are you using MapGuide Studio and if so then you can > > check the loaded package and see that you can preview weblayout or layers in > > the mapguide studio. > > > > > > > > Max > > > > > > > > ---------------------------------------------------------------------------------------------------------- > > Dear Rahul, > > > > After i load data packages from site administrator and i run my > > application then i get blank output without any Error. > > > > Please told me exactly what happen and which page i set to start up page > > for the mapguide application or there is any changes require in mapguide > > open source sample code. > > > > Please help me. > > > > With Regards, > > > > Sandeep > > > > > > ------------------------------ > > You rock. That's why Blockbuster's offering you one month of Blockbuster > > Total Access, > > No Cost. > > > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080409/1ab8b6d2/attachment.html From ks at geograf.dk Wed Apr 9 03:39:14 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Wed Apr 9 03:39:22 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: References: <157887.58211.qm@web34507.mail.mud.yahoo.com> Message-ID: <47FC72A2.1010608@geograf.dk> Did you read the the guide? http://mapguide.osgeo.org/2.0/documentation.html Click on "Getting Started with MapGuide". Which step is failing? .Net/IIS uses slightly different urls: http://localhost/mapguide/mapadmin/login.php http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx You seem to confuse repository paths with file system paths. The WebLayout is not on the filesystem, but in the repository, so you cannot find it from windows explorer. You must use an authoring tool to edit the WebLayout (links are in the guide). For more information on how MapGuide works, please see the Developers Guide: http://mapguide.osgeo.org/2.0/documentation.html Simply click on "MapGuide Developers Guide". Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev: > Dear Rahul, > > Thanks for the information but when i debug this page it shows me > UserId= Anonymous and Password="" then create session after that it > goes to > > > < > > frame id="viewerFrame" frameborder="no" marginwidth="0" > marginheight="0" scrolling="no" > src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> > where i get session information and shows WebLayout path > Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout and then > get blank output so where i stroes this Library folder in my > application folder or currently it stored in C:\Program > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. > > Please help me. > > With Regards, > Sandeep > > On Wed, Apr 9, 2008 at 10:17 AM, Rahul > wrote: > > Hi , > > I think you should check > www/dotnetviewersample/_*ajaxviewersample.aspx*_ file , this file > contain the information regarding the weblayout as well as the > startup page for the sample application. > > > > --------------------------------------------------------------------------------------------------- > > > > > > ---------------------------------------------------------------------------------------------------- > Max !! > > > ----- Original Message ---- > From: Sandeep Thosar > > To: MapGuide Users Mail List > > Sent: Wednesday, April 9, 2008 11:33:13 AM > Subject: Re: [mapguide-users] Data Package Problem > > Dear Rahul, > > I use Asp.Net 2.0 and i load packages also but what is the start > up page i set to run the application. > > my WebLayout stored in C:\Program > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts > and the path which returned in JAvascript is > "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; > > I can't understand from where WebLayout Picked. > > Please help me. > > With Regards, > > Sandeep > > On Wed, Apr 9, 2008 at 9:53 AM, Rahul > wrote: > > Hi , > > I think you try to check through MapAgent and see > that you can get some xml output for the Feature Source loaded > through Data Package(*.mgp). > > > > http://x.x.x.x:8008/mapguide/mapagent/ > > > > One more thing are you using MapGuide Studio and if so then > you can check the loaded package and see that you can preview > weblayout or layers in the mapguide studio. > > > > Max > > > > ---------------------------------------------------------------------------------------------------------- > Dear Rahul, > > After i load data packages from site administrator and i run > my application then i get blank output without any Error. > > Please told me exactly what happen and which page i set to > start up page for the mapguide application or there is any > changes require in mapguide open source sample code. > > Please help me. > > With Regards, > > Sandeep > > > ------------------------------------------------------------------------ > You rock. That's why Blockbuster's offering you one month of > Blockbuster Total Access > , > No Cost. > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080409/242d4f10/attachment.html From sandeepthosar at gmail.com Wed Apr 9 04:53:25 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Wed Apr 9 04:53:27 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: <47FC72A2.1010608@geograf.dk> References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> Message-ID: Dear Kenneth, GEOGRAF , Thanks for the mail. I After I installed data packages then it give me one log file Sheboygan.mgp.log but when I run the sample code it give me blank output again. Please help me. With Regards, Sandeep On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S wrote: > Did you read the the guide? > http://mapguide.osgeo.org/2.0/documentation.html > Click on "Getting Started with MapGuide". > > Which step is failing? > > .Net/IIS uses slightly different urls: > http://localhost/mapguide/mapadmin/login.php > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > You seem to confuse repository paths with file system paths. > The WebLayout is not on the filesystem, but in the repository, so you > cannot find it from windows explorer. > You must use an authoring tool to edit the WebLayout (links are in the > guide). > > For more information on how MapGuide works, please see the Developers > Guide: > http://mapguide.osgeo.org/2.0/documentation.html > Simply click on "MapGuide Developers Guide". > > > Regards, Kenneth, GEOGRAF A/S > > > > Sandeep Thosar skrev: > > Dear Rahul, > > Thanks for the information but when i debug this page it shows me UserId= > Anonymous and Password="" then create session after that it goes to > > > < > frame id="viewerFrame" frameborder="no" marginwidth="0" marginheight="0" > scrolling="no" src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%> > &WEBLAYOUT=<%=webLayout%>"> where i get session information and shows > WebLayout path Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout > and then get blank output so where i stroes this Library folder in my > application folder or currently it stored in C:\Program > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. Please > help me. > > With Regards, > Sandeep > > On Wed, Apr 9, 2008 at 10:17 AM, Rahul wrote: > > > Hi , > > > > I think you should check www/dotnetviewersample/* > > ajaxviewersample.aspx* file , this file contain the information > > regarding the weblayout as well as the startup page for the sample > > application. > > > > > > > > > > --------------------------------------------------------------------------------------------------- > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------- > > Max !! > > > > > > ----- Original Message ---- > > From: Sandeep Thosar > > To: MapGuide Users Mail List > > Sent: Wednesday, April 9, 2008 11:33:13 AM > > Subject: Re: [mapguide-users] Data Package Problem > > > > Dear Rahul, > > > > I use Asp.Net 2.0 and i load packages also but what is the start up page > > i set to run the application. > > > > my WebLayout stored in C:\Program > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts > > and the path which returned in JAvascript is > > "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; > > > > I can't understand from where WebLayout Picked. > > > > Please help me. > > > > With Regards, > > > > Sandeep > > > > On Wed, Apr 9, 2008 at 9:53 AM, Rahul wrote: > > > > > Hi , > > > > > > I think you try to check through MapAgent and see that you > > > can get some xml output for the Feature Source loaded through Data > > > Package(*.mgp). > > > > > > > > > > > > http://x.x.x.x:8008/mapguide/mapagent/ > > > > > > > > > > > > One more thing are you using MapGuide Studio and if so then you can > > > check the loaded package and see that you can preview weblayout or layers in > > > the mapguide studio. > > > > > > > > > > > > Max > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------------- > > > Dear Rahul, > > > > > > After i load data packages from site administrator and i run my > > > application then i get blank output without any Error. > > > > > > Please told me exactly what happen and which page i set to start up > > > page for the mapguide application or there is any changes require in > > > mapguide open source sample code. > > > > > > Please help me. > > > > > > With Regards, > > > > > > Sandeep > > > > > > > > > ------------------------------ > > > You rock. That's why Blockbuster's offering you one month of > > > Blockbuster Total Access, > > > No Cost. > > > > > > _______________________________________________ > > > mapguide-users mailing list > > > mapguide-users@lists.osgeo.org > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > ------------------------------ > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080409/0f03a15d/attachment.html From ks at geograf.dk Wed Apr 9 05:05:17 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Wed Apr 9 05:05:25 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> Message-ID: <47FC86CD.503@geograf.dk> What sample code are you refering to? If you try the link below: http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx It should ask you for username/password. Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev: > Dear Kenneth, GEOGRAF , > Thanks for the mail. > > I After I installed data packages then it give me one log file > Sheboygan.mgp.log but when I run the sample code it give me blank > output again. > > > > Please help me. > > > > With Regards, > > Sandeep > > > On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S > wrote: > > Did you read the the guide? > http://mapguide.osgeo.org/2.0/documentation.html > Click on "Getting Started with MapGuide". > > Which step is failing? > > .Net/IIS uses slightly different urls: > http://localhost/mapguide/mapadmin/login.php > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > You seem to confuse repository paths with file system paths. > The WebLayout is not on the filesystem, but in the repository, so > you cannot find it from windows explorer. > You must use an authoring tool to edit the WebLayout (links are in > the guide). > > For more information on how MapGuide works, please see the > Developers Guide: > http://mapguide.osgeo.org/2.0/documentation.html > Simply click on "MapGuide Developers Guide". > > > Regards, Kenneth, GEOGRAF A/S > > > > > Sandeep Thosar skrev: >> Dear Rahul, >> >> Thanks for the information but when i debug this page it shows me >> UserId= Anonymous and Password="" then create session after that >> it goes to >> >> >> < >> >> frame id="viewerFrame" frameborder="no" marginwidth="0" >> marginheight="0" scrolling="no" >> src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> >> where i get session information and shows WebLayout path >> Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout and >> then get blank output so where i stroes this Library folder in my >> application folder or currently it stored in C:\Program >> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. >> >> Please help me. >> >> With Regards, >> Sandeep >> >> On Wed, Apr 9, 2008 at 10:17 AM, Rahul > > wrote: >> >> Hi , >> >> I think you should check >> www/dotnetviewersample/_*ajaxviewersample.aspx*_ file , this >> file contain the information regarding the weblayout as well >> as the startup page for the sample application. >> >> >> >> --------------------------------------------------------------------------------------------------- >> >> >> >> >> >> ---------------------------------------------------------------------------------------------------- >> Max !! >> >> >> ----- Original Message ---- >> From: Sandeep Thosar > > >> To: MapGuide Users Mail List > > >> Sent: Wednesday, April 9, 2008 11:33:13 AM >> Subject: Re: [mapguide-users] Data Package Problem >> >> Dear Rahul, >> >> I use Asp.Net 2.0 and i load packages also but what is the >> start up page i set to run the application. >> >> my WebLayout stored in C:\Program >> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts >> and the path which returned in JAvascript is >> "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; >> >> I can't understand from where WebLayout Picked. >> >> Please help me. >> >> With Regards, >> >> Sandeep >> >> On Wed, Apr 9, 2008 at 9:53 AM, Rahul >> > > wrote: >> >> Hi , >> >> I think you try to check through MapAgent and >> see that you can get some xml output for the Feature >> Source loaded through Data Package(*.mgp). >> >> >> >> http://x.x.x.x:8008/mapguide/mapagent/ >> >> >> >> One more thing are you using MapGuide Studio and if so >> then you can check the loaded package and see that you >> can preview weblayout or layers in the mapguide studio. >> >> >> >> Max >> >> >> >> ---------------------------------------------------------------------------------------------------------- >> Dear Rahul, >> >> After i load data packages from site administrator and i >> run my application then i get blank output without any Error. >> >> Please told me exactly what happen and which page i set >> to start up page for the mapguide application or there is >> any changes require in mapguide open source sample code. >> >> Please help me. >> >> With Regards, >> >> Sandeep >> >> >> ------------------------------------------------------------------------ >> You rock. That's why Blockbuster's offering you one month >> of Blockbuster Total Access >> , >> No Cost. >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080409/f8385a9c/attachment.html From sandeepthosar at gmail.com Wed Apr 9 05:48:37 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Wed Apr 9 05:48:41 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: <47FC86CD.503@geograf.dk> References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> <47FC86CD.503@geograf.dk> Message-ID: I refering the dotnetviewersamplecode from download page and then unziped the sample code to C:\Inetpub\wwwroot directory and when i clicked on this linked i get message page can't find and if i run my application then i get blank output. Please help me. With Regards, Sandeep On Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S wrote: > What sample code are you refering to? > If you try the link below: > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > It should ask you for username/password. > > > Regards, Kenneth, GEOGRAF A/S > > > > Sandeep Thosar skrev: > > Dear Kenneth, GEOGRAF , > Thanks for the mail. > > I After I installed data packages then it give me one log file > Sheboygan.mgp.log but when I run the sample code it give me blank output > again. > > > > Please help me. > > > > With Regards, > > Sandeep > > On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S > wrote: > > > Did you read the the guide? > > http://mapguide.osgeo.org/2.0/documentation.html > > Click on "Getting Started with MapGuide". > > > > Which step is failing? > > > > .Net/IIS uses slightly different urls: > > http://localhost/mapguide/mapadmin/login.php > > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > > > You seem to confuse repository paths with file system paths. > > The WebLayout is not on the filesystem, but in the repository, so you > > cannot find it from windows explorer. > > You must use an authoring tool to edit the WebLayout (links are in the > > guide). > > > > For more information on how MapGuide works, please see the Developers > > Guide: > > http://mapguide.osgeo.org/2.0/documentation.html > > Simply click on "MapGuide Developers Guide". > > > > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > Sandeep Thosar skrev: > > > > Dear Rahul, > > > > Thanks for the information but when i debug this page it shows me > > UserId= Anonymous and Password="" then create session after that it goes to > > > > > > < > > frame id="viewerFrame" frameborder="no" marginwidth="0" marginheight="0" > > scrolling="no" src="../mapviewernet/ajaxviewer.aspx?SESSION= > > <%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> where i get session > > information and shows WebLayout path Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout > > and then get blank output so where i stroes this Library folder in my > > application folder or currently it stored in C:\Program > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. Please > > help me. > > > > With Regards, > > Sandeep > > > > On Wed, Apr 9, 2008 at 10:17 AM, Rahul > > wrote: > > > > > Hi , > > > > > > I think you should check www/dotnetviewersample/* > > > ajaxviewersample.aspx* file , this file contain the information > > > regarding the weblayout as well as the startup page for the sample > > > application. > > > > > > > > > > > > > > > --------------------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------- > > > Max !! > > > > > > > > > ----- Original Message ---- > > > From: Sandeep Thosar > > > To: MapGuide Users Mail List > > > Sent: Wednesday, April 9, 2008 11:33:13 AM > > > Subject: Re: [mapguide-users] Data Package Problem > > > > > > Dear Rahul, > > > > > > I use Asp.Net 2.0 and i load packages also but what is the start up > > > page i set to run the application. > > > > > > my WebLayout stored in C:\Program > > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts > > > and the path which returned in JAvascript is > > > "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; > > > > > > I can't understand from where WebLayout Picked. > > > > > > Please help me. > > > > > > With Regards, > > > > > > Sandeep > > > > > > On Wed, Apr 9, 2008 at 9:53 AM, Rahul > > > wrote: > > > > > > > Hi , > > > > > > > > I think you try to check through MapAgent and see that you > > > > can get some xml output for the Feature Source loaded through Data > > > > Package(*.mgp). > > > > > > > > > > > > > > > > http://x.x.x.x:8008/mapguide/mapagent/ > > > > > > > > > > > > > > > > One more thing are you using MapGuide Studio and if so then you can > > > > check the loaded package and see that you can preview weblayout or layers in > > > > the mapguide studio. > > > > > > > > > > > > > > > > Max > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------------- > > > > Dear Rahul, > > > > > > > > After i load data packages from site administrator and i run my > > > > application then i get blank output without any Error. > > > > > > > > Please told me exactly what happen and which page i set to start up > > > > page for the mapguide application or there is any changes require in > > > > mapguide open source sample code. > > > > > > > > Please help me. > > > > > > > > With Regards, > > > > > > > > Sandeep > > > > > > > > > > > > ------------------------------ > > > > You rock. That's why Blockbuster's offering you one month of > > > > Blockbuster Total Access, > > > > No Cost. > > > > > > > > _______________________________________________ > > > > mapguide-users mailing list > > > > mapguide-users@lists.osgeo.org > > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > http://mail.yahoo.com > > > > > > _______________________________________________ > > > mapguide-users mailing list > > > mapguide-users@lists.osgeo.org > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > ------------------------------ > > > > _______________________________________________ > > 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 > > > > > ------------------------------ > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080409/83f0b866/attachment.html From ks at geograf.dk Wed Apr 9 09:21:06 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Wed Apr 9 09:21:18 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> <47FC86CD.503@geograf.dk> Message-ID: <47FCC2C2.7020308@geograf.dk> In the guide, step 2 is: 2. Download and extract the sample application. Visit the downloads page and download phpviewersample-2.0.zip. *On Windows extract the files to C:\Program Files\MapGuideOpenSource\WebServerExtensions\www*. On Linux extract the files to /usr/local/mapguideopensource/webserverextensions/www. Note that in both cases it should create a folder called phpviewersample under www. I have made the important part bold. For dotnet, the folder is called dotnetviewersample instead of phpviewersample. Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev: > I refering the dotnetviewersamplecode from download page and then > unziped the sample code to C:\Inetpub\wwwroot directory and when i > clicked on this linked i get message page can't find and if i run my > application then i get blank output. > > Please help me. > > With Regards, > Sandeep > > > On Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S > wrote: > > What sample code are you refering to? > If you try the link below: > > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > It should ask you for username/password. > > > Regards, Kenneth, GEOGRAF A/S > > > > > Sandeep Thosar skrev: >> Dear Kenneth, GEOGRAF , >> Thanks for the mail. >> >> I After I installed data packages then it give me one log file >> Sheboygan.mgp.log but when I run the sample code it give me blank >> output again. >> >> >> >> Please help me. >> >> >> >> With Regards, >> >> Sandeep >> >> >> On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S >> > wrote: >> >> Did you read the the guide? >> http://mapguide.osgeo.org/2.0/documentation.html >> Click on "Getting Started with MapGuide". >> >> Which step is failing? >> >> .Net/IIS uses slightly different urls: >> http://localhost/mapguide/mapadmin/login.php >> http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx >> >> You seem to confuse repository paths with file system paths. >> The WebLayout is not on the filesystem, but in the >> repository, so you cannot find it from windows explorer. >> You must use an authoring tool to edit the WebLayout (links >> are in the guide). >> >> For more information on how MapGuide works, please see the >> Developers Guide: >> http://mapguide.osgeo.org/2.0/documentation.html >> Simply click on "MapGuide Developers Guide". >> >> >> Regards, Kenneth, GEOGRAF A/S >> >> >> >> >> Sandeep Thosar skrev: >>> Dear Rahul, >>> >>> Thanks for the information but when i debug this page it >>> shows me UserId= Anonymous and Password="" then create >>> session after that it goes to >>> >>> >>> < >>> >>> frame id="viewerFrame" frameborder="no" marginwidth="0" >>> marginheight="0" scrolling="no" >>> src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> >>> where i get session information and shows WebLayout path >>> Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout >>> and then get blank output so where i stroes this Library >>> folder in my application folder or currently it stored in >>> C:\Program >>> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. >>> >>> Please help me. >>> >>> With Regards, >>> Sandeep >>> >>> On Wed, Apr 9, 2008 at 10:17 AM, Rahul >>> >> > wrote: >>> >>> Hi , >>> >>> I think you should check >>> www/dotnetviewersample/_*ajaxviewersample.aspx*_ file , >>> this file contain the information regarding the >>> weblayout as well as the startup page for the sample >>> application. >>> >>> >>> >>> --------------------------------------------------------------------------------------------------- >>> >>> >>> >>> >>> >>> ---------------------------------------------------------------------------------------------------- >>> Max !! >>> >>> >>> ----- Original Message ---- >>> From: Sandeep Thosar >> > >>> To: MapGuide Users Mail List >>> >> > >>> Sent: Wednesday, April 9, 2008 11:33:13 AM >>> Subject: Re: [mapguide-users] Data Package Problem >>> >>> Dear Rahul, >>> >>> I use Asp.Net 2.0 and i load packages also but what is >>> the start up page i set to run the application. >>> >>> my WebLayout stored in C:\Program >>> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts >>> and the path which returned in JAvascript is >>> "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; >>> >>> I can't understand from where WebLayout Picked. >>> >>> Please help me. >>> >>> With Regards, >>> >>> Sandeep >>> >>> On Wed, Apr 9, 2008 at 9:53 AM, Rahul >>> >> > wrote: >>> >>> Hi , >>> >>> I think you try to check through MapAgent >>> and see that you can get some xml output for the >>> Feature Source loaded through Data Package(*.mgp). >>> >>> >>> >>> http://x.x.x.x:8008/mapguide/mapagent/ >>> >>> >>> >>> One more thing are you using MapGuide Studio and if >>> so then you can check the loaded package and see >>> that you can preview weblayout or layers in the >>> mapguide studio. >>> >>> >>> >>> Max >>> >>> >>> >>> ---------------------------------------------------------------------------------------------------------- >>> Dear Rahul, >>> >>> After i load data packages from site administrator >>> and i run my application then i get blank output >>> without any Error. >>> >>> Please told me exactly what happen and which page i >>> set to start up page for the mapguide application or >>> there is any changes require in mapguide open source >>> sample code. >>> >>> Please help me. >>> >>> With Regards, >>> >>> Sandeep >>> >>> >>> ------------------------------------------------------------------------ >>> You rock. That's why Blockbuster's offering you one >>> month of Blockbuster Total Access >>> , >>> No Cost. >>> >>> _______________________________________________ >>> mapguide-users mailing list >>> mapguide-users@lists.osgeo.org >>> >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >>> >>> >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Tired of spam? Yahoo! Mail has the best spam protection >>> around >>> http://mail.yahoo.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 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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080409/d3b14099/attachment.html From nclayton at gmail.com Wed Apr 9 12:37:57 2008 From: nclayton at gmail.com (nclayton) Date: Wed Apr 9 12:37:59 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? Message-ID: <16590557.post@talk.nabble.com> Hi everyone. I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the only solution that I have found to this problem is to schedule a batch file to run to kill the service then restart it. It's currently set to run every 30 minutes and I may need to reduce the time more... My question is this: Is there a way to "save" user session data out somewhere before I kill the service, then "read" it back in after the restart so my users can continue what they're doing instead of having their viewer just stop working? -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16590557.html Sent from the MapGuide Users mailing list archive at Nabble.com. From steve.dang at autodesk.com Wed Apr 9 13:03:32 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Wed Apr 9 13:03:37 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? In-Reply-To: <16590557.post@talk.nabble.com> References: <16590557.post@talk.nabble.com> Message-ID: Could you log this defect with details on how to reproduce the problem? About the session data, could you enter that as an enhancement (MGOS currently does not support it)? Thanks, Steve. -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton Sent: Wednesday, April 09, 2008 10:38 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? Hi everyone. I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the only solution that I have found to this problem is to schedule a batch file to run to kill the service then restart it. It's currently set to run every 30 minutes and I may need to reduce the time more... My question is this: Is there a way to "save" user session data out somewhere before I kill the service, then "read" it back in after the restart so my users can continue what they're doing instead of having their viewer just stop working? -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16590557.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 From dave.wilson at autodesk.com Wed Apr 9 13:20:43 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Wed Apr 9 13:20:48 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? In-Reply-To: References: <16590557.post@talk.nabble.com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2250EC4F784@ADSK-NAMSG-02.MGDADSK.autodesk.com> It might not yield much, but can you check the access logs just prior to the crash to see if you can see a pattern in calls that might be causing the crash? Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Wednesday, April 09, 2008 11:04 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Preserve Session Data to Restore after Service Restarts? Could you log this defect with details on how to reproduce the problem? About the session data, could you enter that as an enhancement (MGOS currently does not support it)? Thanks, Steve. -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton Sent: Wednesday, April 09, 2008 10:38 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? Hi everyone. I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the only solution that I have found to this problem is to schedule a batch file to run to kill the service then restart it. It's currently set to run every 30 minutes and I may need to reduce the time more... My question is this: Is there a way to "save" user session data out somewhere before I kill the service, then "read" it back in after the restart so my users can continue what they're doing instead of having their viewer just stop working? -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16590557.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 From nclayton at gmail.com Wed Apr 9 13:41:10 2008 From: nclayton at gmail.com (nclayton) Date: Wed Apr 9 13:41:11 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2250EC4F784@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <16590557.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E2250EC4F784@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <16592550.post@talk.nabble.com> I came across a post once that mentioned the service crashing after X amount of hits, and I am thinking this is the issue for me because I do not have this problem on the dev box (I'm the only one "hitting" it). It could be a completely different issue entirely however. I have no idea why it is happening, so I'm not sure of how to reproduce it except to wait for calls to come in with complaints... I'll see if I can find some sort of pattern or some error messages that aren't standing out but may be involved. Thanks for the input. Dave Wilson-3 wrote: > > It might not yield much, but can you check the access logs just prior to > the crash to see if you can see a pattern in calls that might be causing > the crash? > > Dave > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang > Sent: Wednesday, April 09, 2008 11:04 AM > To: MapGuide Users Mail List > Subject: RE: [mapguide-users] Preserve Session Data to Restore after > Service Restarts? > > Could you log this defect with details on how to reproduce the problem? > > About the session data, could you enter that as an enhancement (MGOS > currently does not support it)? > > Thanks, > Steve. > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton > Sent: Wednesday, April 09, 2008 10:38 AM > To: mapguide-users@lists.osgeo.org > Subject: [mapguide-users] Preserve Session Data to Restore after Service > Restarts? > > > Hi everyone. > > I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the > only solution that I have found to this problem is to schedule a batch > file > to run to kill the service then restart it. > > It's currently set to run every 30 minutes and I may need to reduce the > time > more... > > My question is this: Is there a way to "save" user session data out > somewhere before I kill the service, then "read" it back in after the > restart so my users can continue what they're doing instead of having > their > viewer just stop working? > > > -- > View this message in context: > http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16590557.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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16592550.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dave.wilson at autodesk.com Wed Apr 9 14:10:04 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Wed Apr 9 14:10:11 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? In-Reply-To: <16592550.post@talk.nabble.com> References: <16590557.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E2250EC4F784@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16592550.post@talk.nabble.com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2250EC4F817@ADSK-NAMSG-02.MGDADSK.autodesk.com> More often than not things like this are a result of users hitting data that the system can't process properly as opposed to a specific number of requests. You might also check your IIS or Apache logs to see if you can see where the requests came from just prior to the crash. Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton Sent: Wednesday, April 09, 2008 11:41 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Preserve Session Data to Restore after Service Restarts? I came across a post once that mentioned the service crashing after X amount of hits, and I am thinking this is the issue for me because I do not have this problem on the dev box (I'm the only one "hitting" it). It could be a completely different issue entirely however. I have no idea why it is happening, so I'm not sure of how to reproduce it except to wait for calls to come in with complaints... I'll see if I can find some sort of pattern or some error messages that aren't standing out but may be involved. Thanks for the input. Dave Wilson-3 wrote: > > It might not yield much, but can you check the access logs just prior to > the crash to see if you can see a pattern in calls that might be causing > the crash? > > Dave > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang > Sent: Wednesday, April 09, 2008 11:04 AM > To: MapGuide Users Mail List > Subject: RE: [mapguide-users] Preserve Session Data to Restore after > Service Restarts? > > Could you log this defect with details on how to reproduce the problem? > > About the session data, could you enter that as an enhancement (MGOS > currently does not support it)? > > Thanks, > Steve. > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton > Sent: Wednesday, April 09, 2008 10:38 AM > To: mapguide-users@lists.osgeo.org > Subject: [mapguide-users] Preserve Session Data to Restore after Service > Restarts? > > > Hi everyone. > > I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the > only solution that I have found to this problem is to schedule a batch > file > to run to kill the service then restart it. > > It's currently set to run every 30 minutes and I may need to reduce the > time > more... > > My question is this: Is there a way to "save" user session data out > somewhere before I kill the service, then "read" it back in after the > restart so my users can continue what they're doing instead of having > their > viewer just stop working? > > > -- > View this message in context: > http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16590557.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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16592550.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 From nclayton at gmail.com Wed Apr 9 15:58:14 2008 From: nclayton at gmail.com (nclayton) Date: Wed Apr 9 15:58:16 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? In-Reply-To: <16590557.post@talk.nabble.com> References: <16590557.post@talk.nabble.com> Message-ID: <16595203.post@talk.nabble.com> I received this Application Error when the service crashed: Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 4/9/2008 Time: 2:24:55 PM Description: Faulting application mgserver.exe, version 2.0.0.2308, faulting module ntdll.dll, version 5.2.3790.3959, fault address 0x0002c853. and these were recorded in Error.log for MapGuide: <2008-04-09T14:24:31> Anonymous Error: An unclassified exception occurred. StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp - MgServerRenderingService.QueryFeatures line 647 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp - MgServerRenderingService.RenderForSelection line 1252 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp An unclassified exception occurred. <2008-04-09T14:24:34> Anonymous Error: Failed to stylize layer: covcitylimitstxt An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: covcitylimitstxt An unclassified exception occurred. <2008-04-09T14:24:34> Anonymous Error: Failed to stylize layer: twprngtxt An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: twprngtxt An unclassified exception occurred. <2008-04-09T14:24:34> Anonymous Error: Failed to stylize layer: aerial An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: aerial An unclassified exception occurred. And this is the only Failure in the Access.log for the time period: <2008-04-09T14:24:31> Anonymous QueryFeatures.1.0.0:7(Session:6d816b5e-0000-1000-8000-00034732c825_en_7F0000010AFC0AFB0AFA//county.Map,MgStringCollection,MgGeometry,4,,1,5) Failure nclayton wrote: > > Hi everyone. > > I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the > only solution that I have found to this problem is to schedule a batch > file to run to kill the service then restart it. > > It's currently set to run every 30 minutes and I may need to reduce the > time more... > > My question is this: Is there a way to "save" user session data out > somewhere before I kill the service, then "read" it back in after the > restart so my users can continue what they're doing instead of having > their viewer just stop working? > > > -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16595203.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jwoodman at emht.com Wed Apr 9 16:21:25 2008 From: jwoodman at emht.com (Jason Woodman) Date: Wed Apr 9 16:21:26 2008 Subject: [mapguide-users] Mapguide Open Source 2.0.0 on remote VM servers In-Reply-To: References: <15892165.post@talk.nabble.com> Message-ID: <16595877.post@talk.nabble.com> Tom, That did the trick! I changed the MachineIP and IPAddress lines in the serverconfig.ini file from their default values if 127.0.0.1 to the actual IP Address of the Mapguide server and two systems are now talking. Thanks for the assistance. Jason -- View this message in context: http://www.nabble.com/Mapguide-Open-Source-2.0.0-on-remote-VM-servers-tp15892165s16610p16595877.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dave.wilson at autodesk.com Wed Apr 9 17:09:43 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Wed Apr 9 17:09:52 2008 Subject: [mapguide-users] Preserve Session Data to Restore after Service Restarts? In-Reply-To: <16595203.post@talk.nabble.com> References: <16590557.post@talk.nabble.com> <16595203.post@talk.nabble.com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2250EC4F95A@ADSK-NAMSG-02.MGDADSK.autodesk.com> The user appears to be hitting something that the server can't handle. You can at least somewhat isolate the map and possibly the layers involved. If you can get it down to an individual layer that is causing the problem it could be some stylization setting that the server can't handle for some reason. Are there any layers with composite line styles or something slightly more complex, something in Map Space instead of Device space or possibly theming on some property that perhaps may contain a null? Could there be some Vector Symbols being used? Just some ideas to investigate. Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton Sent: Wednesday, April 09, 2008 1:58 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Preserve Session Data to Restore after Service Restarts? I received this Application Error when the service crashed: Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 4/9/2008 Time: 2:24:55 PM Description: Faulting application mgserver.exe, version 2.0.0.2308, faulting module ntdll.dll, version 5.2.3790.3959, fault address 0x0002c853. and these were recorded in Error.log for MapGuide: <2008-04-09T14:24:31> Anonymous Error: An unclassified exception occurred. StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp - MgServerRenderingService.QueryFeatures line 647 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp - MgServerRenderingService.RenderForSelection line 1252 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp An unclassified exception occurred. <2008-04-09T14:24:34> Anonymous Error: Failed to stylize layer: covcitylimitstxt An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: covcitylimitstxt An unclassified exception occurred. <2008-04-09T14:24:34> Anonymous Error: Failed to stylize layer: twprngtxt An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: twprngtxt An unclassified exception occurred. <2008-04-09T14:24:34> Anonymous Error: Failed to stylize layer: aerial An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: aerial An unclassified exception occurred. And this is the only Failure in the Access.log for the time period: <2008-04-09T14:24:31> Anonymous QueryFeatures.1.0.0:7(Session:6d816b5e-0000-1000-8000-00034732c825_en_7F0000010AFC0AFB0AFA//county.Map,MgStringCollection,MgGeometry,4,,1,5) Failure nclayton wrote: > > Hi everyone. > > I have an issue of mgserver.exe crashing with Event ID: 0 errors, and the > only solution that I have found to this problem is to schedule a batch > file to run to kill the service then restart it. > > It's currently set to run every 30 minutes and I may need to reduce the > time more... > > My question is this: Is there a way to "save" user session data out > somewhere before I kill the service, then "read" it back in after the > restart so my users can continue what they're doing instead of having > their viewer just stop working? > > > -- View this message in context: http://www.nabble.com/Preserve-Session-Data-to-Restore-after-Service-Restarts--tp16590557s16610p16595203.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 From sandeepthosar at gmail.com Wed Apr 9 23:48:52 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Wed Apr 9 23:48:54 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: <47FCC2C2.7020308@geograf.dk> References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> <47FC86CD.503@geograf.dk> <47FCC2C2.7020308@geograf.dk> Message-ID: Dear *Kenneth,* *Thanks for the mail and tried as per your instructions and also give references in Administrative Tool --- > Mapguide ----> Dotnetviewersample.* *but it is not working and i facing the same problem.* ** *Then i type URL in internet Explorere--> * http://localhost/mapguide/dotnetsampleviewer/ajaxviewersample.aspx ** *but it gives me following error THE PAGE CAN NOT FOUND.* ** Please help me out. With Regards, Sandeep On Wed, Apr 9, 2008 at 6:51 PM, Kenneth, GEOGRAF A/S wrote: > In the guide, step 2 is: > 2. Download and extract the sample application. > Visit the downloads page and download phpviewersample-2.0.zip. *On > Windows extract the files to C:\Program > Files\MapGuideOpenSource\WebServerExtensions\www*. On Linux extract the > files to /usr/local/mapguideopensource/webserverextensions/www. Note > that in both cases it should create a folder called phpviewersample under > www. > > I have made the important part bold. > For dotnet, the folder is called dotnetviewersample instead of > phpviewersample. > > Regards, Kenneth, GEOGRAF A/S > > > > Sandeep Thosar skrev: > > I refering the dotnetviewersamplecode from download page and then > unziped the sample code to C:\Inetpub\wwwroot directory and when i clicked > on this linked i get message page can't find and if i run my application > then i get blank output. > > Please help me. > > With Regards, > Sandeep > > > On Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S > wrote: > > > What sample code are you refering to? > > If you try the link below: > > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > > > It should ask you for username/password. > > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > Sandeep Thosar skrev: > > > > Dear Kenneth, GEOGRAF , > > Thanks for the mail. > > > > I After I installed data packages then it give me one log file > > Sheboygan.mgp.log but when I run the sample code it give me blank output > > again. > > > > > > > > Please help me. > > > > > > > > With Regards, > > > > Sandeep > > > > On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S > > wrote: > > > > > Did you read the the guide? > > > http://mapguide.osgeo.org/2.0/documentation.html > > > Click on "Getting Started with MapGuide". > > > > > > Which step is failing? > > > > > > .Net/IIS uses slightly different urls: > > > http://localhost/mapguide/mapadmin/login.php > > > > > > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > > > > > You seem to confuse repository paths with file system paths. > > > The WebLayout is not on the filesystem, but in the repository, so you > > > cannot find it from windows explorer. > > > You must use an authoring tool to edit the WebLayout (links are in the > > > guide). > > > > > > For more information on how MapGuide works, please see the Developers > > > Guide: > > > http://mapguide.osgeo.org/2.0/documentation.html > > > Simply click on "MapGuide Developers Guide". > > > > > > > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > > > > > > Sandeep Thosar skrev: > > > > > > Dear Rahul, > > > > > > Thanks for the information but when i debug this page it shows me > > > UserId= Anonymous and Password="" then create session after that it goes to > > > > > > > > > < > > > frame id="viewerFrame" frameborder="no" marginwidth="0" marginheight > > > ="0" scrolling="no" src="../mapviewernet/ajaxviewer.aspx?SESSION= > > > <%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> where i get session > > > information and shows WebLayout path Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout > > > and then get blank output so where i stroes this Library folder in my > > > application folder or currently it stored in C:\Program > > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. Please > > > help me. > > > > > > With Regards, > > > Sandeep > > > > > > On Wed, Apr 9, 2008 at 10:17 AM, Rahul > > > wrote: > > > > > > > Hi , > > > > > > > > I think you should check www/dotnetviewersample/* > > > > ajaxviewersample.aspx* file , this file contain the information > > > > regarding the weblayout as well as the startup page for the sample > > > > application. > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------- > > > > Max !! > > > > > > > > > > > > ----- Original Message ---- > > > > From: Sandeep Thosar > > > > To: MapGuide Users Mail List > > > > Sent: Wednesday, April 9, 2008 11:33:13 AM > > > > Subject: Re: [mapguide-users] Data Package Problem > > > > > > > > Dear Rahul, > > > > > > > > I use Asp.Net 2.0 and i load packages also but what is the start up > > > > page i set to run the application. > > > > > > > > my WebLayout stored in C:\Program > > > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts > > > > and the path which returned in JAvascript is > > > > "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; > > > > > > > > I can't understand from where WebLayout Picked. > > > > > > > > Please help me. > > > > > > > > With Regards, > > > > > > > > Sandeep > > > > > > > > On Wed, Apr 9, 2008 at 9:53 AM, Rahul > > > > wrote: > > > > > > > > > Hi , > > > > > > > > > > I think you try to check through MapAgent and see that > > > > > you can get some xml output for the Feature Source loaded through Data > > > > > Package(*.mgp). > > > > > > > > > > > > > > > > > > > > http://x.x.x.x:8008/mapguide/mapagent/ > > > > > > > > > > > > > > > > > > > > One more thing are you using MapGuide Studio and if so then you > > > > > can check the loaded package and see that you can preview weblayout or > > > > > layers in the mapguide studio. > > > > > > > > > > > > > > > > > > > > Max > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------------- > > > > > Dear Rahul, > > > > > > > > > > After i load data packages from site administrator and i run my > > > > > application then i get blank output without any Error. > > > > > > > > > > Please told me exactly what happen and which page i set to start > > > > > up page for the mapguide application or there is any changes require in > > > > > mapguide open source sample code. > > > > > > > > > > Please help me. > > > > > > > > > > With Regards, > > > > > > > > > > Sandeep > > > > > > > > > > > > > > > ------------------------------ > > > > > You rock. That's why Blockbuster's offering you one month of > > > > > Blockbuster Total Access, > > > > > No Cost. > > > > > > > > > > _______________________________________________ > > > > > mapguide-users mailing list > > > > > mapguide-users@lists.osgeo.org > > > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > > http://mail.yahoo.com > > > > > > > > _______________________________________________ > > > > mapguide-users mailing list > > > > mapguide-users@lists.osgeo.org > > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > 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 > > > > > > > > ------------------------------ > > > > > > _______________________________________________ > > 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 > > > > > ------------------------------ > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/d3e91935/attachment.html From ks at geograf.dk Thu Apr 10 03:06:48 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 10 03:07:08 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> <47FC86CD.503@geograf.dk> <47FCC2C2.7020308@geograf.dk> Message-ID: <47FDBC88.2000700@geograf.dk> I would like to help you out, but if you do not follow the guide strictly, it is very difficult to guess what went wrong. I would suggest that you start over, and follow the guide closely. If you do not want to do that, there are a couple of common reasons for a 404 error: 1. The directory/file that IIS points to does not exist 2. ASPX/.Net is disabled in IIS 3. Scripting is disabled. 4. The folder is not mapped in IIS. 5. Permission problems may sometimes be masked as 404 errors. 6. Make sure that IIS is using .Net 2.0 I can't guess what you are refering to with "Administrative Tool -> MapGuide -> DotNetViewerSample". Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev: > Dear *Kenneth,* > *Thanks for the mail and tried as per your instructions and also give > references in Administrative Tool --- > Mapguide ----> > Dotnetviewersample.* > *but it is not working and i facing the same problem.* > ** > *Then i type URL in internet Explorere--> * > http://localhost/mapguide/dotnetsampleviewer/ajaxviewersample.aspx > ** > *but it gives me following error THE PAGE CAN NOT FOUND.* > ** > Please help me out. > > With Regards, > > Sandeep > > > On Wed, Apr 9, 2008 at 6:51 PM, Kenneth, GEOGRAF A/S > wrote: > > In the guide, step 2 is: > 2. Download and extract the sample application. > Visit the downloads page and download phpviewersample-2.0.zip. > *On Windows extract the files to C:\Program > Files\MapGuideOpenSource\WebServerExtensions\www*. On Linux > extract the > files to > /usr/local/mapguideopensource/webserverextensions/www. Note that > in both cases it should create a folder called phpviewersample > under www. > > I have made the important part bold. > For dotnet, the folder is called dotnetviewersample instead of > phpviewersample. > > Regards, Kenneth, GEOGRAF A/S > > > > > Sandeep Thosar skrev: >> I refering the dotnetviewersamplecode from download page and then >> unziped the sample code to C:\Inetpub\wwwroot directory and when >> i clicked on this linked i get message page can't find and if i >> run my application then i get blank output. >> >> Please help me. >> >> With Regards, >> Sandeep >> >> >> On Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S >> > wrote: >> >> What sample code are you refering to? >> If you try the link below: >> >> http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx >> >> It should ask you for username/password. >> >> >> Regards, Kenneth, GEOGRAF A/S >> >> >> >> >> Sandeep Thosar skrev: >>> Dear Kenneth, GEOGRAF , >>> Thanks for the mail. >>> >>> I After I installed data packages then it give me one log >>> file Sheboygan.mgp.log but when I run the sample code it >>> give me blank output again. >>> >>> >>> >>> Please help me. >>> >>> >>> >>> With Regards, >>> >>> Sandeep >>> >>> >>> On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S >>> > wrote: >>> >>> Did you read the the guide? >>> http://mapguide.osgeo.org/2.0/documentation.html >>> Click on "Getting Started with MapGuide". >>> >>> Which step is failing? >>> >>> .Net/IIS uses slightly different urls: >>> http://localhost/mapguide/mapadmin/login.php >>> http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx >>> >>> You seem to confuse repository paths with file system paths. >>> The WebLayout is not on the filesystem, but in the >>> repository, so you cannot find it from windows explorer. >>> You must use an authoring tool to edit the WebLayout >>> (links are in the guide). >>> >>> For more information on how MapGuide works, please see >>> the Developers Guide: >>> http://mapguide.osgeo.org/2.0/documentation.html >>> Simply click on "MapGuide Developers Guide". >>> >>> >>> Regards, Kenneth, GEOGRAF A/S >>> >>> >>> >>> >>> Sandeep Thosar skrev: >>>> Dear Rahul, >>>> >>>> Thanks for the information but when i debug this page >>>> it shows me UserId= Anonymous and Password="" then >>>> create session after that it goes to >>>> >>>> >>>> < >>>> >>>> frame id="viewerFrame" frameborder="no" marginwidth="0" >>>> marginheight="0" scrolling="no" >>>> src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> >>>> where i get session information and shows WebLayout >>>> path >>>> Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout >>>> and then get blank output so where i stroes this >>>> Library folder in my application folder or currently it >>>> stored in C:\Program >>>> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. >>>> >>>> Please help me. >>>> >>>> With Regards, >>>> Sandeep >>>> >>>> On Wed, Apr 9, 2008 at 10:17 AM, Rahul >>>> >>> > wrote: >>>> >>>> Hi , >>>> >>>> I think you should check >>>> www/dotnetviewersample/_*ajaxviewersample.aspx*_ >>>> file , this file contain the information regarding >>>> the weblayout as well as the startup page for the >>>> sample application. >>>> >>>> >>>> >>>> --------------------------------------------------------------------------------------------------- >>>> >>>> >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------------------------------- >>>> Max !! >>>> >>>> >>>> ----- Original Message ---- >>>> From: Sandeep Thosar >>> > >>>> To: MapGuide Users Mail List >>>> >>> > >>>> Sent: Wednesday, April 9, 2008 11:33:13 AM >>>> Subject: Re: [mapguide-users] Data Package Problem >>>> >>>> Dear Rahul, >>>> >>>> I use Asp.Net 2.0 and i load packages also but what >>>> is the start up page i set to run the application. >>>> >>>> my WebLayout stored in C:\Program >>>> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts >>>> and the path which returned in JAvascript is >>>> "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; >>>> >>>> I can't understand from where WebLayout Picked. >>>> >>>> Please help me. >>>> >>>> With Regards, >>>> >>>> Sandeep >>>> >>>> On Wed, Apr 9, 2008 at 9:53 AM, Rahul >>>> >>> > wrote: >>>> >>>> Hi , >>>> >>>> I think you try to check through >>>> MapAgent and see that you can get some xml >>>> output for the Feature Source loaded through >>>> Data Package(*.mgp). >>>> >>>> >>>> >>>> http://x.x.x.x:8008/mapguide/mapagent/ >>>> >>>> >>>> >>>> One more thing are you using MapGuide Studio >>>> and if so then you can check the loaded package >>>> and see that you can preview weblayout or >>>> layers in the mapguide studio. >>>> >>>> >>>> >>>> Max >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------------------------------------- >>>> Dear Rahul, >>>> >>>> After i load data packages from site >>>> administrator and i run my application then i >>>> get blank output without any Error. >>>> >>>> Please told me exactly what happen and which >>>> page i set to start up page for the mapguide >>>> application or there is any changes require in >>>> mapguide open source sample code. >>>> >>>> Please help me. >>>> >>>> With Regards, >>>> >>>> Sandeep >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> You rock. That's why Blockbuster's offering you >>>> one month of Blockbuster Total Access >>>> , >>>> No Cost. >>>> >>>> _______________________________________________ >>>> mapguide-users mailing list >>>> mapguide-users@lists.osgeo.org >>>> >>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>>> >>>> >>>> >>>> >>>> __________________________________________________ >>>> Do You Yahoo!? >>>> Tired of spam? Yahoo! Mail has the best spam >>>> protection around >>>> http://mail.yahoo.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 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 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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/33ba3d9c/attachment.html From alucas at srtec.com Thu Apr 10 03:58:31 2008 From: alucas at srtec.com (alucas) Date: Thu Apr 10 03:58:33 2008 Subject: [mapguide-users] problem building mgos 2.0 in centos 5.1 Message-ID: <16604133.post@talk.nabble.com> Hello, I've this problem building mapguide in centos, I've installed libpng-dev. /root/mgos20/mapguide-2.0.0/Common/Renderers/.libs/libMgRenderers.so: undefined reference to `gdFontCacheSetup' /root/mgos20/mapguide-2.0.0/Common/Renderers/.libs/libMgRenderers.so: undefined reference to `gdFontCacheShutdown' Any Idea? -- View this message in context: http://www.nabble.com/problem-building-mgos-2.0-in-centos-5.1-tp16604133s16610p16604133.html Sent from the MapGuide Users mailing list archive at Nabble.com. From LRRamos at aurensis.com Thu Apr 10 04:18:57 2008 From: LRRamos at aurensis.com (Luis Ramos) Date: Thu Apr 10 04:18:58 2008 Subject: [mapguide-users] King Oracle Problem In-Reply-To: <14876980.post@talk.nabble.com> References: <14804675.post@talk.nabble.com> <14818856.post@talk.nabble.com> <14833045.post@talk.nabble.com> <478C6393.5030803@sl-king.com> <14833420.post@talk.nabble.com> <478C67C2.6090001@sl-king.com> <14876980.post@talk.nabble.com> Message-ID: <16604465.post@talk.nabble.com> Hello, I'm facing a similar problem on a XP machine with MagGuide Server 2.0, Apache 2 and Oracle 9.2. What I've done: - downloaded and installed the King Oracle v.0.7.3 For FDO 3.3 with Oracle Instant Client. - downloaded and installed the Oracle Instant Client basic v 10.2.0.3 - changed the providers.xml file - restarted the MapGuide Server What do I get when creating a new data connection: - on Autodesk MapGuide Studio 2008, shows the King Provider on the FDO list but after selecting this, the connection properties are blank and non editable. - on AutoCAD Map 3D 2008, shows the King Provider on the FDO list but after selecting this, I get an unable to create connection to provider "King.Oracle.0.1.1". If you managed to solve this problem please tell me how. Lu?s Ramos A H wrote: > > hello. i'm also currently facing the same problem. i'm using Oracle 9.2 as > database. i followed the steps and i got this message when testing the > connection in MapGuide Studio 2008: > > An exception occurred in FDO component. > ORA-12705: Cannot access NLS data files or invalid environment specified > > what does that mean? > > > my FDO version is 3.2.2. and i downloaded the v0.7.3 Windows 32-bit > provider with Oracle Instant Client from the website. i copied the > King.Oracle DLLs and Oracle instant clients DLL and put it in the FDO > folder. is this definition correct for providers.xml? > > > King.Oracle.0.1.1 > King Provider for Oracle > Read/write access to spatial and attribute data in an > Oracle Spatial. > False > 0.1.1.0 > 3.2.2.0 > C:\Program > Files\MapGuideOpenSource\Server\Bin\FDO\KingOracleProvider.dll > > > i thought everything should be fine since MapGuide Studio is enable to > display the providers but i got that message. i use > //[host]:1521/[service] as the service name as mentioned in the Oracle's > documentation. > > > > > Simon Pelicon wrote: >> >> Hi, >> Which version of MapGuide do you have? >> There are providers v0.7.3 for different FDO versions (3.1 ,3.2 and >> .3.2.2) >> >> Do you restart MG server after changing provider files,xml etc...? >> You can also check which files are missing or wrong , using "Dependency >> walker" http://www.dependencywalker.com/ >> With Dependency W. open KingProvider.dll. >> >> Simon >> >> JeromeA wrote: >>> Hi, >>> >>> yes I think so. I took the first one: v0.7.3 Windows 32-bit provider >>> with >>> Oracle Instant Client. >>> I'm trying to connect to Oracle 9.2.0.4.0 from MG Studio 2008 >>> >>> Jerome >>> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> > > -- View this message in context: http://www.nabble.com/King-Oracle-Problem-tp14804675s16610p16604465.html Sent from the MapGuide Users mailing list archive at Nabble.com. From simon at sl-king.com Thu Apr 10 05:42:34 2008 From: simon at sl-king.com (Simon Pelicon) Date: Thu Apr 10 04:42:22 2008 Subject: [mapguide-users] King Oracle Problem In-Reply-To: <16604465.post@talk.nabble.com> References: <14804675.post@talk.nabble.com> <14818856.post@talk.nabble.com> <14833045.post@talk.nabble.com> <478C6393.5030803@sl-king.com> <14833420.post@talk.nabble.com> <478C67C2.6090001@sl-king.com> <14876980.post@talk.nabble.com> <16604465.post@talk.nabble.com> Message-ID: <47FDE10A.20303@sl-king.com> An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/b4cc5764/attachment.html From LRRamos at aurensis.com Thu Apr 10 05:46:52 2008 From: LRRamos at aurensis.com (Luis Rafael Ramos Correia) Date: Thu Apr 10 05:46:58 2008 Subject: [mapguide-users] King Oracle Problem Message-ID: <44829CB5DF06E74F93380BDECE2C655801108941@saona.aurensis.com> Hi, I tested de DependencyWalker on the KingOracleProvider.dll and it seemed to be missing the MSVCR80.dll and the MSVCP71.dll. I searched and donwloaded this files from the web. After that, the connection propreties on Autodesk Studio displayed well and i managed the connection to the database. Thank you for your help. Lu?s Ramos Dpto. de GIS, Movilidad y Datos -----Mensaje original----- De: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] En nombre de Simon Pelicon Enviado el: dijous, 10 / abril / 2008 11:43 Para: MapGuide Users Mail List Asunto: Re: [mapguide-users] King Oracle Problem Hi! Connection properties are blank because provider did not loaded successfully. Open KingOracleProvider.dll with DependencyWalker ( http://www.dependencywalker.com/) and look for missing dll. I think that Oracle client needs some Microsoft MFC dll files. Simon Luis Ramos wrote: Hello, I'm facing a similar problem on a XP machine with MagGuide Server 2.0, Apache 2 and Oracle 9.2. What I've done: - downloaded and installed the King Oracle v.0.7.3 For FDO 3.3 with Oracle Instant Client. - downloaded and installed the Oracle Instant Client basic v 10.2.0.3 - changed the providers.xml file - restarted the MapGuide Server What do I get when creating a new data connection: - on Autodesk MapGuide Studio 2008, shows the King Provider on the FDO list but after selecting this, the connection properties are blank and non editable. - on AutoCAD Map 3D 2008, shows the King Provider on the FDO list but after selecting this, I get an unable to create connection to provider "King.Oracle.0.1.1". If you managed to solve this problem please tell me how. Lu?s Ramos A H wrote: hello. i'm also currently facing the same problem. i'm using Oracle 9.2 as database. i followed the steps and i got this message when testing the connection in MapGuide Studio 2008: An exception occurred in FDO component. ORA-12705: Cannot access NLS data files or invalid environment specified what does that mean? my FDO version is 3.2.2. and i downloaded the v0.7.3 Windows 32-bit provider with Oracle Instant Client from the website. i copied the King.Oracle DLLs and Oracle instant clients DLL and put it in the FDO folder. is this definition correct for providers.xml? King.Oracle.0.1.1 King Provider for Oracle Read/write access to spatial and attribute data in an Oracle Spatial. False 0.1.1.0 3.2.2.0 C:\Program Files\MapGuideOpenSource\Server\Bin\FDO\KingOracleProvider.dll i thought everything should be fine since MapGuide Studio is enable to display the providers but i got that message. i use //[host]:1521/[service] as the service name as mentioned in the Oracle's documentation. Simon Pelicon wrote: Hi, Which version of MapGuide do you have? There are providers v0.7.3 for different FDO versions (3.1 ,3.2 and .3.2.2) Do you restart MG server after changing provider files,xml etc...? You can also check which files are missing or wrong , using "Dependency walker" http://www.dependencywalker.com/ With Dependency W. open KingProvider.dll. Simon JeromeA wrote: Hi, yes I think so. I took the first one: v0.7.3 Windows 32-bit provider with Oracle Instant Client. I'm trying to connect to Oracle 9.2.0.4.0 from MG Studio 2008 Jerome _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/f43e41a2/attachment.html From naizen at gcrconsulting.com Thu Apr 10 09:37:55 2008 From: naizen at gcrconsulting.com (Nick Aizen) Date: Thu Apr 10 09:39:15 2008 Subject: [mapguide-users] Getting exception with Open method of MgMap Object Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2264 bytes Desc: image001.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/77405289/image001.gif From rdiercks at k3county.net Thu Apr 10 09:27:48 2008 From: rdiercks at k3county.net (Roger Diercks) Date: Thu Apr 10 09:58:30 2008 Subject: [mapguide-users] OSS application to serve file based images In-Reply-To: References: Message-ID: <47FE15D4.2020500@k3county.net> My organization has been testing using Mapserver as a WMS server to serve up imagery. So far the results have been very encouraging, but we want to do more testing before deploying this solution in a production environment. You'll most likely have to optimize your imagery to obtain maximum performance, which was easily done using the GDAL utilities available in FWTools. There are also some considerations in how you set up your map file that you'll need keep in mind, but overall I didn't find it to be all that difficult once I read some of the documentation. I've included some links below that were very helpful to me in getting Mapserver set up to serve our imagery. http://mapserver.gis.umn.edu/docs/howto/raster_data http://mapserver.gis.umn.edu/docs/howto/optimizeraster Roger Diercks GIS Manager County of Kankakee 189 East Court Street Kankakee, IL 60901 Voice: (815) 937-2986 Fax: (815) 936-3358 rdiercks@k3county.net Intengu Technologies wrote: > Hello > > I understand that most experts are saying it is far better not to load > images in a database but rather to serve them from a file based > system. There are two commercial products that I know of ER Mapper - > Image Web Server and ArcGIS Image Server what OSS products provide > comparable functionalities. If these are available are there any > bench mark studies done and also I would like to integrate such > products with ArcGIS Server. > > -- > Sindile Bidla > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/78c85375/attachment.html From andrew.demerchant at gemtec.ca Thu Apr 10 10:44:27 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Thu Apr 10 10:48:28 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 Message-ID: <47FE27CB.1000000@gemtec.ca> I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got a test machine running MGOS 2.0 right now, and am testing out just moving my packages from my production server to my test server. Not surprisingly, any dataconnections I had set up on my production server stop working on my dev server - I assume because they were made using FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice if the FDO people would make things backwards compatible). Anyway, I fully expected those to break (along with my Raster layers). I've hit a wall in trying to get them (my ODBC datasources) set up again. I've tried in Autodesk Studio, I've tried in MapStudioOS - neither are working. They both give me an error that is the same - "An exception occurred in FDO component. RDBMS: No current open database."....I've tried custom connection strings and DSN (which is my preferred method). Same result for both. I did successfully connect to an SQL server I have onsite, but that's not where my data is. That suggests to me the the problem may be with my database format - which is Jet (MS Access). What the solution here? If all else fails, is it an option for me to install FDO3.1 with MGOS2? Andrew -- *Andrew DeMerchant* *Computer Technologist* ph.1-877-2GEMTEC x.163 fax 506-453-9470 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From jeremie.formica at gmail.com Thu Apr 10 11:10:08 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 10 11:10:11 2008 Subject: [mapguide-users] Help Problem built_thirdparty.sh Message-ID: <2cc7a1210804100810n99534a2qde80c6b874eff964@mail.gmail.com> Hello, I want instal mapguide opensource on CentOS 5. When i execute the script ./built_thirdparty.sh I have an error : configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. GNUmakefile:5: GDALmake.opt: Aucun fichier ou r?pertoire de ce type make: *** Pas de r?gle pour fabriquer la cible ? config.status ?, n?cessaire pour ? GDALmake.opt ?. Arr?t. cp: ne peut ?valuer `./.libs/libgdal.a': Aucun fichier ou r?pertoire de ce type cp: ne peut ?valuer `./.libs/libgdal.so': Aucun fichier ou r?pertoire de ce type cp: ne peut ?valuer `./.libs/libgdal.so.1': Aucun fichier ou r?pertoire de ce type cp: ne peut ?valuer `./.libs/libgdal.so.1.9.0': Aucun fichier ou r?pertoire de ce type make: *** Pas de r?gle pour fabriquer la cible ? install ?. Arr?t. Help please, I want install Fdo without arcsde. Thanks you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/a84b0d94/attachment.html From ks at geograf.dk Thu Apr 10 11:14:07 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 10 11:14:15 2008 Subject: [mapguide-users] Getting exception with Open method of MgMap Object In-Reply-To: References: Message-ID: <47FE2EBF.3020106@geograf.dk> You must create and save the runtime map (MgMap.Create/MgMap.Save) before you can open it. The viewer does this for you, and it will overwrite an existing runtime map. If you belive the map is already created, you must obtain the session id from the viewer. You cannot create a session and read the map from another session. You probably want to remove the first 6 lines of code, and pass in the sessionId by querystring. Regards, Kenneth, GEOGRAF A/S Nick Aizen skrev: > > Having some trouble with the MapGuide API, we installed MapGuide > Enterprise 2008 ,we are using asp.net and c # with the MapGuide API. > I'm trying to have my page when it initially loads, use a map feature > service to filter and select parcels. All seems to work except when I > try to open a map object, I get the following exception: > > > > /OSGeo.MapGuide.MgResourceNotFoundException was unhandled by user code/ > > / Message="Resource was not found: > Session:eb1f513e-ffff-ffff-8000-001c23a550ea_en_C0A800020AFC0AFB0AFA//Sheboygan.Map"/ > > / Source="MapGuideDotNetApi"/ > > / StackTrace:/ > > / - MgResourceServiceHandler.ProcessOperation line 80 file > c:\build_bond_area\bond_nightly\build_41.3\ent\os\server\src\services\resource\ResourceServiceHandler.cpp/ > > / - MgOpGetResourceData.Execute line 132 file > c:\build_bond_area\bond_nightly\build_41.3\ent\os\server\src\services\resource\OpGetResourceData.cpp/ > > / - MgServerResourceService.GetResourceData line 1416 file > c:\build_bond_area\bond_nightly\build_41.3\ent\os\server\src\services\resource\ServerResourceService.cpp/ > > / - MgApplicationRepositoryManager.GetResourceData line 1194 file > c:\build_bond_area\bond_nightly\build_41.3\ent\os\server\src\services\resource\ApplicationRepositoryManager.cpp/ > > / - MgResourceContentManager.GetDocument line 590 file > c:\build_bond_area\bond_nightly\build_41.3\ent\os\server\src\services\resource\ResourceContentManager.cpp/ > > / - MgResourceDefinitionManager.GetDocument line 476 file > c:\build_bond_area\bond_nightly\build_41.3\ent\os\server\src\services\resource\ResourceDefinitionManager.cpp/ > > > > *Here's my code below:* > > > > String webLayout = "Library://DevTV/HelloWorld.WebLayout"; > > MapGuideApi.MgInitializeWebTier(@"C:\Program > Files\Autodesk\MapGuideEnterprise2008\WebServerExtensions\www\webconfig.ini"); > > MgUserInformation userInfo = new > MgUserInformation("Administrator", "admin"); > > MgSite site = new MgSite(); > > site.Open(userInfo); > > String sessionId = site.CreateSession(); > > > > //Associate a session ID with the MgSiteConnection Object > > MgUserInformation userInfo_new = new MgUserInformation(sessionId); > > MgSiteConnection siteConnection = new MgSiteConnection(); > > siteConnection.Open(userInfo_new); > > MgResourceService resourceSrvc > =(MgResourceService)siteConnection.CreateService(MgServiceType.ResourceService > ); > > MgMap map = new MgMap(); > > map.Open(resourceSrvc, mapName); > > > > > > Do I need to perform certain steps in a certain order to get this to > work? I would appreciate any help with this issue. > > > > > > > > > > > > > > *Nick Aizen* > > GCR & Associates, Inc. > > 2021 Lakeshore Dr., Suite 500 > > New Orleans, LA 70122 > > www.gcr1.com > > (504) 304-2500 ext. 2320 > > Fax: (504) 304-2525 > > > > cid:338554203@20092007-3664 > > > > > > > > > > > > > > > > *Nick Aizen* > > GCR & Associates, Inc. > > 2021 Lakeshore Dr., Suite 500 > > New Orleans, LA 70122 > > www.gcr1.com > > (504) 304-2500 ext. 2320 > > Fax: (504) 304-2525 > > > > cid:338554203@20092007-3664 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- Skipped content of type multipart/related From dave.wilson at autodesk.com Thu Apr 10 11:15:24 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Thu Apr 10 11:15:30 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE27CB.1000000@gemtec.ca> References: <47FE27CB.1000000@gemtec.ca> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1664 bytes Desc: image001.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/da507018/image001.gif From warmerdam at pobox.com Thu Apr 10 11:40:27 2008 From: warmerdam at pobox.com (Frank Warmerdam) Date: Thu Apr 10 11:40:51 2008 Subject: [mapguide-users] Help Problem built_thirdparty.sh In-Reply-To: <2cc7a1210804100810n99534a2qde80c6b874eff964@mail.gmail.com> References: <2cc7a1210804100810n99534a2qde80c6b874eff964@mail.gmail.com> Message-ID: <47FE34EB.5060807@pobox.com> J?r?mie Formica wrote: > Hello, > > I want instal mapguide opensource on CentOS 5. > > When i execute the script ./built_thirdparty.sh I have an error : > > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. > GNUmakefile:5: GDALmake.opt: Aucun fichier ou r?pertoire de ce type > make: *** Pas de r?gle pour fabriquer la cible ? config.status ?, > n?cessaire pour ? GDALmake.opt ?. Arr?t. > cp: ne peut ?valuer `./.libs/libgdal.a': Aucun fichier ou r?pertoire de > ce type > cp: ne peut ?valuer `./.libs/libgdal.so': Aucun fichier ou r?pertoire de > ce type > cp: ne peut ?valuer `./.libs/libgdal.so.1': Aucun fichier ou r?pertoire > de ce type > cp: ne peut ?valuer `./.libs/libgdal.so.1.9.0': Aucun fichier ou > r?pertoire de ce type > make: *** Pas de r?gle pour fabriquer la cible ? install ?. Arr?t. > > Help please, I want install Fdo without arcsde. J?r?mie, Did you investigate the report in the config.log in the GDAL directory? What does it say? Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org From warmerdam at pobox.com Thu Apr 10 12:07:03 2008 From: warmerdam at pobox.com (Frank Warmerdam) Date: Thu Apr 10 12:07:31 2008 Subject: [mapguide-users] Help Problem built_thirdparty.sh In-Reply-To: <2cc7a1210804100853l37b6ae2fw10098363e26bb7c2@mail.gmail.com> References: <2cc7a1210804100810n99534a2qde80c6b874eff964@mail.gmail.com> <47FE34EB.5060807@pobox.com> <2cc7a1210804100853l37b6ae2fw10098363e26bb7c2@mail.gmail.com> Message-ID: <47FE3B27.8000209@pobox.com> J?r?mie Formica wrote: > I have look but I understand nothing. If you want look , i join config.log > Thanks you for your help > J?r?mie, The way I read the config.log you do not have g++ installed on your system though I must admit it isn't all that straight forward to deduce from the config.log. I would suggest reviewing the packages available in your package management system and trying to install g++. I would add that MapGuide and FDO depend on quite a few other development components which also may be missing if you don't have g++. Stuff like automake, etc. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org From andrew.demerchant at gemtec.ca Thu Apr 10 15:19:23 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Thu Apr 10 15:20:21 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <47FE683B.8020003@gemtec.ca> Ah! I had to change the MG Server service to run on the correct account.....though, I DID (prior to that) try (and fail) to enter the correct credentials right in the provider settings. anyway, that did it.....now on to the next problem: How the heck am I supposed to actually _make_ a new ODBC connection?? In Autodesk Studio, I can at least now see my tables, and select which fields to use as the geometry fields (not so in MapStudioOS) - but when I try to save it, I get the following: I'd do it in MapStudioOS, but there doesn't seem to be a place to pick my x and y columns...And we all know that WebStudio's not so useful for this either....This "upgrade" to 2.0 sure is starting to feel like a bad idea. Andrew Dave Wilson wrote: > > The database connections are compatible and should work. Reasons why > they might not work: > > > > When using connection strings the ODBC driver name is different > between the machines or does not match the string. The DSN names are > not the same or do not exist. > > > > Are the databases local to the server? If not did you change your MG > server process to use an account with network access? > > > > Regards, > > Dave > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Thursday, April 10, 2008 8:44 AM > *To:* MapGuide Users Mail List > *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 > > > > I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got a > test machine running MGOS 2.0 right now, and am testing out just > moving my packages from my production server to my test server. Not > surprisingly, any dataconnections I had set up on my production server > stop working on my dev server - I assume because they were made using > FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice if the FDO > people would make things backwards compatible). Anyway, I fully > expected those to break (along with my Raster layers). > > I've hit a wall in trying to get them (my ODBC datasources) set up > again. I've tried in Autodesk Studio, I've tried in MapStudioOS - > neither are working. They both give me an error that is the same - "An > exception occurred in FDO component. RDBMS: No current open > database."....I've tried custom connection strings and DSN (which is > my preferred method). Same result for both. I did successfully connect > to an SQL server I have onsite, but that's not where my data is. That > suggests to me the the problem may be with my database format - which > is Jet (MS Access). What the solution here? If all else fails, is it > an option for me to install FDO3.1 with MGOS2? > > Andrew > > -- > > > > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From ks at geograf.dk Thu Apr 10 15:58:51 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 10 15:59:09 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE683B.8020003@gemtec.ca> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> Message-ID: <47FE717B.9060202@geograf.dk> I have added the column stuff to MapStudio OS, but I have not yet built a new release. If you have access to a Visual Studio 2003 (or newer) it should be no problem to build one yourself. I am currently building an browser for unmanged resources, and I will release it after that. Regards, Kenneth, GEOGRAF A/S Andrew DeMerchant skrev: > Ah! I had to change the MG Server service to run on the correct > account.....though, I DID (prior to that) try (and fail) to enter the > correct credentials right in the provider settings. anyway, that did > it.....now on to the next problem: > > How the heck am I supposed to actually _make_ a new ODBC connection?? > In Autodesk Studio, I can at least now see my tables, and select which > fields to use as the geometry fields (not so in MapStudioOS) - but > when I try to save it, I get the following: > > > > I'd do it in MapStudioOS, but there doesn't seem to be a place to pick > my x and y columns...And we all know that WebStudio's not so useful > for this either....This "upgrade" to 2.0 sure is starting to feel like > a bad idea. > > Andrew > > > Dave Wilson wrote: >> >> The database connections are compatible and should work. Reasons why >> they might not work: >> >> >> >> When using connection strings the ODBC driver name is different >> between the machines or does not match the string. The DSN names are >> not the same or do not exist. >> >> >> >> Are the databases local to the server? If not did you change your MG >> server process to use an account with network access? >> >> >> >> Regards, >> >> Dave >> >> >> >> *From:* mapguide-users-bounces@lists.osgeo.org >> [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew >> DeMerchant >> *Sent:* Thursday, April 10, 2008 8:44 AM >> *To:* MapGuide Users Mail List >> *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 >> >> >> >> I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got a >> test machine running MGOS 2.0 right now, and am testing out just >> moving my packages from my production server to my test server. Not >> surprisingly, any dataconnections I had set up on my production >> server stop working on my dev server - I assume because they were >> made using FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice >> if the FDO people would make things backwards compatible). Anyway, I >> fully expected those to break (along with my Raster layers). >> >> I've hit a wall in trying to get them (my ODBC datasources) set up >> again. I've tried in Autodesk Studio, I've tried in MapStudioOS - >> neither are working. They both give me an error that is the same - >> "An exception occurred in FDO component. RDBMS: No current open >> database."....I've tried custom connection strings and DSN (which is >> my preferred method). Same result for both. I did successfully >> connect to an SQL server I have onsite, but that's not where my data >> is. That suggests to me the the problem may be with my database >> format - which is Jet (MS Access). What the solution here? If all >> else fails, is it an option for me to install FDO3.1 with MGOS2? >> >> Andrew >> >> -- >> >> >> >> *Andrew DeMerchant* >> *Computer Technologist* >> ph.1-877-2GEMTEC x.163 >> fax 506-453-9470 >> >> /GEMTEC Limited >> /191 Doak Road >> Fredericton, NB, Canada >> E3C 2E6 >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- Skipped content of type multipart/related From Jason.Birch at nanaimo.ca Thu Apr 10 16:02:11 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 10 16:02:16 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE683B.8020003@gemtec.ca> References: <47FE27CB.1000000@gemtec.ca><53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A60E7@starfish.nanaimo.ca> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 29508 bytes Desc: image001.jpg Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/1d21cc8f/attachment.jpe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1664 bytes Desc: image002.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/1d21cc8f/attachment.gif From andrew.demerchant at gemtec.ca Thu Apr 10 16:03:54 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Thu Apr 10 16:04:54 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE717B.9060202@geograf.dk> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk> Message-ID: <47FE72AA.6080408@gemtec.ca> I don't have access to that - so I'll wait. How long till you release that? I know that's a tough question, but are we talking days, weeks or months? Andrew Kenneth, GEOGRAF A/S wrote: > I have added the column stuff to MapStudio OS, but I have not yet > built a new release. > If you have access to a Visual Studio 2003 (or newer) it should be no > problem to build one yourself. > I am currently building an browser for unmanged resources, and I will > release it after that. > Regards, Kenneth, GEOGRAF A/S > > > > Andrew DeMerchant skrev: >> Ah! I had to change the MG Server service to run on the correct >> account.....though, I DID (prior to that) try (and fail) to enter the >> correct credentials right in the provider settings. anyway, that did >> it.....now on to the next problem: >> >> How the heck am I supposed to actually _make_ a new ODBC connection?? >> In Autodesk Studio, I can at least now see my tables, and select >> which fields to use as the geometry fields (not so in MapStudioOS) - >> but when I try to save it, I get the following: >> >> >> >> I'd do it in MapStudioOS, but there doesn't seem to be a place to >> pick my x and y columns...And we all know that WebStudio's not so >> useful for this either....This "upgrade" to 2.0 sure is starting to >> feel like a bad idea. >> >> Andrew >> >> >> Dave Wilson wrote: >>> >>> The database connections are compatible and should work. Reasons why >>> they might not work: >>> >>> >>> >>> When using connection strings the ODBC driver name is different >>> between the machines or does not match the string. The DSN names are >>> not the same or do not exist. >>> >>> >>> >>> Are the databases local to the server? If not did you change your MG >>> server process to use an account with network access? >>> >>> >>> >>> Regards, >>> >>> Dave >>> >>> >>> >>> *From:* mapguide-users-bounces@lists.osgeo.org >>> [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of >>> *Andrew DeMerchant >>> *Sent:* Thursday, April 10, 2008 8:44 AM >>> *To:* MapGuide Users Mail List >>> *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 >>> >>> >>> >>> I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got >>> a test machine running MGOS 2.0 right now, and am testing out just >>> moving my packages from my production server to my test server. Not >>> surprisingly, any dataconnections I had set up on my production >>> server stop working on my dev server - I assume because they were >>> made using FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice >>> if the FDO people would make things backwards compatible). Anyway, I >>> fully expected those to break (along with my Raster layers). >>> >>> I've hit a wall in trying to get them (my ODBC datasources) set up >>> again. I've tried in Autodesk Studio, I've tried in MapStudioOS - >>> neither are working. They both give me an error that is the same - >>> "An exception occurred in FDO component. RDBMS: No current open >>> database."....I've tried custom connection strings and DSN (which is >>> my preferred method). Same result for both. I did successfully >>> connect to an SQL server I have onsite, but that's not where my data >>> is. That suggests to me the the problem may be with my database >>> format - which is Jet (MS Access). What the solution here? If all >>> else fails, is it an option for me to install FDO3.1 with MGOS2? >>> >>> Andrew >>> >>> -- >>> >>> >>> >>> *Andrew DeMerchant* >>> *Computer Technologist* >>> ph.1-877-2GEMTEC x.163 >>> fax 506-453-9470 >>> >>> /GEMTEC Limited >>> /191 Doak Road >>> Fredericton, NB, Canada >>> E3C 2E6 >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> 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 >> >> /GEMTEC Limited >> /191 Doak Road >> Fredericton, NB, Canada >> E3C 2E6 >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > -- *Andrew DeMerchant* *Computer Technologist* ph.1-877-2GEMTEC x.163 fax 506-453-9470 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From andrew.demerchant at gemtec.ca Thu Apr 10 16:07:36 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Thu Apr 10 16:08:33 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <8E468917B01800408B91984428BE03DD072A60E7@starfish.nanaimo.ca> References: <47FE27CB.1000000@gemtec.ca><53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60E7@starfish.nanaimo.ca> Message-ID: <47FE7388.4080209@gemtec.ca> It's the latest preview version (just downloaded it this week)....1.2.0.1403 Jason Birch wrote: > > Andrew, what version of Studio are you using? > > > > I haven't seen this error, but then I haven't had to create ODBC > connections either... > > > > Jason > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Thursday, April 10, 2008 12:19 > *To:* MapGuide Users Mail List > *Subject:* Re: [mapguide-users] ODBC problems....MGOS 2.0 > > > > Ah! I had to change the MG Server service to run on the correct > account.....though, I DID (prior to that) try (and fail) to enter the > correct credentials right in the provider settings. anyway, that did > it.....now on to the next problem: > > How the heck am I supposed to actually _make_ a new ODBC connection?? > In Autodesk Studio, I can at least now see my tables, and select which > fields to use as the geometry fields (not so in MapStudioOS) - but > when I try to save it, I get the following: > > > > I'd do it in MapStudioOS, but there doesn't seem to be a place to pick > my x and y columns...And we all know that WebStudio's not so useful > for this either....This "upgrade" to 2.0 sure is starting to feel like > a bad idea. > > Andrew > > > Dave Wilson wrote: > > The database connections are compatible and should work. Reasons why > they might not work: > > > > When using connection strings the ODBC driver name is different > between the machines or does not match the string. The DSN names are > not the same or do not exist. > > > > Are the databases local to the server? If not did you change your MG > server process to use an account with network access? > > > > Regards, > > Dave > > > > *From:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Thursday, April 10, 2008 8:44 AM > *To:* MapGuide Users Mail List > *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 > > > > I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got a > test machine running MGOS 2.0 right now, and am testing out just > moving my packages from my production server to my test server. Not > surprisingly, any dataconnections I had set up on my production server > stop working on my dev server - I assume because they were made using > FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice if the FDO > people would make things backwards compatible). Anyway, I fully > expected those to break (along with my Raster layers). > > I've hit a wall in trying to get them (my ODBC datasources) set up > again. I've tried in Autodesk Studio, I've tried in MapStudioOS - > neither are working. They both give me an error that is the same - "An > exception occurred in FDO component. RDBMS: No current open > database."....I've tried custom connection strings and DSN (which is > my preferred method). Same result for both. I did successfully connect > to an SQL server I have onsite, but that's not where my data is. That > suggests to me the the problem may be with my database format - which > is Jet (MS Access). What the solution here? If all else fails, is it > an option for me to install FDO3.1 with MGOS2? > > Andrew > > -- > > > > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > 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 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From ks at geograf.dk Thu Apr 10 16:16:54 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 10 16:16:59 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE72AA.6080408@gemtec.ca> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk> <47FE72AA.6080408@gemtec.ca> Message-ID: <47FE75B6.2050203@geograf.dk> I'm hoping it will be complete within the next week, but it's not a promise :) Regards, Kenneth, GEOGRAF A/S Andrew DeMerchant skrev: > I don't have access to that - so I'll wait. How long till you release > that? I know that's a tough question, but are we talking days, weeks > or months? > > Andrew > > > Kenneth, GEOGRAF A/S wrote: >> I have added the column stuff to MapStudio OS, but I have not yet >> built a new release. >> If you have access to a Visual Studio 2003 (or newer) it should be no >> problem to build one yourself. >> I am currently building an browser for unmanged resources, and I will >> release it after that. >> Regards, Kenneth, GEOGRAF A/S >> >> >> >> Andrew DeMerchant skrev: >>> Ah! I had to change the MG Server service to run on the correct >>> account.....though, I DID (prior to that) try (and fail) to enter >>> the correct credentials right in the provider settings. anyway, that >>> did it.....now on to the next problem: >>> >>> How the heck am I supposed to actually _make_ a new ODBC >>> connection?? In Autodesk Studio, I can at least now see my tables, >>> and select which fields to use as the geometry fields (not so in >>> MapStudioOS) - but when I try to save it, I get the following: >>> >>> >>> >>> I'd do it in MapStudioOS, but there doesn't seem to be a place to >>> pick my x and y columns...And we all know that WebStudio's not so >>> useful for this either....This "upgrade" to 2.0 sure is starting to >>> feel like a bad idea. >>> >>> Andrew >>> >>> >>> Dave Wilson wrote: >>>> >>>> The database connections are compatible and should work. Reasons >>>> why they might not work: >>>> >>>> >>>> >>>> When using connection strings the ODBC driver name is different >>>> between the machines or does not match the string. The DSN names >>>> are not the same or do not exist. >>>> >>>> >>>> >>>> Are the databases local to the server? If not did you change your >>>> MG server process to use an account with network access? >>>> >>>> >>>> >>>> Regards, >>>> >>>> Dave >>>> >>>> >>>> >>>> *From:* mapguide-users-bounces@lists.osgeo.org >>>> [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of >>>> *Andrew DeMerchant >>>> *Sent:* Thursday, April 10, 2008 8:44 AM >>>> *To:* MapGuide Users Mail List >>>> *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 >>>> >>>> >>>> >>>> I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got >>>> a test machine running MGOS 2.0 right now, and am testing out just >>>> moving my packages from my production server to my test server. Not >>>> surprisingly, any dataconnections I had set up on my production >>>> server stop working on my dev server - I assume because they were >>>> made using FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice >>>> if the FDO people would make things backwards compatible). Anyway, >>>> I fully expected those to break (along with my Raster layers). >>>> >>>> I've hit a wall in trying to get them (my ODBC datasources) set up >>>> again. I've tried in Autodesk Studio, I've tried in MapStudioOS - >>>> neither are working. They both give me an error that is the same - >>>> "An exception occurred in FDO component. RDBMS: No current open >>>> database."....I've tried custom connection strings and DSN (which >>>> is my preferred method). Same result for both. I did successfully >>>> connect to an SQL server I have onsite, but that's not where my >>>> data is. That suggests to me the the problem may be with my >>>> database format - which is Jet (MS Access). What the solution here? >>>> If all else fails, is it an option for me to install FDO3.1 with >>>> MGOS2? >>>> >>>> Andrew >>>> >>>> -- >>>> >>>> >>>> >>>> *Andrew DeMerchant* >>>> *Computer Technologist* >>>> ph.1-877-2GEMTEC x.163 >>>> fax 506-453-9470 >>>> >>>> /GEMTEC Limited >>>> /191 Doak Road >>>> Fredericton, NB, Canada >>>> E3C 2E6 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> 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 >>> >>> /GEMTEC Limited >>> /191 Doak Road >>> Fredericton, NB, Canada >>> E3C 2E6 >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> 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 >> > > -- > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- Skipped content of type multipart/related From jo at pat.ca Thu Apr 10 16:34:25 2008 From: jo at pat.ca (Jim O'Leary) Date: Thu Apr 10 16:34:26 2008 Subject: [mapguide-users] localize functions Message-ID: <16617633.post@talk.nabble.com> I'm looking for the function definitions found in this sample code: SetLocalizedFilesPath(GetLocalizationPath()); print Localize(file_get_contents("../viewerfiles/tasklist.templ"), $locale, GetClientOS()); I cannot find these functions nor a definition of the MgLocalizer class in the documentation, or in the source code for MGOS 2.0.0. Where is this code? Thanks ----- Jim O’Leary Technical Consultant Pacific Alliance Technologies 2nd Floor, 24 East 4th Ave, Vancouver BC, Canada V5T1E8 TEL 604.676.6000 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca -- View this message in context: http://www.nabble.com/localize-functions-tp16617633s16610p16617633.html Sent from the MapGuide Users mailing list archive at Nabble.com. From steve.dang at autodesk.com Thu Apr 10 17:00:13 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Thu Apr 10 17:00:20 2008 Subject: [mapguide-users] localize functions In-Reply-To: <16617633.post@talk.nabble.com> References: <16617633.post@talk.nabble.com> Message-ID: These functions are defined/implemented in MgDev\OS\Web\src\PhpApi\PhpLocalizer.cpp Steve. -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jim O'Leary Sent: Thursday, April 10, 2008 2:34 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] localize functions I'm looking for the function definitions found in this sample code: SetLocalizedFilesPath(GetLocalizationPath()); print Localize(file_get_contents("../viewerfiles/tasklist.templ"), $locale, GetClientOS()); I cannot find these functions nor a definition of the MgLocalizer class in the documentation, or in the source code for MGOS 2.0.0. Where is this code? Thanks ----- Jim O’Leary Technical Consultant Pacific Alliance Technologies 2nd Floor, 24 East 4th Ave, Vancouver BC, Canada V5T1E8 TEL 604.676.6000 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca -- View this message in context: http://www.nabble.com/localize-functions-tp16617633s16610p16617633.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 From andrew.demerchant at gemtec.ca Thu Apr 10 18:07:27 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Thu Apr 10 18:14:07 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE75B6.2050203@geograf.dk> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk> <47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk> Message-ID: <47FE8F9F.1090109@gemtec.ca> That's cool - just looking for some rough idea. Thanks - That program is getting really really close to doing everything that Autodesk's does (only better and faster). The only other thing it needs to do is to let you add tools and customize the toolbars etc in a weblayout, then it'll be a perfect replacement. Andrew Kenneth, GEOGRAF A/S wrote: > I'm hoping it will be complete within the next week, but it's not a > promise :) > Regards, Kenneth, GEOGRAF A/S > > > > Andrew DeMerchant skrev: >> I don't have access to that - so I'll wait. How long till you release >> that? I know that's a tough question, but are we talking days, weeks >> or months? >> >> Andrew >> >> >> Kenneth, GEOGRAF A/S wrote: >>> I have added the column stuff to MapStudio OS, but I have not yet >>> built a new release. >>> If you have access to a Visual Studio 2003 (or newer) it should be >>> no problem to build one yourself. >>> I am currently building an browser for unmanged resources, and I >>> will release it after that. >>> Regards, Kenneth, GEOGRAF A/S >>> >>> >>> >>> Andrew DeMerchant skrev: >>>> Ah! I had to change the MG Server service to run on the correct >>>> account.....though, I DID (prior to that) try (and fail) to enter >>>> the correct credentials right in the provider settings. anyway, >>>> that did it.....now on to the next problem: >>>> >>>> How the heck am I supposed to actually _make_ a new ODBC >>>> connection?? In Autodesk Studio, I can at least now see my tables, >>>> and select which fields to use as the geometry fields (not so in >>>> MapStudioOS) - but when I try to save it, I get the following: >>>> >>>> >>>> >>>> I'd do it in MapStudioOS, but there doesn't seem to be a place to >>>> pick my x and y columns...And we all know that WebStudio's not so >>>> useful for this either....This "upgrade" to 2.0 sure is starting to >>>> feel like a bad idea. >>>> >>>> Andrew >>>> >>>> >>>> Dave Wilson wrote: >>>>> >>>>> The database connections are compatible and should work. Reasons >>>>> why they might not work: >>>>> >>>>> >>>>> >>>>> When using connection strings the ODBC driver name is different >>>>> between the machines or does not match the string. The DSN names >>>>> are not the same or do not exist. >>>>> >>>>> >>>>> >>>>> Are the databases local to the server? If not did you change your >>>>> MG server process to use an account with network access? >>>>> >>>>> >>>>> >>>>> Regards, >>>>> >>>>> Dave >>>>> >>>>> >>>>> >>>>> *From:* mapguide-users-bounces@lists.osgeo.org >>>>> [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of >>>>> *Andrew DeMerchant >>>>> *Sent:* Thursday, April 10, 2008 8:44 AM >>>>> *To:* MapGuide Users Mail List >>>>> *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 >>>>> >>>>> >>>>> >>>>> I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've >>>>> got a test machine running MGOS 2.0 right now, and am testing out >>>>> just moving my packages from my production server to my test >>>>> server. Not surprisingly, any dataconnections I had set up on my >>>>> production server stop working on my dev server - I assume because >>>>> they were made using FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be >>>>> awfully nice if the FDO people would make things backwards >>>>> compatible). Anyway, I fully expected those to break (along with >>>>> my Raster layers). >>>>> >>>>> I've hit a wall in trying to get them (my ODBC datasources) set up >>>>> again. I've tried in Autodesk Studio, I've tried in MapStudioOS - >>>>> neither are working. They both give me an error that is the same - >>>>> "An exception occurred in FDO component. RDBMS: No current open >>>>> database."....I've tried custom connection strings and DSN (which >>>>> is my preferred method). Same result for both. I did successfully >>>>> connect to an SQL server I have onsite, but that's not where my >>>>> data is. That suggests to me the the problem may be with my >>>>> database format - which is Jet (MS Access). What the solution >>>>> here? If all else fails, is it an option for me to install FDO3.1 >>>>> with MGOS2? >>>>> >>>>> Andrew >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> *Andrew DeMerchant* >>>>> *Computer Technologist* >>>>> ph.1-877-2GEMTEC x.163 >>>>> fax 506-453-9470 >>>>> >>>>> /GEMTEC Limited >>>>> /191 Doak Road >>>>> Fredericton, NB, Canada >>>>> E3C 2E6 >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> /GEMTEC Limited >>>> /191 Doak Road >>>> Fredericton, NB, Canada >>>> E3C 2E6 >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> -- >> *Andrew DeMerchant* >> *Computer Technologist* >> ph.1-877-2GEMTEC x.163 >> fax 506-453-9470 >> >> /GEMTEC Limited >> /191 Doak Road >> Fredericton, NB, Canada >> E3C 2E6 >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > From Jason.Birch at nanaimo.ca Thu Apr 10 19:10:00 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 10 19:10:03 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE75B6.2050203@geograf.dk> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk><47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk> Message-ID: <8E468917B01800408B91984428BE03DD072A60E9@starfish.nanaimo.ca> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 29508 bytes Desc: image001.jpg Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/b6a78e8f/attachment.jpe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1664 bytes Desc: image002.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080410/b6a78e8f/attachment.gif From jo at pat.ca Thu Apr 10 19:39:46 2008 From: jo at pat.ca (Jim O'Leary) Date: Thu Apr 10 19:39:47 2008 Subject: [mapguide-users] localize functions In-Reply-To: References: <16617633.post@talk.nabble.com> Message-ID: <16622324.post@talk.nabble.com> I do not have this file or folder. I downloaded mapguide-2.0.0.tar.gz Is this the right source code? Thanks Steve Dang wrote: > > These functions are defined/implemented in > MgDev\OS\Web\src\PhpApi\PhpLocalizer.cpp > > Steve. > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jim O'Leary > Sent: Thursday, April 10, 2008 2:34 PM > To: mapguide-users@lists.osgeo.org > Subject: [mapguide-users] localize functions > > > I'm looking for the function definitions found in this sample code: > > SetLocalizedFilesPath(GetLocalizationPath()); > print Localize(file_get_contents("../viewerfiles/tasklist.templ"), > $locale, > GetClientOS()); > > I cannot find these functions nor a definition of the MgLocalizer class in > the documentation, or in the source code for MGOS 2.0.0. Where is this > code? > > Thanks > > ----- > Jim O’Leary > > > Technical > Consultant > > > Pacific Alliance > Technologies > > 2nd Floor, 24 East 4th Ave, Vancouver > BC, Canada > V5T1E8 > > TEL 604.676.6000 TOL 877.691.9171 FAX 604.682.0962 > > > WEB http://www.pat.ca/ www.pat.ca > > -- > View this message in context: > http://www.nabble.com/localize-functions-tp16617633s16610p16617633.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 > > -----   Jim O’Leary Bachelor of Technology Technical Consultant Pacific Alliance Technologies TEL 604.676.6000 EXT 110 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca    “A Member of StarDyne Technologies”    http://www.stardynetech.com/ www.stardynetech.com The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by replying to this message and deleting it from your system without making a copy.  Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses.  We are not liable for the timely, proper or complete transmission of the information contained in such communications.  We are also not liable for the loss of confidentiality of information contained in such communications.   -- View this message in context: http://www.nabble.com/localize-functions-tp16617633s16610p16622324.html Sent from the MapGuide Users mailing list archive at Nabble.com. From steve.dang at autodesk.com Thu Apr 10 21:06:32 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Thu Apr 10 21:06:40 2008 Subject: [mapguide-users] localize functions In-Reply-To: <16622324.post@talk.nabble.com> References: <16617633.post@talk.nabble.com> <16622324.post@talk.nabble.com> Message-ID: Yes it is. Steve. -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jim O'Leary Sent: Thursday, April 10, 2008 5:40 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] localize functions I do not have this file or folder. I downloaded mapguide-2.0.0.tar.gz Is this the right source code? Thanks Steve Dang wrote: > > These functions are defined/implemented in > MgDev\OS\Web\src\PhpApi\PhpLocalizer.cpp > > Steve. > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jim O'Leary > Sent: Thursday, April 10, 2008 2:34 PM > To: mapguide-users@lists.osgeo.org > Subject: [mapguide-users] localize functions > > > I'm looking for the function definitions found in this sample code: > > SetLocalizedFilesPath(GetLocalizationPath()); > print Localize(file_get_contents("../viewerfiles/tasklist.templ"), > $locale, > GetClientOS()); > > I cannot find these functions nor a definition of the MgLocalizer class in > the documentation, or in the source code for MGOS 2.0.0. Where is this > code? > > Thanks > > ----- > Jim O’Leary > > > Technical > Consultant > > > Pacific Alliance > Technologies > > 2nd Floor, 24 East 4th Ave, Vancouver > BC, Canada > V5T1E8 > > TEL 604.676.6000 TOL 877.691.9171 FAX 604.682.0962 > > > WEB http://www.pat.ca/ www.pat.ca > > -- > View this message in context: > http://www.nabble.com/localize-functions-tp16617633s16610p16617633.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 > > -----   Jim O’Leary Bachelor of Technology Technical Consultant Pacific Alliance Technologies TEL 604.676.6000 EXT 110 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca    “A Member of StarDyne Technologies”    http://www.stardynetech.com/ www.stardynetech.com The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by replying to this message and deleting it from your system without making a copy.  Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses.  We are not liable for the timely, proper or complete transmission of the information contained in such communications.  We are also not liable for the loss of confidentiality of information contained in such communications.   -- View this message in context: http://www.nabble.com/localize-functions-tp16617633s16610p16622324.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 From sandeepthosar at gmail.com Thu Apr 10 23:52:34 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Thu Apr 10 23:52:38 2008 Subject: [mapguide-users] Dot Net Problem Message-ID: Dear *Kenneth,* ** *Can you Explain me the Step no 8 and 9 from the InstallMapGuideOpenSourceSample.pdf because i think i did something wrong there only so i did not get any output and also when i run the URL --->* http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx i get error Page can't found. Please help me. With Regards, Sandeep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/ed172512/attachment.html From sandeepthosar at gmail.com Thu Apr 10 23:57:30 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Thu Apr 10 23:57:34 2008 Subject: [mapguide-users] Getting exception with Open method of MgMap Object In-Reply-To: <47FE2EBF.3020106@geograf.dk> References: <47FE2EBF.3020106@geograf.dk> Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2264 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/ba100c58/attachment.gif From sandeepthosar at gmail.com Fri Apr 11 02:02:04 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Fri Apr 11 02:02:08 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: <47FDBC88.2000700@geograf.dk> References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> <47FC86CD.503@geograf.dk> <47FCC2C2.7020308@geograf.dk> <47FDBC88.2000700@geograf.dk> Message-ID: Dear *Kenneth,* *Ya as per your instructions i find that my ASPX/.Net is disabled in IIS then i make it anable still get same result (page can not found) and now my login.php page is also not working giving me same output.* ** *Please help me.* ** *With Regards,* ** *Sandeep* On Thu, Apr 10, 2008 at 12:36 PM, Kenneth, GEOGRAF A/S wrote: > I would like to help you out, but if you do not follow the guide strictly, > it is very difficult to guess what went wrong. > I would suggest that you start over, and follow the guide closely. > > If you do not want to do that, there are a couple of common reasons for a > 404 error: > 1. The directory/file that IIS points to does not exist > 2. ASPX/.Net is disabled in IIS > 3. Scripting is disabled. > 4. The folder is not mapped in IIS. > 5. Permission problems may sometimes be masked as 404 errors. > 6. Make sure that IIS is using .Net 2.0 > > I can't guess what you are refering to with "Administrative Tool -> > MapGuide -> DotNetViewerSample". > > > Regards, Kenneth, GEOGRAF A/S > > > > Sandeep Thosar skrev: > > Dear *Kenneth,* > *Thanks for the mail and tried as per your instructions and also give > references in Administrative Tool --- > Mapguide ----> Dotnetviewersample. > * > *but it is not working and i facing the same problem.* > ** > *Then i type URL in internet Explorere--> * > http://localhost/mapguide/dotnetsampleviewer/ajaxviewersample.aspx > ** > *but it gives me following error THE PAGE CAN NOT FOUND.* > ** > Please help me out. > > With Regards, > > Sandeep > > > On Wed, Apr 9, 2008 at 6:51 PM, Kenneth, GEOGRAF A/S > wrote: > > > In the guide, step 2 is: > > 2. Download and extract the sample application. > > Visit the downloads page and download phpviewersample-2.0.zip. *On > > Windows extract the files to C:\Program > > Files\MapGuideOpenSource\WebServerExtensions\www*. On Linux extract the > > files to /usr/local/mapguideopensource/webserverextensions/www. Note > > that in both cases it should create a folder called phpviewersample under > > www. > > > > I have made the important part bold. > > For dotnet, the folder is called dotnetviewersample instead of > > phpviewersample. > > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > Sandeep Thosar skrev: > > > > I refering the dotnetviewersamplecode from download page and then > > unziped the sample code to C:\Inetpub\wwwroot directory and when i clicked > > on this linked i get message page can't find and if i run my application > > then i get blank output. > > > > Please help me. > > > > With Regards, > > Sandeep > > > > > > On Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S > > wrote: > > > > > What sample code are you refering to? > > > If you try the link below: > > > > > > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > > > > > It should ask you for username/password. > > > > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > > > > > > Sandeep Thosar skrev: > > > > > > Dear Kenneth, GEOGRAF , > > > Thanks for the mail. > > > > > > I After I installed data packages then it give me one log file > > > Sheboygan.mgp.log but when I run the sample code it give me blank output > > > again. > > > > > > > > > > > > Please help me. > > > > > > > > > > > > With Regards, > > > > > > Sandeep > > > > > > On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S > > > wrote: > > > > > > > Did you read the the guide? > > > > http://mapguide.osgeo.org/2.0/documentation.html > > > > Click on "Getting Started with MapGuide". > > > > > > > > Which step is failing? > > > > > > > > .Net/IIS uses slightly different urls: > > > > http://localhost/mapguide/mapadmin/login.php > > > > > > > > http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx > > > > > > > > You seem to confuse repository paths with file system paths. > > > > The WebLayout is not on the filesystem, but in the repository, so > > > > you cannot find it from windows explorer. > > > > You must use an authoring tool to edit the WebLayout (links are in > > > > the guide). > > > > > > > > For more information on how MapGuide works, please see the > > > > Developers Guide: > > > > http://mapguide.osgeo.org/2.0/documentation.html > > > > Simply click on "MapGuide Developers Guide". > > > > > > > > > > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > > > > > > > > > > > Sandeep Thosar skrev: > > > > > > > > Dear Rahul, > > > > > > > > Thanks for the information but when i debug this page it shows me > > > > UserId= Anonymous and Password="" then create session after that it goes to > > > > > > > > > > > > < > > > > frame id="viewerFrame" frameborder="no" marginwidth="0" marginheight > > > > ="0" scrolling="no" src="../mapviewernet/ajaxviewer.aspx?SESSION= > > > > <%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> where i get session > > > > information and shows WebLayout path Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout > > > > and then get blank output so where i stroes this Library folder in my > > > > application folder or currently it stored in C:\Program > > > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. Please > > > > help me. > > > > > > > > With Regards, > > > > Sandeep > > > > > > > > On Wed, Apr 9, 2008 at 10:17 AM, Rahul > > > > wrote: > > > > > > > > > Hi , > > > > > > > > > > I think you should check www/dotnetviewersample/* > > > > > ajaxviewersample.aspx* file , this file contain the information > > > > > regarding the weblayout as well as the startup page for the sample > > > > > application. > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------- > > > > > Max !! > > > > > > > > > > > > > > > ----- Original Message ---- > > > > > From: Sandeep Thosar > > > > > To: MapGuide Users Mail List > > > > > Sent: Wednesday, April 9, 2008 11:33:13 AM > > > > > Subject: Re: [mapguide-users] Data Package Problem > > > > > > > > > > Dear Rahul, > > > > > > > > > > I use Asp.Net 2.0 and i load packages also but what is the start > > > > > up page i set to run the application. > > > > > > > > > > my WebLayout stored in C:\Program > > > > > Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts > > > > > and the path which returned in JAvascript is > > > > > "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; > > > > > > > > > > I can't understand from where WebLayout Picked. > > > > > > > > > > Please help me. > > > > > > > > > > With Regards, > > > > > > > > > > Sandeep > > > > > > > > > > On Wed, Apr 9, 2008 at 9:53 AM, Rahul > > > > > wrote: > > > > > > > > > > > Hi , > > > > > > > > > > > > I think you try to check through MapAgent and see that > > > > > > you can get some xml output for the Feature Source loaded through Data > > > > > > Package(*.mgp). > > > > > > > > > > > > > > > > > > > > > > > > http://x.x.x.x:8008/mapguide/mapagent/ > > > > > > > > > > > > > > > > > > > > > > > > One more thing are you using MapGuide Studio and if so then you > > > > > > can check the loaded package and see that you can preview weblayout or > > > > > > layers in the mapguide studio. > > > > > > > > > > > > > > > > > > > > > > > > Max > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------------- > > > > > > Dear Rahul, > > > > > > > > > > > > After i load data packages from site administrator and i run my > > > > > > application then i get blank output without any Error. > > > > > > > > > > > > Please told me exactly what happen and which page i set to start > > > > > > up page for the mapguide application or there is any changes require in > > > > > > mapguide open source sample code. > > > > > > > > > > > > Please help me. > > > > > > > > > > > > With Regards, > > > > > > > > > > > > Sandeep > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > You rock. That's why Blockbuster's offering you one month of > > > > > > Blockbuster Total Access, > > > > > > No Cost. > > > > > > > > > > > > _______________________________________________ > > > > > > mapguide-users mailing list > > > > > > mapguide-users@lists.osgeo.org > > > > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > Do You Yahoo!? > > > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > > > http://mail.yahoo.com > > > > > > > > > > _______________________________________________ > > > > > mapguide-users mailing list > > > > > mapguide-users@lists.osgeo.org > > > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > > > ------------------------------ > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > ------------------------------ > > > > > > > > > _______________________________________________ > > > 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 > > > > > > > > ------------------------------ > > > > > > _______________________________________________ > > 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 > > > > > ------------------------------ > > _______________________________________________ > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/874c141a/attachment.html From Jason.Birch at nanaimo.ca Fri Apr 11 02:00:04 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Fri Apr 11 02:02:18 2008 Subject: [mapguide-users] localize functions References: <16617633.post@talk.nabble.com><16622324.post@talk.nabble.com> Message-ID: <8E468917B01800408B91984428BE03DD05C57175@starfish.nanaimo.ca> I think that Steve may have a slightly different local directory structure than what is in the tarball. This is where it is in SVN: http://svn.osgeo.org/mapguide/trunk/MgDev/Web/src/PhpApi Jason -----Original Message----- From: Jim O'Leary Subject: RE: [mapguide-users] localize functions I do not have this file or folder. I downloaded mapguide-2.0.0.tar.gz Is this the right source code? From ks at geograf.dk Fri Apr 11 02:55:08 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Fri Apr 11 02:55:20 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <8E468917B01800408B91984428BE03DD072A60E9@starfish.nanaimo.ca> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk><47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk> <8E468917B01800408B91984428BE03DD072A60E9@starfish.nanaimo.ca> Message-ID: <47FF0B4C.1060504@geograf.dk> It picks up the locale from your machine. In the "About" dialog, you can see what the OS considers your locale. You should be able to select English in the initial dialog. I would like to find the cause for this problem, as that would be quite annoying for most users. What locale does the OS report? Regards, Kenneth, GEOGRAF A/S Jason Birch skrev: > > OK, so when I build MapStudioOS, most of the UI is in Spanish. > > > > I don't really care (pretty easy to figure out) but is there an easy > way for me to set this? > > > > I'm using VS2005 by the way; seems to work fine. > > > > Jason > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of > *Kenneth, GEOGRAF A/S > *Sent:* Thursday, April 10, 2008 13:17 > *To:* MapGuide Users Mail List > *Subject:* Re: [mapguide-users] ODBC problems....MGOS 2.0 > > > > I'm hoping it will be complete within the next week, but it's not a > promise :) > > Regards, Kenneth, GEOGRAF A/S > > > > Andrew DeMerchant skrev: > > I don't have access to that - so I'll wait. How long till you release > that? I know that's a tough question, but are we talking days, weeks > or months? > > Andrew > > > Kenneth, GEOGRAF A/S wrote: > > I have added the column stuff to MapStudio OS, but I have not yet > built a new release. > If you have access to a Visual Studio 2003 (or newer) it should be no > problem to build one yourself. > I am currently building an browser for unmanged resources, and I will > release it after that. > > Regards, Kenneth, GEOGRAF A/S > > > > > Andrew DeMerchant skrev: > > Ah! I had to change the MG Server service to run on the correct > account.....though, I DID (prior to that) try (and fail) to enter the > correct credentials right in the provider settings. anyway, that did > it.....now on to the next problem: > > How the heck am I supposed to actually _make_ a new ODBC connection?? > In Autodesk Studio, I can at least now see my tables, and select which > fields to use as the geometry fields (not so in MapStudioOS) - but > when I try to save it, I get the following: > > > > I'd do it in MapStudioOS, but there doesn't seem to be a place to pick > my x and y columns...And we all know that WebStudio's not so useful > for this either....This "upgrade" to 2.0 sure is starting to feel like > a bad idea. > > Andrew > > > Dave Wilson wrote: > > The database connections are compatible and should work. Reasons why > they might not work: > > > > When using connection strings the ODBC driver name is different > between the machines or does not match the string. The DSN names are > not the same or do not exist. > > > > Are the databases local to the server? If not did you change your MG > server process to use an account with network access? > > > > Regards, > > Dave > > > > *From:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Thursday, April 10, 2008 8:44 AM > *To:* MapGuide Users Mail List > *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 > > > > I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got a > test machine running MGOS 2.0 right now, and am testing out just > moving my packages from my production server to my test server. Not > surprisingly, any dataconnections I had set up on my production server > stop working on my dev server - I assume because they were made using > FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice if the FDO > people would make things backwards compatible). Anyway, I fully > expected those to break (along with my Raster layers). > > I've hit a wall in trying to get them (my ODBC datasources) set up > again. I've tried in Autodesk Studio, I've tried in MapStudioOS - > neither are working. They both give me an error that is the same - "An > exception occurred in FDO component. RDBMS: No current open > database."....I've tried custom connection strings and DSN (which is > my preferred method). Same result for both. I did successfully connect > to an SQL server I have onsite, but that's not where my data is. That > suggests to me the the problem may be with my database format - which > is Jet (MS Access). What the solution here? If all else fails, is it > an option for me to install FDO3.1 with MGOS2? > > Andrew > > -- > > > > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > 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 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > 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 > > > > > -- > > > > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > 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 > -------------- next part -------------- Skipped content of type multipart/related From ks at geograf.dk Fri Apr 11 03:03:39 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Fri Apr 11 03:03:46 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE8F9F.1090109@gemtec.ca> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk> <47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk> <47FE8F9F.1090109@gemtec.ca> Message-ID: <47FF0D4B.8040708@geograf.dk> Thanks for the kind words. You can actually customize the WebLayout, but it is not intuitive. To create a custom command, click on the document icon to the right. Select the command that will be the base of your new command. Click the Add button, select "Custom item" and select the newly created command. Ideas for improvement are greatly appreciated, and you may enter them here: http://code.google.com/p/mapstudioos/issues/list Regards, Kenneth, GEOGRAF A/S Andrew DeMerchant skrev: > That's cool - just looking for some rough idea. Thanks - That program > is getting really really close to doing everything that Autodesk's > does (only better and faster). The only other thing it needs to do is > to let you add tools and customize the toolbars etc in a weblayout, > then it'll be a perfect replacement. > > Andrew > > > Kenneth, GEOGRAF A/S wrote: >> I'm hoping it will be complete within the next week, but it's not a >> promise :) >> Regards, Kenneth, GEOGRAF A/S >> >> >> Andrew DeMerchant skrev: >>> I don't have access to that - so I'll wait. How long till you >>> release that? I know that's a tough question, but are we talking >>> days, weeks or months? >>> >>> Andrew >>> >>> >>> Kenneth, GEOGRAF A/S wrote: >>>> I have added the column stuff to MapStudio OS, but I have not yet >>>> built a new release. >>>> If you have access to a Visual Studio 2003 (or newer) it should be >>>> no problem to build one yourself. >>>> I am currently building an browser for unmanged resources, and I >>>> will release it after that. >>>> Regards, Kenneth, GEOGRAF A/S >>>> >>>> >>>> Andrew DeMerchant skrev: >>>>> Ah! I had to change the MG Server service to run on the correct >>>>> account.....though, I DID (prior to that) try (and fail) to enter >>>>> the correct credentials right in the provider settings. anyway, >>>>> that did it.....now on to the next problem: >>>>> >>>>> How the heck am I supposed to actually _make_ a new ODBC >>>>> connection?? In Autodesk Studio, I can at least now see my tables, >>>>> and select which fields to use as the geometry fields (not so in >>>>> MapStudioOS) - but when I try to save it, I get the following: >>>>> >>>>> >>>>> >>>>> I'd do it in MapStudioOS, but there doesn't seem to be a place to >>>>> pick my x and y columns...And we all know that WebStudio's not so >>>>> useful for this either....This "upgrade" to 2.0 sure is starting >>>>> to feel like a bad idea. >>>>> >>>>> Andrew >>>>> >>>>> >>>>> Dave Wilson wrote: >>>>>> >>>>>> The database connections are compatible and should work. Reasons >>>>>> why they might not work: >>>>>> >>>>>> >>>>>> >>>>>> When using connection strings the ODBC driver name is different >>>>>> between the machines or does not match the string. The DSN names >>>>>> are not the same or do not exist. >>>>>> >>>>>> >>>>>> >>>>>> Are the databases local to the server? If not did you change your >>>>>> MG server process to use an account with network access? >>>>>> >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> Dave >>>>>> >>>>>> >>>>>> >>>>>> *From:* mapguide-users-bounces@lists.osgeo.org >>>>>> [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of >>>>>> *Andrew DeMerchant >>>>>> *Sent:* Thursday, April 10, 2008 8:44 AM >>>>>> *To:* MapGuide Users Mail List >>>>>> *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 >>>>>> >>>>>> >>>>>> >>>>>> I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've >>>>>> got a test machine running MGOS 2.0 right now, and am testing out >>>>>> just moving my packages from my production server to my test >>>>>> server. Not surprisingly, any dataconnections I had set up on my >>>>>> production server stop working on my dev server - I assume >>>>>> because they were made using FDO 3.1, while MGOS 2 uses FDO 3.2 >>>>>> (it'd be awfully nice if the FDO people would make things >>>>>> backwards compatible). Anyway, I fully expected those to break >>>>>> (along with my Raster layers). >>>>>> >>>>>> I've hit a wall in trying to get them (my ODBC datasources) set >>>>>> up again. I've tried in Autodesk Studio, I've tried in >>>>>> MapStudioOS - neither are working. They both give me an error >>>>>> that is the same - "An exception occurred in FDO component. >>>>>> RDBMS: No current open database."....I've tried custom connection >>>>>> strings and DSN (which is my preferred method). Same result for >>>>>> both. I did successfully connect to an SQL server I have onsite, >>>>>> but that's not where my data is. That suggests to me the the >>>>>> problem may be with my database format - which is Jet (MS >>>>>> Access). What the solution here? If all else fails, is it an >>>>>> option for me to install FDO3.1 with MGOS2? >>>>>> >>>>>> Andrew >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> *Andrew DeMerchant* >>>>>> *Computer Technologist* >>>>>> ph.1-877-2GEMTEC x.163 >>>>>> fax 506-453-9470 >>>>>> >>>>>> /GEMTEC Limited >>>>>> /191 Doak Road >>>>>> Fredericton, NB, Canada >>>>>> E3C 2E6 >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>>> /GEMTEC Limited >>>>> /191 Doak Road >>>>> Fredericton, NB, Canada >>>>> E3C 2E6 >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> >>> -- >>> *Andrew DeMerchant* >>> *Computer Technologist* >>> ph.1-877-2GEMTEC x.163 >>> fax 506-453-9470 >>> >>> /GEMTEC Limited >>> /191 Doak Road >>> Fredericton, NB, Canada >>> E3C 2E6 >>> >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> 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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users From ks at geograf.dk Fri Apr 11 03:17:24 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Fri Apr 11 03:17:30 2008 Subject: [mapguide-users] Data Package Problem In-Reply-To: References: <157887.58211.qm@web34507.mail.mud.yahoo.com> <47FC72A2.1010608@geograf.dk> <47FC86CD.503@geograf.dk> <47FCC2C2.7020308@geograf.dk> <47FDBC88.2000700@geograf.dk> Message-ID: <47FF1084.6060209@geograf.dk> It appears to be a local setup problem. If you can get some sort of output other than "page not found" from: http://localhost/mapguide/mapviewerajax/? You can conclude that .Net works and IIS is correctly configured. Try opening the IIS console, and locate the "Default Web Site" and the "mapguide" folder. From here you can explore the setup of the MapGuide folder and try to guess what the problem is with the "dotnetviewersample" folder. You can try to put in a html page in the folder, and load that with the URL, if it shows, the problem is most likely a .Net /IIS permission problem. Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev: > Dear *Kenneth,* > *Ya as per your instructions i find that my ASPX/.Net is disabled in > IIS then i make it anable still get same result (page can not found) > and now my login.php page is also not working giving me same output.* > ** > *Please help me.* > ** > *With Regards,* > ** > *Sandeep* > > > > On Thu, Apr 10, 2008 at 12:36 PM, Kenneth, GEOGRAF A/S > wrote: > > I would like to help you out, but if you do not follow the guide > strictly, it is very difficult to guess what went wrong. > I would suggest that you start over, and follow the guide closely. > > If you do not want to do that, there are a couple of common > reasons for a 404 error: > 1. The directory/file that IIS points to does not exist > 2. ASPX/.Net is disabled in IIS > 3. Scripting is disabled. > 4. The folder is not mapped in IIS. > 5. Permission problems may sometimes be masked as 404 errors. > 6. Make sure that IIS is using .Net 2.0 > > I can't guess what you are refering to with "Administrative Tool > -> MapGuide -> DotNetViewerSample". > > > Regards, Kenneth, GEOGRAF A/S > > > > > Sandeep Thosar skrev: >> Dear *Kenneth,* >> *Thanks for the mail and tried as per your instructions and also >> give references in Administrative Tool --- > Mapguide ----> >> Dotnetviewersample.* >> *but it is not working and i facing the same problem.* >> ** >> *Then i type URL in internet Explorere--> * >> http://localhost/mapguide/dotnetsampleviewer/ajaxviewersample.aspx >> ** >> *but it gives me following error THE PAGE CAN NOT FOUND.* >> ** >> Please help me out. >> >> With Regards, >> >> Sandeep >> >> >> On Wed, Apr 9, 2008 at 6:51 PM, Kenneth, GEOGRAF A/S >> > wrote: >> >> In the guide, step 2 is: >> 2. Download and extract the sample application. >> Visit the downloads page and download >> phpviewersample-2.0.zip. *On Windows extract the files to >> C:\Program Files\MapGuideOpenSource\WebServerExtensions\www*. >> On Linux extract the >> files to >> /usr/local/mapguideopensource/webserverextensions/www. Note >> that in both cases it should create a folder called >> phpviewersample under www. >> >> I have made the important part bold. >> For dotnet, the folder is called dotnetviewersample instead >> of phpviewersample. >> >> Regards, Kenneth, GEOGRAF A/S >> >> >> >> >> Sandeep Thosar skrev: >>> I refering the dotnetviewersamplecode from download page and >>> then unziped the sample code to C:\Inetpub\wwwroot directory >>> and when i clicked on this linked i get message page can't >>> find and if i run my application then i get blank output. >>> >>> Please help me. >>> >>> With Regards, >>> Sandeep >>> >>> >>> On Wed, Apr 9, 2008 at 2:35 PM, Kenneth, GEOGRAF A/S >>> > wrote: >>> >>> What sample code are you refering to? >>> If you try the link below: >>> >>> http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx >>> >>> It should ask you for username/password. >>> >>> >>> Regards, Kenneth, GEOGRAF A/S >>> >>> >>> >>> >>> Sandeep Thosar skrev: >>>> Dear Kenneth, GEOGRAF , >>>> Thanks for the mail. >>>> >>>> I After I installed data packages then it give me one >>>> log file Sheboygan.mgp.log but when I run the sample >>>> code it give me blank output again. >>>> >>>> >>>> >>>> Please help me. >>>> >>>> >>>> >>>> With Regards, >>>> >>>> Sandeep >>>> >>>> >>>> On Wed, Apr 9, 2008 at 1:09 PM, Kenneth, GEOGRAF A/S >>>> > wrote: >>>> >>>> Did you read the the guide? >>>> http://mapguide.osgeo.org/2.0/documentation.html >>>> Click on "Getting Started with MapGuide". >>>> >>>> Which step is failing? >>>> >>>> .Net/IIS uses slightly different urls: >>>> http://localhost/mapguide/mapadmin/login.php >>>> http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx >>>> >>>> You seem to confuse repository paths with file >>>> system paths. >>>> The WebLayout is not on the filesystem, but in the >>>> repository, so you cannot find it from windows >>>> explorer. >>>> You must use an authoring tool to edit the >>>> WebLayout (links are in the guide). >>>> >>>> For more information on how MapGuide works, please >>>> see the Developers Guide: >>>> http://mapguide.osgeo.org/2.0/documentation.html >>>> Simply click on "MapGuide Developers Guide". >>>> >>>> >>>> Regards, Kenneth, GEOGRAF A/S >>>> >>>> >>>> >>>> >>>> Sandeep Thosar skrev: >>>>> Dear Rahul, >>>>> >>>>> Thanks for the information but when i debug this >>>>> page it shows me UserId= Anonymous and Password="" >>>>> then create session after that it goes to >>>>> >>>>> >>>>> < >>>>> >>>>> frame id="viewerFrame" frameborder="no" >>>>> marginwidth="0" marginheight="0" scrolling="no" >>>>> src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> >>>>> where i get session information and shows >>>>> WebLayout path >>>>> Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout >>>>> and then get blank output so where i stroes this >>>>> Library folder in my application folder or >>>>> currently it stored in C:\Program >>>>> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts. >>>>> >>>>> Please help me. >>>>> >>>>> With Regards, >>>>> Sandeep >>>>> >>>>> On Wed, Apr 9, 2008 at 10:17 AM, Rahul >>>>> >>>> > wrote: >>>>> >>>>> Hi , >>>>> >>>>> I think you should check >>>>> www/dotnetviewersample/_*ajaxviewersample.aspx*_ >>>>> file , this file contain the information >>>>> regarding the weblayout as well as the startup >>>>> page for the sample application. >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------------------------------------- >>>>> Max !! >>>>> >>>>> >>>>> ----- Original Message ---- >>>>> From: Sandeep Thosar >>>> > >>>>> To: MapGuide Users Mail List >>>>> >>>> > >>>>> Sent: Wednesday, April 9, 2008 11:33:13 AM >>>>> Subject: Re: [mapguide-users] Data Package Problem >>>>> >>>>> Dear Rahul, >>>>> >>>>> I use Asp.Net 2.0 and i load packages also but >>>>> what is the start up page i set to run the >>>>> application. >>>>> >>>>> my WebLayout stored in C:\Program >>>>> Files\MapGuideOpenSource2.0\Server\Packages\Library\Samples\Sheboygan\Layouts >>>>> and the path which returned in JAvascript is >>>>> "Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout"; >>>>> >>>>> I can't understand from where WebLayout Picked. >>>>> >>>>> Please help me. >>>>> >>>>> With Regards, >>>>> >>>>> Sandeep >>>>> >>>>> On Wed, Apr 9, 2008 at 9:53 AM, Rahul >>>>> >>>> > wrote: >>>>> >>>>> Hi , >>>>> >>>>> I think you try to check through >>>>> MapAgent and see that you can get some xml >>>>> output for the Feature Source loaded >>>>> through Data Package(*.mgp). >>>>> >>>>> >>>>> >>>>> http://x.x.x.x:8008/mapguide/mapagent/ >>>>> >>>>> >>>>> >>>>> One more thing are you using MapGuide >>>>> Studio and if so then you can check the >>>>> loaded package and see that you can >>>>> preview weblayout or layers in the >>>>> mapguide studio. >>>>> >>>>> >>>>> >>>>> Max >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------------------------------------------- >>>>> Dear Rahul, >>>>> >>>>> After i load data packages from site >>>>> administrator and i run my application >>>>> then i get blank output without any Error. >>>>> >>>>> Please told me exactly what happen and >>>>> which page i set to start up page for the >>>>> mapguide application or there is any >>>>> changes require in mapguide open source >>>>> sample code. >>>>> >>>>> Please help me. >>>>> >>>>> With Regards, >>>>> >>>>> Sandeep >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> You rock. That's why Blockbuster's >>>>> offering you one month of Blockbuster >>>>> Total Access >>>>> , >>>>> No Cost. >>>>> >>>>> _______________________________________________ >>>>> mapguide-users mailing list >>>>> mapguide-users@lists.osgeo.org >>>>> >>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>>>> >>>>> >>>>> >>>>> >>>>> __________________________________________________ >>>>> Do You Yahoo!? >>>>> Tired of spam? Yahoo! Mail has the best spam >>>>> protection around >>>>> http://mail.yahoo.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 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 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 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 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/eda7b1f4/attachment.html From ben.schalley at geoit.be Fri Apr 11 10:10:46 2008 From: ben.schalley at geoit.be (Ben Schalley) Date: Fri Apr 11 10:10:47 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FE683B.8020003@gemtec.ca> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> Message-ID: <16627826.post@talk.nabble.com> I saw this error just today on a clients system when using Autodesk MapGuide Studio. It seemed to be solved after setting a correct coordinate system. You can set the coordinate system below the grid with the tables. Maybe this helps... andrew.demerchant wrote: > > > How the heck am I supposed to actually _make_ a new ODBC connection?? In > Autodesk Studio, I can at least now see my tables, and select which > fields to use as the geometry fields (not so in MapStudioOS) - but when > I try to save it, I get the following: > > http://www.nabble.com/file/p16627826/moz-screenshot-1.jpg > > > ----- Ben Schalley Analyst-Programmer Geo-IT BVBA | Silicon Building ? Wilrijkstraat 37 | 2140 Antwerp | Belgium Tel: +32 (0)3/272 03 13 | Mobile: +32 (0)475/96 59 48 | Fax: +32 (0)3/272 03 14 Web: http://www.geoit.be -- View this message in context: http://www.nabble.com/ODBC-problems....MGOS-2.0-tp16612557s16610p16627826.html Sent from the MapGuide Users mailing list archive at Nabble.com. From andrew.demerchant at gemtec.ca Fri Apr 11 10:21:53 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Fri Apr 11 10:22:53 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <16627826.post@talk.nabble.com> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <16627826.post@talk.nabble.com> Message-ID: <47FF7401.70702@gemtec.ca> That did it!! Thanks for the tip...My project just uses an arbitrary system (well, according to MGOS anyway) so I never bother to do anything with the coords - and usually Studio defaults to Arbitrary XY. Anyway, that did it. Thanks again! Andrew Ben Schalley wrote: > I saw this error just today on a clients system when using Autodesk MapGuide > Studio. It seemed to be solved after setting a correct coordinate system. > You can set the coordinate system below the grid with the tables. > > Maybe this helps... > > > > andrew.demerchant wrote: > >> How the heck am I supposed to actually _make_ a new ODBC connection?? In >> Autodesk Studio, I can at least now see my tables, and select which >> fields to use as the geometry fields (not so in MapStudioOS) - but when >> I try to save it, I get the following: >> >> http://www.nabble.com/file/p16627826/moz-screenshot-1.jpg >> >> >> >> > > > ----- > Ben Schalley > > Analyst-Programmer > > Geo-IT BVBA > | Silicon Building ? Wilrijkstraat 37 | 2140 Antwerp | Belgium > > Tel: +32 (0)3/272 03 13 | Mobile: +32 (0)475/96 59 48 | Fax: +32 (0)3/272 03 > 14 > > Web: http://www.geoit.be > > -- *Andrew DeMerchant* *Computer Technologist* ph.1-877-2GEMTEC x.163 fax 506-453-9470 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From Jason.Birch at nanaimo.ca Fri Apr 11 11:10:08 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Fri Apr 11 11:10:19 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <47FF0B4C.1060504@geograf.dk> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk><47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk><8E468917B01800408B91984428BE03DD072A60E9@starfish.nanaimo.ca> <47FF0B4C.1060504@geograf.dk> Message-ID: <8E468917B01800408B91984428BE03DD072A60EB@starfish.nanaimo.ca> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 23766 bytes Desc: image001.png Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/30bbaf68/attachment.png -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 29508 bytes Desc: image002.jpg Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/30bbaf68/attachment.jpe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1664 bytes Desc: image003.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080411/30bbaf68/attachment.gif From jo at pat.ca Fri Apr 11 11:11:21 2008 From: jo at pat.ca (Jim O'Leary) Date: Fri Apr 11 11:11:22 2008 Subject: [mapguide-users] localize functions In-Reply-To: <8E468917B01800408B91984428BE03DD05C57175@starfish.nanaimo.ca> References: <16617633.post@talk.nabble.com> <16622324.post@talk.nabble.com> <8E468917B01800408B91984428BE03DD05C57175@starfish.nanaimo.ca> Message-ID: <16627864.post@talk.nabble.com> Thanks Jason, I got it. JasonBirch wrote: > > I think that Steve may have a slightly different local directory structure > than what is in the tarball. This is where it is in SVN: > > http://svn.osgeo.org/mapguide/trunk/MgDev/Web/src/PhpApi > > Jason > > -----Original Message----- > From: Jim O'Leary > Subject: RE: [mapguide-users] localize functions > > I do not have this file or folder. I downloaded > > mapguide-2.0.0.tar.gz > > Is this the right source code? > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -----   Jim O’Leary Bachelor of Technology Technical Consultant Pacific Alliance Technologies TEL 604.676.6000 EXT 110 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca    “A Member of StarDyne Technologies”    http://www.stardynetech.com/ www.stardynetech.com The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by replying to this message and deleting it from your system without making a copy.  Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses.  We are not liable for the timely, proper or complete transmission of the information contained in such communications.  We are also not liable for the loss of confidentiality of information contained in such communications.   -- View this message in context: http://www.nabble.com/localize-functions-tp16617633s16610p16627864.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Sat Apr 12 01:16:22 2008 From: zac.spitzer at gmail.com (zspitzer) Date: Sat Apr 12 01:16:42 2008 Subject: [mapguide-users] Fusion vs Basic web layouts using Sheboygan samples report very different co-ordinates In-Reply-To: <47F232E1.1000603@dmsolutions.ca> References: <7a85053e0803310057x72ace322u2bdb9a92d6322fe4@mail.gmail.com> <47F0FDC3.9090002@dmsolutions.ca> <7a85053e0803311644y533b04f8p363505cce00f7d8c@mail.gmail.com> <47F232E1.1000603@dmsolutions.ca> Message-ID: <16645659.post@talk.nabble.com> I think it might be a problem in the OL code, I have attached the OL mapguide sample, tweaked to have both maps use the Sheboygan sample and the same error is showing http://www.nabble.com/file/p16645659/mapguide.html mapguide.html Mike Adair wrote: > > No this is a Fusion only thing. OL is reporting the correct location, > some of the Fusion constants used to calculate the coordinates in other > units are incorrect/inconsistent. I'm actually in the process of > changing that over to just use the OL MousePosition control. > > Mike > > Zac Spitzer wrote: >> and this also affects openlayers trunk? >> >> On Tue, Apr 1, 2008 at 2:05 AM, Mike Adair wrote: >> >>> I can confirm that this is indeed a Fusion issue. Internally, Fusion is >>> using a different value for 'metersPerUnit' that what is returned by >>> the >>> mapguide server. Look for this to be resolved soon in SVN. The >>> geography of the underlying map is correct however. >>> >>> Mike >>> >>> >>> >>> Zac Spitzer wrote: >>> > I have been having issues with getting the an openlayers tiled >>> > mapDefinition to match >>> > up with some markers coming out of the database. >>> > >>> > So in classic, take a step back and try and solve the problem I just >>> > did a quick test using >>> > Mapguide studio 2009 with the Sheboygan samples, and i have found >>> what >>> > appears to be a >>> > serious discrepancy between the co-ordinates being reported (and >>> used?) >>> > >>> > Open a flexible web layout and a basic web layout from the Sheboygan >>> samples. >>> > >>> > Zoom into district 8 and note the co-ordinates for the intersection >>> of >>> > N 3rd St & Parks street >>> > >>> > The Flexible Layout reports (x: -88.2986, y: 44.062) >>> > The Basic Layout reports (x: -87.704540 y:43.765598) >>> > >>> > Google agrees with the basic layout co-ordinates >>> > >>> http://maps.google.com.au/maps?f=q&hl=en&geocode=&q=Sheboygan+&ie=UTF8&ll=43.765636,-87.704528&spn=0.002677,0.007167&z=18&iwloc=addr >>> > >>> > Is there a reason behind this? >>> > >>> > >>> > >>> >>> >>> _______________________________________________ >>> 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://www.nabble.com/Fusion-vs-Basic-web-layouts-using-Sheboygan-samples-report-very-different-co-ordinates-tp16393753s16610p16645659.html Sent from the MapGuide Users mailing list archive at Nabble.com. From srph124 at yahoo.com Sat Apr 12 07:33:09 2008 From: srph124 at yahoo.com (Saka Royban) Date: Sat Apr 12 07:40:16 2008 Subject: [mapguide-users] Newbie Q: Any Feature for classification? Message-ID: <217739.56223.qm@web58211.mail.re3.yahoo.com> Hi all. I'mnew to this mailing list. I want to write a program in .NET environmentand i need some classes to do feature classification. I mean getting a point shape file, classifying it based on a Z value and convert it to raster.(some kind of Interpolation) Anyone knows anything open source to do this? Thanks in advance. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080412/64cbf4c5/attachment.html From ks at geograf.dk Sat Apr 12 13:11:07 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Sat Apr 12 13:11:34 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 In-Reply-To: <8E468917B01800408B91984428BE03DD072A60EB@starfish.nanaimo.ca> References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk><47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk><8E468917B01800408B91984428BE03DD072A60E9@starfish.nanaimo.ca> <47FF0B4C.1060504@geograf.dk> <8E468917B01800408B91984428BE03DD072A60EB@starfish.nanaimo.ca> Message-ID: <4800ED2B.6040807@geograf.dk> Very odd. From the screenshot it would appear that the file MapStudio.ResourceEditors.FeatureSourceEditorBase.resx is loaded as: MapStudio.ResourceEditors.FeatureSourceEditorBase.es-ES.resx On my system, MapStudio.ResourceEditors.FeatureSourceEditorBase.resx is in proper english, and if I select english in the site dialog, all dialogs are in english. Did you run the "Update DEBUG environment.bat" ? Regards, Kenneth, GEOGRAF A/S Jason Birch skrev: > > I wonder if this is an artefact of me compiling in VS2005? > > > > I chose English, and it is reporting en-US in the About box. > > > > I just did a little more looking, and most of the screens (layers, > maps, fusion apps) are properly in English. Yesterday, I was only > playing with data connections, and it appears that the data connection > dialogs are mostly in Spanish. For instance: > > > > > > Jason > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of > *Kenneth, GEOGRAF A/S > *Sent:* Thursday, April 10, 2008 23:55 > *To:* MapGuide Users Mail List > *Subject:* Re: [mapguide-users] ODBC problems....MGOS 2.0 > > > > It picks up the locale from your machine. > In the "About" dialog, you can see what the OS considers your locale. > You should be able to select English in the initial dialog. > > I would like to find the cause for this problem, as that would be > quite annoying for most users. > What locale does the OS report? > > > Regards, Kenneth, GEOGRAF A/S > > > > Jason Birch skrev: > > OK, so when I build MapStudioOS, most of the UI is in Spanish. > > > > I don't really care (pretty easy to figure out) but is there an easy > way for me to set this? > > > > I'm using VS2005 by the way; seems to work fine. > > > > Jason > > > > *From:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of > *Kenneth, GEOGRAF A/S > *Sent:* Thursday, April 10, 2008 13:17 > *To:* MapGuide Users Mail List > *Subject:* Re: [mapguide-users] ODBC problems....MGOS 2.0 > > > > I'm hoping it will be complete within the next week, but it's not a > promise :) > > > Regards, Kenneth, GEOGRAF A/S > > > > Andrew DeMerchant skrev: > > I don't have access to that - so I'll wait. How long till you release > that? I know that's a tough question, but are we talking days, weeks > or months? > > Andrew > > > Kenneth, GEOGRAF A/S wrote: > > I have added the column stuff to MapStudio OS, but I have not yet > built a new release. > If you have access to a Visual Studio 2003 (or newer) it should be no > problem to build one yourself. > I am currently building an browser for unmanged resources, and I will > release it after that. > > > Regards, Kenneth, GEOGRAF A/S > > > > > Andrew DeMerchant skrev: > > Ah! I had to change the MG Server service to run on the correct > account.....though, I DID (prior to that) try (and fail) to enter the > correct credentials right in the provider settings. anyway, that did > it.....now on to the next problem: > > How the heck am I supposed to actually _make_ a new ODBC connection?? > In Autodesk Studio, I can at least now see my tables, and select which > fields to use as the geometry fields (not so in MapStudioOS) - but > when I try to save it, I get the following: > > > > I'd do it in MapStudioOS, but there doesn't seem to be a place to pick > my x and y columns...And we all know that WebStudio's not so useful > for this either....This "upgrade" to 2.0 sure is starting to feel like > a bad idea. > > Andrew > > > Dave Wilson wrote: > > The database connections are compatible and should work. Reasons why > they might not work: > > > > When using connection strings the ODBC driver name is different > between the machines or does not match the string. The DSN names are > not the same or do not exist. > > > > Are the databases local to the server? If not did you change your MG > server process to use an account with network access? > > > > Regards, > > Dave > > > > *From:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Thursday, April 10, 2008 8:44 AM > *To:* MapGuide Users Mail List > *Subject:* [mapguide-users] ODBC problems....MGOS 2.0 > > > > I'm trying to start to migrate to MGOS 2.0 (from 1.0.2)....I've got a > test machine running MGOS 2.0 right now, and am testing out just > moving my packages from my production server to my test server. Not > surprisingly, any dataconnections I had set up on my production server > stop working on my dev server - I assume because they were made using > FDO 3.1, while MGOS 2 uses FDO 3.2 (it'd be awfully nice if the FDO > people would make things backwards compatible). Anyway, I fully > expected those to break (along with my Raster layers). > > I've hit a wall in trying to get them (my ODBC datasources) set up > again. I've tried in Autodesk Studio, I've tried in MapStudioOS - > neither are working. They both give me an error that is the same - "An > exception occurred in FDO component. RDBMS: No current open > database."....I've tried custom connection strings and DSN (which is > my preferred method). Same result for both. I did successfully connect > to an SQL server I have onsite, but that's not where my data is. That > suggests to me the the problem may be with my database format - which > is Jet (MS Access). What the solution here? If all else fails, is it > an option for me to install FDO3.1 with MGOS2? > > Andrew > > -- > > > > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > 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 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > 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 > > > > > -- > > > > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > 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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- Skipped content of type multipart/related From Jason.Birch at nanaimo.ca Sun Apr 13 01:12:27 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Sun Apr 13 01:14:29 2008 Subject: [mapguide-users] ODBC problems....MGOS 2.0 References: <47FE27CB.1000000@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250ECAD1B9@ADSK-NAMSG-02.MGDADSK.autodesk.com> <47FE683B.8020003@gemtec.ca> <47FE717B.9060202@geograf.dk><47FE72AA.6080408@gemtec.ca> <47FE75B6.2050203@geograf.dk><8E468917B01800408B91984428BE03DD072A60E9@starfish.nanaimo.ca> <47FF0B4C.1060504@geograf.dk> <8E468917B01800408B91984428BE03DD072A60EB@starfish.nanaimo.ca> <4800ED2B.6040807@geograf.dk> Message-ID: <8E468917B01800408B91984428BE03DD05C5717C@starfish.nanaimo.ca> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 23766 bytes Desc: ATT117540.png Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080412/a9e198ca/attachment.png -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 29508 bytes Desc: ATT117541.jpg Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080412/a9e198ca/attachment.jpe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1664 bytes Desc: ATT117542.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080412/a9e198ca/attachment.gif From schwanzy at gmail.com Mon Apr 14 06:24:50 2008 From: schwanzy at gmail.com (schwanzy) Date: Mon Apr 14 06:25:17 2008 Subject: [mapguide-users] error building MGOS2 Message-ID: <480330F2.1030402@gmail.com> I got this error trying to build MapGuide OpenSource 2.0 in Debian Gnu/Linux etch i386: Making all in Geometry make[2]: Entering directory `/mnt/hdb1/mapguide-2.0.0/Common/Geometry' make[2]: *** No rule to make target `../../Oem/geos-2.2.0/source/geom/.libs/libgeos.a', needed by `libMgGeometry.la'. Stop. Any idea? Thanks // Simone From andrew.demerchant at gemtec.ca Mon Apr 14 12:32:32 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Mon Apr 14 12:33:38 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... Message-ID: <48038720.9030101@gemtec.ca> I've got some MrSid files that are being displayed (incorrectly) like the attached image. The images are air photos...it's as though the layer is making nearly every other layer transparent or white. Andrew -------------- next part -------------- Skipped content of type multipart/related From sbuscher at wernervas.com Mon Apr 14 12:35:16 2008 From: sbuscher at wernervas.com (shane buscher) Date: Mon Apr 14 12:35:17 2008 Subject: [mapguide-users] Publish WMS without MapGuide Studio? Message-ID: <16678821.post@talk.nabble.com> Is it possible to publish a WMS without purchasing MG Studio? If so, how? Thanx in advance, shane -- View this message in context: http://www.nabble.com/Publish-WMS-without-MapGuide-Studio--tp16678821s16610p16678821.html Sent from the MapGuide Users mailing list archive at Nabble.com. From warmerdam at pobox.com Mon Apr 14 12:47:02 2008 From: warmerdam at pobox.com (Frank Warmerdam) Date: Mon Apr 14 12:47:25 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <48038720.9030101@gemtec.ca> References: <48038720.9030101@gemtec.ca> Message-ID: <48038A86.3030008@pobox.com> Andrew DeMerchant wrote: > I've got some MrSid files that are being displayed (incorrectly) like > the attached image. The images are air photos...it's as though the layer > is making nearly every other layer transparent or white. Andrew, Any possibility the files are not actually 8bit? Can you run gdalinfo against one of the files to get a report? You can install and use the gdalinfo from FWTools 2.1.0 or so to get a report. http://home.gdal.org/fwtools/FWTools210.exe Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | President OSGeo, http://osgeo.org From andrew.demerchant at gemtec.ca Mon Apr 14 12:48:10 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Mon Apr 14 12:49:12 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <48038720.9030101@gemtec.ca> References: <48038720.9030101@gemtec.ca> Message-ID: <48038ACA.2000106@gemtec.ca> Scratch that....My mrsid's not showing up at all (the screen cap was actually another layer I'd forgotten to turn off) - I'm having troubles getting images to work for 1 specific library folder.....more info once I test some more things out. Andrew Andrew DeMerchant wrote: > I've got some MrSid files that are being displayed (incorrectly) like > the attached image. The images are air photos...it's as though the > layer is making nearly every other layer transparent or white. > > > > Andrew > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From brian.berdel at mcmtrans.com Mon Apr 14 12:51:57 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Mon Apr 14 12:51:59 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <48038ACA.2000106@gemtec.ca> References: <48038720.9030101@gemtec.ca> <48038ACA.2000106@gemtec.ca> Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 14731 bytes Desc: image001.jpg Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/3bcdc123/attachment.jpe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1664 bytes Desc: image002.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/3bcdc123/attachment.gif From Jason.Birch at nanaimo.ca Mon Apr 14 13:12:13 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 14 13:12:17 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: References: <48038720.9030101@gemtec.ca> <48038ACA.2000106@gemtec.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> They're working for me. Did you install the new version of the MrSID plugin? http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#FDO3.3.0MapGuide2.0.0 Jason From: Berdel, Brian Subject: RE: [mapguide-users] MGOS 2.0 - mrsid problem... Same issue for me as well. MrSID not showing up. ________________________________ From: Andrew DeMerchant Subject: Re: [mapguide-users] MGOS 2.0 - mrsid problem... Scratch that....My mrsid's not showing up at all (the screen cap was actually another layer I'd forgotten to turn off) - I'm having troubles getting images to work for 1 specific library folder.....more info once I test some more things out. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/029dfe0a/attachment.html From brian.berdel at mcmtrans.com Mon Apr 14 13:27:44 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Mon Apr 14 13:27:47 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> References: <48038720.9030101@gemtec.ca> <48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> Message-ID: Actually just got them to show up by setting the Coordinate System Override...Even though the correct coor system was coming up. Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com ________________________________ From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jason Birch Sent: Monday, April 14, 2008 1:12 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] MGOS 2.0 - mrsid problem... They're working for me. Did you install the new version of the MrSID plugin? http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#FDO3.3.0MapGuide2.0.0 Jason From: Berdel, Brian Subject: RE: [mapguide-users] MGOS 2.0 - mrsid problem... Same issue for me as well. MrSID not showing up. ________________________________ From: Andrew DeMerchant Subject: Re: [mapguide-users] MGOS 2.0 - mrsid problem... Scratch that....My mrsid's not showing up at all (the screen cap was actually another layer I'd forgotten to turn off) - I'm having troubles getting images to work for 1 specific library folder.....more info once I test some more things out. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/84d31cea/attachment.html From craig.grell at talus-tech.com Mon Apr 14 13:38:07 2008 From: craig.grell at talus-tech.com (cgrell) Date: Mon Apr 14 13:38:08 2008 Subject: [mapguide-users] Unable to load DLL 'MapGuideUnmanagedApi' Message-ID: <16680894.post@talk.nabble.com> I keep getting thie error randomly Unable to load DLL 'MapGuideUnmanagedApi': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Everything will be working then I reboot the computer and this error starts to occur. I then reboot the computer, restart the web service, restart the mapguide service and recomile in a random order until the error finally goes away. I have added C:\Program Files\MapGuideOpenSource\WebServerExtensions\www to the path I am using MapGuide 1.2 What might be causing this error and how can I troubleshoot this? Thank you -- View this message in context: http://www.nabble.com/Unable-to-load-DLL-%27MapGuideUnmanagedApi%27-tp16680894s16610p16680894.html Sent from the MapGuide Users mailing list archive at Nabble.com. From Jason.Birch at nanaimo.ca Mon Apr 14 14:08:58 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 14 14:09:00 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca><8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A60FC@starfish.nanaimo.ca> Ah, I've just set a CS on my map and am seeing this too. I guess that with 1.2 MapGuide was less picky about the raster CS matching than it is in 2.0. Unfortunately, the GDAL provider's GetSchemaMapping and GetSpatialContexts calls appear to return a generic XY-MT coordinate system (for my data at least). I don't know if this is a limitation of my source MrSID data, or a limitation of the provider. In either case, it appears that setting the CS override is currently the only way around this. Where was the correct coordinate system appearing for you? Are you using an XML configuration override, or just hitting a single file? I'd be interested in seeing what you get for the GetSpatialContext call on your FeatureSource when you don't have an override applied: http://localhost/mapguide/mapagent/getspatialcontextsform.html Jason From: Berdel, Brian Subject: RE: [mapguide-users] MGOS 2.0 - mrsid problem... Actually just got them to show up by setting the Coordinate System Override...Even though the correct coor system was coming up. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/344defe4/attachment.html From andrew.demerchant at gemtec.ca Mon Apr 14 14:17:45 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Mon Apr 14 14:18:47 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> References: <48038720.9030101@gemtec.ca> <48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> Message-ID: <48039FC9.3090004@gemtec.ca> Thanks to Brain, I got my other (non-mrsid) images working for this project - same thing...it was a coord system issue. Jason: Yes, I followed those instructions...I've turned on debugging for mgos and checked out the error.log - what looks to be my problem is that it thinks the fdo isn't registered. I get "FDO Provider Not Registered" for each mrsid layer. I've looked in Nabble to see if I could find a solution, but no luck. Lots of people with that same problem (some for the Raster FDO, some for others), but no one ever posted a solution. Again, my other rasters are working (jpg, tiff), just not mrsid. andrew Jason Birch wrote: > > They're working for me. > > > > Did you install the new version of the MrSID plugin? > > > > http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#FDO3.3.0MapGuide2.0.0 > > > > Jason > > > > *From:* Berdel, Brian > *Subject:* RE: [mapguide-users] MGOS 2.0 - mrsid problem... > > > > Same issue for me as well. MrSID not showing up. > > > > ------------------------------------------------------------------------ > > *From:* Andrew DeMerchant > *Subject:* Re: [mapguide-users] MGOS 2.0 - mrsid problem... > > > > Scratch that....My mrsid's not showing up at all (the screen cap was > actually another layer I'd forgotten to turn off) - I'm having > troubles getting images to work for 1 specific library folder.....more > info once I test some more things out. > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From Jason.Birch at nanaimo.ca Mon Apr 14 14:46:54 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 14 14:46:58 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <48039FC9.3090004@gemtec.ca> References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> <48039FC9.3090004@gemtec.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> That's truly bizarre; this should not depend on whether you're using .sid files or not. Are these layers that you created with an earlier version of MapGuide? I'd be interested in seeing the results of GetResourceContent for one of the misbehaving feature sources http://localhost/mapguide/mapagent/getresourcecontentform.html as well as the contents of your providers.xml or the results of this call: http://localhost/mapguide/mapagent/getfeatureprovidersform.html My guess would have been that something isn't quite right (location of the MrSID dlls or something) but the error message doesn't seem right for that. Jason From: Andrew DeMerchant Subject: Re: [mapguide-users] MGOS 2.0 - mrsid problem... Jason: Yes, I followed those instructions...I've turned on debugging for mgos and checked out the error.log - what looks to be my problem is that it thinks the fdo isn't registered. I get "FDO Provider Not Registered" for each mrsid layer. I've looked in Nabble to see if I could find a solution, but no luck. Lots of people with that same problem (some for the Raster FDO, some for others), but no one ever posted a solution. Again, my other rasters are working (jpg, tiff), just not mrsid. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/1b3605a7/attachment.html From andrew.demerchant at gemtec.ca Mon Apr 14 14:58:01 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Mon Apr 14 14:59:04 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> <48039FC9.3090004@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> Message-ID: <4803A939.1030804@gemtec.ca> Resourcecontent: - OSGeo.Gdal - DefaultRasterFileLocation n:\drawings\0600\65885\45206610.sid - Default - LOCAL_CS["Non-Earth (Meter)",LOCAL_DATUM["Local Datum",0],UNIT["Meter", 1],AXIS["X",EAST],AXIS["Y",NORTH]] *********************************** Providers: - OSGeo.WMS.3.3 OSGeo FDO Provider for WMS Read access to OGC WMS-based data store. 3.3.0.0 3.3.0.0 - - FeatureServer FeatureServer - Username Username - Password Password - DefaultImageHeight DefaultImageHeight - OSGeo.WFS.3.3 OSGeo FDO Provider for WFS Read access to OGC WFS-based data store. 3.3.0.0 3.3.0.0 - - FeatureServer FeatureServer - Username Username - Password Password - OSGeo.SHP.3.3 OSGeo FDO Provider for SHP - Read/write access to spatial and attribute data in an ESRI SHP file. 3.3.0.0 3.3.0.0 - - DefaultFileLocation DefaultFileLocation - TemporaryFileLocation TemporaryFileLocation - OSGeo.SDF.3.3 OSGeo FDO Provider for SDF - Read/write access to Autodesk's spatial database format, a file-based personal geodatabase that supports multiple features/attributes, spatial indexing, and file-locking. 3.3.0.0 3.3.0.0 - - File File - ReadOnly ReadOnly TRUE FALSE TRUE - OSGeo.ODBC.3.3 OSGeo FDO Provider for ODBC - Read/write access to ODBC-based data store. Supports XYZ point features. 3.3.0.0 3.3.0.0 - - UserId UserId - Password Password - DataSourceName DataSourceName MQIS Visual FoxPro Tables Visual FoxPro Database PBServer ICQSDB GEMTEC_ICQDatabase chemistry knowledge_base computer_database gemtec_database LandfillChem gemtec_database_SQL ITAssist dot_demo WJADB computer_database_sql MDaemon Pipeline - ConnectionString ConnectionString - GenerateDefaultGeometryProperty GenerateDefaultGeometryProperty true - OSGeo.MySQL.3.3 OSGeo FDO Provider for MySQL - Read/write access to MySQL-based data store. Supports spatial data types and spatial query operations. 3.3.0.0 3.3.0.0 - - Username Username - Password Password - Service Service - DataStore DataStore - OSGeo.Gdal.3.3 OSGeo FDO Provider for Raster - Read access to various raster-based file formats. Supports georeferenced file-based raster images. 3.3.0.0 3.3.0.0 - - DefaultRasterFileLocation DefaultRasterFileLocation - OSGeo.ArcSDE.3.3 OSGeo FDO Provider for ArcSDE - Read/write access to an ESRI ArcSDE-based data store, using Oracle and SQL Server. 3.3.0.0 3.3.0.0 - - Server Server - Instance Instance - Username Username - Password Password - Datastore Datastore Jason Birch wrote: > > That's truly bizarre; this should not depend on whether you're using > .sid files or not. Are these layers that you created with an earlier > version of MapGuide? > > > > I'd be interested in seeing the results of GetResourceContent for one > of the misbehaving feature sources > > > > http://localhost/mapguide/mapagent/getresourcecontentform.html > > > > as well as the contents of your providers.xml or the results of this call: > > > > http://localhost/mapguide/mapagent/getfeatureprovidersform.html > > > > My guess would have been that something isn't quite right (location of > the MrSID dlls or something) but the error message doesn't seem right > for that. > > > > Jason > > > > > > *From:* Andrew DeMerchant > *Subject:* Re: [mapguide-users] MGOS 2.0 - mrsid problem... > > > > Jason: Yes, I followed those instructions...I've turned on debugging > for mgos and checked out the error.log - what looks to be my problem > is that it thinks the fdo isn't registered. I get "FDO Provider Not > Registered" for each mrsid layer. I've looked in Nabble to see if I > could find a solution, but no luck. Lots of people with that same > problem (some for the Raster FDO, some for others), but no one ever > posted a solution. Again, my other rasters are working (jpg, tiff), > just not mrsid. > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From Jason.Birch at nanaimo.ca Mon Apr 14 15:41:32 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 14 15:41:35 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <4803A939.1030804@gemtec.ca> References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> <48039FC9.3090004@gemtec.ca><8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> <4803A939.1030804@gemtec.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A6101@starfish.nanaimo.ca> Well, it all seems to match up OK. Are the other images on the same drive (wondering if N is a network drive)? Is the MrSID small enough that you'd be able to provide it to me offline (ftp or something)? Jason From: Andrew DeMerchant Subject: Re: [mapguide-users] MGOS 2.0 - mrsid problem... Resourcecontent: [snip] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/ebe26a99/attachment.html From andrew.demerchant at gemtec.ca Mon Apr 14 15:56:42 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Mon Apr 14 15:57:47 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <8E468917B01800408B91984428BE03DD072A6101@starfish.nanaimo.ca> References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> <48039FC9.3090004@gemtec.ca><8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> <4803A939.1030804@gemtec.ca> <8E468917B01800408B91984428BE03DD072A6101@starfish.nanaimo.ca> Message-ID: <4803B6FA.6030508@gemtec.ca> N is indeed a network drive, but my other rasters are working fine using that drive letter. The mrsid is a couple of Mb - I'll email it to you.... andrew Jason Birch wrote: > > Well, it all seems to match up OK. > > > > Are the other images on the same drive (wondering if N is a network > drive)? > > > > Is the MrSID small enough that you'd be able to provide it to me > offline (ftp or something)? > > > > Jason > > > > *From:* Andrew DeMerchant > *Subject:* Re: [mapguide-users] MGOS 2.0 - mrsid problem... > > > > Resourcecontent: > > [snip] > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From dave.wilson at autodesk.com Mon Apr 14 16:07:24 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Mon Apr 14 16:07:27 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <4803B6FA.6030508@gemtec.ca> References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> <48039FC9.3090004@gemtec.ca><8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> <4803A939.1030804@gemtec.ca> <8E468917B01800408B91984428BE03DD072A6101@starfish.nanaimo.ca> <4803B6FA.6030508@gemtec.ca> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2250FC977C6@ADSK-NAMSG-02.MGDADSK.autodesk.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1664 bytes Desc: image001.gif Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/a817c8b3/image001.gif From andrew.demerchant at gemtec.ca Mon Apr 14 16:11:17 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Mon Apr 14 16:12:23 2008 Subject: [mapguide-users] MGOS 2.0 - mrsid problem... In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2250FC977C6@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <48038720.9030101@gemtec.ca><48038ACA.2000106@gemtec.ca> <8E468917B01800408B91984428BE03DD072A60F9@starfish.nanaimo.ca> <48039FC9.3090004@gemtec.ca><8E468917B01800408B91984428BE03DD072A60FD@starfish.nanaimo.ca> <4803A939.1030804@gemtec.ca> <8E468917B01800408B91984428BE03DD072A6101@starfish.nanaimo.ca> <4803B6FA.6030508@gemtec.ca> <53C1C94B2F19CD408BFA392599EAF8E2250FC977C6@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <4803BA65.4050703@gemtec.ca> I'd tried a unc, and wasn't having success - so I thought I'd rule it out by using the mapped drive, since I didn't know for sure that unc's work. That said, I'd also tried using actual drive (the file server = the mgos server) and also admin shares....none worked. andrew Dave Wilson wrote: > > In the MapGuide Enterprise stream of things we have found that mapped > drives generally don't work for external resources. A UNC path > \\servername \share\... does if the server > login has share access. Of course this may not be the case with the > gdal raster provider. > > > > Dave > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Monday, April 14, 2008 1:57 PM > *To:* MapGuide Users Mail List > *Subject:* Re: [mapguide-users] MGOS 2.0 - mrsid problem... > > > > N is indeed a network drive, but my other rasters are working fine > using that drive letter. The mrsid is a couple of Mb - I'll email it > to you.... > > andrew > > Jason Birch wrote: > > Well, it all seems to match up OK. > > > > Are the other images on the same drive (wondering if N is a network > drive)? > > > > Is the MrSID small enough that you'd be able to provide it to me > offline (ftp or something)? > > > > Jason > > > > *From:* Andrew DeMerchant > *Subject:* Re: [mapguide-users] MGOS 2.0 - mrsid problem... > > > > Resourcecontent: > > > [snip] > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > 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 > > /GEMTEC Limited > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From dmaidlow at landorgis.com Mon Apr 14 15:27:52 2008 From: dmaidlow at landorgis.com (Darrin Maidlow) Date: Mon Apr 14 16:29:29 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Message-ID: <01c301c89e65$a2737420$e75a5c60$@com> Skipped content of type multipart/alternative-------------- next part -------------- Dim szSelXML As String 'to avoid asp.net from finding 'dangerous' strings in the querystring, we need to double escape the XML in the client 'so here we need to urldecode it szSelXML = server.urldecode(Request.QueryString("A")) Dim szOutScript As String = "" If szSelXML <> "" Then Dim szSessionID As String = WebRADE.WRAPI.WRBase.fnGetSession("MGESession", Session) Dim siteConnection As MgSiteConnection siteConnection = WebRADE.MGE.Session.GetExistingMGConnection(szSessionID) Dim resSvc As MgResourceService resSvc = siteConnection.CreateService(MgServiceType.ResourceService) Dim featSvc As MgFeatureService = siteConnection.CreateService(MgServiceType.FeatureService) Dim szMapName As String = Request.QueryString("B") Dim oMap As New MgMap oMap.Open(resSvc, szMapName) Dim currentSel As New MgSelectionBase(oMap) 'currentSel.Open(resSvc, szMapName) currentSel.FromXml(szSelXML) Dim selLays As MgReadOnlyLayerCollection Dim selLay As MgLayer selLays = currentSel.GetLayers() Dim szSelection As String = "" Dim queryOptions As New MgFeatureQueryOptions For Each selLay In selLays If selLay.GetName() = "FloorView Documents" Then Dim szLayerClassName As String = selLay.GetFeatureClassName() If szSelection = "" Then szSelection = currentSel.GenerateFilter(selLay, szLayerClassName) Else szSelection &= currentSel.GenerateFilter(selLay, szLayerClassName) End If Dim szLayerFeatureSrcID As String szLayerFeatureSrcID = selLay.GetFeatureClassName Dim layerResID As New MgResourceIdentifier(szLayerClassName) queryOptions.SetFilter(szSelection) Dim featureReader As MgFeatureReader End If Next End If From steve.dang at autodesk.com Mon Apr 14 16:46:43 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Mon Apr 14 16:46:44 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: <01c301c89e65$a2737420$e75a5c60$@com> References: <01c301c89e65$a2737420$e75a5c60$@com> Message-ID: Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/8d85f89b/attachment.html From dmaidlow at landorgis.com Mon Apr 14 17:24:08 2008 From: dmaidlow at landorgis.com (Darrin Maidlow) Date: Mon Apr 14 17:25:35 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: References: <01c301c89e65$a2737420$e75a5c60$@com> Message-ID: <022b01c89e75$e015b3a0$a0411ae0$@com> Hi Steve, Thanks for the suggestion and quick reply. I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things. I just set it back and am still receiving the Not Implemented error. One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE. Below is the XML from my selection in case it is relevant. VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2 MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== " Thanks again darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 2:47 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/cccd3609/attachment.html From steve.dang at autodesk.com Mon Apr 14 18:50:58 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Mon Apr 14 18:50:58 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: <022b01c89e75$e015b3a0$a0411ae0$@com> References: <01c301c89e65$a2737420$e75a5c60$@com> <022b01c89e75$e015b3a0$a0411ae0$@com> Message-ID: Hi Darrin, What do you see in the server log file? Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 3:24 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Steve, Thanks for the suggestion and quick reply. I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things. I just set it back and am still receiving the Not Implemented error. One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE. Below is the XML from my selection in case it is relevant. VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== " Thanks again darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 2:47 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080414/cc6afca1/attachment.html From ks at geograf.dk Tue Apr 15 03:18:19 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Tue Apr 15 03:18:32 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: <022b01c89e75$e015b3a0$a0411ae0$@com> References: <01c301c89e65$a2737420$e75a5c60$@com> <022b01c89e75$e015b3a0$a0411ae0$@com> Message-ID: <480456BB.7080600@geograf.dk> You can't see the properties, because the MgSelection class is a SWiG wrapper for a C++ class. Visual Studio does not call the underlying Dll (P/Invoke), so basically no properties are visible. It quite annoying, but normal. For some problems, you can get the values by typing something like "? sel.ToString()" in the "Immediate" window. Regards, Kenneth, GEOGRAF A/S Darrin Maidlow skrev: > > Hi Steve, > > > > Thanks for the suggestion and quick reply. I had tried MgSelection > initially, and changed it over to MgSelectionBase in my trying of > things. I just set it back and am still receiving the Not Implemented > error. > > > > One other thing I noticed that may or may not be relevant is they if I > right click and quick watch on the mgselection object, the properties > are not visible in the IDE. > > > > Below is the XML from my selection in case it is relevant. > > > > > > > > VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== > > > > > > " > > > > Thanks again > > darrin > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Steve Dang > *Sent:* Monday, April 14, 2008 2:47 PM > *To:* MapGuide Users Mail List > *Subject:* RE: [mapguide-users] Not Implemented for > MgSelection.GenerateFilter > > > > Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel > As New MgSelection(oMap)) > > > > Steve. > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Darrin > Maidlow > *Sent:* Monday, April 14, 2008 1:28 PM > *To:* mapguide-users@lists.osgeo.org > *Subject:* [mapguide-users] Not Implemented for MgSelection.GenerateFilter > > > > Hi, > > > > I'm stuck trying to work with a selection generated from the dwf > viewer. I've been working with the sample in the developers guide but > ported over to vb.net. I'm running MGE 2008. > > > > Basically I go through the motions, create new selection based on the > passed selectionXML and everything is cool until I get to the > MgSelection.GenerateFilter call. When I pass the layer object, and > the session ID I get an MgNotImplemented error. > > > > I've attached a text file with a bit o' code. Any suggestions would > be greatly appreciated. I'm sure I've missed something little or done > something silly. > > > > Thanks > > darrin > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/2b56872d/attachment.html From ks at geograf.dk Tue Apr 15 03:27:27 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Tue Apr 15 03:27:36 2008 Subject: [mapguide-users] Publish WMS without MapGuide Studio? In-Reply-To: <16678821.post@talk.nabble.com> References: <16678821.post@talk.nabble.com> Message-ID: <480458DF.4030004@geograf.dk> Yes, but difficult. You have to set up some Xml by hand, and push it into the server. I'm have not yet done this, so I am not entirely sure hwo to do it. Regards, Kenneth, GEOGRAF A/S shane buscher skrev: > Is it possible to publish a WMS without purchasing MG Studio? If so, how? > > Thanx in advance, > > shane > From ks at geograf.dk Tue Apr 15 03:31:12 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Tue Apr 15 03:31:18 2008 Subject: [mapguide-users] Unable to load DLL 'MapGuideUnmanagedApi' In-Reply-To: <16680894.post@talk.nabble.com> References: <16680894.post@talk.nabble.com> Message-ID: <480459C0.6060307@geograf.dk> I assume that you are trying to compile an ASP.Net WebApplication. You can copy all the .dll files from the bin folder in the webserver extensions into the bin folder of your project. Other than that, I think the path is: C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet\bin It might work after your get a preview or start the viewer some other way, because once the Dll is correctly loaded by some process, it is avalible for the entire IIS application pool. Regards, Kenneth, GEOGRAF A/S cgrell skrev: > I keep getting thie error randomly > > Unable to load DLL 'MapGuideUnmanagedApi': The specified module could not be > found. (Exception from HRESULT: 0x8007007E) > > > Everything will be working then I reboot the computer and this error starts > to occur. I then reboot the computer, restart the web service, restart the > mapguide service and recomile in a random order until the error finally goes > away. > > I have added C:\Program Files\MapGuideOpenSource\WebServerExtensions\www to > the path > > I am using MapGuide 1.2 > > What might be causing this error and how can I troubleshoot this? > > Thank you > From sandeepthosar at gmail.com Tue Apr 15 05:19:54 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Tue Apr 15 05:19:57 2008 Subject: [mapguide-users] Mapguide with SQL Server 2000 Message-ID: Dear All, If any Body told me how i can link my mapGuide application with Sql Server 2000. i am using Asp.Net with C#. Please help me or if any solution please send me a link. Awaiting for Reply. With Regards, Sandeep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/9355f7cc/attachment.html From john.pulles at geodan.nl Tue Apr 15 05:12:20 2008 From: john.pulles at geodan.nl (John Pulles) Date: Tue Apr 15 05:23:05 2008 Subject: [mapguide-users] Publish WMS without MapGuide Studio? In-Reply-To: <480458DF.4030004@geograf.dk> References: <16678821.post@talk.nabble.com> <480458DF.4030004@geograf.dk> Message-ID: <48047174.6070406@geodan.nl> Kenneth, GEOGRAF A/S schreef: > Yes, but difficult. > You have to set up some Xml by hand, and push it into the server. > I'm have not yet done this, so I am not entirely sure hwo to do it. Would you know where to find an example about this xml format, or where to find documentation? I don't have MapGuide Studio installed. Regards, John > Regards, Kenneth, GEOGRAF A/S > > shane buscher skrev: >> Is it possible to publish a WMS without purchasing MG Studio? If so, >> how? >> Thanx in advance, From marius at openspatial.co.za Tue Apr 15 07:04:30 2008 From: marius at openspatial.co.za (Marius_360) Date: Tue Apr 15 07:04:31 2008 Subject: [mapguide-users] MgOs V2.0 memory problems Message-ID: <16699534.post@talk.nabble.com> Hi All My map runs on Windows Server 2003, Oracle 10Gr2, Mapguide Opensource 2 and the latest King providers but I am encountering problems when zooming in a few times. After zooming in 2-3 times I get no more response from the map i.e a blank screen and no more loading. When I have a look at the server memory usage, the mapguide service is using 75% of the total available ram (1.5gb out of 2gb).When I close the map as well as Studio the memory is not freed up. After restarting the server and opening the map again the memory used steadily climbs up to 1.5gb again. The oracle spatial layers I am using so far are not even close to that size, so I don't know what the problem is. Does anyone have an Idea what is happening? Regards, Marius -- View this message in context: http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16699534.html Sent from the MapGuide Users mailing list archive at Nabble.com. From ks at geograf.dk Tue Apr 15 07:22:32 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Tue Apr 15 07:22:43 2008 Subject: [mapguide-users] Publish WMS without MapGuide Studio? In-Reply-To: <48047174.6070406@geodan.nl> References: <16678821.post@talk.nabble.com> <480458DF.4030004@geograf.dk> <48047174.6070406@geodan.nl> Message-ID: <48048FF8.20100@geograf.dk> AFAIK there is no documentation for it. I think you have to look at ResourceDocumentHeader-1.0.0.xsd. You can read/write the document header by using the MapAgent HTTP interface: http://localhost/mapguide/mapagent/index.html The GetResourceHeader will give you the header information, and you can post it back with SetResource. A sample of such a file from my system looks like this: true _Title tit _ExtendedMetadata met _Keywords key _Queryable 1 _Bounds bon _IsPublished 1 _OtherSRS ses _Abstract abs _Opaque 1 Regards, Kenneth, GEOGRAF A/S John Pulles skrev: > Kenneth, GEOGRAF A/S schreef: >> Yes, but difficult. >> You have to set up some Xml by hand, and push it into the server. >> I'm have not yet done this, so I am not entirely sure hwo to do it. > Would you know where to find an example about this xml format, or > where to find documentation? I don't have MapGuide Studio installed. > > Regards, > John > >> Regards, Kenneth, GEOGRAF A/S >> >> shane buscher skrev: >>> Is it possible to publish a WMS without purchasing MG Studio? If >>> so, how? >>> Thanx in advance, > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users From zac.spitzer at gmail.com Tue Apr 15 07:32:28 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Tue Apr 15 07:32:43 2008 Subject: [mapguide-users] MgOs V2.0 memory problems In-Reply-To: <16699534.post@talk.nabble.com> References: <16699534.post@talk.nabble.com> Message-ID: <7a85053e0804150432r8eca1f7p83b88256195d7bf0@mail.gmail.com> there is a big overhead in using oracle, basically FDO involves getting a WKT type datatype out of oracle spatial datatype which is quite an overhead. if you try using the oracle WKT functions via sql you will see a similar conversion overhead Your better off moving static data into SDF's to avoid that conversion every time you make a map or at least make use of tiled maps for base oracle layers. That said, you shouldn't be having the problems your seeing... generalising your data might help... what's the tolerance of your data? depending on what your doingthere's not much point in making maps at street level with data that is down to say 5mm if you get my drift, when 1m would suffice how does it perform with just a single oracle layer? can you isolate the problem down a bit? z On Tue, Apr 15, 2008 at 9:04 PM, Marius_360 wrote: > > Hi All > > My map runs on Windows Server 2003, Oracle 10Gr2, Mapguide Opensource 2 and > the latest King providers but I am encountering problems when zooming in a > few times. After zooming in 2-3 times I get no more response from the map > i.e a blank screen and no more loading. When I have a look at the server > memory usage, the mapguide service is using 75% of the total available ram > (1.5gb out of 2gb).When I close the map as well as Studio the memory is not > freed up. After restarting the server and opening the map again the memory > used steadily climbs up to 1.5gb again. The oracle spatial layers I am using > so far are not even close to that size, so I don't know what the problem is. > > Does anyone have an Idea what is happening? > > Regards, > > Marius > -- > View this message in context: http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16699534.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From marius at openspatial.co.za Tue Apr 15 09:32:44 2008 From: marius at openspatial.co.za (Marius_360) Date: Tue Apr 15 09:32:46 2008 Subject: [mapguide-users] MgOs V2.0 memory problems In-Reply-To: <7a85053e0804150432r8eca1f7p83b88256195d7bf0@mail.gmail.com> References: <16699534.post@talk.nabble.com> <7a85053e0804150432r8eca1f7p83b88256195d7bf0@mail.gmail.com> Message-ID: <16700574.post@talk.nabble.com> Using SDF's are unfortunatly not an option. The tolerance I am using is 10cm (I am asuming you are talking about the tolerance in the metadata table). At the moment there are at most 4 layers on at any one time, but I have tried with only one layer, it then just takes longer for the memory to be used up, but eventually the result is the same. The overall performance is fine till all the memory is used up. Is this perhaps not some sort of memory leak? zspitzer wrote: > > there is a big overhead in using oracle, basically FDO involves > getting a WKT type > datatype out of oracle spatial datatype which is quite an overhead. > > if you try using the oracle WKT functions via sql you will see a > similar conversion overhead > > Your better off moving static data into SDF's to avoid that conversion > every time you > make a map or at least make use of tiled maps for base oracle layers. > > That said, you shouldn't be having the problems your seeing... > > generalising your data might help... what's the tolerance of your data? > depending on what your doingthere's not much point in making maps at > street level with > data that is down to say 5mm if you get my drift, when 1m would suffice > > how does it perform with just a single oracle layer? can you isolate > the problem down a bit? > > z > > On Tue, Apr 15, 2008 at 9:04 PM, Marius_360 > wrote: >> >> Hi All >> >> My map runs on Windows Server 2003, Oracle 10Gr2, Mapguide Opensource 2 >> and >> the latest King providers but I am encountering problems when zooming in >> a >> few times. After zooming in 2-3 times I get no more response from the >> map >> i.e a blank screen and no more loading. When I have a look at the server >> memory usage, the mapguide service is using 75% of the total available >> ram >> (1.5gb out of 2gb).When I close the map as well as Studio the memory is >> not >> freed up. After restarting the server and opening the map again the >> memory >> used steadily climbs up to 1.5gb again. The oracle spatial layers I am >> using >> so far are not even close to that size, so I don't know what the problem >> is. >> >> Does anyone have an Idea what is happening? >> >> Regards, >> >> Marius >> -- >> View this message in context: >> http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16699534.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 >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16700574.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Tue Apr 15 09:39:39 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Tue Apr 15 09:39:43 2008 Subject: [mapguide-users] MgOs V2.0 memory problems In-Reply-To: <16700574.post@talk.nabble.com> References: <16699534.post@talk.nabble.com> <7a85053e0804150432r8eca1f7p83b88256195d7bf0@mail.gmail.com> <16700574.post@talk.nabble.com> Message-ID: <7a85053e0804150639y39e1445egebd2b79e2950c57d@mail.gmail.com> which version are you using, instant client or full client? make sure with the instant client that the dll's are in the fdo directory, not a subdir of the fdo directory i have seen this problem before, i was recommend to use the instant client version with the exact version of the sl-king site On Tue, Apr 15, 2008 at 11:32 PM, Marius_360 wrote: > > Using SDF's are unfortunatly not an option. The tolerance I am using is 10cm > (I am asuming you are talking about the tolerance in the metadata table). At > the moment there are at most 4 layers on at any one time, but I have tried > with only one layer, it then just takes longer for the memory to be used up, > but eventually the result is the same. > > The overall performance is fine till all the memory is used up. Is this > perhaps not some sort of memory leak? > > > > > > zspitzer wrote: > > > > there is a big overhead in using oracle, basically FDO involves > > getting a WKT type > > datatype out of oracle spatial datatype which is quite an overhead. > > > > if you try using the oracle WKT functions via sql you will see a > > similar conversion overhead > > > > Your better off moving static data into SDF's to avoid that conversion > > every time you > > make a map or at least make use of tiled maps for base oracle layers. > > > > That said, you shouldn't be having the problems your seeing... > > > > generalising your data might help... what's the tolerance of your data? > > depending on what your doingthere's not much point in making maps at > > street level with > > data that is down to say 5mm if you get my drift, when 1m would suffice > > > > how does it perform with just a single oracle layer? can you isolate > > the problem down a bit? > > > > z > > > > On Tue, Apr 15, 2008 at 9:04 PM, Marius_360 > > wrote: > >> > >> Hi All > >> > >> My map runs on Windows Server 2003, Oracle 10Gr2, Mapguide Opensource 2 > >> and > >> the latest King providers but I am encountering problems when zooming in > >> a > >> few times. After zooming in 2-3 times I get no more response from the > >> map > >> i.e a blank screen and no more loading. When I have a look at the server > >> memory usage, the mapguide service is using 75% of the total available > >> ram > >> (1.5gb out of 2gb).When I close the map as well as Studio the memory is > >> not > >> freed up. After restarting the server and opening the map again the > >> memory > >> used steadily climbs up to 1.5gb again. The oracle spatial layers I am > >> using > >> so far are not even close to that size, so I don't know what the problem > >> is. > >> > >> Does anyone have an Idea what is happening? > >> > >> Regards, > >> > >> Marius > >> -- > >> View this message in context: > >> http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16699534.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 > >> > > > > > > > > -- > > Zac Spitzer - > > http://zacster.blogspot.com (My Blog) > > +61 405 847 168 > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > -- > View this message in context: http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16700574.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From dmaidlow at landorgis.com Tue Apr 15 10:29:46 2008 From: dmaidlow at landorgis.com (Darrin Maidlow) Date: Tue Apr 15 10:29:50 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: References: <01c301c89e65$a2737420$e75a5c60$@com> <022b01c89e75$e015b3a0$a0411ae0$@com> Message-ID: <004901c89f05$27f0bb40$77d231c0$@com> Steve, I checked the error.log and there doesn't actually seem to be any log generated for this event. I stopped the server service, cleared the log, started the service and then caused the not implemented thing. Thanks darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 4:51 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Darrin, What do you see in the server log file? Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 3:24 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Steve, Thanks for the suggestion and quick reply. I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things. I just set it back and am still receiving the Not Implemented error. One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE. Below is the XML from my selection in case it is relevant. VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2 MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== " Thanks again darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 2:47 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/804f72a7/attachment.html From steve.dang at autodesk.com Tue Apr 15 11:55:24 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Tue Apr 15 11:55:29 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: <004901c89f05$27f0bb40$77d231c0$@com> References: <01c301c89e65$a2737420$e75a5c60$@com> <022b01c89e75$e015b3a0$a0411ae0$@com> <004901c89f05$27f0bb40$77d231c0$@com> Message-ID: The problem is from the web tier. Note that the MgSelectionBase::GenerateFilter method will throw an MgNotImplementedException if the property type of the filtered data is not one of the following types: MgPropertyType::Int16 MgPropertyType::Int32 MgPropertyType::Int64 MgPropertyType::String MgPropertyType::Single MgPropertyType::Double Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Tuesday, April 15, 2008 8:30 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Steve, I checked the error.log and there doesn't actually seem to be any log generated for this event. I stopped the server service, cleared the log, started the service and then caused the not implemented thing. Thanks darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 4:51 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Darrin, What do you see in the server log file? Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 3:24 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Steve, Thanks for the suggestion and quick reply. I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things. I just set it back and am still receiving the Not Implemented error. One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE. Below is the XML from my selection in case it is relevant. VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== " Thanks again darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 2:47 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/68577ad3/attachment.html From craig.grell at talus-tech.com Tue Apr 15 11:55:44 2008 From: craig.grell at talus-tech.com (cgrell) Date: Tue Apr 15 11:55:46 2008 Subject: [mapguide-users] Unable to load DLL 'MapGuideUnmanagedApi' In-Reply-To: <480459C0.6060307@geograf.dk> References: <16680894.post@talk.nabble.com> <480459C0.6060307@geograf.dk> Message-ID: <16701426.post@talk.nabble.com> Thank you for the reply. Yes it is an ASP.Net Application. I did copy all the dll files into the bin folder but that didnt help. I had also tried the path you listed. Again did not help. I do have it working right now but I do not know what caused it to start working. If I reboot I will go through this again. Kenneth, GEOGRAF A/S wrote: > > I assume that you are trying to compile an ASP.Net WebApplication. > You can copy all the .dll files from the bin folder in the webserver > extensions into the bin folder of your project. > Other than that, I think the path is: > > C:\Program > Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet\bin > > It might work after your get a preview or start the viewer some other > way, because once the Dll is correctly loaded by some process, it is > avalible for the entire IIS application pool. > > Regards, Kenneth, GEOGRAF A/S > > > > cgrell skrev: >> I keep getting thie error randomly >> >> Unable to load DLL 'MapGuideUnmanagedApi': The specified module could not >> be >> found. (Exception from HRESULT: 0x8007007E) >> >> >> Everything will be working then I reboot the computer and this error >> starts >> to occur. I then reboot the computer, restart the web service, restart >> the >> mapguide service and recomile in a random order until the error finally >> goes >> away. >> >> I have added C:\Program Files\MapGuideOpenSource\WebServerExtensions\www >> to >> the path >> >> I am using MapGuide 1.2 >> >> What might be causing this error and how can I troubleshoot this? >> >> Thank you >> > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Unable-to-load-DLL-%27MapGuideUnmanagedApi%27-tp16680894s16610p16701426.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dmaidlow at landorgis.com Tue Apr 15 14:19:05 2008 From: dmaidlow at landorgis.com (Darrin Maidlow) Date: Tue Apr 15 14:20:42 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: References: <01c301c89e65$a2737420$e75a5c60$@com> <022b01c89e75$e015b3a0$a0411ae0$@com> <004901c89f05$27f0bb40$77d231c0$@com> Message-ID: <00b501c89f25$305f08c0$911d1a40$@com> Thanks Steve, That helped me get past that problem. I started digging into the underlying database tables and all of the key fields used were int column types. My layer was pointing to a relatively complex view in SQL server. A little further looking around and I see that in Mapguide Studio the keys are auto defined, and there is a date in there for some reason. I changed the feature class used by my layer to one without the date in the keys and did not get the error. Now I just need to figure out how all these key values are being set and if I can override them. Is this the correct forum for studio questions? Or should I head over to ADN dev support? thanks again for the help. darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Tuesday, April 15, 2008 9:55 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter The problem is from the web tier. Note that the MgSelectionBase::GenerateFilter method will throw an MgNotImplementedException if the property type of the filtered data is not one of the following types: MgPropertyType::Int16 MgPropertyType::Int32 MgPropertyType::Int64 MgPropertyType::String MgPropertyType::Single MgPropertyType::Double Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Tuesday, April 15, 2008 8:30 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Steve, I checked the error.log and there doesn't actually seem to be any log generated for this event. I stopped the server service, cleared the log, started the service and then caused the not implemented thing. Thanks darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 4:51 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Darrin, What do you see in the server log file? Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 3:24 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Steve, Thanks for the suggestion and quick reply. I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things. I just set it back and am still receiving the Not Implemented error. One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE. Below is the XML from my selection in case it is relevant. VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2 MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== " Thanks again darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 2:47 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/6bb30b78/attachment.html From steve.dang at autodesk.com Tue Apr 15 14:35:09 2008 From: steve.dang at autodesk.com (Steve Dang) Date: Tue Apr 15 14:35:19 2008 Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter In-Reply-To: <00b501c89f25$305f08c0$911d1a40$@com> References: <01c301c89e65$a2737420$e75a5c60$@com> <022b01c89e75$e015b3a0$a0411ae0$@com> <004901c89f05$27f0bb40$77d231c0$@com> <00b501c89f25$305f08c0$911d1a40$@com> Message-ID: Darrin, you should head over to ADN dev support for MapGuide Studio questions. Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Tuesday, April 15, 2008 12:19 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Thanks Steve, That helped me get past that problem. I started digging into the underlying database tables and all of the key fields used were int column types. My layer was pointing to a relatively complex view in SQL server. A little further looking around and I see that in Mapguide Studio the keys are auto defined, and there is a date in there for some reason. I changed the feature class used by my layer to one without the date in the keys and did not get the error. Now I just need to figure out how all these key values are being set and if I can override them. Is this the correct forum for studio questions? Or should I head over to ADN dev support? thanks again for the help. darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Tuesday, April 15, 2008 9:55 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter The problem is from the web tier. Note that the MgSelectionBase::GenerateFilter method will throw an MgNotImplementedException if the property type of the filtered data is not one of the following types: MgPropertyType::Int16 MgPropertyType::Int32 MgPropertyType::Int64 MgPropertyType::String MgPropertyType::Single MgPropertyType::Double Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Tuesday, April 15, 2008 8:30 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Steve, I checked the error.log and there doesn't actually seem to be any log generated for this event. I stopped the server service, cleared the log, started the service and then caused the not implemented thing. Thanks darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 4:51 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Darrin, What do you see in the server log file? Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 3:24 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi Steve, Thanks for the suggestion and quick reply. I had tried MgSelection initially, and changed it over to MgSelectionBase in my trying of things. I just set it back and am still receiving the Not Implemented error. One other thing I noticed that may or may not be relevant is they if I right click and quick watch on the mgselection object, the properties are not visible in the IDE. Below is the XML from my selection in case it is relevant. VHlwaWNhbCBIaWdoIFJpc2UgT2ZmaWNlAJkAAAAJAAAABQAAADM2MCBDYW1lcmEACAAAADM2MCBDYW1lcmEAbW92AAEAAAACAAAAT2ZmaWNlIC0gTGFyZ2UgMzYwANcHCAENAAAAAAAAAQAAAA== " Thanks again darrin From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Steve Dang Sent: Monday, April 14, 2008 2:47 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Try to use MgSelection instead of MgSelectionBase (e.g. Dim currentSel As New MgSelection(oMap)) Steve. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Darrin Maidlow Sent: Monday, April 14, 2008 1:28 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Not Implemented for MgSelection.GenerateFilter Hi, I'm stuck trying to work with a selection generated from the dwf viewer. I've been working with the sample in the developers guide but ported over to vb.net. I'm running MGE 2008. Basically I go through the motions, create new selection based on the passed selectionXML and everything is cool until I get to the MgSelection.GenerateFilter call. When I pass the layer object, and the session ID I get an MgNotImplemented error. I've attached a text file with a bit o' code. Any suggestions would be greatly appreciated. I'm sure I've missed something little or done something silly. Thanks darrin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/a1f47b82/attachment.html From ks at geograf.dk Tue Apr 15 15:29:15 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Tue Apr 15 15:29:26 2008 Subject: [mapguide-users] MapStudio OS 1.0.6 Message-ID: <4805020B.7090909@geograf.dk> Hello list. I have just put up version 1.0.6 of MapStudio Open Source at the usual location: http://code.google.com/p/mapstudioos/ The main features for this release are: * Every FDO provider has a customized editor You no longer have remember how to construct the connectionstrings, there are fields for everything. In case the editor does not fulfill your needs, you can switch between the "raw" entries and the editor. Now supports browsing "alias" folders, if set up in the Site Admin. * Improved WebLayout editor Thanks to some helpfull sugestions from Andrew DeMerchant I have fixed many bugs in the WebLayout editor. It is now also possible to edit the built in commands, in case you want to translate them. * Improved Linux support I have done a surface test and fix of the application under Linux, and it appears to be a little flacky but working. * Improved rename/move engine If you move a resource MapStudio will now correctly update all items that use the resource. This also goes for creating a copy of a folder, where all items in the folder will be re-assigned references within the new folder. And as always, many bugfixes. As always, take a backup before trying MapStudio with production data. I do not have all possible dataformats for testing, so some editors might be a little broken. Please report errors or improvement suggestions on the issue tracker: http://code.google.com/p/mapstudioos/issues/list Many thanks to Jos? for providing the spanish translation, and many thanks to the people who reported problems and suggestions. For the next release I have plans for: * Build raster index file, like Jason's PHP script, but directly in MapStudio * Add a resource validator that can run on a folder or the entire site * Build a manager that can modify, load, save and build MGP files -- Regards, Kenneth, GEOGRAF A/S From andrew.demerchant at gemtec.ca Tue Apr 15 15:53:05 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Tue Apr 15 15:54:13 2008 Subject: [mapguide-users] Fusion error when selecting... Message-ID: <480507A1.4090702@gemtec.ca> I'm getting the following error when selecting items from a Fusion layout... Same error for Firefox and IE7. My points that I'm trying to select, are being read from a DSN datasource, and work fine using the DWF and AJAX viewers. Andrew -- *Andrew DeMerchant* *Computer Technologist* ph.1-877-2GEMTEC x.163 fax 506-453-9470 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From Jason.Birch at nanaimo.ca Tue Apr 15 16:26:04 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Tue Apr 15 16:26:06 2008 Subject: [mapguide-users] Fusion error when selecting... In-Reply-To: <480507A1.4090702@gemtec.ca> References: <480507A1.4090702@gemtec.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A6117@starfish.nanaimo.ca> This is a bit of a radical step Andrew, but I'd be interested in whether this persists after loading Fusion 1.4 in place of the bundled Fusion version (and clearing your browser cache): http://trac.osgeo.org/fusion/wiki/GetIt You'll have to copy over the MapGuide templates from the old one, as they aren't available via the Fusion project. Jason From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Tuesday, April 15, 2008 12:53 To: MapGuide Users Mail List Subject: [mapguide-users] Fusion error when selecting... I'm getting the following error when selecting items from a Fusion layout... Same error for Firefox and IE7. My points that I'm trying to select, are being read from a DSN datasource, and work fine using the DWF and AJAX viewers. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080415/1cce4156/attachment.html From marius at openspatial.co.za Wed Apr 16 01:28:52 2008 From: marius at openspatial.co.za (Marius_360) Date: Wed Apr 16 01:28:54 2008 Subject: [mapguide-users] MgOs V2.0 memory problems In-Reply-To: <7a85053e0804150639y39e1445egebd2b79e2950c57d@mail.gmail.com> References: <16699534.post@talk.nabble.com> <7a85053e0804150432r8eca1f7p83b88256195d7bf0@mail.gmail.com> <16700574.post@talk.nabble.com> <7a85053e0804150639y39e1445egebd2b79e2950c57d@mail.gmail.com> Message-ID: <16716736.post@talk.nabble.com> I am using the full client, I will start using the instant client to see if it works. But the interresting thing I saw now is that this problem only occurs when I open my map through the Web Layout preview in Studio, when I open the website that our developers created, it works perfectly! Thanks for the help so far! zspitzer wrote: > > which version are you using, instant client or full client? > > make sure with the instant client that the dll's are in the fdo > directory, not a subdir of the fdo directory > > i have seen this problem before, i was recommend to use the instant > client version with the exact version of the sl-king site > > On Tue, Apr 15, 2008 at 11:32 PM, Marius_360 > wrote: >> >> Using SDF's are unfortunatly not an option. The tolerance I am using is >> 10cm >> (I am asuming you are talking about the tolerance in the metadata >> table). At >> the moment there are at most 4 layers on at any one time, but I have >> tried >> with only one layer, it then just takes longer for the memory to be used >> up, >> but eventually the result is the same. >> >> The overall performance is fine till all the memory is used up. Is this >> perhaps not some sort of memory leak? >> >> >> >> >> >> zspitzer wrote: >> > >> > there is a big overhead in using oracle, basically FDO involves >> > getting a WKT type >> > datatype out of oracle spatial datatype which is quite an overhead. >> > >> > if you try using the oracle WKT functions via sql you will see a >> > similar conversion overhead >> > >> > Your better off moving static data into SDF's to avoid that conversion >> > every time you >> > make a map or at least make use of tiled maps for base oracle layers. >> > >> > That said, you shouldn't be having the problems your seeing... >> > >> > generalising your data might help... what's the tolerance of your >> data? >> > depending on what your doingthere's not much point in making maps at >> > street level with >> > data that is down to say 5mm if you get my drift, when 1m would >> suffice >> > >> > how does it perform with just a single oracle layer? can you isolate >> > the problem down a bit? >> > >> > z >> > >> > On Tue, Apr 15, 2008 at 9:04 PM, Marius_360 >> > wrote: >> >> >> >> Hi All >> >> >> >> My map runs on Windows Server 2003, Oracle 10Gr2, Mapguide >> Opensource 2 >> >> and >> >> the latest King providers but I am encountering problems when >> zooming in >> >> a >> >> few times. After zooming in 2-3 times I get no more response from >> the >> >> map >> >> i.e a blank screen and no more loading. When I have a look at the >> server >> >> memory usage, the mapguide service is using 75% of the total >> available >> >> ram >> >> (1.5gb out of 2gb).When I close the map as well as Studio the memory >> is >> >> not >> >> freed up. After restarting the server and opening the map again the >> >> memory >> >> used steadily climbs up to 1.5gb again. The oracle spatial layers I >> am >> >> using >> >> so far are not even close to that size, so I don't know what the >> problem >> >> is. >> >> >> >> Does anyone have an Idea what is happening? >> >> >> >> Regards, >> >> >> >> Marius >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16699534.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 >> >> >> > >> > >> > >> > -- >> > Zac Spitzer - >> > http://zacster.blogspot.com (My Blog) >> > +61 405 847 168 >> > _______________________________________________ >> > mapguide-users mailing list >> > mapguide-users@lists.osgeo.org >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16700574.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 >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/MgOs-V2.0-memory-problems-tp16699534s16610p16716736.html Sent from the MapGuide Users mailing list archive at Nabble.com. From philip at projectmax.co.nz Wed Apr 16 01:45:01 2008 From: philip at projectmax.co.nz (PhilipM) Date: Wed Apr 16 01:45:02 2008 Subject: [mapguide-users] Help Connecting to a Access Database Message-ID: <16716853.post@talk.nabble.com> Hi, I am trying to connect to an access database. I am connecting as an external file. The file I am connecting to is: S:\Website\Takapuna Milford 1712\Website\App_Data\TM1712.mdb The connection string is: Driver={Microsoft Access Driver (*.mdb)};Dbq=S:\Website\Takapuna Milford 1712\Website\App_Data\TM1712.mdb;Uid=;Pwd=; I am getting the following error: An exception occurred in FDO component. RDBMS: No current open database. I am obviously doing something wrong. Any ideas what it is? Thanks Philip -- View this message in context: http://www.nabble.com/Help-Connecting-to-a-Access-Database-tp16716853s16610p16716853.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jeremie.formica at gmail.com Wed Apr 16 04:20:17 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Wed Apr 16 04:20:19 2008 Subject: [mapguide-users] Problem map Sheboygan Message-ID: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.png Type: image/png Size: 139083 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/3484d393/Capture.png From zac.spitzer at gmail.com Wed Apr 16 04:32:40 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Wed Apr 16 04:32:45 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> Message-ID: <7a85053e0804160132k278bff7dy6460f59452a35ac9@mail.gmail.com> anything in the server error logs? any javascript errors in the firefox error console? z On Wed, Apr 16, 2008 at 6:20 PM, J?r?mie Formica wrote: > hello, > > I have install mapguideOS 2 on centOs5. When I go on > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, I see > the application but not the map. I have load sheboygan.mgp. > I join a screen shot to understand my problem. > Thanks you. > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From a_krunoslav at gmx.net Wed Apr 16 04:34:47 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Wed Apr 16 04:34:48 2008 Subject: [mapguide-users] Precision when selecting polygons Message-ID: <16718926.post@talk.nabble.com> Hi. I have one layer of polygons (parcels), which are drawn from mysql database. Since 2.0.0., drawing performance is finally superb, but I have a small problem with (un)precision. When I click on some parcel, there is always wrong parcel selected (one to left or right) as shown in image attached. Does anyone has similar problem? -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16718926.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jeremie.formica at gmail.com Wed Apr 16 05:18:45 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Wed Apr 16 05:18:59 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <7a85053e0804160132k278bff7dy6460f59452a35ac9@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <7a85053e0804160132k278bff7dy6460f59452a35ac9@mail.gmail.com> Message-ID: <2cc7a1210804160218y766014d6x1f9ad3344c99ec0e@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Error.log Type: text/x-log Size: 34108 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/57773200/Error.bin From keith.campbell at atkinsglobal.com Wed Apr 16 05:40:48 2008 From: keith.campbell at atkinsglobal.com (Keith Campbell) Date: Wed Apr 16 05:40:50 2008 Subject: [mapguide-users] Mapguide with SQL Server 2000 In-Reply-To: References: Message-ID: <16719969.post@talk.nabble.com> If you want to map point data held in a SQL Server 2000 database, there must be numeric fields containing the X and Y coordinates. You can then use the ODBC provider to set up the datasource for a layer. You cannot use SQl Server 2000 for other feature types (lines, polygons). The King Provider for SQL Server does enable these types but only for SQL 2005 I believe. Once the data source and layer are set-up, you can access these programmatically using the Web API (http://mapguide.osgeo.org/files/mapguide/docs/webapi/index.htm) solely, or you can use in combination with .NET to access the attribute data. In addition you can join attribute data held in SQL Server with geographic data held in another format such as SDF. Hope this helps, Keith Sandeep Thosar wrote: > > Dear All, > > If any Body told me how i can link my mapGuide application with Sql Server > 2000. i am using Asp.Net with C#. > > Please help me or if any solution please send me a link. > > Awaiting for Reply. > > With Regards, > > Sandeep > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Mapguide-with-SQL-Server-2000-tp16698268s16610p16719969.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Wed Apr 16 06:01:56 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Wed Apr 16 06:01:59 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804160218y766014d6x1f9ad3344c99ec0e@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <7a85053e0804160132k278bff7dy6460f59452a35ac9@mail.gmail.com> <2cc7a1210804160218y766014d6x1f9ad3344c99ec0e@mail.gmail.com> Message-ID: <7a85053e0804160301m7c9bf93eh699fb38f5d23fd6b@mail.gmail.com> are you sure you used the mg 2.0 Sheboygan sample and not an older one? On Wed, Apr 16, 2008 at 7:18 PM, J?r?mie Formica wrote: > Any errors for thr consol javascript. > But for the error logs I understand nothing, I join my error.log > > Thanks you for your help. > > 2008/4/16, Zac Spitzer : > > anything in the server error logs? > > > > any javascript errors in the firefox error console? > > > > z > > > > > > On Wed, Apr 16, 2008 at 6:20 PM, J?r?mie Formica > > wrote: > > > hello, > > > > > > I have install mapguideOS 2 on centOs5. When I go on > > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, I > see > > > the application but not the map. I have load sheboygan.mgp. > > > I join a screen shot to understand my problem. > > > Thanks you. > > > > > > > > _______________________________________________ > > > mapguide-users mailing list > > > mapguide-users@lists.osgeo.org > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > > > > > -- > > Zac Spitzer - > > http://zacster.blogspot.com (My Blog) > > +61 405 847 168 > > _______________________________________________ > > 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 > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From jeremie.formica at gmail.com Wed Apr 16 06:07:18 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Wed Apr 16 06:07:22 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <7a85053e0804160301m7c9bf93eh699fb38f5d23fd6b@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <7a85053e0804160132k278bff7dy6460f59452a35ac9@mail.gmail.com> <2cc7a1210804160218y766014d6x1f9ad3344c99ec0e@mail.gmail.com> <7a85053e0804160301m7c9bf93eh699fb38f5d23fd6b@mail.gmail.com> Message-ID: <2cc7a1210804160307p538f60f7kf027b2b36049f241@mail.gmail.com> Yes I have download on this link http://mapguide.osgeo.org/download/releases/2.0.x-samples What it's the problem? Perhaps PHP?? 2008/4/16, Zac Spitzer : > > are you sure you used the mg 2.0 Sheboygan sample and not an older one? > > On Wed, Apr 16, 2008 at 7:18 PM, J?r?mie Formica > > wrote: > > Any errors for thr consol javascript. > > But for the error logs I understand nothing, I join my error.log > > > > Thanks you for your help. > > > > 2008/4/16, Zac Spitzer : > > > anything in the server error logs? > > > > > > any javascript errors in the firefox error console? > > > > > > z > > > > > > > > > On Wed, Apr 16, 2008 at 6:20 PM, J?r?mie Formica > > > wrote: > > > > hello, > > > > > > > > I have install mapguideOS 2 on centOs5. When I go on > > > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, > I > > see > > > > the application but not the map. I have load sheboygan.mgp. > > > > I join a screen shot to understand my problem. > > > > Thanks you. > > > > > > > > > > > _______________________________________________ > > > > mapguide-users mailing list > > > > mapguide-users@lists.osgeo.org > > > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > > > > > > > > > > > > > > > -- > > > Zac Spitzer - > > > http://zacster.blogspot.com (My Blog) > > > +61 405 847 168 > > > _______________________________________________ > > > 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 > > > > > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/31929f00/attachment.html From andrew.demerchant at gemtec.ca Wed Apr 16 07:58:29 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Wed Apr 16 07:59:39 2008 Subject: [mapguide-users] Help Connecting to a Access Database In-Reply-To: <16716853.post@talk.nabble.com> References: <16716853.post@talk.nabble.com> Message-ID: <4805E9E5.7020606@gemtec.ca> Had that same exact problem a few days ago. For me, it was a matter of changing the properties of the Mapguide service to use credentials that give it access to my database. Andrew > Hi, > I am trying to connect to an access database. > > I am connecting as an external file. > > The file I am connecting to is: > S:\Website\Takapuna Milford 1712\Website\App_Data\TM1712.mdb > > The connection string is: > Driver={Microsoft Access Driver (*.mdb)};Dbq=S:\Website\Takapuna Milford > 1712\Website\App_Data\TM1712.mdb;Uid=;Pwd=; > > I am getting the following error: > An exception occurred in FDO component. > RDBMS: No current open database. > > I am obviously doing something wrong. Any ideas what it is? > > Thanks > > Philip > > > -- *Andrew DeMerchant* *Computer Technologist* ph.1-877-2GEMTEC x.163 fax 506-453-9470 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From andrew.demerchant at gemtec.ca Wed Apr 16 08:15:51 2008 From: andrew.demerchant at gemtec.ca (Andrew DeMerchant) Date: Wed Apr 16 08:16:59 2008 Subject: [mapguide-users] Fusion error when selecting... In-Reply-To: <8E468917B01800408B91984428BE03DD072A6117@starfish.nanaimo.ca> References: <480507A1.4090702@gemtec.ca> <8E468917B01800408B91984428BE03DD072A6117@starfish.nanaimo.ca> Message-ID: <4805EDF7.7080808@gemtec.ca> That fixed it. Thanks Jason! Now, I'm totally new to Fusion....I'm using MapStudioOS to make a fusion layout (at the moment, just to see if I want to use fusion, or stay with my existing ajax/dwf). I don't see any sort of "InvokeURL" widget in my list of commands (critical to my projects). Is that a command that's just missing from MapStudioOS, or is there just no such thing in Fusion? I also don't see any Search widget - same question...Surely these are just missing from MSOS (in which case, I'll submit a request to add those).... Andrew Jason Birch wrote: > > This is a bit of a radical step Andrew, > > > > but I'd be interested in whether this persists after loading Fusion > 1.4 in place of the bundled Fusion version (and clearing your browser > cache): > > > > http://trac.osgeo.org/fusion/wiki/GetIt > > > > You'll have to copy over the MapGuide templates from the old one, as > they aren't available via the Fusion project. > > > > Jason > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Andrew > DeMerchant > *Sent:* Tuesday, April 15, 2008 12:53 > *To:* MapGuide Users Mail List > *Subject:* [mapguide-users] Fusion error when selecting... > > > > I'm getting the following error when selecting items from a Fusion > layout... > > Same error for Firefox and IE7. My points that I'm trying to select, > are being read from a DSN datasource, and work fine using the DWF and > AJAX viewers. > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 /GEMTEC Limited /191 Doak Road Fredericton, NB, Canada E3C 2E6 -------------- next part -------------- Skipped content of type multipart/related From brian.berdel at mcmtrans.com Wed Apr 16 08:23:56 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Wed Apr 16 08:23:58 2008 Subject: [mapguide-users] .NET Fusion Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5393 bytes Desc: image001.jpg Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/1940a6cc/attachment.jpe From Jason.Birch at nanaimo.ca Wed Apr 16 11:21:15 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Wed Apr 16 11:21:23 2008 Subject: [mapguide-users] Fusion error when selecting... In-Reply-To: <4805EDF7.7080808@gemtec.ca> References: <480507A1.4090702@gemtec.ca><8E468917B01800408B91984428BE03DD072A6117@starfish.nanaimo.ca> <4805EDF7.7080808@gemtec.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A611B@starfish.nanaimo.ca> InvokeURL is definitely in the list of widgets and is containable by "any". I have no idea why it's not showing up, but submitting a ticket to MapStudio would be a good starting point. You can find the widgets under fusion/widgets, and you can see a list of parameters in the XML files under /fusion/widgets/widgetinfo/ Alternately, you can see these at the Fusion website: http://trac.osgeo.org/fusion/wiki/Widgets Jason From: Andrew DeMerchant Subject: Re: [mapguide-users] Fusion error when selecting... I don't see any sort of "InvokeURL" widget in my list of commands (critical to my projects). Is that a command that's just missing from MapStudioOS, or is there just no such thing in Fusion? I also don't see any Search widget - same question...Surely these are just missing from MSOS (in which case, I'll submit a request to add those).... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/fb11a0c2/attachment.html From dave.wilson at autodesk.com Wed Apr 16 11:37:04 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Wed Apr 16 11:37:12 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <16718926.post@talk.nabble.com> References: <16718926.post@talk.nabble.com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> MySQL only does Envelope operations. For example when selecting MapGuide might do an Intersect spatial operation; however, MySQL (at least version 5 and earlier) only does Envelope Intersects so you won't always get the results you expect depending on how the polygons sit next to each other. This is a known issue with MySQL. I'm not sure if they have resolved this in later versions. Regards, Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Krunoslav Sent: Wednesday, April 16, 2008 2:35 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Precision when selecting polygons Hi. I have one layer of polygons (parcels), which are drawn from mysql database. Since 2.0.0., drawing performance is finally superb, but I have a small problem with (un)precision. When I click on some parcel, there is always wrong parcel selected (one to left or right) as shown in image attached. Does anyone has similar problem? -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16718926.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 From a_krunoslav at gmx.net Wed Apr 16 14:20:54 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Wed Apr 16 14:20:56 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <16728445.post@talk.nabble.com> Dave Wilson-3 wrote: > > MySQL only does Envelope operations. > > For example when selecting MapGuide might do an Intersect spatial > operation; however, MySQL (at least version 5 and earlier) only does > Envelope Intersects so you won't always get the results you expect > depending on how the polygons sit next to each other. > > This is a known issue with MySQL. I'm not sure if they have resolved this > in later versions. > > Thank you for your answer. Since I have all data in mysql tables, I created new Geometry column, converted my SHP to mysql with shp2mysql tool, so I have everything in same table. It seemed perfect, but obviously it won't work this way. Since I have to use styling which is related to property in one column, I also tried to use SHP <-> MySQL join, without geometry data in mysql. I can get properties from mysql table, but layer isn't themed, I don't know why, all parcels are the same color, even if mapguide studio can "pull" properties from the table. Same procedure works fine when everything (converted SHP) is in mysql, but there is problem as mentioned above. So, is there any solution for this or should I give up from using mysql? Anyway, before starting on a project: I have few shp files and data tables in Excel (which I can easely convert to mysql tables). What would you recommend for next things to work? 1. Properly selecting polygons 2. Searching (regarding to some property from table) 3. Themes (also regarding to one column in table). What database to use and how to join this together? Sorry for my bad english and thank you in advance. -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16728445.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dave.wilson at autodesk.com Wed Apr 16 16:20:53 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Wed Apr 16 16:20:59 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <16728445.post@talk.nabble.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> If you are using MGOS 2.0 then you can theme on the joined columns. You can't in the 1.2 version. A join between an SHP and a table in MySQL should work in 2.0 and allow selection since the selection is based on the SHP. The searching should also work on the join since theming and searching are both filters. The selection problem is specific to MySQL so having all your data in MySQL won't work. Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Krunoslav Sent: Wednesday, April 16, 2008 12:21 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Precision when selecting polygons Dave Wilson-3 wrote: > > MySQL only does Envelope operations. > > For example when selecting MapGuide might do an Intersect spatial > operation; however, MySQL (at least version 5 and earlier) only does > Envelope Intersects so you won't always get the results you expect > depending on how the polygons sit next to each other. > > This is a known issue with MySQL. I'm not sure if they have resolved this > in later versions. > > Thank you for your answer. Since I have all data in mysql tables, I created new Geometry column, converted my SHP to mysql with shp2mysql tool, so I have everything in same table. It seemed perfect, but obviously it won't work this way. Since I have to use styling which is related to property in one column, I also tried to use SHP <-> MySQL join, without geometry data in mysql. I can get properties from mysql table, but layer isn't themed, I don't know why, all parcels are the same color, even if mapguide studio can "pull" properties from the table. Same procedure works fine when everything (converted SHP) is in mysql, but there is problem as mentioned above. So, is there any solution for this or should I give up from using mysql? Anyway, before starting on a project: I have few shp files and data tables in Excel (which I can easely convert to mysql tables). What would you recommend for next things to work? 1. Properly selecting polygons 2. Searching (regarding to some property from table) 3. Themes (also regarding to one column in table). What database to use and how to join this together? Sorry for my bad english and thank you in advance. -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16728445.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 From ks at geograf.dk Wed Apr 16 16:41:27 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Wed Apr 16 16:41:37 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <48066477.7010505@geograf.dk> You can try the OGR provider, which also supports MySQL. I am positive that the BBOX problem is solved there, but I am unsure about the performance aspect. There may be other hidden problems, but it might be easier than migrating data. Regards, Kenneth, GEOGRAF A/S Dave Wilson skrev: > If you are using MGOS 2.0 then you can theme on the joined columns. You can't in the 1.2 version. A join between an SHP and a table in MySQL should work in 2.0 and allow selection since the selection is based on the SHP. The searching should also work on the join since theming and searching are both filters. > > The selection problem is specific to MySQL so having all your data in MySQL won't work. > > Dave > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Krunoslav > Sent: Wednesday, April 16, 2008 12:21 PM > To: mapguide-users@lists.osgeo.org > Subject: RE: [mapguide-users] Precision when selecting polygons > > > > > Dave Wilson-3 wrote: > >> MySQL only does Envelope operations. >> >> For example when selecting MapGuide might do an Intersect spatial >> operation; however, MySQL (at least version 5 and earlier) only does >> Envelope Intersects so you won't always get the results you expect >> depending on how the polygons sit next to each other. >> >> This is a known issue with MySQL. I'm not sure if they have resolved this >> in later versions. >> >> >> > > Thank you for your answer. Since I have all data in mysql tables, I created > new Geometry column, converted my SHP to mysql with shp2mysql tool, so I > have everything in same table. > > It seemed perfect, but obviously it won't work this way. > > Since I have to use styling which is related to property in one column, I > also tried to use SHP <-> MySQL join, without geometry data in mysql. I can > get properties from mysql table, but layer isn't themed, I don't know why, > all parcels are the same color, even if mapguide studio can "pull" > properties from the table. > > Same procedure works fine when everything (converted SHP) is in mysql, but > there is problem as mentioned above. > > So, is there any solution for this or should I give up from using mysql? > > Anyway, before starting on a project: > I have few shp files and data tables in Excel (which I can easely convert to > mysql tables). What would you recommend for next things to work? > > 1. Properly selecting polygons > 2. Searching (regarding to some property from table) > 3. Themes (also regarding to one column in table). > > What database to use and how to join this together? > > Sorry for my bad english and thank you in advance. > -- > View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16728445.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/0f9e2bf4/attachment.html From suja.sudhan at atkinsglobal.com Wed Apr 16 16:49:30 2008 From: suja.sudhan at atkinsglobal.com (Suja Sudhan) Date: Wed Apr 16 16:49:32 2008 Subject: [mapguide-users] Change flyout menu label programmatically Message-ID: <16733218.post@talk.nabble.com> Hi All, I have created a flyout menu in a web layout and upon selecting one of the sub menus, I would like to change the flyout menu label to the label of the selected menu. Is this possible through API? Thanks, Suja -- View this message in context: http://www.nabble.com/Change-flyout-menu-label-programmatically-tp16733218s16610p16733218.html Sent from the MapGuide Users mailing list archive at Nabble.com. From suja.sudhan at atkinsglobal.com Wed Apr 16 16:54:12 2008 From: suja.sudhan at atkinsglobal.com (Suja Sudhan) Date: Wed Apr 16 16:54:14 2008 Subject: [mapguide-users] Change flyout menu label programmatically In-Reply-To: <16733218.post@talk.nabble.com> References: <16733218.post@talk.nabble.com> Message-ID: <16733263.post@talk.nabble.com> In continuation to my previous message, can the selected sub menu be disabled once clicked? Thanks, Suja Suja Sudhan wrote: > > Hi All, > > I have created a flyout menu in a web layout and upon selecting one of the > sub menus, I would like to change the flyout menu label to the label of > the selected menu. Is this possible through API? > > Thanks, > Suja > -- View this message in context: http://www.nabble.com/Change-flyout-menu-label-programmatically-tp16733218s16610p16733263.html Sent from the MapGuide Users mailing list archive at Nabble.com. From traian.stanev at autodesk.com Wed Apr 16 16:59:14 2008 From: traian.stanev at autodesk.com (Traian Stanev) Date: Wed Apr 16 16:59:19 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <48066477.7010505@geograf.dk> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> Message-ID: If you do try that, you will need a build of GDAL/OGR compiled with Geos support. I am not sure how the one that comes with the FDO binary distribution is built. We could probably remove this requirement by changing OgrFeatureReader::ReadNext() to perform the intersects using FdoSpatialUtility rather than OGR's OGRGeometry::Intersects. Traian From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Kenneth, GEOGRAF A/S Sent: Wednesday, April 16, 2008 4:41 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Precision when selecting polygons You can try the OGR provider, which also supports MySQL. I am positive that the BBOX problem is solved there, but I am unsure about the performance aspect. There may be other hidden problems, but it might be easier than migrating data. Regards, Kenneth, GEOGRAF A/S Dave Wilson skrev: If you are using MGOS 2.0 then you can theme on the joined columns. You can't in the 1.2 version. A join between an SHP and a table in MySQL should work in 2.0 and allow selection since the selection is based on the SHP. The searching should also work on the join since theming and searching are both filters. The selection problem is specific to MySQL so having all your data in MySQL won't work. Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Krunoslav Sent: Wednesday, April 16, 2008 12:21 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Precision when selecting polygons Dave Wilson-3 wrote: MySQL only does Envelope operations. For example when selecting MapGuide might do an Intersect spatial operation; however, MySQL (at least version 5 and earlier) only does Envelope Intersects so you won't always get the results you expect depending on how the polygons sit next to each other. This is a known issue with MySQL. I'm not sure if they have resolved this in later versions. Thank you for your answer. Since I have all data in mysql tables, I created new Geometry column, converted my SHP to mysql with shp2mysql tool, so I have everything in same table. It seemed perfect, but obviously it won't work this way. Since I have to use styling which is related to property in one column, I also tried to use SHP <-> MySQL join, without geometry data in mysql. I can get properties from mysql table, but layer isn't themed, I don't know why, all parcels are the same color, even if mapguide studio can "pull" properties from the table. Same procedure works fine when everything (converted SHP) is in mysql, but there is problem as mentioned above. So, is there any solution for this or should I give up from using mysql? Anyway, before starting on a project: I have few shp files and data tables in Excel (which I can easely convert to mysql tables). What would you recommend for next things to work? 1. Properly selecting polygons 2. Searching (regarding to some property from table) 3. Themes (also regarding to one column in table). What database to use and how to join this together? Sorry for my bad english and thank you in advance. -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16728445.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080416/98b442f6/attachment.html From Jason.Birch at nanaimo.ca Wed Apr 16 17:08:47 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Wed Apr 16 17:08:49 2008 Subject: [mapguide-users] Change flyout menu label programmatically In-Reply-To: <16733263.post@talk.nabble.com> References: <16733218.post@talk.nabble.com> <16733263.post@talk.nabble.com> Message-ID: <8E468917B01800408B91984428BE03DD072A6129@starfish.nanaimo.ca> If you are using flexible web layouts (Fusion), you might get a better response on the Fusion-Users mailing list: http://trac.osgeo.org/fusion/wiki/MailingLists Jason From jumpinjackie at gmail.com Wed Apr 16 20:45:16 2008 From: jumpinjackie at gmail.com (Jackie C Ng) Date: Wed Apr 16 20:45:17 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: Message-ID: <16736574.post@talk.nabble.com> Where are you getting that value of the variable smgMap ? - Jackie Berdel, Brian wrote: > > If I try to access a map via .net fusion I always get this error...Code > works fine in regular viewer. I have heard conflicting reports of > Fusion and .NET can someone please clarify? > > > > MgUserInformation userInfo = new MgUserInformation(mgSessionId); > > MgSiteConnection siteConnection = new MgSiteConnection(); > > siteConnection.Open(userInfo); > > MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > MgMap map = new MgMap(); > > map.Open(resourceService, smgMap); > > Resource was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information > about the error and where it originated in the code. > > Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: Resource > was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Source Error: > > > > Line 28: MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > Line 29: MgMap map = new MgMap(); > > Line 30: map.Open(resourceService, smgMap); > > > > Brian Berdel > > McMahon Associates, Inc. > > p: 215.283.9444 > > www.mcmtrans.com > > > > > > Brian Berdel > > Applications Development Manager > > > > McMahon Associates, Inc. > > 425 Commerce Drive, Suite 200 > > Fort Washington, Pennsylvania 19034 > > p: 215.283.9444 > > f: 215.283.9858 > > brian.berdel@mcmtrans.com > > > > > > New England | Mid-Atlantic | Florida > > > > > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Wed Apr 16 20:50:56 2008 From: jumpinjackie at gmail.com (Jackie C Ng) Date: Wed Apr 16 20:50:57 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> Message-ID: <16736635.post@talk.nabble.com> Are you using the latest betas of Firefox 3 by any chance? - Jackie J?r?mie Formica wrote: > > hello, > > I have install mapguideOS 2 on centOs5. When I go on > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, I see > the application but not the map. I have load sheboygan.mgp. > I join a screen shot to understand my problem. > Thanks you. > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Wed Apr 16 20:52:18 2008 From: jumpinjackie at gmail.com (Jackie C Ng) Date: Wed Apr 16 20:52:19 2008 Subject: [mapguide-users] Help Connecting to a Access Database In-Reply-To: <16716853.post@talk.nabble.com> References: <16716853.post@talk.nabble.com> Message-ID: <16736647.post@talk.nabble.com> If you try with the user "Admin" (ie. Uid=Admin;Pwd= ) does it actually work? - Jackie PhilipM wrote: > > Hi, > I am trying to connect to an access database. > > I am connecting as an external file. > > The file I am connecting to is: > S:\Website\Takapuna Milford 1712\Website\App_Data\TM1712.mdb > > The connection string is: > Driver={Microsoft Access Driver (*.mdb)};Dbq=S:\Website\Takapuna Milford > 1712\Website\App_Data\TM1712.mdb;Uid=;Pwd=; > > I am getting the following error: > An exception occurred in FDO component. > RDBMS: No current open database. > > I am obviously doing something wrong. Any ideas what it is? > > Thanks > > Philip > > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Help-Connecting-to-a-Access-Database-tp16716853s16610p16736647.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Wed Apr 16 21:02:42 2008 From: jumpinjackie at gmail.com (Jackie C Ng) Date: Wed Apr 16 21:02:44 2008 Subject: [mapguide-users] Programmatically using GetMapKML, GetLayerKML and GetFeatureKML in .NET In-Reply-To: <16697335.post@talk.nabble.com> References: <16697335.post@talk.nabble.com> Message-ID: <16736753.post@talk.nabble.com> The key to using the KML service programmatically is that you need to have the runtime map (ie the MgMap object), that you either: - Create() from a Map Definition resource id OR - Open() from a runtime map name Once you have an MgMap instance, the rest of the parameters should be self-explanatory. - Jackie DevMan wrote: > > Hello All, > > I am a newbiew to Mapguide 2.0 OS API and I would be very grateful, if > someone could plz help me out on this. > > All I need to do is to use the GetMapKML, GetLayerKML and GetFeatureKML > programmatically in a C# aspx page. The purpose is to generate a KML feed > for Google Earth on the fly. > > The GetMapKML in MapAgent and also the link like > http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GetMapKml&VERSION=1.0.0&MAPDEFINITION=Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition&FORMAT=KML&LOCALE=en > > works fine, but I need to implement it on a separate aspx page, which > would then return the KML. > > I know that the GetMapKMl etc. return a ByteReader, but can't really put > in the parameters in these GetKML methods. > > Its really urgent, so If someone could please post a functional code that > I could possibly implement or modify to my needs. > > Many thanks in advance. > > Ajay > > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Programmatically-using-GetMapKML%2C-GetLayerKML-and-GetFeatureKML-in-.NET-tp16697335s16610p16736753.html Sent from the MapGuide Users mailing list archive at Nabble.com. From sandeepthosar at gmail.com Wed Apr 16 23:25:17 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Wed Apr 16 23:25:20 2008 Subject: [mapguide-users] SQL Query Message-ID: Dear All, I read MapGuide Developer Guide but i did not understand how to connect with SQL Server 2000. Please if anybody give me some references or Steps it's help me lot. I use Asp.Net with C#. Please help me out. With Regards, Sandeep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/dc69509c/attachment.html From a_krunoslav at gmx.net Thu Apr 17 02:09:30 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Thu Apr 17 02:09:34 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <16739552.post@talk.nabble.com> Dave Wilson-3 wrote: > > If you are using MGOS 2.0 then you can theme on the joined columns. You > can't in the 1.2 version. A join between an SHP and a table in MySQL > should work in 2.0 and allow selection since the selection is based on the > SHP. The searching should also work on the join since theming and > searching are both filters. > Ok, here is what I did and did not: I can make a join in studio, and I can see columns which to join: it is parcel_id from SHP and parcel_id from MySQL. both columns show when creating join. Also, when trying to make a layer from this join, I go to theme and when I click on GET button, it "pulls" out all columns so I can select on what property to make a theme. I also choosed to show all properties when clicking on polygon. BUT: Layer is not themed, all parcels are blank, and when I click on polygon, all properties are empty. So, this is now weird: connection to mysql obviously works, but there is something wrong with join or something. How to debug this or to find out what's wrong? -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16739552.html Sent from the MapGuide Users mailing list archive at Nabble.com. From ks at geograf.dk Thu Apr 17 02:17:08 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 17 02:17:15 2008 Subject: [mapguide-users] SQL Query In-Reply-To: References: Message-ID: <4806EB64.1060005@geograf.dk> You won't find info about that in the Developer Guide. MapGuide uses FDO, and basically FDO makes every datasource appear the same, so the Developer Guide shows how to interact with any datasource. You will need a tool to set up an FDO dataconnection to an SQL server. The Getting Started guide has links to the three currently avalible tools: http://mapguide.osgeo.org/2.0/documentation.html If you are completely new to this, I would recomend you get a free 60 day trial of Autodesk MapGuide Studio (link in the guide above). Autodesk MapGuide Studio comes with complete documentation and step by step explanations of how to set up a site. Regards, Kenneth, GEOGRAF A/S Sandeep Thosar skrev: > Dear All, > > I read MapGuide Developer Guide but i did not understand how to > connect with SQL Server 2000. Please if anybody give me some > references or Steps it's help me lot. > > I use Asp.Net with C#. > > Please help me out. > > With Regards, > > Sandeep > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/d1c5c130/attachment.html From a_krunoslav at gmx.net Thu Apr 17 02:18:52 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Thu Apr 17 02:18:54 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <48066477.7010505@geograf.dk> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> Message-ID: <16739625.post@talk.nabble.com> Kenneth, GEOGRAF A/S wrote: > > You can try the OGR provider, which also supports MySQL. > I am positive that the BBOX problem is solved there, but I am unsure > about the performance aspect. > There may be other hidden problems, but it might be easier than > migrating data. > > Thank you. I downloaded OGR-3.2.3, and modified providers.xml like this: OSGeo.OGR.0.1 FDO Provider for OGR Access to OGR data sources False 3.2.3.0 3.2.3.0 C:\Program Files\MapGuideOpenSource2.0\Server\Bin\FDO\OGRProvider.dll References: <025c01c743c6$be5537f0$6401a8c0@SPINAJM> Message-ID: <16740164.post@talk.nabble.com> Hi Andy, i am also in the process of doing something similar as you have already done. i want to zoom in to the specific parcel from the list of available parcel, and want to display the image in the tool tip. my solution is made using the shp files and VS2005 C#,MGOS 1.2. i am successful in getting the list of selected parcel , now i want to follow something related to your solution. if you can share your code with me then it will be a great help for me as i have to submit this project very soon as a part of my curriculum. thanks for all your help. waiting for a positive reply. thanks. vishal Andy Morsell wrote: > > Brad, > Yes, the AJAX callbacks for tooltips in MGOS can exhibit strange behaviors > if the it takes too long for that tooltip to display (as in my case where > the property photo thumbnail is produced by server-side processing for > each > tooltip on the fly). I brought this particular issue up with the > developers > about 6 months ago and it apparently has not been fixed. The problem does > not occur in Firefox. > > > Andy > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Brad Nesom > Sent: Monday, January 29, 2007 7:09 AM > To: 'MapGuide Users Mail List' > Subject: RE: [mapguide-users] Properties Frame in Studio 2007 - Hyperlinks > > On Andy's Spokane page... > Looking further, Andy is there some issue with refresh in the tooltip? I > notice that if the window is active (IE7) and I hover on a parcel the tab > shows as busy (spinning?) and the tooltip flashes. If I go to the ctrl > click > window the map settles down and displays the tootip correctly (constant). > However the assessors info page is on top. Is this what everyone else > sees? > > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Brad Nesom > Sent: Monday, January 29, 2007 8:29 AM > To: 'MapGuide Users Mail List' > Subject: RE: [mapguide-users] Properties Frame in Studio 2007 - Hyperlinks > > This is very disappointing as a 6.5 user. Nearly every point layer I have > has a double click link on the icon for viewing the image of... > I also use a narrowed layer list and NO frames for maximum map window. > WAHHH! > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of James Card > Sent: Saturday, January 27, 2007 12:26 PM > To: MapGuide Users Mail List > Subject: Re: [mapguide-users] Properties Frame in Studio 2007 - Hyperlinks > > On Fri, 26 Jan 2007 18:05:56 -0800, wrote: > >> I have a number of URLs in my table attributes. I have these columns >> appearing in my Properties frame in MG Studio. Is there a way to >> enable these URLs so that on the onClick event, the user goes to the >> respective URL? > > The way we've done this is to include the HTML link syntax in the > database; > so, instead of storing 'http://someserver/scanned_image.png', we store ' > http://someserver/scanned_image.png View Image '. > > There is an example of this at . > Select one of the Bus Route lines. > > -- > James Card > California CAD Solutions, Inc. > 209 578-5580 > _______________________________________________ > 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 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://www.nabble.com/Properties-Frame-in-Studio-2007---Hyperlinks-tp8662120s16610p16740164.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jeremie.formica at gmail.com Thu Apr 17 03:08:53 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 17 03:08:56 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <16736635.post@talk.nabble.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> Message-ID: <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> No I have Firefox 1.5 and I have try with IE 7. But the the same result... Please Help me :( 2008/4/17, Jackie C Ng : > > > Are you using the latest betas of Firefox 3 by any chance? > > - Jackie > > > > J?r?mie Formica wrote: > > > > hello, > > > > I have install mapguideOS 2 on centOs5. When I go on > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, I > see > > the application but not the map. I have load sheboygan.mgp. > > I join a screen shot to understand my problem. > > Thanks you. > > > > > > > _______________________________________________ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > ----- > http://themapguyde.blogspot.com > > http://www.linkedin.com/in/jackieng > > -- > View this message in context: > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/f1cc50e1/attachment.html From ks at geograf.dk Thu Apr 17 03:28:41 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 17 03:28:50 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <16739625.post@talk.nabble.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> <16739625.post@talk.nabble.com> Message-ID: <4806FC29.1020801@geograf.dk> My instructions for installing OGR are: 1. Delete the FDO folder from MgOS 2. Download FDO WindowsSDK 3. Extract Bin folder from WindowsSDK 4. Rename Bin FDO and place as folder deleted in step 1 My entry looks like this: OSGeo.OGR.3.3 OSGeo FDO Provider for OGR FDO Access to OGR Data Sources False 3.3.0.0 3.3.0.0 .\OGRProvider.dll Regards, Kenneth, GEOGRAF A/S Krunoslav skrev: > > Kenneth, GEOGRAF A/S wrote: > >> You can try the OGR provider, which also supports MySQL. >> I am positive that the BBOX problem is solved there, but I am unsure >> about the performance aspect. >> There may be other hidden problems, but it might be easier than >> migrating data. >> >> >> > > Thank you. I downloaded OGR-3.2.3, and modified providers.xml like this: > > > OSGeo.OGR.0.1 > FDO Provider for OGR > Access to OGR data sources > False > 3.2.3.0 > 3.2.3.0 > C:\Program > Files\MapGuideOpenSource2.0\Server\Bin\FDO\OGRProvider.dll > > But OGR doesn't show up in studio. Am I using wrong version of ogr? Are > there any instructions how to make OGR work with mgos 2.0? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/8ba7c376/attachment.html From a_krunoslav at gmx.net Thu Apr 17 06:09:11 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Thu Apr 17 06:09:12 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <4806FC29.1020801@geograf.dk> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> <16739625.post@talk.nabble.com> <4806FC29.1020801@geograf.dk> Message-ID: <16742886.post@talk.nabble.com> Kenneth, GEOGRAF A/S wrote: > > My instructions for installing OGR are: > 1. Delete the FDO folder from MgOS > 2. Download FDO WindowsSDK > 3. Extract Bin folder from WindowsSDK > 4. Rename Bin FDO and place as folder deleted in step 1 > > Thanks, works great. Still I can't connect to MySQL with OGR: I followed instructions from here http://gdal.osgeo.org/ogr/drv_mysql.html So, feature source looks like this: Data Source: MySQL:somedatabase User name: username Password: password When i press Test Connection, following error occures: System.FormatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String resourceId, String provider, String connectionString) at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection() -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16742886.html Sent from the MapGuide Users mailing list archive at Nabble.com. From maciej.skorczewski at procad.pl Thu Apr 17 06:12:06 2008 From: maciej.skorczewski at procad.pl (Maciej Skorczewski) Date: Thu Apr 17 06:12:11 2008 Subject: [mapguide-users] MapGuide Enterprise 2009 on VISTA/XP Message-ID: <48072276.6030607@procad.pl> hi! have anybody install MapGuide Enterprise 2009 on VISTA. did you try on XP? maciek From fabio at honor.rct-tijuca.org Thu Apr 17 06:26:23 2008 From: fabio at honor.rct-tijuca.org (Fabio Fagundes) Date: Thu Apr 17 06:26:27 2008 Subject: [mapguide-users] MapGuide Enterprise 2009 on VISTA/XP In-Reply-To: <48072276.6030607@procad.pl> References: <48072276.6030607@procad.pl> Message-ID: <261b161f0804170326qa1477fdv94b15224d44fd464@mail.gmail.com> Hi. For anyone with MGE 2009 available, have you noticed any better support on JPEG2000 and ECW raster formats yet? Actually what I'm interested in is the JPEG2000 alpha channel transparency feature ;-) Thanks in advance! Fabio. On Thu, Apr 17, 2008 at 7:12 AM, Maciej Skorczewski wrote: > hi! > > have anybody install MapGuide Enterprise 2009 on VISTA. > > did you try on XP? > > maciek > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/3bafd8e1/attachment.html From jeremie.formica at gmail.com Thu Apr 17 06:37:38 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 17 06:37:43 2008 Subject: [mapguide-users] Problem compil ./thirdparty.sh Message-ID: <2cc7a1210804170337q4bc65f27sfbfdfa254221be41@mail.gmail.com> Hello, When I run ./thirdparty.sh, I can see that : acinclude.m4:12: warning: underquoted definition of FDO_SUBST acinclude.m4:19: warning: underquoted definition of FDO_FAST_OUTPUT acinclude.m4:25: warning: underquoted definition of FDO_GEN_CONFIG_VARS acinclude.m4:66: warning: underquoted definition of FDO_GENERATE_MAKEFILES acinclude.m4:73: warning: underquoted definition of FDO_OUTPUT acinclude.m4:82: warning: underquoted definition of FDO_DEFINE_TYPE_RLIM_T acinclude.m4:107: warning: underquoted definition of FDO_SUBST_EXPANDED_ARG acinclude.m4:114: warning: underquoted definition of FDO_EXPORT_ARGUMENTS But the library is create in directory usr/local/fdo-3.0.3 Warnings are dangerous or not? Thank's you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/706cfd33/attachment.html From zac.spitzer at gmail.com Thu Apr 17 07:54:05 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Thu Apr 17 07:54:08 2008 Subject: [mapguide-users] mapguide search site Message-ID: <7a85053e0804170454i4f30cbc5hc726bd570134d792@mail.gmail.com> I just created a mapguide specific search engine on google http://www.google.com/coop/cse?cx=012929665973257206593:temf_hz4pxe z -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From ks at geograf.dk Thu Apr 17 08:01:34 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 17 08:01:47 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <16742886.post@talk.nabble.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> <16739625.post@talk.nabble.com> <4806FC29.1020801@geograf.dk> <16742886.post@talk.nabble.com> Message-ID: <48073C1E.3050505@geograf.dk> Did you enter "TRUE" in the "ReadOnly field? Regards, Kenneth, GEOGRAF A/S Krunoslav skrev: > > Kenneth, GEOGRAF A/S wrote: > >> My instructions for installing OGR are: >> 1. Delete the FDO folder from MgOS >> 2. Download FDO WindowsSDK >> 3. Extract Bin folder from WindowsSDK >> 4. Rename Bin FDO and place as folder deleted in step 1 >> >> >> > > Thanks, works great. Still I can't connect to MySQL with OGR: I followed > instructions from here > http://gdal.osgeo.org/ogr/drv_mysql.html > > So, feature source looks like this: > > Data Source: MySQL:somedatabase > > User name: username > Password: password > > When i press Test Connection, following error occures: > > System.FormatException: String was not recognized as a valid Boolean. > at System.Boolean.Parse(String value) > at > Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String > resourceId, String provider, String connectionString) > at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection() > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/73da4fca/attachment.html From jumpinjackie at gmail.com Thu Apr 17 08:31:39 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Thu Apr 17 08:31:41 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> Message-ID: <16743938.post@talk.nabble.com> Try installing firebug. See if there are any errors thrown. - Jackie J?r?mie Formica wrote: > > No I have Firefox 1.5 and I have try with IE 7. But the the same result... > Please Help me :( > > 2008/4/17, Jackie C Ng : >> >> >> Are you using the latest betas of Firefox 3 by any chance? >> >> - Jackie >> >> >> >> J?r?mie Formica wrote: >> > >> > hello, >> > >> > I have install mapguideOS 2 on centOs5. When I go on >> > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, I >> see >> > the application but not the map. I have load sheboygan.mgp. >> > I join a screen shot to understand my problem. >> > Thanks you. >> > >> > >> >> > _______________________________________________ >> > mapguide-users mailing list >> > mapguide-users@lists.osgeo.org >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > >> > >> >> >> >> ----- >> http://themapguyde.blogspot.com >> >> http://www.linkedin.com/in/jackieng >> >> -- >> View this message in context: >> http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16743938.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jeremie.formica at gmail.com Thu Apr 17 08:43:54 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 17 08:43:56 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <16743938.post@talk.nabble.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> <16743938.post@talk.nabble.com> Message-ID: <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> I have install firebug and they are any error. When I click on the map I can see the different action who are make ( GET(.....)) But they are nothing... 2008/4/17, Jackie C. Ng : > > > Try installing firebug. See if there are any errors thrown. > > - Jackie > > > > J?r?mie Formica wrote: > > > > No I have Firefox 1.5 and I have try with IE 7. But the the same > result... > > Please Help me :( > > > > 2008/4/17, Jackie C Ng : > >> > >> > >> Are you using the latest betas of Firefox 3 by any chance? > >> > >> - Jackie > >> > >> > >> > >> J?r?mie Formica wrote: > >> > > >> > hello, > >> > > >> > I have install mapguideOS 2 on centOs5. When I go on > >> > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, > I > >> see > >> > the application but not the map. I have load sheboygan.mgp. > >> > I join a screen shot to understand my problem. > >> > Thanks you. > >> > > >> > > >> > >> > _______________________________________________ > >> > mapguide-users mailing list > >> > mapguide-users@lists.osgeo.org > >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users > >> > > >> > > >> > >> > >> > >> ----- > >> http://themapguyde.blogspot.com > >> > >> http://www.linkedin.com/in/jackieng > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > > > > > > > ----- > http://themapguyde.blogspot.com > > http://www.linkedin.com/in/jackieng > -- > > View this message in context: > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16743938.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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/36fa2a5f/attachment.html From zac.spitzer at gmail.com Thu Apr 17 08:52:05 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Thu Apr 17 08:52:08 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> <16743938.post@talk.nabble.com> <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> Message-ID: <7a85053e0804170552o15e8ea09r4198f79dfdc0f81a@mail.gmail.com> did you download the test case data from subversion and run the test cases? On Thu, Apr 17, 2008 at 10:43 PM, J?r?mie Formica wrote: > I have install firebug and they are any error. > When I click on the map I can see the different action who are make ( > GET(.....)) But they are nothing... > > > > > 2008/4/17, Jackie C. Ng : > > > > Try installing firebug. See if there are any errors thrown. > > > > - Jackie > > > > > > > > J?r?mie Formica wrote: > > > > > > No I have Firefox 1.5 and I have try with IE 7. But the the same > result... > > > Please Help me :( > > > > > > 2008/4/17, Jackie C Ng : > > >> > > >> > > >> Are you using the latest betas of Firefox 3 by any chance? > > >> > > >> - Jackie > > >> > > >> > > >> > > >> J?r?mie Formica wrote: > > >> > > > >> > hello, > > >> > > > >> > I have install mapguideOS 2 on centOs5. When I go on > > >> > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, > I > > >> see > > >> > the application but not the map. I have load sheboygan.mgp. > > >> > I join a screen shot to understand my problem. > > >> > Thanks you. > > >> > > > >> > > > >> > > >> > _______________________________________________ > > >> > mapguide-users mailing list > > >> > mapguide-users@lists.osgeo.org > > >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > >> > > > >> > > > >> > > >> > > >> > > >> ----- > > >> http://themapguyde.blogspot.com > > >> > > >> http://www.linkedin.com/in/jackieng > > >> > > >> -- > > >> View this message in context: > > >> > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > > > > > > > > > > > > ----- > > http://themapguyde.blogspot.com > > > > http://www.linkedin.com/in/jackieng > > -- > > > > View this message in context: > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16743938.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 > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From jeremie.formica at gmail.com Thu Apr 17 08:56:16 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 17 08:56:23 2008 Subject: [mapguide-users] Problem ./UnitTest FDO Message-ID: <2cc7a1210804170556v3e36f6dfl8b9cdbc0dcb2ec18@mail.gmail.com> Hello when I execute ./UnitTest In DIrectory /OpenSource_FDO/Providers/SDF/Src/UnitTest they are many error. ##Failure Location unknown## : Assertion Test name: 10SelectTest.TestBaseProps caught unknown exception ##Failure Location unknown## : Assertion Test name: 10SelectTest.TestBothProps caught unknown exception ##Failure Location unknown## : Assertion Test name: 10SelectTest.TestAllProps caught unknown exception TestCommonMiscUtil.cpp:50:Assertion Test name: 10SelectTest.select_aggregates_should_fail SDFPROVIDER_33_FILE_EXISTS ##Failure Location unknown## : Assertion Test name: 18FdoMultiThreadTest.QueryTest setUp() failed ##Failure Location unknown## : Assertion Test name: 18FdoMultiThreadTest.InsertQueryTest setUp() failed Failures !!! Run: 110 Failure total: 75 Failures: 75 Errors: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/f8050f74/attachment.html From brian.berdel at mcmtrans.com Thu Apr 17 09:06:06 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Thu Apr 17 09:06:09 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <16736574.post@talk.nabble.com> References: <16736574.post@talk.nabble.com> Message-ID: Hi Jackie, I am actually passing it via a session variable from another Sub. It is the correct value. And like I said the code does work in the regular Ajax viewer. String smgMap = (Session["smgMap"]).ToString(); Brian -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C Ng Sent: Wednesday, April 16, 2008 8:45 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] .NET Fusion Where are you getting that value of the variable smgMap ? - Jackie Berdel, Brian wrote: > > If I try to access a map via .net fusion I always get this error...Code > works fine in regular viewer. I have heard conflicting reports of > Fusion and .NET can someone please clarify? > > > > MgUserInformation userInfo = new MgUserInformation(mgSessionId); > > MgSiteConnection siteConnection = new MgSiteConnection(); > > siteConnection.Open(userInfo); > > MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > MgMap map = new MgMap(); > > map.Open(resourceService, smgMap); > > Resource was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information > about the error and where it originated in the code. > > Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: Resource > was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Source Error: > > > > Line 28: MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > Line 29: MgMap map = new MgMap(); > > Line 30: map.Open(resourceService, smgMap); > > > > Brian Berdel > > McMahon Associates, Inc. > > p: 215.283.9444 > > www.mcmtrans.com > > > > > > Brian Berdel > > Applications Development Manager > > > > McMahon Associates, Inc. > > 425 Commerce Drive, Suite 200 > > Fort Washington, Pennsylvania 19034 > > p: 215.283.9444 > > f: 215.283.9858 > > brian.berdel@mcmtrans.com > > > > > > New England | Mid-Atlantic | Florida > > > > > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 From jeremie.formica at gmail.com Thu Apr 17 09:09:33 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 17 09:09:35 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <7a85053e0804170552o15e8ea09r4198f79dfdc0f81a@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> <16743938.post@talk.nabble.com> <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> <7a85053e0804170552o15e8ea09r4198f79dfdc0f81a@mail.gmail.com> Message-ID: <2cc7a1210804170609s349bf48dk3108182e270f2798@mail.gmail.com> What is it "the test case"?? How make this test? Thank's you very much for your help 2008/4/17, Zac Spitzer : > > did you download the test case data from subversion and run the test > cases? > > On Thu, Apr 17, 2008 at 10:43 PM, J?r?mie Formica > > wrote: > > > I have install firebug and they are any error. > > When I click on the map I can see the different action who are make ( > > GET(.....)) But they are nothing... > > > > > > > > > > 2008/4/17, Jackie C. Ng : > > > > > > Try installing firebug. See if there are any errors thrown. > > > > > > - Jackie > > > > > > > > > > > > J?r?mie Formica wrote: > > > > > > > > No I have Firefox 1.5 and I have try with IE 7. But the the same > > result... > > > > Please Help me :( > > > > > > > > 2008/4/17, Jackie C Ng : > > > >> > > > >> > > > >> Are you using the latest betas of Firefox 3 by any chance? > > > >> > > > >> - Jackie > > > >> > > > >> > > > >> > > > >> J?r?mie Formica wrote: > > > >> > > > > >> > hello, > > > >> > > > > >> > I have install mapguideOS 2 on centOs5. When I go on > > > >> > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, > > I > > > >> see > > > >> > the application but not the map. I have load sheboygan.mgp. > > > >> > I join a screen shot to understand my problem. > > > >> > Thanks you. > > > >> > > > > >> > > > > >> > > > >> > _______________________________________________ > > > >> > mapguide-users mailing list > > > >> > mapguide-users@lists.osgeo.org > > > >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > >> > > > > >> > > > > >> > > > >> > > > >> > > > >> ----- > > > >> http://themapguyde.blogspot.com > > > >> > > > >> http://www.linkedin.com/in/jackieng > > > >> > > > >> -- > > > >> View this message in context: > > > >> > > > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > > > > > > > > > > > > > > > > > ----- > > > http://themapguyde.blogspot.com > > > > > > http://www.linkedin.com/in/jackieng > > > -- > > > > > > View this message in context: > > > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16743938.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 > > > > > > > > -- > > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/89b9d865/attachment.html From ks at geograf.dk Thu Apr 17 09:21:01 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 17 09:21:15 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: <16736574.post@talk.nabble.com> Message-ID: <48074EBD.5080203@geograf.dk> Not entirely familiar with fusion, but could it be that Fusion uses the MapID as the mapname and not the name of the MapDefinition? Regards, Kenneth, GEOGRAF A/S Berdel, Brian skrev: > Hi Jackie, > I am actually passing it via a session variable from another Sub. It is > the correct value. And like I said the code does work in the regular > Ajax viewer. > > String smgMap = (Session["smgMap"]).ToString(); > > Brian > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C Ng > Sent: Wednesday, April 16, 2008 8:45 PM > To: mapguide-users@lists.osgeo.org > Subject: Re: [mapguide-users] .NET Fusion > > > Where are you getting that value of the variable smgMap ? > > - Jackie > > > Berdel, Brian wrote: > >> If I try to access a map via .net fusion I always get this >> > error...Code > >> works fine in regular viewer. I have heard conflicting reports of >> Fusion and .NET can someone please clarify? >> >> >> >> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >> >> MgSiteConnection siteConnection = new MgSiteConnection(); >> >> siteConnection.Open(userInfo); >> >> MgResourceService resourceService = >> siteConnection.CreateService(MgServiceType.ResourceService) as >> MgResourceService; >> >> MgMap map = new MgMap(); >> >> map.Open(resourceService, smgMap); >> >> Resource was not found: >> >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > >> leburyTwp.Map >> >> Description: An unhandled exception occurred during the execution of >> > the > >> current web request. Please review the stack trace for more >> > information > >> about the error and where it originated in the code. >> >> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: >> > Resource > >> was not found: >> >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > >> leburyTwp.Map >> >> Source Error: >> >> >> >> Line 28: MgResourceService resourceService = >> siteConnection.CreateService(MgServiceType.ResourceService) as >> MgResourceService; >> >> Line 29: MgMap map = new MgMap(); >> >> Line 30: map.Open(resourceService, smgMap); >> >> >> >> Brian Berdel >> >> McMahon Associates, Inc. >> >> p: 215.283.9444 >> >> www.mcmtrans.com >> >> >> >> >> >> Brian Berdel >> >> Applications Development Manager >> >> >> >> McMahon Associates, Inc. >> >> 425 Commerce Drive, Suite 200 >> >> Fort Washington, Pennsylvania 19034 >> >> p: 215.283.9444 >> >> f: 215.283.9858 >> >> brian.berdel@mcmtrans.com >> >> >> >> >> >> New England | Mid-Atlantic | Florida >> >> >> >> >> >> >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/84d3b698/attachment.html From traian.stanev at autodesk.com Thu Apr 17 09:32:55 2008 From: traian.stanev at autodesk.com (Traian Stanev) Date: Thu Apr 17 09:32:57 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <16742886.post@talk.nabble.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> <16739625.post@talk.nabble.com> <4806FC29.1020801@geograf.dk> <16742886.post@talk.nabble.com> Message-ID: You need to have the user name and password in the connection string, and not in the separate username and password fields that you see in Studio. So something like: MYSQL:database,username=myself,password=secret,host=mycomputer,port=666 Is this what you are doing? Traian > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users- > bounces@lists.osgeo.org] On Behalf Of Krunoslav > Sent: Thursday, April 17, 2008 6:09 AM > To: mapguide-users@lists.osgeo.org > Subject: Re: [mapguide-users] Precision when selecting polygons > > > > > Kenneth, GEOGRAF A/S wrote: > > > > My instructions for installing OGR are: > > 1. Delete the FDO folder from MgOS > > 2. Download FDO WindowsSDK > > 3. Extract Bin folder from WindowsSDK > > 4. Rename Bin FDO and place as folder deleted in step 1 > > > > > > Thanks, works great. Still I can't connect to MySQL with OGR: I > followed > instructions from here > http://gdal.osgeo.org/ogr/drv_mysql.html > > So, feature source looks like this: > > Data Source: MySQL:somedatabase > > User name: username > Password: password > > When i press Test Connection, following error occures: > > System.FormatException: String was not recognized as a valid Boolean. > at System.Boolean.Parse(String value) > at > Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String > resourceId, String provider, String connectionString) > at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection() > > > -- > View this message in context: http://www.nabble.com/Precision-when- > selecting-polygons-tp16718926s16610p16742886.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 From jack.lee at autodesk.com Thu Apr 17 09:56:55 2008 From: jack.lee at autodesk.com (Jack Lee) Date: Thu Apr 17 09:58:17 2008 Subject: [mapguide-users] Problem compil ./thirdparty.sh In-Reply-To: <2cc7a1210804170337q4bc65f27sfbfdfa254221be41@mail.gmail.com> References: <2cc7a1210804170337q4bc65f27sfbfdfa254221be41@mail.gmail.com> Message-ID: Hi, You can ignore these warnings. ________________________________ From: mapguide-users-bounces@lists.osgeo.org [mapguide-users-bounces@lists.osgeo.org] On Behalf Of J?r?mie Formica [jeremie.formica@gmail.com] Sent: Thursday, April 17, 2008 6:37 AM To: MapGuide Users Mail List Subject: [mapguide-users] Problem compil ./thirdparty.sh Hello, When I run ./thirdparty.sh, I can see that : acinclude.m4:12: warning: underquoted definition of FDO_SUBST acinclude.m4:19: warning: underquoted definition of FDO_FAST_OUTPUT acinclude.m4:25: warning: underquoted definition of FDO_GEN_CONFIG_VARS acinclude.m4:66: warning: underquoted definition of FDO_GENERATE_MAKEFILES acinclude.m4:73: warning: underquoted definition of FDO_OUTPUT acinclude.m4:82: warning: underquoted definition of FDO_DEFINE_TYPE_RLIM_T acinclude.m4:107: warning: underquoted definition of FDO_SUBST_EXPANDED_ARG acinclude.m4:114: warning: underquoted definition of FDO_EXPORT_ARGUMENTS But the library is create in directory usr/local/fdo-3.0.3 Warnings are dangerous or not? Thank's you. From zac.spitzer at gmail.com Thu Apr 17 10:06:17 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Thu Apr 17 10:06:21 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804170609s349bf48dk3108182e270f2798@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> <16743938.post@talk.nabble.com> <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> <7a85053e0804170552o15e8ea09r4198f79dfdc0f81a@mail.gmail.com> <2cc7a1210804170609s349bf48dk3108182e270f2798@mail.gmail.com> Message-ID: <7a85053e0804170706u79f694b2u450abbfd6617d383@mail.gmail.com> the test case data for mapguide is here http://svn.osgeo.org/mapguide/trunk/MgDev/UnitTest/ On Thu, Apr 17, 2008 at 11:09 PM, J?r?mie Formica wrote: > What is it "the test case"?? How make this test? > > Thank's you very much for your help > > 2008/4/17, Zac Spitzer : > > > did you download the test case data from subversion and run the test > cases? > > > > On Thu, Apr 17, 2008 at 10:43 PM, J?r?mie Formica > > > > wrote: > > > > > I have install firebug and they are any error. > > > When I click on the map I can see the different action who are make ( > > > GET(.....)) But they are nothing... > > > > > > > > > > > > > > > 2008/4/17, Jackie C. Ng : > > > > > > > > Try installing firebug. See if there are any errors thrown. > > > > > > > > - Jackie > > > > > > > > > > > > > > > > J?r?mie Formica wrote: > > > > > > > > > > No I have Firefox 1.5 and I have try with IE 7. But the the same > > > result... > > > > > Please Help me :( > > > > > > > > > > 2008/4/17, Jackie C Ng : > > > > >> > > > > >> > > > > >> Are you using the latest betas of Firefox 3 by any chance? > > > > >> > > > > >> - Jackie > > > > >> > > > > >> > > > > >> > > > > >> J?r?mie Formica wrote: > > > > >> > > > > > >> > hello, > > > > >> > > > > > >> > I have install mapguideOS 2 on centOs5. When I go on > > > > >> > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, > > > I > > > > >> see > > > > >> > the application but not the map. I have load sheboygan.mgp. > > > > >> > I join a screen shot to understand my problem. > > > > >> > Thanks you. > > > > >> > > > > > >> > > > > > >> > > > > >> > _______________________________________________ > > > > >> > mapguide-users mailing list > > > > >> > mapguide-users@lists.osgeo.org > > > > >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > >> > > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> ----- > > > > >> http://themapguyde.blogspot.com > > > > >> > > > > >> http://www.linkedin.com/in/jackieng > > > > >> > > > > >> -- > > > > >> View this message in context: > > > > >> > > > > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > > > > > > > > > > > > > > > > > > > > > > ----- > > > > http://themapguyde.blogspot.com > > > > > > > > http://www.linkedin.com/in/jackieng > > > > -- > > > > > > > > View this message in context: > > > > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16743938.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 > > > > > > > > > > > > > > -- > > > > Zac Spitzer - > > http://zacster.blogspot.com (My Blog) > > +61 405 847 168 > > _______________________________________________ > > > > 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 > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From jeremie.formica at gmail.com Thu Apr 17 10:19:48 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Thu Apr 17 10:19:53 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <7a85053e0804170706u79f694b2u450abbfd6617d383@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com> <16736635.post@talk.nabble.com> <2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com> <16743938.post@talk.nabble.com> <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> <7a85053e0804170552o15e8ea09r4198f79dfdc0f81a@mail.gmail.com> <2cc7a1210804170609s349bf48dk3108182e270f2798@mail.gmail.com> <7a85053e0804170706u79f694b2u450abbfd6617d383@mail.gmail.com> Message-ID: <2cc7a1210804170719m5749670dg20108f00efc2bc6f@mail.gmail.com> OK thanks you but where i copy that?? and after how I test that?? Thanks 2008/4/17, Zac Spitzer : > > the test case data for mapguide is here > http://svn.osgeo.org/mapguide/trunk/MgDev/UnitTest/ > > On Thu, Apr 17, 2008 at 11:09 PM, J?r?mie Formica > > wrote: > > What is it "the test case"?? How make this test? > > > > Thank's you very much for your help > > > > 2008/4/17, Zac Spitzer : > > > > > did you download the test case data from subversion and run the test > > cases? > > > > > > On Thu, Apr 17, 2008 at 10:43 PM, J?r?mie Formica > > > > > > wrote: > > > > > > > I have install firebug and they are any error. > > > > When I click on the map I can see the different action who are make > ( > > > > GET(.....)) But they are nothing... > > > > > > > > > > > > > > > > > > > > 2008/4/17, Jackie C. Ng : > > > > > > > > > > Try installing firebug. See if there are any errors thrown. > > > > > > > > > > - Jackie > > > > > > > > > > > > > > > > > > > > J?r?mie Formica wrote: > > > > > > > > > > > > No I have Firefox 1.5 and I have try with IE 7. But the the same > > > > result... > > > > > > Please Help me :( > > > > > > > > > > > > 2008/4/17, Jackie C Ng : > > > > > >> > > > > > >> > > > > > >> Are you using the latest betas of Firefox 3 by any chance? > > > > > >> > > > > > >> - Jackie > > > > > >> > > > > > >> > > > > > >> > > > > > >> J?r?mie Formica wrote: > > > > > >> > > > > > > >> > hello, > > > > > >> > > > > > > >> > I have install mapguideOS 2 on centOs5. When I go on > > > > > >> > > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php, > > > > I > > > > > >> see > > > > > >> > the application but not the map. I have load sheboygan.mgp. > > > > > >> > I join a screen shot to understand my problem. > > > > > >> > Thanks you. > > > > > >> > > > > > > >> > > > > > > >> > > > > > >> > _______________________________________________ > > > > > >> > mapguide-users mailing list > > > > > >> > mapguide-users@lists.osgeo.org > > > > > >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> ----- > > > > > >> http://themapguyde.blogspot.com > > > > > >> > > > > > >> http://www.linkedin.com/in/jackieng > > > > > >> > > > > > >> -- > > > > > >> View this message in context: > > > > > >> > > > > > > > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16736635.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 > > > > > > > > > > > > > > > > > > > > > > > > > > > ----- > > > > > http://themapguyde.blogspot.com > > > > > > > > > > http://www.linkedin.com/in/jackieng > > > > > -- > > > > > > > > > > View this message in context: > > > > > > > http://www.nabble.com/Problem-map-Sheboygan-tp16718708s16610p16743938.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 > > > > > > > > > > > > > > > > > > > > -- > > > > > > Zac Spitzer - > > > http://zacster.blogspot.com (My Blog) > > > +61 405 847 168 > > > _______________________________________________ > > > > > > 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 > > > > > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/f58621c3/attachment.html From a.morf at fkl.ch Thu Apr 17 10:49:50 2008 From: a.morf at fkl.ch (Andreas Morf) Date: Thu Apr 17 11:53:02 2008 Subject: [mapguide-users] Broken Symbolisation of CompositeTypeStyle (AreaUsage)? Message-ID: <00b401c8a09a$4a432020$dec96060$@morf@fkl.ch> Hi all, As I migrated a project from my beta-site to MG OS 2.0.0 I got the following problem: A layer definition (polygon) which was rendered before - and now just nothing is visible anymore. Anyone an idea? Does anyone know about the plan of rendering the legend items for Line-CompositeTypeStyles? This was Ticket#43 for 1.2.0 and is not working in 2.0.0 Greets, Andreas Broken Layerdef: Library://test/Daten/AV_BB_Boflaeche.FeatureSource Default:Boflaeche_Polygon FeatureClass Geometry Bobe area M -2.0,2.0 L 2.0,-2.0 88000000 ff770000 1.1 M -2,-2 L 2,2 88000000 ffff0000 1 4.0 4.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/73fbf6a2/attachment.html From Jason.Birch at nanaimo.ca Thu Apr 17 12:11:38 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 17 12:11:40 2008 Subject: [mapguide-users] mapguide search site In-Reply-To: <7a85053e0804170454i4f30cbc5hc726bd570134d792@mail.gmail.com> References: <7a85053e0804170454i4f30cbc5hc726bd570134d792@mail.gmail.com> Message-ID: <8E468917B01800408B91984428BE03DD072A6135@starfish.nanaimo.ca> Cool idea Zac. We could probably look at integrating this; at least linking from trac. Are you willing to share control of the CSE? Jason -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: Thursday, April 17, 2008 04:54 To: MapGuide Users Mail List Subject: [mapguide-users] mapguide search site I just created a mapguide specific search engine on google http://www.google.com/coop/cse?cx=012929665973257206593:temf_hz4pxe z -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users From Jason.Birch at nanaimo.ca Thu Apr 17 12:39:45 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 17 12:39:47 2008 Subject: [mapguide-users] Problem map Sheboygan In-Reply-To: <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> References: <2cc7a1210804160120g559c51aegf471eaa49f02a1e3@mail.gmail.com><16736635.post@talk.nabble.com><2cc7a1210804170008r55190b87h500ff59bb24e6631@mail.gmail.com><16743938.post@talk.nabble.com> <2cc7a1210804170543q423dc476u273f80a7fa622e14@mail.gmail.com> Message-ID: <8E468917B01800408B91984428BE03DD072A613A@starfish.nanaimo.ca> By default, the php.ini for MapGuide's bundled PHP version is set to not display errors, so it's possible to be getting exceptions and not see them. Don't know if this is relevant in your case, but thought I'd put it out there anyway. Jason From: J?r?mie Formica Subject: Re: [mapguide-users] Problem map Sheboygan I have install firebug and they are any error. When I click on the map I can see the different action who are make ( GET(.....)) But they are nothing... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/4e9fad0c/attachment.html From Jason.Birch at nanaimo.ca Thu Apr 17 12:40:40 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 17 12:40:41 2008 Subject: [mapguide-users] Problem ./UnitTest FDO In-Reply-To: <2cc7a1210804170556v3e36f6dfl8b9cdbc0dcb2ec18@mail.gmail.com> References: <2cc7a1210804170556v3e36f6dfl8b9cdbc0dcb2ec18@mail.gmail.com> Message-ID: <8E468917B01800408B91984428BE03DD072A613B@starfish.nanaimo.ca> I'd suggest posting this to the FDO-users mailing list instead... Jason From: J?r?mie Formica Subject: [mapguide-users] Problem ./UnitTest FDO Hello when I execute ./UnitTest In DIrectory /OpenSource_FDO/Providers/SDF/Src/UnitTest they are many error. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/f8721ddb/attachment.html From jumpinjackie at gmail.com Thu Apr 17 12:44:23 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Thu Apr 17 12:44:24 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: <16736574.post@talk.nabble.com> Message-ID: <16746611.post@talk.nabble.com> The reason I ask is that fusion does map names differently from the normal ajax viewer. I think it's of the form [MapName][some long guid] instead of [MapName] - Jackie Berdel, Brian wrote: > > Hi Jackie, > I am actually passing it via a session variable from another Sub. It is > the correct value. And like I said the code does work in the regular > Ajax viewer. > > String smgMap = (Session["smgMap"]).ToString(); > > Brian > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C Ng > Sent: Wednesday, April 16, 2008 8:45 PM > To: mapguide-users@lists.osgeo.org > Subject: Re: [mapguide-users] .NET Fusion > > > Where are you getting that value of the variable smgMap ? > > - Jackie > > > Berdel, Brian wrote: >> >> If I try to access a map via .net fusion I always get this > error...Code >> works fine in regular viewer. I have heard conflicting reports of >> Fusion and .NET can someone please clarify? >> >> >> >> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >> >> MgSiteConnection siteConnection = new MgSiteConnection(); >> >> siteConnection.Open(userInfo); >> >> MgResourceService resourceService = >> siteConnection.CreateService(MgServiceType.ResourceService) as >> MgResourceService; >> >> MgMap map = new MgMap(); >> >> map.Open(resourceService, smgMap); >> >> Resource was not found: >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> leburyTwp.Map >> >> Description: An unhandled exception occurred during the execution of > the >> current web request. Please review the stack trace for more > information >> about the error and where it originated in the code. >> >> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: > Resource >> was not found: >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> leburyTwp.Map >> >> Source Error: >> >> >> >> Line 28: MgResourceService resourceService = >> siteConnection.CreateService(MgServiceType.ResourceService) as >> MgResourceService; >> >> Line 29: MgMap map = new MgMap(); >> >> Line 30: map.Open(resourceService, smgMap); >> >> >> >> Brian Berdel >> >> McMahon Associates, Inc. >> >> p: 215.283.9444 >> >> www.mcmtrans.com >> >> >> >> >> >> Brian Berdel >> >> Applications Development Manager >> >> >> >> McMahon Associates, Inc. >> >> 425 Commerce Drive, Suite 200 >> >> Fort Washington, Pennsylvania 19034 >> >> p: 215.283.9444 >> >> f: 215.283.9858 >> >> brian.berdel@mcmtrans.com >> >> >> >> >> >> New England | Mid-Atlantic | Florida >> >> >> >> >> >> >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> > > -- > View this message in context: > http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16746611.html Sent from the MapGuide Users mailing list archive at Nabble.com. From madair at dmsolutions.ca Thu Apr 17 12:50:40 2008 From: madair at dmsolutions.ca (Mike Adair) Date: Thu Apr 17 12:50:43 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <16746611.post@talk.nabble.com> References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com> Message-ID: <48077FE0.9090207@dmsolutions.ca> Fusion itself doesn't run under .NET, at least as far as I know. Mike Jackie C. Ng wrote: > The reason I ask is that fusion does map names differently from the normal > ajax viewer. I think it's of the form [MapName][some long guid] instead of > [MapName] > > - Jackie > > > Berdel, Brian wrote: > >> Hi Jackie, >> I am actually passing it via a session variable from another Sub. It is >> the correct value. And like I said the code does work in the regular >> Ajax viewer. >> >> String smgMap = (Session["smgMap"]).ToString(); >> >> Brian >> >> -----Original Message----- >> From: mapguide-users-bounces@lists.osgeo.org >> [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C Ng >> Sent: Wednesday, April 16, 2008 8:45 PM >> To: mapguide-users@lists.osgeo.org >> Subject: Re: [mapguide-users] .NET Fusion >> >> >> Where are you getting that value of the variable smgMap ? >> >> - Jackie >> >> >> Berdel, Brian wrote: >> >>> If I try to access a map via .net fusion I always get this >>> >> error...Code >> >>> works fine in regular viewer. I have heard conflicting reports of >>> Fusion and .NET can someone please clarify? >>> >>> >>> >>> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >>> >>> MgSiteConnection siteConnection = new MgSiteConnection(); >>> >>> siteConnection.Open(userInfo); >>> >>> MgResourceService resourceService = >>> siteConnection.CreateService(MgServiceType.ResourceService) as >>> MgResourceService; >>> >>> MgMap map = new MgMap(); >>> >>> map.Open(resourceService, smgMap); >>> >>> Resource was not found: >>> >>> >> Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> >>> leburyTwp.Map >>> >>> Description: An unhandled exception occurred during the execution of >>> >> the >> >>> current web request. Please review the stack trace for more >>> >> information >> >>> about the error and where it originated in the code. >>> >>> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: >>> >> Resource >> >>> was not found: >>> >>> >> Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> >>> leburyTwp.Map >>> >>> Source Error: >>> >>> >>> >>> Line 28: MgResourceService resourceService = >>> siteConnection.CreateService(MgServiceType.ResourceService) as >>> MgResourceService; >>> >>> Line 29: MgMap map = new MgMap(); >>> >>> Line 30: map.Open(resourceService, smgMap); >>> >>> >>> >>> Brian Berdel >>> >>> McMahon Associates, Inc. >>> >>> p: 215.283.9444 >>> >>> www.mcmtrans.com >>> >>> >>> >>> >>> >>> Brian Berdel >>> >>> Applications Development Manager >>> >>> >>> >>> McMahon Associates, Inc. >>> >>> 425 Commerce Drive, Suite 200 >>> >>> Fort Washington, Pennsylvania 19034 >>> >>> p: 215.283.9444 >>> >>> f: 215.283.9858 >>> >>> brian.berdel@mcmtrans.com >>> >>> >>> >>> >>> >>> New England | Mid-Atlantic | Florida >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> mapguide-users mailing list >>> mapguide-users@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >>> >>> >> -- >> View this message in context: >> http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 >> >> >> > > > ----- > http://themapguyde.blogspot.com > > http://www.linkedin.com/in/jackieng > From brian.berdel at mcmtrans.com Thu Apr 17 13:20:27 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Thu Apr 17 13:20:29 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <16746611.post@talk.nabble.com> References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com> Message-ID: Ok, I was setting that myself so that would make sense. So you have to grab the name programmatically then? You cannot specify yourself? I guess unless you know that ID. Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C. Ng Sent: Thursday, April 17, 2008 12:44 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] .NET Fusion The reason I ask is that fusion does map names differently from the normal ajax viewer. I think it's of the form [MapName][some long guid] instead of [MapName] - Jackie Berdel, Brian wrote: > > Hi Jackie, > I am actually passing it via a session variable from another Sub. It is > the correct value. And like I said the code does work in the regular > Ajax viewer. > > String smgMap = (Session["smgMap"]).ToString(); > > Brian > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C Ng > Sent: Wednesday, April 16, 2008 8:45 PM > To: mapguide-users@lists.osgeo.org > Subject: Re: [mapguide-users] .NET Fusion > > > Where are you getting that value of the variable smgMap ? > > - Jackie > > > Berdel, Brian wrote: >> >> If I try to access a map via .net fusion I always get this > error...Code >> works fine in regular viewer. I have heard conflicting reports of >> Fusion and .NET can someone please clarify? >> >> >> >> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >> >> MgSiteConnection siteConnection = new MgSiteConnection(); >> >> siteConnection.Open(userInfo); >> >> MgResourceService resourceService = >> siteConnection.CreateService(MgServiceType.ResourceService) as >> MgResourceService; >> >> MgMap map = new MgMap(); >> >> map.Open(resourceService, smgMap); >> >> Resource was not found: >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> leburyTwp.Map >> >> Description: An unhandled exception occurred during the execution of > the >> current web request. Please review the stack trace for more > information >> about the error and where it originated in the code. >> >> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: > Resource >> was not found: >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> leburyTwp.Map >> >> Source Error: >> >> >> >> Line 28: MgResourceService resourceService = >> siteConnection.CreateService(MgServiceType.ResourceService) as >> MgResourceService; >> >> Line 29: MgMap map = new MgMap(); >> >> Line 30: map.Open(resourceService, smgMap); >> >> >> >> Brian Berdel >> >> McMahon Associates, Inc. >> >> p: 215.283.9444 >> >> www.mcmtrans.com >> >> >> >> >> >> Brian Berdel >> >> Applications Development Manager >> >> >> >> McMahon Associates, Inc. >> >> 425 Commerce Drive, Suite 200 >> >> Fort Washington, Pennsylvania 19034 >> >> p: 215.283.9444 >> >> f: 215.283.9858 >> >> brian.berdel@mcmtrans.com >> >> >> >> >> >> New England | Mid-Atlantic | Florida >> >> >> >> >> >> >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> > > -- > View this message in context: > http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16746611.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 From nclayton at gmail.com Thu Apr 17 13:54:24 2008 From: nclayton at gmail.com (nclayton) Date: Thu Apr 17 13:54:26 2008 Subject: [mapguide-users] Can you execute an FDO Spatial filter on x,y data in oledb datasource? In-Reply-To: <16746846.post@talk.nabble.com> References: <16746846.post@talk.nabble.com> Message-ID: <16749182.post@talk.nabble.com> Nick Adams wrote: > > What I would like to do is to apply this same polygon to a database of > points where rather than being a geometry type they are stored as x,y > pairs in separate columns. > In your connection to the data in MapGuide Studio, you can define X,Y columns as a geometry type for tables. Under the Connection String section, there is a section labeled "Define geometry properties to create spatial feature classes (optional)" Click the "Show tables" button to display your databases tables. Put a check in the box for the "Geometry?" column, then select your X,Y and possibly Z columns. Then specify the coordinate system to apply. Hope this helps. -- View this message in context: http://www.nabble.com/Can-you-execute-an-FDO-Spatial-filter-on-x%2Cy-data-in-oledb-datasource--tp16746846s16610p16749182.html Sent from the MapGuide Users mailing list archive at Nabble.com. From brian.berdel at mcmtrans.com Thu Apr 17 13:59:33 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Thu Apr 17 13:59:35 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <48077FE0.9090207@dmsolutions.ca> References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com> <48077FE0.9090207@dmsolutions.ca> Message-ID: Mike it actually does because I am able to use the featurereader...I just cannot open a map. Anyone know how to get the ID? Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Mike Adair Sent: Thursday, April 17, 2008 12:51 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] .NET Fusion Fusion itself doesn't run under .NET, at least as far as I know. Mike Jackie C. Ng wrote: > The reason I ask is that fusion does map names differently from the normal > ajax viewer. I think it's of the form [MapName][some long guid] instead of > [MapName] > > - Jackie > > > Berdel, Brian wrote: > >> Hi Jackie, >> I am actually passing it via a session variable from another Sub. It is >> the correct value. And like I said the code does work in the regular >> Ajax viewer. >> >> String smgMap = (Session["smgMap"]).ToString(); >> >> Brian >> >> -----Original Message----- >> From: mapguide-users-bounces@lists.osgeo.org >> [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C Ng >> Sent: Wednesday, April 16, 2008 8:45 PM >> To: mapguide-users@lists.osgeo.org >> Subject: Re: [mapguide-users] .NET Fusion >> >> >> Where are you getting that value of the variable smgMap ? >> >> - Jackie >> >> >> Berdel, Brian wrote: >> >>> If I try to access a map via .net fusion I always get this >>> >> error...Code >> >>> works fine in regular viewer. I have heard conflicting reports of >>> Fusion and .NET can someone please clarify? >>> >>> >>> >>> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >>> >>> MgSiteConnection siteConnection = new MgSiteConnection(); >>> >>> siteConnection.Open(userInfo); >>> >>> MgResourceService resourceService = >>> siteConnection.CreateService(MgServiceType.ResourceService) as >>> MgResourceService; >>> >>> MgMap map = new MgMap(); >>> >>> map.Open(resourceService, smgMap); >>> >>> Resource was not found: >>> >>> >> Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> >>> leburyTwp.Map >>> >>> Description: An unhandled exception occurred during the execution of >>> >> the >> >>> current web request. Please review the stack trace for more >>> >> information >> >>> about the error and where it originated in the code. >>> >>> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: >>> >> Resource >> >>> was not found: >>> >>> >> Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >> >>> leburyTwp.Map >>> >>> Source Error: >>> >>> >>> >>> Line 28: MgResourceService resourceService = >>> siteConnection.CreateService(MgServiceType.ResourceService) as >>> MgResourceService; >>> >>> Line 29: MgMap map = new MgMap(); >>> >>> Line 30: map.Open(resourceService, smgMap); >>> >>> >>> >>> Brian Berdel >>> >>> McMahon Associates, Inc. >>> >>> p: 215.283.9444 >>> >>> www.mcmtrans.com >>> >>> >>> >>> >>> >>> Brian Berdel >>> >>> Applications Development Manager >>> >>> >>> >>> McMahon Associates, Inc. >>> >>> 425 Commerce Drive, Suite 200 >>> >>> Fort Washington, Pennsylvania 19034 >>> >>> p: 215.283.9444 >>> >>> f: 215.283.9858 >>> >>> brian.berdel@mcmtrans.com >>> >>> >>> >>> >>> >>> New England | Mid-Atlantic | Florida >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> mapguide-users mailing list >>> mapguide-users@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >>> >>> >> -- >> View this message in context: >> http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 >> >> >> > > > ----- > http://themapguyde.blogspot.com > > http://www.linkedin.com/in/jackieng > _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users From Jason.Birch at nanaimo.ca Thu Apr 17 14:19:30 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 17 14:19:31 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com><48077FE0.9090207@dmsolutions.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A6141@starfish.nanaimo.ca> As far as I know, Fusion works with a .Net install, but you can't write widgets in .Net unless you re-write the entire widget stack in this language. This is something that I'd be interested in seeing, but only from an academic perspective. :) Brian, how are you integrating .Net into Fusion? With a task pane application? I wonder if there is a JavaScript function that returns the map ID? Jason -----Original Message----- From: Berdel, Brian Subject: RE: [mapguide-users] .NET Fusion Mike it actually does because I am able to use the featurereader...I just cannot open a map. Anyone know how to get the ID? From brian.berdel at mcmtrans.com Thu Apr 17 14:31:22 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Thu Apr 17 14:31:24 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <8E468917B01800408B91984428BE03DD072A6141@starfish.nanaimo.ca> References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com><48077FE0.9090207@dmsolutions.ca> <8E468917B01800408B91984428BE03DD072A6141@starfish.nanaimo.ca> Message-ID: You are correct about the widgets and .NET, I actually started converting them a while back, but I haven't been able to dedicate enough time to it... And yes I am using the task pane, and the feature reader works fine for accessing a layer by layer name and session variable, but if I try to open a map via the name it always tells me it cannot find...One other question I would have about fusion is how to access the mapframe from the task pane... parent.parent.mapframe does not exist. I saw the documentation about building a fusion template, but I a haven't really been able to get a handle on the structure as it relates to the regular AJAX viewer. Thanks, Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jason Birch Sent: Thursday, April 17, 2008 2:20 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] .NET Fusion As far as I know, Fusion works with a .Net install, but you can't write widgets in .Net unless you re-write the entire widget stack in this language. This is something that I'd be interested in seeing, but only from an academic perspective. :) Brian, how are you integrating .Net into Fusion? With a task pane application? I wonder if there is a JavaScript function that returns the map ID? Jason -----Original Message----- From: Berdel, Brian Subject: RE: [mapguide-users] .NET Fusion Mike it actually does because I am able to use the featurereader...I just cannot open a map. Anyone know how to get the ID? _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users From jumpinjackie at gmail.com Thu Apr 17 14:42:44 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Thu Apr 17 14:42:46 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: Message-ID: <16750971.post@talk.nabble.com> Is this code that would normally execute in a Task Pane? - Jackie Berdel, Brian wrote: > > If I try to access a map via .net fusion I always get this error...Code > works fine in regular viewer. I have heard conflicting reports of > Fusion and .NET can someone please clarify? > > > > MgUserInformation userInfo = new MgUserInformation(mgSessionId); > > MgSiteConnection siteConnection = new MgSiteConnection(); > > siteConnection.Open(userInfo); > > MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > MgMap map = new MgMap(); > > map.Open(resourceService, smgMap); > > Resource was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information > about the error and where it originated in the code. > > Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: Resource > was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Source Error: > > > > Line 28: MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > Line 29: MgMap map = new MgMap(); > > Line 30: map.Open(resourceService, smgMap); > > > > Brian Berdel > > McMahon Associates, Inc. > > p: 215.283.9444 > > www.mcmtrans.com > > > > > > Brian Berdel > > Applications Development Manager > > > > McMahon Associates, Inc. > > 425 Commerce Drive, Suite 200 > > Fort Washington, Pennsylvania 19034 > > p: 215.283.9444 > > f: 215.283.9858 > > brian.berdel@mcmtrans.com > > > > > > New England | Mid-Atlantic | Florida > > > > > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16750971.html Sent from the MapGuide Users mailing list archive at Nabble.com. From brian.berdel at mcmtrans.com Thu Apr 17 15:04:54 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Thu Apr 17 15:04:56 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <16750971.post@talk.nabble.com> References: <16750971.post@talk.nabble.com> Message-ID: Yes, I run it from the Task Pane in the regular viewer. Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C. Ng Sent: Thursday, April 17, 2008 2:43 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] .NET Fusion Is this code that would normally execute in a Task Pane? - Jackie Berdel, Brian wrote: > > If I try to access a map via .net fusion I always get this error...Code > works fine in regular viewer. I have heard conflicting reports of > Fusion and .NET can someone please clarify? > > > > MgUserInformation userInfo = new MgUserInformation(mgSessionId); > > MgSiteConnection siteConnection = new MgSiteConnection(); > > siteConnection.Open(userInfo); > > MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > MgMap map = new MgMap(); > > map.Open(resourceService, smgMap); > > Resource was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information > about the error and where it originated in the code. > > Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: Resource > was not found: > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > leburyTwp.Map > > Source Error: > > > > Line 28: MgResourceService resourceService = > siteConnection.CreateService(MgServiceType.ResourceService) as > MgResourceService; > > Line 29: MgMap map = new MgMap(); > > Line 30: map.Open(resourceService, smgMap); > > > > Brian Berdel > > McMahon Associates, Inc. > > p: 215.283.9444 > > www.mcmtrans.com > > > > > > Brian Berdel > > Applications Development Manager > > > > McMahon Associates, Inc. > > 425 Commerce Drive, Suite 200 > > Fort Washington, Pennsylvania 19034 > > p: 215.283.9444 > > f: 215.283.9858 > > brian.berdel@mcmtrans.com > > > > > > New England | Mid-Atlantic | Florida > > > > > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16750971.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 From jumpinjackie at gmail.com Thu Apr 17 15:38:24 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Thu Apr 17 15:38:25 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com> Message-ID: <16752349.post@talk.nabble.com> Is this executing from the task pane? If so, the initial url will receive the MAPNAME get parameter from fusion. You can store it in your session bag there. - Jackie Berdel, Brian wrote: > > Ok, I was setting that myself so that would make sense. So you have to > grab the name programmatically then? You cannot specify yourself? I > guess unless you know that ID. > > Brian Berdel > McMahon Associates, Inc. > p: 215.283.9444 > www.mcmtrans.com > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C. > Ng > Sent: Thursday, April 17, 2008 12:44 PM > To: mapguide-users@lists.osgeo.org > Subject: RE: [mapguide-users] .NET Fusion > > > The reason I ask is that fusion does map names differently from the > normal > ajax viewer. I think it's of the form [MapName][some long guid] instead > of > [MapName] > > - Jackie > > > Berdel, Brian wrote: >> >> Hi Jackie, >> I am actually passing it via a session variable from another Sub. It > is >> the correct value. And like I said the code does work in the regular >> Ajax viewer. >> >> String smgMap = (Session["smgMap"]).ToString(); >> >> Brian >> >> -----Original Message----- >> From: mapguide-users-bounces@lists.osgeo.org >> [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C > Ng >> Sent: Wednesday, April 16, 2008 8:45 PM >> To: mapguide-users@lists.osgeo.org >> Subject: Re: [mapguide-users] .NET Fusion >> >> >> Where are you getting that value of the variable smgMap ? >> >> - Jackie >> >> >> Berdel, Brian wrote: >>> >>> If I try to access a map via .net fusion I always get this >> error...Code >>> works fine in regular viewer. I have heard conflicting reports of >>> Fusion and .NET can someone please clarify? >>> >>> >>> >>> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >>> >>> MgSiteConnection siteConnection = new MgSiteConnection(); >>> >>> siteConnection.Open(userInfo); >>> >>> MgResourceService resourceService = >>> siteConnection.CreateService(MgServiceType.ResourceService) as >>> MgResourceService; >>> >>> MgMap map = new MgMap(); >>> >>> map.Open(resourceService, smgMap); >>> >>> Resource was not found: >>> >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >>> leburyTwp.Map >>> >>> Description: An unhandled exception occurred during the execution of >> the >>> current web request. Please review the stack trace for more >> information >>> about the error and where it originated in the code. >>> >>> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: >> Resource >>> was not found: >>> >> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So >>> leburyTwp.Map >>> >>> Source Error: >>> >>> >>> >>> Line 28: MgResourceService resourceService = >>> siteConnection.CreateService(MgServiceType.ResourceService) as >>> MgResourceService; >>> >>> Line 29: MgMap map = new MgMap(); >>> >>> Line 30: map.Open(resourceService, smgMap); >>> >>> >>> >>> Brian Berdel >>> >>> McMahon Associates, Inc. >>> >>> p: 215.283.9444 >>> >>> www.mcmtrans.com >>> >>> >>> >>> >>> >>> Brian Berdel >>> >>> Applications Development Manager >>> >>> >>> >>> McMahon Associates, Inc. >>> >>> 425 Commerce Drive, Suite 200 >>> >>> Fort Washington, Pennsylvania 19034 >>> >>> p: 215.283.9444 >>> >>> f: 215.283.9858 >>> >>> brian.berdel@mcmtrans.com >>> >>> >>> >>> >>> >>> New England | Mid-Atlantic | Florida >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> mapguide-users mailing list >>> mapguide-users@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 >> >> > > > ----- > http://themapguyde.blogspot.com > > http://www.linkedin.com/in/jackieng > -- > View this message in context: > http://www.nabble.com/.NET-Fusion-tp16722611s16610p16746611.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 > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/.NET-Fusion-tp16722611s16610p16752349.html Sent from the MapGuide Users mailing list archive at Nabble.com. From madair at dmsolutions.ca Thu Apr 17 15:49:05 2008 From: madair at dmsolutions.ca (Mike Adair) Date: Thu Apr 17 15:49:11 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com> <48077FE0.9090207@dmsolutions.ca> Message-ID: <4807A9B1.8010704@dmsolutions.ca> Well perhaps I am misunderstanding something here then. It is possible that the MGOS side of things are running in a .NET environment, but unless you have converted the PHP scripts in fusion/MapGuide/php to .NET, I don't see how Fusion can run at all. At a bare minimum you would have to convert LoadMap.php, CreateSession.php and their includes. In any case, the the map name is set as follows (in the PHP version of LoadMap): $mapName = uniqid($mapTitle); $mapStateId = new MgResourceIdentifier("Session:" . $sessionID . "//" . $mapName . "." . MgResourceType::Map); where $mapTitle is the map name as set in MGOS and uniqid() returns a unique ID based on the current time. Mike Berdel, Brian wrote: > Mike it actually does because I am able to use the featurereader...I > just cannot open a map. Anyone know how to get the ID? > > Brian Berdel > McMahon Associates, Inc. > p: 215.283.9444 > www.mcmtrans.com > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Mike Adair > Sent: Thursday, April 17, 2008 12:51 PM > To: MapGuide Users Mail List > Subject: Re: [mapguide-users] .NET Fusion > > Fusion itself doesn't run under .NET, at least as far as I know. > > Mike > > Jackie C. Ng wrote: > >> The reason I ask is that fusion does map names differently from the >> > normal > >> ajax viewer. I think it's of the form [MapName][some long guid] >> > instead of > >> [MapName] >> >> - Jackie >> >> >> Berdel, Brian wrote: >> >> >>> Hi Jackie, >>> I am actually passing it via a session variable from another Sub. It >>> > is > >>> the correct value. And like I said the code does work in the regular >>> Ajax viewer. >>> >>> String smgMap = (Session["smgMap"]).ToString(); >>> >>> Brian >>> >>> -----Original Message----- >>> From: mapguide-users-bounces@lists.osgeo.org >>> [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C >>> > Ng > >>> Sent: Wednesday, April 16, 2008 8:45 PM >>> To: mapguide-users@lists.osgeo.org >>> Subject: Re: [mapguide-users] .NET Fusion >>> >>> >>> Where are you getting that value of the variable smgMap ? >>> >>> - Jackie >>> >>> >>> Berdel, Brian wrote: >>> >>> >>>> If I try to access a map via .net fusion I always get this >>>> >>>> >>> error...Code >>> >>> >>>> works fine in regular viewer. I have heard conflicting reports of >>>> Fusion and .NET can someone please clarify? >>>> >>>> >>>> >>>> MgUserInformation userInfo = new MgUserInformation(mgSessionId); >>>> >>>> MgSiteConnection siteConnection = new MgSiteConnection(); >>>> >>>> siteConnection.Open(userInfo); >>>> >>>> MgResourceService resourceService = >>>> siteConnection.CreateService(MgServiceType.ResourceService) as >>>> MgResourceService; >>>> >>>> MgMap map = new MgMap(); >>>> >>>> map.Open(resourceService, smgMap); >>>> >>>> Resource was not found: >>>> >>>> >>>> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > >>> >>> >>>> leburyTwp.Map >>>> >>>> Description: An unhandled exception occurred during the execution of >>>> >>>> >>> the >>> >>> >>>> current web request. Please review the stack trace for more >>>> >>>> >>> information >>> >>> >>>> about the error and where it originated in the code. >>>> >>>> Exception Details: OSGeo.MapGuide.MgResourceNotFoundException: >>>> >>>> >>> Resource >>> >>> >>>> was not found: >>>> >>>> >>>> > Session:ba7530b4-ffff-ffff-800a-00142260e7d1_en_7F0000010AFC0AFB0AFA//So > >>> >>> >>>> leburyTwp.Map >>>> >>>> Source Error: >>>> >>>> >>>> >>>> Line 28: MgResourceService resourceService = >>>> siteConnection.CreateService(MgServiceType.ResourceService) as >>>> MgResourceService; >>>> >>>> Line 29: MgMap map = new MgMap(); >>>> >>>> Line 30: map.Open(resourceService, smgMap); >>>> >>>> >>>> >>>> Brian Berdel >>>> >>>> McMahon Associates, Inc. >>>> >>>> p: 215.283.9444 >>>> >>>> www.mcmtrans.com >>>> >>>> >>>> >>>> >>>> >>>> Brian Berdel >>>> >>>> Applications Development Manager >>>> >>>> >>>> >>>> McMahon Associates, Inc. >>>> >>>> 425 Commerce Drive, Suite 200 >>>> >>>> Fort Washington, Pennsylvania 19034 >>>> >>>> p: 215.283.9444 >>>> >>>> f: 215.283.9858 >>>> >>>> brian.berdel@mcmtrans.com >>>> >>>> >>>> >>>> >>>> >>>> New England | Mid-Atlantic | Florida >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> mapguide-users mailing list >>>> mapguide-users@lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>>> >>>> >>>> >>>> >>> -- >>> View this message in context: >>> http://www.nabble.com/.NET-Fusion-tp16722611s16610p16736574.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 >>> >>> >>> >>> >> ----- >> http://themapguyde.blogspot.com >> >> http://www.linkedin.com/in/jackieng >> >> > _______________________________________________ > 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 > > From traian.stanev at autodesk.com Thu Apr 17 16:06:54 2008 From: traian.stanev at autodesk.com (Traian Stanev) Date: Thu Apr 17 16:06:58 2008 Subject: [mapguide-users] Broken Symbolisation of CompositeTypeStyle (AreaUsage)? In-Reply-To: <00b401c8a09a$4a432020$dec96060$@morf@fkl.ch> References: <00b401c8a09a$4a432020$dec96060$@morf@fkl.ch> Message-ID: Hi Andreas, Polygon fills were temporarily disabled in the MGE/OS 2.0 release. They have been since enabled again in the Subversion trunk. You would need to compile the MGOS source from trunk in order to see polygon styles. Sorry for the inconvenience, and nice polygon fill by the way. Traian From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Andreas Morf Sent: Thursday, April 17, 2008 10:50 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Broken Symbolisation of CompositeTypeStyle (AreaUsage)? Hi all, As I migrated a project from my beta-site to MG OS 2.0.0 I got the following problem: A layer definition (polygon) which was rendered before - and now just nothing is visible anymore... Anyone an idea? Does anyone know about the plan of rendering the legend items for Line-CompositeTypeStyles? This was Ticket#43 for 1.2.0 and is not working in 2.0.0 Greets, Andreas Broken Layerdef: Library://test/Daten/AV_BB_Boflaeche.FeatureSource Default:Boflaeche_Polygon FeatureClass Geometry Bobe area M -2.0,2.0 L 2.0,-2.0 88000000 ff770000 1.1 M -2,-2 L 2,2 88000000 ffff0000 1 4.0 4.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080417/32606914/attachment.html From Jason.Birch at nanaimo.ca Thu Apr 17 16:09:05 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Thu Apr 17 16:09:07 2008 Subject: [mapguide-users] .NET Fusion In-Reply-To: <4807A9B1.8010704@dmsolutions.ca> References: <16736574.post@talk.nabble.com> <16746611.post@talk.nabble.com> <48077FE0.9090207@dmsolutions.ca> <4807A9B1.8010704@dmsolutions.ca> Message-ID: <8E468917B01800408B91984428BE03DD072A6143@starfish.nanaimo.ca> Even when MapGuide is installed as a .Net application under IIS, the PHP extensions are also installed (I believe to support the MapAdmin), so you can run both .Net MapGuide and PHP MapGuide on the same server. In this configuration, Fusion works using the PHP extensions, and you can also use the .Net extension. You're limited to using a single "viewer" virtual directory (or setting up both the PHP viewer directory and the ASPX viewer directly explicitly), but as long as you're using Fusion as your viewer this isn't important. Jason -----Original Message----- From: Mike Adair Subject: Re: [mapguide-users] .NET Fusion Well perhaps I am misunderstanding something here then. It is possible that the MGOS side of things are running in a .NET environment, but unless you have converted the PHP scripts in fusion/MapGuide/php to .NET, I don't see how Fusion can run at all. At a bare minimum you would have to convert LoadMap.php, CreateSession.php and their includes. In any case, the the map name is set as follows (in the PHP version of LoadMap): $mapName = uniqid($mapTitle); $mapStateId = new MgResourceIdentifier("Session:" . $sessionID . "//" . $mapName . "." . MgResourceType::Map); where $mapTitle is the map name as set in MGOS and uniqid() returns a unique ID based on the current time. From ptang83 at yahoo.com Thu Apr 17 17:30:35 2008 From: ptang83 at yahoo.com (ptang83@yahoo.com) Date: Thu Apr 17 17:37:16 2008 Subject: [mapguide-users] demo using Firefox 3.0 beta5 crash webserver. Message-ID: <229933.95692.qm@web31811.mail.mud.yahoo.com> I have installed the windows mapguide 2.0 and I am able to load the package and it looks fine. However, when I load http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php The mapguide webserver crashed. This can be reproduced consistantly. (I didn't see this issue if I use IE to display). Is this a foxfire bug or mapguide bug? Thanks! ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From jumpinjackie at gmail.com Thu Apr 17 18:42:52 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Thu Apr 17 18:42:53 2008 Subject: [mapguide-users] demo using Firefox 3.0 beta5 crash webserver. In-Reply-To: <229933.95692.qm@web31811.mail.mud.yahoo.com> References: <229933.95692.qm@web31811.mail.mud.yahoo.com> Message-ID: <16757346.post@talk.nabble.com> Yes there is a problem, but I currently don't know who's the culprit http://trac.osgeo.org/mapguide/ticket/378 - Jackie ptang83 wrote: > > I have installed the windows mapguide 2.0 and I am able to load the > package and it looks fine. However, when I load > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php > > The mapguide webserver crashed. This can be reproduced consistantly. > (I didn't see this issue if I use IE to display). > > Is this a foxfire bug or mapguide bug? > > Thanks! > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/demo-using-Firefox-3.0-beta5-crash-webserver.-tp16756363s16610p16757346.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Thu Apr 17 19:55:59 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Thu Apr 17 19:56:03 2008 Subject: [mapguide-users] mapguide search site In-Reply-To: <8E468917B01800408B91984428BE03DD072A6135@starfish.nanaimo.ca> References: <7a85053e0804170454i4f30cbc5hc726bd570134d792@mail.gmail.com> <8E468917B01800408B91984428BE03DD072A6135@starfish.nanaimo.ca> Message-ID: <7a85053e0804171655w7e74d225u8a8146c08d561ed9@mail.gmail.com> sure, anyone can jump on as a contributor, the more the merrier :) On Fri, Apr 18, 2008 at 2:11 AM, Jason Birch wrote: > Cool idea Zac. > > We could probably look at integrating this; at least linking from trac. > > Are you willing to share control of the CSE? > > Jason > > > > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Zac Spitzer > Sent: Thursday, April 17, 2008 04:54 > To: MapGuide Users Mail List > Subject: [mapguide-users] mapguide search site > > I just created a mapguide specific search engine on google > http://www.google.com/coop/cse?cx=012929665973257206593:temf_hz4pxe > > z > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > 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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From a_krunoslav at gmx.net Fri Apr 18 00:22:07 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Fri Apr 18 00:22:09 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> <16739625.post@talk.nabble.com> <4806FC29.1020801@geograf.dk> <16742886.post@talk.nabble.com> Message-ID: <16760144.post@talk.nabble.com> Traian Stanev wrote: > > > You need to have the user name and password in the connection string, and > not in the separate username and password fields that you see in Studio. > So something like: > > MYSQL:database,username=myself,password=secret,host=mycomputer,port=666 > > Is this what you are doing? > > > Same thing: MYSQL:database,username=root,password=65lkp12,host=localhost,port=3306 User name and password fields empty, and same error again: System.FormatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String resourceId, String provider, String connectionString) at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection() at Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.TestConnectionControl.buttonTestConnection_Click(Object sender, EventArgs e) Setup: MgOS2.0, Mysql 5.0.37 As stated before, FDO provider for MySQL works fine with this setup. -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16760144.html Sent from the MapGuide Users mailing list archive at Nabble.com. From a_krunoslav at gmx.net Fri Apr 18 01:26:08 2008 From: a_krunoslav at gmx.net (Krunoslav) Date: Fri Apr 18 01:26:09 2008 Subject: [mapguide-users] Precision when selecting polygons In-Reply-To: <16760144.post@talk.nabble.com> References: <16718926.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225134879C8@ADSK-NAMSG-02.MGDADSK.autodesk.com> <16728445.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com> <48066477.7010505@geograf.dk> <16739625.post@talk.nabble.com> <4806FC29.1020801@geograf.dk> <16742886.post@talk.nabble.com> <16760144.post@talk.nabble.com> Message-ID: <16760358.post@talk.nabble.com> Krunoslav wrote: > > > > Traian Stanev wrote: >> >> >> You need to have the user name and password in the connection string, and >> not in the separate username and password fields that you see in Studio. >> So something like: >> >> MYSQL:database,username=myself,password=secret,host=mycomputer,port=666 >> >> Is this what you are doing? >> >> >> > > Same thing: > > MYSQL:database,username=root,password=65lkp12,host=localhost,port=3306 > > User name and password fields empty, and same error again: > > System.FormatException: String was not recognized as a valid Boolean. > at System.Boolean.Parse(String value) > at > Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String > resourceId, String provider, String connectionString) > at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection() > at > Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.TestConnectionControl.buttonTestConnection_Click(Object > sender, EventArgs e) > > Setup: MgOS2.0, Mysql 5.0.37 > As stated before, FDO provider for MySQL works fine with this setup. > WELL, I finally solved the error! There's obviously something wrong with Mapguide studio. I can connect as you mentioned above without problems with Map Studio OpenSource. Thanks again. -- View this message in context: http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16760358.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Fri Apr 18 06:55:30 2008 From: zac.spitzer at gmail.com (zspitzer) Date: Fri Apr 18 06:55:32 2008 Subject: [mapguide-users] error building MGOS2 In-Reply-To: <480330F2.1030402@gmail.com> References: <480330F2.1030402@gmail.com> Message-ID: <16763361.post@talk.nabble.com> i just hit this as well on centos 4, hmmm schwanzy wrote: > > I got this error trying to build MapGuide OpenSource 2.0 in Debian > Gnu/Linux etch i386: > > Making all in Geometry > make[2]: Entering directory `/mnt/hdb1/mapguide-2.0.0/Common/Geometry' > make[2]: *** No rule to make target > `../../Oem/geos-2.2.0/source/geom/.libs/libgeos.a', needed by > `libMgGeometry.la'. Stop. > > > Any idea? > > Thanks > > > // Simone > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/error-building-MGOS2-tp16675861s16610p16763361.html Sent from the MapGuide Users mailing list archive at Nabble.com. From gis at mapas-sll.com Fri Apr 18 08:00:04 2008 From: gis at mapas-sll.com (Jose Manuel C G) Date: Fri Apr 18 08:00:06 2008 Subject: [mapguide-users] expression builder problem (Tooltip) Message-ID: <16763379.post@talk.nabble.com> I would like to know what kind of language is used in the Text Expression Builder (Tooltip): I try to build an expression like this(PHOTO = '001,002'): My goal was show screenshot:001, screenshot:002... but it's impossible. Now simply I want 'screenshot:001' My expression is: concat('screenshot: "', concat("PHOTO"'.substring(0,3)')) But doesn't work...any idea? Thks in advanced. -- View this message in context: http://www.nabble.com/expression-builder-problem-%28Tooltip%29-tp16763379s16610p16763379.html Sent from the MapGuide Users mailing list archive at Nabble.com. From ajay.srivastava13 at googlemail.com Fri Apr 18 08:12:29 2008 From: ajay.srivastava13 at googlemail.com (DevMan) Date: Fri Apr 18 08:12:31 2008 Subject: [mapguide-users] Programmatically using GetMapKML, GetLayerKML and GetFeatureKML in .NET In-Reply-To: <16736753.post@talk.nabble.com> References: <16697335.post@talk.nabble.com> <16736753.post@talk.nabble.com> Message-ID: <16763383.post@talk.nabble.com> Jackie. Many thanks for this. Yes, I have been able to set up the functions to work, but it returns a MgByteReader, which can only be taken in the MgByteSink to generate an XML file. What if someone does not want to create an XML file and just use an XMLWriter to create the XML in memory and stream it to the client (Google Earth). Hope to find a solution to this. Thanks a lot. A. http://www.vouchers4gifts.co.uk/2008/04/watch-ipl-cricket-in-uk-for-5-pound.htm Jackie C. Ng wrote: > > The key to using the KML service programmatically is that you need to have > the runtime map (ie the MgMap object), that you either: > > - Create() from a Map Definition resource id > > OR > > - Open() from a runtime map name > > Once you have an MgMap instance, the rest of the parameters should be > self-explanatory. > > - Jackie > > > DevMan wrote: >> >> Hello All, >> >> I am a newbiew to Mapguide 2.0 OS API and I would be very grateful, if >> someone could plz help me out on this. >> >> All I need to do is to use the GetMapKML, GetLayerKML and GetFeatureKML >> programmatically in a C# aspx page. The purpose is to generate a KML feed >> for Google Earth on the fly. >> >> The GetMapKML in MapAgent and also the link like >> http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GetMapKml&VERSION=1.0.0&MAPDEFINITION=Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition&FORMAT=KML&LOCALE=en >> >> works fine, but I need to implement it on a separate aspx page, which >> would then return the KML. >> >> I know that the GetMapKMl etc. return a ByteReader, but can't really put >> in the parameters in these GetKML methods. >> >> Its really urgent, so If someone could please post a functional code that >> I could possibly implement or modify to my needs. >> >> Many thanks in advance. >> >> Ajay >> >> >> > > -- View this message in context: http://www.nabble.com/Programmatically-using-GetMapKML%2C-GetLayerKML-and-GetFeatureKML-in-.NET-tp16697335s16610p16763383.html Sent from the MapGuide Users mailing list archive at Nabble.com. From ks at geograf.dk Fri Apr 18 09:40:39 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Fri Apr 18 09:40:48 2008 Subject: [mapguide-users] expression builder problem (Tooltip) In-Reply-To: <16763379.post@talk.nabble.com> References: <16763379.post@talk.nabble.com> Message-ID: <4808A4D7.9000001@geograf.dk> It is an SQL expression. An the FDO dialect i believe. I don't know how to do extract a substring from the column, and it is probably provider specific. A workaround would be to use a tooltip like: concat(concat('') Then have the renderpage.php do all the logic, ea. lookup rows and display multiple pictures. Regards, Kenneth, GEOGRAF A/S Jose Manuel C G skrev: > I would like to know what kind of language is used in the Text Expression > Builder (Tooltip): > > I try to build an expression like this(PHOTO = '001,002'): > > My goal was show screenshot:001, screenshot:002... but it's impossible. Now > simply I want 'screenshot:001' > > My expression is: > concat('screenshot: "', concat("PHOTO"'.substring(0,3)')) > > But doesn't work...any idea? > > Thks in advanced. > From jumpinjackie at gmail.com Sat Apr 19 22:53:29 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Sat Apr 19 22:53:30 2008 Subject: [mapguide-users] Newbie: My first map In-Reply-To: <16789282.post@talk.nabble.com> References: <16789282.post@talk.nabble.com> Message-ID: <16789889.post@talk.nabble.com> The WebLayout allows you to set the visibility of the regions you have just mentioned. If you have MapGuide Studio. Just untick their visiblity in the WebLayout settings. - Jackie igotim wrote: > > Hi, all > > I'm very new to MapGuide, but I really need this one: how can I > incorporate ajaxviewer into my page, but with _only_ map and slider > visible (i.e. no toolbar, task list, properties panel, etc.)? > > Best regards, > Timi > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Newbie%3A-My-first-map-tp16789282s16610p16789889.html Sent from the MapGuide Users mailing list archive at Nabble.com. From tymarats at yahoo.com Sun Apr 20 06:21:09 2008 From: tymarats at yahoo.com (igotim) Date: Sun Apr 20 06:21:10 2008 Subject: [mapguide-users] Newbie: My first map In-Reply-To: <16789889.post@talk.nabble.com> References: <16789282.post@talk.nabble.com> <16789889.post@talk.nabble.com> Message-ID: <16790674.post@talk.nabble.com> Thanks for your quick reply, Jackie, you've pointed me in the right direction. However, is there any way to switch these on/off programmatically (maybe instead of passing the WEBLAYOUT parameter to mapviewer frame)? Igor Jackie C. Ng wrote: > > The WebLayout allows you to set the visibility of the regions you have > just mentioned. If you have MapGuide Studio. Just untick their visiblity > in the WebLayout settings. > > - Jackie > > > igotim wrote: >> >> Hi, all >> >> I'm very new to MapGuide, but I really need this one: how can I >> incorporate ajaxviewer into my page, but with _only_ map and slider >> visible (i.e. no toolbar, task list, properties panel, etc.)? >> >> Best regards, >> Timi >> >> > > -- View this message in context: http://www.nabble.com/Newbie%3A-My-first-map-tp16789282s16610p16790674.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Sun Apr 20 07:59:27 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Sun Apr 20 07:59:30 2008 Subject: [mapguide-users] Newbie: My first map In-Reply-To: <16790674.post@talk.nabble.com> References: <16789282.post@talk.nabble.com> <16789889.post@talk.nabble.com> <16790674.post@talk.nabble.com> Message-ID: <16790682.post@talk.nabble.com> the mapviewer frame *always* requires the WEBLAYOUT parameter. What you could do is save the WebLayout as an xml document. Before you would load your viewer frame, read this xml document. Set the inner text of the tag elements of the regions you want visible. Save this as a session resource. And pass this session resource id as the WEBLAYOUT parameter to the mapviewer frame. If you want to actually toggle the visibility of viewer components once the viewer has been loaded. You would have to do *extensive* modification as this is currently not possible. The visibility settings are only considered when the viewer is being initialized and loaded. - Jackie igotim wrote: > > Thanks for your quick reply, Jackie, you've pointed me in the right > direction. However, is there any way to switch these on/off > programmatically (maybe instead of passing the WEBLAYOUT parameter to > mapviewer frame)? > > Igor > > > Jackie C. Ng wrote: >> >> The WebLayout allows you to set the visibility of the regions you have >> just mentioned. If you have MapGuide Studio. Just untick their visiblity >> in the WebLayout settings. >> >> - Jackie >> >> >> igotim wrote: >>> >>> Hi, all >>> >>> I'm very new to MapGuide, but I really need this one: how can I >>> incorporate ajaxviewer into my page, but with _only_ map and slider >>> visible (i.e. no toolbar, task list, properties panel, etc.)? >>> >>> Best regards, >>> Timi >>> >>> >> >> > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Newbie%3A-My-first-map-tp16789282s16610p16790682.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Sun Apr 20 08:06:56 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Sun Apr 20 08:06:58 2008 Subject: [mapguide-users] Programmatically using GetMapKML, GetLayerKML and GetFeatureKML in .NET In-Reply-To: <16763383.post@talk.nabble.com> References: <16697335.post@talk.nabble.com> <16736753.post@talk.nabble.com> <16763383.post@talk.nabble.com> Message-ID: <16790685.post@talk.nabble.com> Try using the MgByteSource class and call its get reader (returns MgByteReader) MgByteSource expects a byte[], so you can use MemoryStream or a Stream subclass that either can connect to MemoryStream or exposes byte content and length. Hope that helps. - Jackie DevMan wrote: > > Jackie. Many thanks for this. > > Yes, I have been able to set up the functions to work, but it returns a > MgByteReader, which can only be taken in the MgByteSink to generate an XML > file. > > What if someone does not want to create an XML file and just use an > XMLWriter to create the XML in memory and stream it to the client (Google > Earth). > > Hope to find a solution to this. > > Thanks a lot. > > A. > > http://www.vouchers4gifts.co.uk/2008/04/watch-ipl-cricket-in-uk-for-5-pound.htm > > Jackie C. Ng wrote: >> >> The key to using the KML service programmatically is that you need to >> have the runtime map (ie the MgMap object), that you either: >> >> - Create() from a Map Definition resource id >> >> OR >> >> - Open() from a runtime map name >> >> Once you have an MgMap instance, the rest of the parameters should be >> self-explanatory. >> >> - Jackie >> >> >> DevMan wrote: >>> >>> Hello All, >>> >>> I am a newbiew to Mapguide 2.0 OS API and I would be very grateful, if >>> someone could plz help me out on this. >>> >>> All I need to do is to use the GetMapKML, GetLayerKML and GetFeatureKML >>> programmatically in a C# aspx page. The purpose is to generate a KML >>> feed for Google Earth on the fly. >>> >>> The GetMapKML in MapAgent and also the link like >>> http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GetMapKml&VERSION=1.0.0&MAPDEFINITION=Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition&FORMAT=KML&LOCALE=en >>> >>> works fine, but I need to implement it on a separate aspx page, which >>> would then return the KML. >>> >>> I know that the GetMapKMl etc. return a ByteReader, but can't really put >>> in the parameters in these GetKML methods. >>> >>> Its really urgent, so If someone could please post a functional code >>> that I could possibly implement or modify to my needs. >>> >>> Many thanks in advance. >>> >>> Ajay >>> >>> >>> >> >> > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Programmatically-using-GetMapKML%2C-GetLayerKML-and-GetFeatureKML-in-.NET-tp16697335s16610p16790685.html Sent from the MapGuide Users mailing list archive at Nabble.com. From brian.berdel at mcmtrans.com Sun Apr 20 13:53:36 2008 From: brian.berdel at mcmtrans.com (Berdel, Brian) Date: Sun Apr 20 13:53:38 2008 Subject: [mapguide-users] Newbie: My first map In-Reply-To: <16790682.post@talk.nabble.com> Message-ID: You can toggle the visibility via the task frame via an invoke script command. But you cannot do this to the layers / properties. They are in the same frameset as the map. This will toggle the visibility of the task frame off javascript:document.all.tags("Frameset").item(1).cols = '*,0'; and on javascript:document.all.tags("Frameset").item(1).cols = '*,280'; but it would have to be set to on in Mapguide Studio from the beginning. Thanks, Brian -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jackie C. Ng Sent: Sunday, April 20, 2008 7:59 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Newbie: My first map the mapviewer frame *always* requires the WEBLAYOUT parameter. What you could do is save the WebLayout as an xml document. Before you would load your viewer frame, read this xml document. Set the inner text of the tag elements of the regions you want visible. Save this as a session resource. And pass this session resource id as the WEBLAYOUT parameter to the mapviewer frame. If you want to actually toggle the visibility of viewer components once the viewer has been loaded. You would have to do *extensive* modification as this is currently not possible. The visibility settings are only considered when the viewer is being initialized and loaded. - Jackie igotim wrote: > > Thanks for your quick reply, Jackie, you've pointed me in the right > direction. However, is there any way to switch these on/off > programmatically (maybe instead of passing the WEBLAYOUT parameter to > mapviewer frame)? > > Igor > > > Jackie C. Ng wrote: >> >> The WebLayout allows you to set the visibility of the regions you have >> just mentioned. If you have MapGuide Studio. Just untick their visiblity >> in the WebLayout settings. >> >> - Jackie >> >> >> igotim wrote: >>> >>> Hi, all >>> >>> I'm very new to MapGuide, but I really need this one: how can I >>> incorporate ajaxviewer into my page, but with _only_ map and slider >>> visible (i.e. no toolbar, task list, properties panel, etc.)? >>> >>> Best regards, >>> Timi >>> >>> >> >> > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Newbie%3A-My-first-map-tp16789282s16610p16790682.h tml 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 From jo at pat.ca Sun Apr 20 19:48:23 2008 From: jo at pat.ca (Jim O'Leary) Date: Sun Apr 20 19:48:25 2008 Subject: [mapguide-users] Map width and height in pixels Message-ID: <16800295.post@talk.nabble.com> Is there a way to get the dimensions of the map frame in pixels? I have tried: mapHeight = mapFrame.document.body.clientHeight; mapWidth = mapFrame.document.body.clientWidth; ...which seems to work, but does not update when you drag the layers pane and resize the map. It always returns the original dimensions. Thanks. -----   Jim O’Leary Bachelor of Technology Technical Consultant Pacific Alliance Technologies TEL 604.676.6000 EXT 110 TOL 877.691.9171 FAX 604.682.0962 WEB http://www.pat.ca/ www.pat.ca    “A Member of StarDyne Technologies”    http://www.stardynetech.com/ www.stardynetech.com The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by replying to this message and deleting it from your system without making a copy.  Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses.  We are not liable for the timely, proper or complete transmission of the information contained in such communications.  We are also not liable for the loss of confidentiality of information contained in such communications.   -- View this message in context: http://www.nabble.com/Map-width-and-height-in-pixels-tp16800295s16610p16800295.html Sent from the MapGuide Users mailing list archive at Nabble.com. From chrislist at narx.net Mon Apr 21 03:22:39 2008 From: chrislist at narx.net (Chris Tweedie) Date: Mon Apr 21 03:49:58 2008 Subject: [mapguide-users] How to override layer level CRS? Message-ID: <118a5cc974aab178f97fdf47ee51aec3@narx.net> Guys, i would have thought this would be obvious, but how can i override the Layer level CRS? Although the Map CRS is easily altered, the layer constraint seems burried well and truly in the code. I am trying to consume various WMS layers into my Map but it seems as though MGOS2.0 denies every request with The coordinate system (EPSG:4140) of layer BaseLayers cannot be different than the coordinate system (EPSG:4326) of the map. The FeatureSource of the "BaseLayers" WMS layer includes EPSG:4326 so i am at a loss where 4140 came from? Regards, -- Chris Tweedie From jeremie.formica at gmail.com Mon Apr 21 05:55:05 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Mon Apr 21 05:55:12 2008 Subject: [mapguide-users] Problem mapagent.fcgi. Message-ID: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.png Type: image/png Size: 181843 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/3c054580/screenshot.png From ks at geograf.dk Mon Apr 21 06:46:40 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Mon Apr 21 06:47:03 2008 Subject: [mapguide-users] Problem mapagent.fcgi. In-Reply-To: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com> References: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com> Message-ID: <480C7090.8080807@geograf.dk> You can open the file with a text editor (like gedit), it should contain Xml that describes the contents of the server repository. Regards, Kenneth, GEOGRAF A/S J?r?mie Formica skrev: > I have install mapguide Opensource 2 but when i want open this page > for the test, they' are a file "mapagent.fcgi". I save this file but i > can't open. > > http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library://&TYPE=&DEPTH=-1 > > > I make this test because when I try to go : > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php I > can't view the map. > I have make screen shot whit the problem. > I'm on linux with CentOs 5. > > Thank's you > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- Skipped content of type multipart/related From jeremie.formica at gmail.com Mon Apr 21 07:20:21 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Mon Apr 21 07:20:24 2008 Subject: [mapguide-users] Problem mapagent.fcgi. In-Reply-To: <480C7090.8080807@geograf.dk> References: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com> <480C7090.8080807@geograf.dk> Message-ID: <2cc7a1210804210420p2bce9a0cld012d4f996dc337@mail.gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 181843 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/01d26b92/attachment.png From zac.spitzer at gmail.com Mon Apr 21 07:36:29 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Mon Apr 21 07:36:32 2008 Subject: [mapguide-users] Problem mapagent.fcgi. In-Reply-To: <2cc7a1210804210420p2bce9a0cld012d4f996dc337@mail.gmail.com> References: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com> <480C7090.8080807@geograf.dk> <2cc7a1210804210420p2bce9a0cld012d4f996dc337@mail.gmail.com> Message-ID: <7a85053e0804210436t69701691gf80b3b9dd374b99c@mail.gmail.com> I blogged this a few weeks ago, uncomment the lines: AddHandler mgmapagent_handler fcgi and LoadModule mgmapagent_module modules/mod_mgmapagent.so in /usr/local/mapguideopensource/webserverextensions/apache/conf/mapguide.conf or you will get the mapguide.fcgi binary returned On Mon, Apr 21, 2008 at 9:20 PM, J?r?mie Formica wrote: > I have try with gedit, but This is not possible. > Someone has an idea why I do not see my map please... > > > 2008/4/21, Kenneth, GEOGRAF A/S : > > > > > You can open the file with a text editor (like gedit), it should contain > Xml that describes the contents of the server repository. > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > J?r?mie Formica skrev: > > > > I have install mapguide Opensource 2 but when i want open this page for > the test, they' are a file "mapagent.fcgi". I save this file but i can't > open. > > > > > http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library://&TYPE=&DEPTH=-1 > > > > I make this test because when I try to go : > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php I can't > view the map. > > I have make screen shot whit the problem. > > I'm on linux with CentOs 5. > > > > Thank's you > > > > > > ________________________________ > > > ________________________________ > > > _______________________________________________ > > 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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From jeremie.formica at gmail.com Mon Apr 21 07:56:54 2008 From: jeremie.formica at gmail.com (=?ISO-8859-1?Q?J=E9r=E9mie_Formica?=) Date: Mon Apr 21 07:57:09 2008 Subject: [mapguide-users] Problem mapagent.fcgi. In-Reply-To: <7a85053e0804210436t69701691gf80b3b9dd374b99c@mail.gmail.com> References: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com> <480C7090.8080807@geograf.dk> <2cc7a1210804210420p2bce9a0cld012d4f996dc337@mail.gmail.com> <7a85053e0804210436t69701691gf80b3b9dd374b99c@mail.gmail.com> Message-ID: <2cc7a1210804210456n18abf46an68f35716b7805181@mail.gmail.com> Thank's you ZAC you are my GOD lol I'm very very happy. :) 2008/4/21, Zac Spitzer : > > I blogged this a few weeks ago, > > uncomment the lines: AddHandler mgmapagent_handler fcgi and LoadModule > mgmapagent_module modules/mod_mgmapagent.so > in > /usr/local/mapguideopensource/webserverextensions/apache/conf/mapguide.conf > or you will get the mapguide.fcgi binary returned > > > On Mon, Apr 21, 2008 at 9:20 PM, J?r?mie Formica > wrote: > > I have try with gedit, but This is not possible. > > Someone has an idea why I do not see my map please... > > > > > > 2008/4/21, Kenneth, GEOGRAF A/S : > > > > > > > > You can open the file with a text editor (like gedit), it should > contain > > Xml that describes the contents of the server repository. > > > Regards, Kenneth, GEOGRAF A/S > > > > > > > > > > > > J?r?mie Formica skrev: > > > > > > I have install mapguide Opensource 2 but when i want open this page > for > > the test, they' are a file "mapagent.fcgi". I save this file but i can't > > open. > > > > > > > > > http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&LOCALE=en&RESOURCEID=Library://&TYPE=&DEPTH=-1 > > > > > > I make this test because when I try to go : > > http://localhost:8008/mapguide/phpviewersample/ajaxviewersample.php I > can't > > view the map. > > > I have make screen shot whit the problem. > > > I'm on linux with CentOs 5. > > > > > > Thank's you > > > > > > > > > ________________________________ > > > > > ________________________________ > > > > > _______________________________________________ > > > 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 mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/5bea05c8/attachment.html From Michael.Micallef at ontario.ca Mon Apr 21 10:58:13 2008 From: Michael.Micallef at ontario.ca (MMicallef-MTO) Date: Mon Apr 21 10:58:15 2008 Subject: [mapguide-users] Problem with Buffer on Version 2.0 Message-ID: <16807968.post@talk.nabble.com> I keep getting the following error with buffering after upgrading - I also have problems with null values in all of my custom reports on selections with the upgrade - possible link I don't know - Anyone out there come across anything similar or find a solution? ERROR: Notice: Undefined variable: locale in C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewerphp\buffer.php on line 353 Buffer Error -------------------------------------------------------------------------------- A file IO exception occurred: C:\Program Files\MapGuideOpenSource2.0\Server\Repositories\Session\DataFiles\81e464d0-ffff-ffff-8000-001cc4adc4bb Exception occurred in method MgFileUtil.CreateDirectory at line 415 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\common\foundation\System/FileUtil.cpp Mike Micallef http://www.nabble.com/file/p16807968/error.png -- View this message in context: http://www.nabble.com/Problem-with-Buffer-on-Version-2.0-tp16807968s16610p16807968.html Sent from the MapGuide Users mailing list archive at Nabble.com. From masonb at dfo-mpo.gc.ca Mon Apr 21 11:01:12 2008 From: masonb at dfo-mpo.gc.ca (BradM) Date: Mon Apr 21 11:01:13 2008 Subject: [mapguide-users] Newbie: Add a layer of external WMS data to my map In-Reply-To: <16800291.post@talk.nabble.com> References: <16800291.post@talk.nabble.com> Message-ID: <16807970.post@talk.nabble.com> Hello, apparently WMS is not working in version 2.0. We must wait for the next version or a patch. Henryk wrote: > > Hello all, > > I'm evaluating MapGuide for a new project. > > I could set up the service and was able to create my own maps with > MapStudio Open Source. Then I tried to add some WMS data as a test from: > - http://maps1.intergraph.com/wms/world/request.asp > - http://www2.demis.nl/mapserver/request.asp? > The data connection seems to work for both URLs as I can see the provided > feature classes. > > Then I created a layer, chose the data source, and the feature class. For > example to choose the feature class Bathymetry from demis.nl. I created a > layer with > - Resource settings schema set to WMS_Schema:Bathymery > - Resource settings raster only provides an empty combo box (is this ok)? > - Visibility settings remained unchanged > > I added the layer to my test map and opened the map in my browser. The > layer is shown in the layer list and the checkbox is checked, but no data > is visible. > > What am I doing wrong? > > I cross-checked the settings with MapGuide Open Source Web Studio and > tried other WMS feature classes. The result was the same. > > Henryk > -- View this message in context: http://www.nabble.com/Newbie%3A-Add-a-layer-of-external-WMS-data-to-my-map-tp16800291s16610p16807970.html Sent from the MapGuide Users mailing list archive at Nabble.com. From Jason.Birch at nanaimo.ca Mon Apr 21 11:03:08 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 21 11:03:15 2008 Subject: [mapguide-users] Problem mapagent.fcgi. In-Reply-To: <7a85053e0804210436t69701691gf80b3b9dd374b99c@mail.gmail.com> References: <2cc7a1210804210255l57c75113y377edf6806f35734@mail.gmail.com><480C7090.8080807@geograf.dk><2cc7a1210804210420p2bce9a0cld012d4f996dc337@mail.gmail.com> <7a85053e0804210436t69701691gf80b3b9dd374b99c@mail.gmail.com> Message-ID: <8E468917B01800408B91984428BE03DD072A6155@starfish.nanaimo.ca> Yes, there's a ticket for this one too: http://trac.osgeo.org/mapguide/ticket/477 Jason -----Original Message----- From: Zac Spitzer Subject: Re: [mapguide-users] Problem mapagent.fcgi. I blogged this a few weeks ago, uncomment the lines: AddHandler mgmapagent_handler fcgi and LoadModule mgmapagent_module modules/mod_mgmapagent.so in /usr/local/mapguideopensource/webserverextensions/apache/conf/mapguide.c onf or you will get the mapguide.fcgi binary returned From tlaird at ci.springfield.or.us Mon Apr 21 11:18:14 2008 From: tlaird at ci.springfield.or.us (LAIRD Thomas) Date: Mon Apr 21 11:34:48 2008 Subject: [mapguide-users] Newbie: Add a layer of external WMS data to mymap In-Reply-To: <16807970.post@talk.nabble.com> References: <16800291.post@talk.nabble.com> <16807970.post@talk.nabble.com> Message-ID: <1488331BDB49894CB4C64E15E33E6DCC01359D8F@spifs005.Springfield1.net> You may be having trouble with the coordinate transformation. Have you tried to create a new map and drop that layer into it to see what happens? In my case, the layer would display in the new map and the coordinate system for the map would automatically be set to EPSG:4326. To get the wms layer to work in some other coordinate system you can follow the instructions at this link: https://trac.osgeo.org/fdo/wiki/FdoWmsNotes I hope that helps. Take Care, Tom Thomas D. Laird, GISP GIS Database Administrator City of Springfield, OR tlaird@ci.springfield.or.us (541)726-3684 Fax: (541)736-1021 -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of BradM Sent: Monday, April 21, 2008 8:01 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Newbie: Add a layer of external WMS data to mymap Hello, apparently WMS is not working in version 2.0. We must wait for the next version or a patch. Henryk wrote: > > Hello all, > > I'm evaluating MapGuide for a new project. > > I could set up the service and was able to create my own maps with > MapStudio Open Source. Then I tried to add some WMS data as a test from: > - http://maps1.intergraph.com/wms/world/request.asp > - http://www2.demis.nl/mapserver/request.asp? > The data connection seems to work for both URLs as I can see the provided > feature classes. > > Then I created a layer, chose the data source, and the feature class. For > example to choose the feature class Bathymetry from demis.nl. I created a > layer with > - Resource settings schema set to WMS_Schema:Bathymery > - Resource settings raster only provides an empty combo box (is this ok)? > - Visibility settings remained unchanged > > I added the layer to my test map and opened the map in my browser. The > layer is shown in the layer list and the checkbox is checked, but no data > is visible. > > What am I doing wrong? > > I cross-checked the settings with MapGuide Open Source Web Studio and > tried other WMS feature classes. The result was the same. > > Henryk > -- View this message in context: http://www.nabble.com/Newbie%3A-Add-a-layer-of-external-WMS-data-to-my-m ap-tp16800291s16610p16807970.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 From mpfister at enplan.com Mon Apr 21 18:08:39 2008 From: mpfister at enplan.com (Marc Pfister) Date: Mon Apr 21 18:09:42 2008 Subject: [mapguide-users] FDO - CLNT_8 error Message-ID: <37D118BCFAEDD946B289C320489BBE710105865F@pdcraq.ENPLAN.local> Some new strangeness - I have MGOS 1.2 installed on FC6 and previously it was working just fine. Now for some reason I'm getting: 1863|2630790032) An exception occurred in FDO component. CLNT_8_UNABLE_TO_LOAD_LIBRARY Exception occurred in method MgFdoConnectionManager.Open at line 259 in file FdoConnectionManager.cpp This seems to mean FDO can't access one of the providers. If I snoop around the FDO libs with ldd, it says the libFDO-3.2.2 it can't find the xalan and xerces libraries. Which is strange, because they are in that same folder. If I export the FDO lib folder to LD_LIBRARY_PATH then ldd is able to find the libraries to link to, but I still get the error. I have tried both a clean and a subsequent install of both the FDO and ThirdParty scripts with no change in the error message. Any ideas? Do I need to reinstall the Mapguide side too? n Marc Pfister Geospatial Data Manager ENPLAN mpfister@enplan.com 530/221-0440 x108 530/221-6963 Fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/bc6fcf56/attachment.html From dave.wilson at autodesk.com Mon Apr 21 18:47:39 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Mon Apr 21 18:47:44 2008 Subject: [mapguide-users] FDO - CLNT_8 error In-Reply-To: <37D118BCFAEDD946B289C320489BBE710105865F@pdcraq.ENPLAN.local> References: <37D118BCFAEDD946B289C320489BBE710105865F@pdcraq.ENPLAN.local> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E22513805C85@ADSK-NAMSG-02.MGDADSK.autodesk.com> I've usually seen this error when the library files for a database provider (Oracle in particular) can't be found either in the FDO directory or via the LD_LIBRARY_PATH. Alternately are you logged in as another user that might not have access to some client library files? With Oracle on Linux it's important to have an ORACLE_HOME and a TNS_ADMIN set and the LD_LIBRARY_PATH set to include the path to the Oracle client libraries. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Marc Pfister Sent: Monday, April 21, 2008 4:09 PM To: MapGuide Users Mail List Subject: [mapguide-users] FDO - CLNT_8 error Some new strangeness - I have MGOS 1.2 installed on FC6 and previously it was working just fine. Now for some reason I'm getting: 1863|2630790032) An exception occurred in FDO component. CLNT_8_UNABLE_TO_LOAD_LIBRARY Exception occurred in method MgFdoConnectionManager.Open at line 259 in file FdoConnectionManager.cpp This seems to mean FDO can't access one of the providers. If I snoop around the FDO libs with ldd, it says the libFDO-3.2.2 it can't find the xalan and xerces libraries. Which is strange, because they are in that same folder. If I export the FDO lib folder to LD_LIBRARY_PATH then ldd is able to find the libraries to link to, but I still get the error. I have tried both a clean and a subsequent install of both the FDO and ThirdParty scripts with no change in the error message. Any ideas? Do I need to reinstall the Mapguide side too? n Marc Pfister Geospatial Data Manager ENPLAN mpfister@enplan.com 530/221-0440 x108 530/221-6963 Fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/dfdebd2c/attachment.html From mpfister at enplan.com Mon Apr 21 19:14:22 2008 From: mpfister at enplan.com (Marc Pfister) Date: Mon Apr 21 19:14:25 2008 Subject: [mapguide-users] FDO - CLNT_8 error In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E22513805C85@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <37D118BCFAEDD946B289C320489BBE710105865F@pdcraq.ENPLAN.local> <53C1C94B2F19CD408BFA392599EAF8E22513805C85@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <37D118BCFAEDD946B289C320489BBE7101058668@pdcraq.ENPLAN.local> I am logged in as root, so that's not the problem. I'm also not using Oracle. Is there a way to figure out which provider is causing the problems? Marc From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Monday, April 21, 2008 3:48 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FDO - CLNT_8 error I've usually seen this error when the library files for a database provider (Oracle in particular) can't be found either in the FDO directory or via the LD_LIBRARY_PATH. Alternately are you logged in as another user that might not have access to some client library files? With Oracle on Linux it's important to have an ORACLE_HOME and a TNS_ADMIN set and the LD_LIBRARY_PATH set to include the path to the Oracle client libraries. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Marc Pfister Sent: Monday, April 21, 2008 4:09 PM To: MapGuide Users Mail List Subject: [mapguide-users] FDO - CLNT_8 error Some new strangeness - I have MGOS 1.2 installed on FC6 and previously it was working just fine. Now for some reason I'm getting: 1863|2630790032) An exception occurred in FDO component. CLNT_8_UNABLE_TO_LOAD_LIBRARY Exception occurred in method MgFdoConnectionManager.Open at line 259 in file FdoConnectionManager.cpp This seems to mean FDO can't access one of the providers. If I snoop around the FDO libs with ldd, it says the libFDO-3.2.2 it can't find the xalan and xerces libraries. Which is strange, because they are in that same folder. If I export the FDO lib folder to LD_LIBRARY_PATH then ldd is able to find the libraries to link to, but I still get the error. I have tried both a clean and a subsequent install of both the FDO and ThirdParty scripts with no change in the error message. Any ideas? Do I need to reinstall the Mapguide side too? n Marc Pfister Geospatial Data Manager ENPLAN mpfister@enplan.com 530/221-0440 x108 530/221-6963 Fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/432d05da/attachment.html From jack.lee at autodesk.com Mon Apr 21 19:43:54 2008 From: jack.lee at autodesk.com (Jack Lee) Date: Mon Apr 21 19:44:00 2008 Subject: [mapguide-users] FDO - CLNT_8 error In-Reply-To: <37D118BCFAEDD946B289C320489BBE7101058668@pdcraq.ENPLAN.local> References: <37D118BCFAEDD946B289C320489BBE710105865F@pdcraq.ENPLAN.local> <53C1C94B2F19CD408BFA392599EAF8E22513805C85@ADSK-NAMSG-02.MGDADSK.autodesk.com> <37D118BCFAEDD946B289C320489BBE7101058668@pdcraq.ENPLAN.local> Message-ID: Hi, Try setting: export NLSPATH=$NLSPATH:/usr/local/fdo-3.2.2/nls/%N and restart the MapGuide server. You might get more information about the error. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Marc Pfister Sent: Monday, April 21, 2008 7:14 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FDO - CLNT_8 error I am logged in as root, so that's not the problem. I'm also not using Oracle. Is there a way to figure out which provider is causing the problems? Marc From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Monday, April 21, 2008 3:48 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FDO - CLNT_8 error I've usually seen this error when the library files for a database provider (Oracle in particular) can't be found either in the FDO directory or via the LD_LIBRARY_PATH. Alternately are you logged in as another user that might not have access to some client library files? With Oracle on Linux it's important to have an ORACLE_HOME and a TNS_ADMIN set and the LD_LIBRARY_PATH set to include the path to the Oracle client libraries. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Marc Pfister Sent: Monday, April 21, 2008 4:09 PM To: MapGuide Users Mail List Subject: [mapguide-users] FDO - CLNT_8 error Some new strangeness - I have MGOS 1.2 installed on FC6 and previously it was working just fine. Now for some reason I'm getting: 1863|2630790032) An exception occurred in FDO component. CLNT_8_UNABLE_TO_LOAD_LIBRARY Exception occurred in method MgFdoConnectionManager.Open at line 259 in file FdoConnectionManager.cpp This seems to mean FDO can't access one of the providers. If I snoop around the FDO libs with ldd, it says the libFDO-3.2.2 it can't find the xalan and xerces libraries. Which is strange, because they are in that same folder. If I export the FDO lib folder to LD_LIBRARY_PATH then ldd is able to find the libraries to link to, but I still get the error. I have tried both a clean and a subsequent install of both the FDO and ThirdParty scripts with no change in the error message. Any ideas? Do I need to reinstall the Mapguide side too? n Marc Pfister Geospatial Data Manager ENPLAN mpfister@enplan.com 530/221-0440 x108 530/221-6963 Fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/6f6466d0/attachment.html From mpfister at enplan.com Mon Apr 21 19:55:58 2008 From: mpfister at enplan.com (Marc Pfister) Date: Mon Apr 21 19:56:01 2008 Subject: [mapguide-users] FDO - CLNT_8 error In-Reply-To: References: <37D118BCFAEDD946B289C320489BBE710105865F@pdcraq.ENPLAN.local><53C1C94B2F19CD408BFA392599EAF8E22513805C85@ADSK-NAMSG-02.MGDADSK.autodesk.com><37D118BCFAEDD946B289C320489BBE7101058668@pdcraq.ENPLAN.local> Message-ID: <37D118BCFAEDD946B289C320489BBE710105866A@pdcraq.ENPLAN.local> AHA! Now the error says: (2375|2689485712) An exception occurred in FDO component. Unable to load the FDO Provider: /usr/local/fdo-3.2.2/lib/libSDFProvider.so: cannot restore segment prot after reloc: Permission denied Exception occurred in method MgFdoConnectionManager.Open at line 259 in file FdoConnectionManager.cpp The "prot after reloc" is an SELinux error. That I can fix. Thanks Jack & Dave for you help. Marc From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jack Lee Sent: Monday, April 21, 2008 4:44 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FDO - CLNT_8 error Hi, Try setting: export NLSPATH=$NLSPATH:/usr/local/fdo-3.2.2/nls/%N and restart the MapGuide server. You might get more information about the error. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Marc Pfister Sent: Monday, April 21, 2008 7:14 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FDO - CLNT_8 error I am logged in as root, so that's not the problem. I'm also not using Oracle. Is there a way to figure out which provider is causing the problems? Marc From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Monday, April 21, 2008 3:48 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FDO - CLNT_8 error I've usually seen this error when the library files for a database provider (Oracle in particular) can't be found either in the FDO directory or via the LD_LIBRARY_PATH. Alternately are you logged in as another user that might not have access to some client library files? With Oracle on Linux it's important to have an ORACLE_HOME and a TNS_ADMIN set and the LD_LIBRARY_PATH set to include the path to the Oracle client libraries. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Marc Pfister Sent: Monday, April 21, 2008 4:09 PM To: MapGuide Users Mail List Subject: [mapguide-users] FDO - CLNT_8 error Some new strangeness - I have MGOS 1.2 installed on FC6 and previously it was working just fine. Now for some reason I'm getting: 1863|2630790032) An exception occurred in FDO component. CLNT_8_UNABLE_TO_LOAD_LIBRARY Exception occurred in method MgFdoConnectionManager.Open at line 259 in file FdoConnectionManager.cpp This seems to mean FDO can't access one of the providers. If I snoop around the FDO libs with ldd, it says the libFDO-3.2.2 it can't find the xalan and xerces libraries. Which is strange, because they are in that same folder. If I export the FDO lib folder to LD_LIBRARY_PATH then ldd is able to find the libraries to link to, but I still get the error. I have tried both a clean and a subsequent install of both the FDO and ThirdParty scripts with no change in the error message. Any ideas? Do I need to reinstall the Mapguide side too? n Marc Pfister Geospatial Data Manager ENPLAN mpfister@enplan.com 530/221-0440 x108 530/221-6963 Fax -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080421/2413b030/attachment.html From jumpinjackie at gmail.com Tue Apr 22 00:00:07 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Tue Apr 22 00:00:08 2008 Subject: [mapguide-users] map request using SOAP In-Reply-To: <16820188.post@talk.nabble.com> References: <16820188.post@talk.nabble.com> Message-ID: <16820914.post@talk.nabble.com> What language (.net/PHP/Java)? - Jackie A H wrote: > > good day everyone, > > i'm told to develop a web service that communicate with Mapguide through > HTML using SOAP. is it possible to do this using Mapguide OS? > > the client application will pass the following info: > 1) list of longitude latitude points > 2) longitude and latitude of center point > 3) zoom level > 4) width and height in pixel > > the web service i'm suppose to develop will return: > 1) x and y values (pixels) of corresponding points on the map (0,0 for the > top left corner) > 2) x and y of the center point (pixels) > 3) the zoom level used by map > 4) URL of the generated map image > > > i've search through old posts but found nothing similar to this. i mean > without using a weblayout. (and i never develop this SOAP kind of > application before). > > thank you in advance. > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/map-request-using-SOAP-tp16820188s16610p16820914.html Sent from the MapGuide Users mailing list archive at Nabble.com. From shreepadr at valuecad.com Tue Apr 22 01:03:34 2008 From: shreepadr at valuecad.com (shreepad) Date: Tue Apr 22 01:03:35 2008 Subject: [mapguide-users] MGE 2009 and oracle memory leak Message-ID: <16821716.post@talk.nabble.com> using MGE 2009 and Oracle 10g2 with instant client i have used both king and autodesk FDO couple issues 1. selection takes really long time 2. map runs out of memory and MGE crash 3. big layer like parcels and address points causing the delay in load when they have scale dependancies mge 2008 it was really fast 4. firebug shows mapagent.fcgi is really using lots of memory and time should we port to MGE 2009 or even MGOS 2.0 i think it still not there yet 2008 was much faster than MGE 2009 why is that please let me know if any one has these issues thanks shreepad -- View this message in context: http://www.nabble.com/MGE-2009-and-oracle-memory-leak-tp16821716s16610p16821716.html Sent from the MapGuide Users mailing list archive at Nabble.com. From brixlyng at frederikshavn.dk Tue Apr 22 02:38:04 2008 From: brixlyng at frederikshavn.dk (Thomas Brix Lyng) Date: Tue Apr 22 02:55:12 2008 Subject: [mapguide-users] Authentication error at line 199 Message-ID: Hi I'm getting an error with MapGuide Enterprise 2008 I can?t figure: ???"Authentication failed. Please enter a valid username and password. Exception occurred in method MgSecurityManager.Authenticate at line 199 in file c:\build_bond_area\Bond_Nightly\BUILD_41.3\Ent\OS\Server\src\Common\Manager\SecurityManager.cpp " The error shows in my layout in the taskpanel and no map is showing. I can see the map in studio but when I try to view it in my webbrowser (IE6 or IE7) i get the error even if I log in with my MapGuide administrator password (It works in MapGuide administrator modul PHP). Please advice! Regards Thomas Brix Lyng Frederikshavn Municipal Administration Denmark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/39336071/attachment.html From pascal.coulon at atkinsglobal.com Tue Apr 22 03:34:49 2008 From: pascal.coulon at atkinsglobal.com (Pascal Coulon) Date: Tue Apr 22 03:34:51 2008 Subject: [mapguide-users] GDAL -- Failed to stylize layer... Cannot create any more connections to the OSGeo.Gdal FDO provider Message-ID: <16823109.post@talk.nabble.com> Dear All, I have run a series of stress test on raster layers, using a URL of the following sort: http://10.XXX.XX.71/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE&VERSION=1.0.0&MAPNAME=Browser_Default&LOCALE=EN&MAPDEFINITION=Library://PILOT_TEST/Maps/MainMap.MapDefinition&FORMAT=PNG&SETVIEWCENTERX=190722&SETVIEWCENTERY=205644&SETVIEWSCALE=8600&SETDISPLAYDPI=78&SETDISPLAYWIDTH=600&SETDISPLAYHEIGHT=600&USERNAME=Administrator&PASSWORD=XXXX. The idea was to test the actual MapGuide server rather than any application using the underlying map server. I have gradually increased the number of concurent users on various raster layers. I got some excellent results on most of the raster layers. However, on one specific rather layer (UK Ordnance Survey Aerial Images - 8.6GB), the system started to crash with only two concurent users. http://www.nabble.com/file/p16823109/Error.log Error.log On inpestecting the error log (see attached file), I noticed the following error being logged: Error: Failed to stylize layer: OS_AerialPhotography_SN Cannot create any more connections to the OSGeo.Gdal FDO provider. I had created a raster catalogue (http://trac.osgeo.org/fdo/wiki/FdoGdalNotes); which had help on the smaller rater dataset. But for this larger dataset, I did not get any benefit. I understand that the GDLA library is single threaded. This means that if too many requests are queue in the stak, it might eventually time out and then through the above error. However, this error seemed to be logged before any set time out. For completness, here is the following plateform specifications: OS: Windows 2003 Server SP2 CPU: 2.20 GH RAM: 3.62GB MGOS 1.2 Would an upgrade to MGOS 2.0 provides any benefits? Can anyobody suggest a way for handling very large raster dataset? Any help would be much apprecaited. Pascal -- View this message in context: http://www.nabble.com/GDAL----Failed-to-stylize-layer...-Cannot-create-any-more-connections-to-the-OSGeo.Gdal-FDO-provider-tp16823109s16610p16823109.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Tue Apr 22 05:10:36 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Tue Apr 22 05:10:39 2008 Subject: [mapguide-users] GDAL -- Failed to stylize layer... Cannot create any more connections to the OSGeo.Gdal FDO provider In-Reply-To: <16823109.post@talk.nabble.com> References: <16823109.post@talk.nabble.com> Message-ID: <7a85053e0804220210m3a1f67fi1fb4f61eb09dc580@mail.gmail.com> mg 2.0 currently has similar problems with rasters there are some related trac tickets http://trac.osgeo.org/mapguide/ticket/462 http://trac.osgeo.org/mapguide/ticket/451 http://trac.osgeo.org/mapguide/ticket/533 On Tue, Apr 22, 2008 at 5:34 PM, Pascal Coulon wrote: > > Dear All, > > I have run a series of stress test on raster layers, using a URL of the > following sort: > http://10.XXX.XX.71/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPIMAGE&VERSION=1.0.0&MAPNAME=Browser_Default&LOCALE=EN&MAPDEFINITION=Library://PILOT_TEST/Maps/MainMap.MapDefinition&FORMAT=PNG&SETVIEWCENTERX=190722&SETVIEWCENTERY=205644&SETVIEWSCALE=8600&SETDISPLAYDPI=78&SETDISPLAYWIDTH=600&SETDISPLAYHEIGHT=600&USERNAME=Administrator&PASSWORD=XXXX. > The idea was to test the actual MapGuide server rather than any application > using the underlying map server. I have gradually increased the number of > concurent users on various raster layers. I got some excellent results on > most of the raster layers. However, on one specific rather layer (UK > Ordnance Survey Aerial Images - 8.6GB), the system started to crash with > only two concurent users. http://www.nabble.com/file/p16823109/Error.log > Error.log On inpestecting the error log (see attached file), I noticed the > following error being logged: > > Error: Failed to stylize layer: OS_AerialPhotography_SN > Cannot create any more connections to the OSGeo.Gdal FDO provider. > > I had created a raster catalogue > (http://trac.osgeo.org/fdo/wiki/FdoGdalNotes); which had help on the smaller > rater dataset. But for this larger dataset, I did not get any benefit. > > I understand that the GDLA library is single threaded. This means that if > too many requests are queue in the stak, it might eventually time out and > then through the above error. However, this error seemed to be logged before > any set time out. > > For completness, here is the following plateform specifications: > > OS: Windows 2003 Server SP2 > CPU: 2.20 GH > RAM: 3.62GB > MGOS 1.2 > > Would an upgrade to MGOS 2.0 provides any benefits? > Can anyobody suggest a way for handling very large raster dataset? > > Any help would be much apprecaited. > > Pascal > > > -- > View this message in context: http://www.nabble.com/GDAL----Failed-to-stylize-layer...-Cannot-create-any-more-connections-to-the-OSGeo.Gdal-FDO-provider-tp16823109s16610p16823109.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From tanja.suikkanen at dimenteq.fi Tue Apr 22 05:19:43 2008 From: tanja.suikkanen at dimenteq.fi (Tanja Suikkanen) Date: Tue Apr 22 05:35:11 2008 Subject: [mapguide-users] How to make features unique in markup layer? Message-ID: <000a01c8a45a$031dddc0$09599940$@suikkanen@dimenteq.fi> Hi all, We would like to get the properties for a feature from database. When the features of a markup layer are created, there seems to be no unique identifier. Except the ID but for every markup layer that starts at 1. We have many markup layers so basically all of them have a feature which has Id: 1. Any suggestions are greatly appreciated, Tanja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/8dc9f440/attachment.html From Michael.Micallef at ontario.ca Tue Apr 22 11:53:20 2008 From: Michael.Micallef at ontario.ca (MMicallef-MTO) Date: Tue Apr 22 11:53:22 2008 Subject: [mapguide-users] Problem with Buffer on Version 2.0 In-Reply-To: <16807968.post@talk.nabble.com> References: <16807968.post@talk.nabble.com> Message-ID: <16824855.post@talk.nabble.com> SOLVED - I followed the upgrade instructions from 1.2 to 2.0 and I think I deleted the directory after clearing the new structure with the old one. The "DataFiles" directory was missing in the Sessions Directory in Repositories - trying to make directories under it and it did not exist.. created C:\Program Files\MapGuideOpenSource2.0\Server\Repositories\Session\DataFiles directory problem solved. -- View this message in context: http://www.nabble.com/Problem-with-Buffer-on-Version-2.0-tp16807968s16610p16824855.html Sent from the MapGuide Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/652ae45f/attachment.html From Jason.Birch at nanaimo.ca Tue Apr 22 12:45:09 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Tue Apr 22 12:45:10 2008 Subject: [mapguide-users] Problem with Buffer on Version 2.0 In-Reply-To: <16824855.post@talk.nabble.com> References: <16807968.post@talk.nabble.com> <16824855.post@talk.nabble.com> Message-ID: <8E468917B01800408B91984428BE03DD072A617B@starfish.nanaimo.ca> I've seen that happen, but haven't been able to track down what causes it. I don't think I deleted the directory myself. Ideally, the DataFiles directory would be created by the repository code if it didn't exist. Jason From: MMicallef-MTO Subject: Re: [mapguide-users] Problem with Buffer on Version 2.0 SOLVED - I followed the upgrade instructions from 1.2 to 2.0 and I think I deleted the directory after clearing the new structure with the old one. The "DataFiles" directory was missing in the Sessions Directory in Repositories - trying to make directories under it and it did not exist.. created C:\Program Files\MapGuideOpenSource2.0\Server\Repositories\Session\DataFiles directory problem solved. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/42681f37/attachment.html From r0ss at shaw.ca Tue Apr 22 14:11:04 2008 From: r0ss at shaw.ca (r0ss) Date: Tue Apr 22 14:11:09 2008 Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF In-Reply-To: <000a01c8a45a$031dddc0$09599940$%suikkanen@dimenteq.fi> References: <000a01c8a45a$031dddc0$09599940$%suikkanen@dimenteq.fi> Message-ID: <003801c8a4a4$3b0d7a70$b1286f50$@ca> All, We have encountered a critical flaw with MapGuide in particular the undocumented use of the SDF format to create multi user based red lines - the default samples all highlight this is the approach. As an example, we created an application that allows users to each create, modify and display redlines from the same SDF file (as per the sample). We were recently informed by Autodesk that the SDF format is not meant to serve as a mutli-user creation format (which is an undocumented feature by the way!). During our testing when multiple users create redlines at the same time - the repository become corrupt and forces us restore the previous MapGuide package (does anyone know how to automate the deletion of SDF files in the repository without knowing the names of the repository names - i.e. the users create redlines and we do not know the repository names) The big ask: Does anyone have any experience creating redlines in anything other than SDF, notable SQL Server 2005, GML, KML, etc (we are not an Oracle or PostGIS shop) or any other work arounds we would greatly appreciated we are at a loss and in a time crunch. Regards R0ss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/e4e6a5ea/attachment.html From dave.wilson at autodesk.com Tue Apr 22 15:12:59 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Tue Apr 22 15:13:06 2008 Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF In-Reply-To: <003801c8a4a4$3b0d7a70$b1286f50$@ca> References: <000a01c8a45a$031dddc0$09599940$%suikkanen@dimenteq.fi> <003801c8a4a4$3b0d7a70$b1286f50$@ca> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2251380632C@ADSK-NAMSG-02.MGDADSK.autodesk.com> Are the markups permanent or temporary: this may have a big impact on the approach you can take? If temporary they should be created in the Session Repository which should at least avoid whatever may be causing corruption of the main repository. If users are creating their own markups do they need to share the same resource? Why can't they each have their own temporary session based SDF? This will probably avoid any corruption. The fact that you are trying to delete them suggests they are somewhat temporary. If they were created based on the session id then when the session expires you might create a process to delete the expired ones. Just a thought. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of r0ss Sent: Tuesday, April 22, 2008 12:11 PM To: 'MapGuide Users Mail List' Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF Importance: High All, We have encountered a critical flaw with MapGuide in particular the undocumented use of the SDF format to create multi user based red lines - the default samples all highlight this is the approach. As an example, we created an application that allows users to each create, modify and display redlines from the same SDF file (as per the sample). We were recently informed by Autodesk that the SDF format is not meant to serve as a mutli-user creation format (which is an undocumented feature by the way!). During our testing when multiple users create redlines at the same time - the repository become corrupt and forces us restore the previous MapGuide package (does anyone know how to automate the deletion of SDF files in the repository without knowing the names of the repository names - i.e. the users create redlines and we do not know the repository names) The big ask: Does anyone have any experience creating redlines in anything other than SDF, notable SQL Server 2005, GML, KML, etc (we are not an Oracle or PostGIS shop) or any other work arounds we would greatly appreciated we are at a loss and in a time crunch. Regards R0ss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/18dcf38a/attachment.html From r0ss at shaw.ca Tue Apr 22 16:15:35 2008 From: r0ss at shaw.ca (r0ss) Date: Tue Apr 22 16:15:41 2008 Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2251380632C@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <000a01c8a45a$031dddc0$09599940$%suikkanen@dimenteq.fi> <003801c8a4a4$3b0d7a70$b1286f50$@ca> <53C1C94B2F19CD408BFA392599EAF8E2251380632C@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <004c01c8a4b5$a020a930$e061fb90$@ca> Dave, To outline what we're trying to accomplish based on some business requirements: 1. Users can create two types of redlines; private and public, both of which are permanent and/or temporary. 2. The creator of the redline can determine if it gets deleted. 3. They may be quasi temporary in that they may only last a week or so, but not session temporary 4. Multiple users can view and/or edit the public mark-ups only, add, update, delete items etc concurrently. The private ones seem to be fine, although multiple users may be concurrently editing private redlines too. This all seems to go awry when multiple users concurrently edit public redlines that where created programmatically using the API feature service. Regards R0ss From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: April-22-08 1:13 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Creating mark ups / redlining using anything other than SDF Are the markups permanent or temporary: this may have a big impact on the approach you can take? If temporary they should be created in the Session Repository which should at least avoid whatever may be causing corruption of the main repository. If users are creating their own markups do they need to share the same resource? Why can't they each have their own temporary session based SDF? This will probably avoid any corruption. The fact that you are trying to delete them suggests they are somewhat temporary. If they were created based on the session id then when the session expires you might create a process to delete the expired ones. Just a thought. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of r0ss Sent: Tuesday, April 22, 2008 12:11 PM To: 'MapGuide Users Mail List' Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF Importance: High All, We have encountered a critical flaw with MapGuide in particular the undocumented use of the SDF format to create multi user based red lines - the default samples all highlight this is the approach. As an example, we created an application that allows users to each create, modify and display redlines from the same SDF file (as per the sample). We were recently informed by Autodesk that the SDF format is not meant to serve as a mutli-user creation format (which is an undocumented feature by the way!). During our testing when multiple users create redlines at the same time - the repository become corrupt and forces us restore the previous MapGuide package (does anyone know how to automate the deletion of SDF files in the repository without knowing the names of the repository names - i.e. the users create redlines and we do not know the repository names) The big ask: Does anyone have any experience creating redlines in anything other than SDF, notable SQL Server 2005, GML, KML, etc (we are not an Oracle or PostGIS shop) or any other work arounds we would greatly appreciated we are at a loss and in a time crunch. Regards R0ss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/4b8d9936/attachment.html From r0ss at shaw.ca Tue Apr 22 16:27:57 2008 From: r0ss at shaw.ca (r0ss) Date: Tue Apr 22 16:28:03 2008 Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2251380632C@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <000a01c8a45a$031dddc0$09599940$%suikkanen@dimenteq.fi> <003801c8a4a4$3b0d7a70$b1286f50$@ca> <53C1C94B2F19CD408BFA392599EAF8E2251380632C@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <005701c8a4b7$5a0de690$0e29b3b0$@ca> Hi The mark-ups a permanent R0ss From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: April-22-08 1:13 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Creating mark ups / redlining using anything other than SDF Are the markups permanent or temporary: this may have a big impact on the approach you can take? If temporary they should be created in the Session Repository which should at least avoid whatever may be causing corruption of the main repository. If users are creating their own markups do they need to share the same resource? Why can't they each have their own temporary session based SDF? This will probably avoid any corruption. The fact that you are trying to delete them suggests they are somewhat temporary. If they were created based on the session id then when the session expires you might create a process to delete the expired ones. Just a thought. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of r0ss Sent: Tuesday, April 22, 2008 12:11 PM To: 'MapGuide Users Mail List' Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF Importance: High All, We have encountered a critical flaw with MapGuide in particular the undocumented use of the SDF format to create multi user based red lines - the default samples all highlight this is the approach. As an example, we created an application that allows users to each create, modify and display redlines from the same SDF file (as per the sample). We were recently informed by Autodesk that the SDF format is not meant to serve as a mutli-user creation format (which is an undocumented feature by the way!). During our testing when multiple users create redlines at the same time - the repository become corrupt and forces us restore the previous MapGuide package (does anyone know how to automate the deletion of SDF files in the repository without knowing the names of the repository names - i.e. the users create redlines and we do not know the repository names) The big ask: Does anyone have any experience creating redlines in anything other than SDF, notable SQL Server 2005, GML, KML, etc (we are not an Oracle or PostGIS shop) or any other work arounds we would greatly appreciated we are at a loss and in a time crunch. Regards R0ss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/d86d4de3/attachment.html From dave.wilson at autodesk.com Tue Apr 22 18:50:56 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Tue Apr 22 18:51:10 2008 Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF In-Reply-To: <004c01c8a4b5$a020a930$e061fb90$@ca> References: <000a01c8a45a$031dddc0$09599940$%suikkanen@dimenteq.fi> <003801c8a4a4$3b0d7a70$b1286f50$@ca> <53C1C94B2F19CD408BFA392599EAF8E2251380632C@ADSK-NAMSG-02.MGDADSK.autodesk.com> <004c01c8a4b5$a020a930$e061fb90$@ca> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E22513806517@ADSK-NAMSG-02.MGDADSK.autodesk.com> Since you have a need for permanent and private/shared resources then temporary SDF's are not a solution. MG API does not contain any Schema creation API so you would need to use something like Autodesk Map to create the datastore/schema in the database. After that it's more of an insert/update/delete feature sequence of commands and security and possibly filters on the layers to access the data. What may also add some complications would be if you use different coordinate systems. Unless the data is stored as LL84 it might be hard to work with multiple spatial contexts in 1 table. The table can support multiple feature types. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of r0ss Sent: Tuesday, April 22, 2008 2:16 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Creating mark ups / redlining using anything other than SDF Dave, To outline what we're trying to accomplish based on some business requirements: 1. Users can create two types of redlines; private and public, both of which are permanent and/or temporary. 2. The creator of the redline can determine if it gets deleted. 3. They may be quasi temporary in that they may only last a week or so, but not session temporary 4. Multiple users can view and/or edit the public mark-ups only, add, update, delete items etc concurrently. The private ones seem to be fine, although multiple users may be concurrently editing private redlines too. This all seems to go awry when multiple users concurrently edit public redlines that where created programmatically using the API feature service. Regards R0ss From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: April-22-08 1:13 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Creating mark ups / redlining using anything other than SDF Are the markups permanent or temporary: this may have a big impact on the approach you can take? If temporary they should be created in the Session Repository which should at least avoid whatever may be causing corruption of the main repository. If users are creating their own markups do they need to share the same resource? Why can't they each have their own temporary session based SDF? This will probably avoid any corruption. The fact that you are trying to delete them suggests they are somewhat temporary. If they were created based on the session id then when the session expires you might create a process to delete the expired ones. Just a thought. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of r0ss Sent: Tuesday, April 22, 2008 12:11 PM To: 'MapGuide Users Mail List' Subject: [mapguide-users] Creating mark ups / redlining using anything other than SDF Importance: High All, We have encountered a critical flaw with MapGuide in particular the undocumented use of the SDF format to create multi user based red lines - the default samples all highlight this is the approach. As an example, we created an application that allows users to each create, modify and display redlines from the same SDF file (as per the sample). We were recently informed by Autodesk that the SDF format is not meant to serve as a mutli-user creation format (which is an undocumented feature by the way!). During our testing when multiple users create redlines at the same time - the repository become corrupt and forces us restore the previous MapGuide package (does anyone know how to automate the deletion of SDF files in the repository without knowing the names of the repository names - i.e. the users create redlines and we do not know the repository names) The big ask: Does anyone have any experience creating redlines in anything other than SDF, notable SQL Server 2005, GML, KML, etc (we are not an Oracle or PostGIS shop) or any other work arounds we would greatly appreciated we are at a loss and in a time crunch. Regards R0ss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080422/6ad5458d/attachment.html From jumpinjackie at gmail.com Tue Apr 22 22:46:09 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Tue Apr 22 22:46:14 2008 Subject: [mapguide-users] How to make features unique in markup layer? In-Reply-To: <000a01c8a45a$031dddc0$09599940$@suikkanen@dimenteq.fi> References: <000a01c8a45a$031dddc0$09599940$@suikkanen@dimenteq.fi> Message-ID: <16829953.post@talk.nabble.com> Is your markup layer the one from the database? What does the class definition for your markup layer look like? (eg. The list of properties/columns) - Jackie Tanja Suikkanen wrote: > > Hi all, > > > > We would like to get the properties for a feature from database. > > When the features of a markup layer are created, there seems to be no > unique > identifier. > > Except the ID but for every markup layer that starts at 1. > > We have many markup layers so basically all of them have a feature which > has > Id: 1. > > > > Any suggestions are greatly appreciated, > > > > Tanja > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/How-to-make-features-unique-in-markup-layer--tp16829068p16829953.html Sent from the MapGuide Users mailing list archive at Nabble.com. From tanja.suikkanen at dimenteq.fi Wed Apr 23 01:46:27 2008 From: tanja.suikkanen at dimenteq.fi (Tanja Suikkanen) Date: Wed Apr 23 01:46:52 2008 Subject: [mapguide-users] How to make features unique in markup layer? Message-ID: <002d01c8a505$621a4f10$264eed30$@suikkanen@dimenteq.fi> Our markup layers are only in Library repository. In the database there is information about one markup feature per Id. I don't know if you meant this, but here it is: AgAAAA== All markup layers are created with the phpGenericTasks sample code. Now we thought if we put the layer definition (Library://somepath/.) and the propertys id value (2) in an array or something. Then we get a value pair which we can compare to ids in the database. If you have a better idea, please tell! Tanja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080423/75cd28d9/attachment.html From vs2k2000 at rediffmail.com Wed Apr 23 07:43:18 2008 From: vs2k2000 at rediffmail.com (Vishaal) Date: Wed Apr 23 07:43:19 2008 Subject: [mapguide-users] Properties Frame in Studio 2007 - Hyperlinks In-Reply-To: References: Message-ID: <16834203.post@talk.nabble.com> Hi James, i am developing a web solution using MGOS 1.2 with Visual Studio 2005 ( C#). i am successful in querying tax lots and also i am getting the selection displayed as an html table. now what i want to do is if i click on any of the selected tax lots from the html table, it should get selected, highlighted and map should zoom to that tax lot( same as in your RABA solution--where you can zoom in to the bus route after searching it through query). The next thing i want to do is create a link in my properties pane so that if i click on that link the related image should be displayed(once again like your example). i tried creating the hyper links in the dbf file itself( i am using shp files) but that was of no use. if you can share your thoughts on this along with your piece of code to do the mentioned functionalities then it would be a great help to me.as i need it very urgently. i appreciate all your help. thanks in advance. vishal James Card wrote: > > On Fri, 26 Jan 2007 18:05:56 -0800, wrote: > >> I have a number of URLs in my table attributes. I have these columns >> appearing in my Properties frame in MG Studio. Is there a way to enable >> these URLs so that on the onClick event, the user goes to the respective >> URL? > > The way we've done this is to include the HTML link syntax in the > database; so, instead of storing 'http://someserver/scanned_image.png', we > store ' http://someserver/scanned_image.png View Image '. > > There is an example of this at . > Select one of the Bus Route lines. > > -- > James Card > California CAD Solutions, Inc. > 209 578-5580 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Properties-Frame-in-Studio-2007---Hyperlinks-tp8662120p16834203.html Sent from the MapGuide Users mailing list archive at Nabble.com. From nuell at nicholsenvironmental.com Wed Apr 23 14:43:35 2008 From: nuell at nicholsenvironmental.com (David Nuell) Date: Wed Apr 23 14:43:36 2008 Subject: [mapguide-users] MGOS v2.0 join with other feature source issue Message-ID: <16834759.post@talk.nabble.com> Hi all - I have MGOS v2.0 installed on a Win box with server 2003 installed. I am also using Autodesk MapGuide Studio v 1.2.0.410 to build the web page. I have connected my MS Access DB through OSGeo FDO Provider for ODBC and am attempting to join the tables within that DB with my data layer. I am successful in connecting a single table to my data and it displays perfectly fine with the joined attributes. When I attempt to connect a second table to the same data, the join works perfectly fine, however the data (polygons) do not display anymore. When I remove the second table and refresh, it displays just fine again. I have tried different tables, and in different orders however it seems that only a single table can be joined and be displayed. Has anyone else run into this? Is there a maximum number of joins allowed? cheers. -- View this message in context: http://www.nabble.com/MGOS-v2.0-join-with-other-feature-source-issue-tp16834759p16834759.html Sent from the MapGuide Users mailing list archive at Nabble.com. From ks at geograf.dk Wed Apr 23 15:17:37 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Wed Apr 23 15:17:47 2008 Subject: [mapguide-users] Authentication error at line 199 In-Reply-To: References: Message-ID: <480F8B51.6080509@geograf.dk> You might want to check the authentication settings in IIS. Try to remove the "Integrated Windows Authentication" setting. In case it is a browser/firewall issue, try to add the username/password parameters to the URL: http://localhost/mapguide2008/mapviewerajax/?WEBLAYOUT=....&USERNAME=Administrator&PASSWORD=admin That will bypass the authentication header system. Regards, Kenneth, GEOGRAF A/S Thomas Brix Lyng skrev: > > Hi > > I'm getting an error with MapGuide Enterprise 2008 I can?t figure: > > ???"Authentication failed. Please enter a valid username and password. > Exception occurred in method MgSecurityManager.Authenticate at line > 199 in file > c:\build_bond_area\Bond_Nightly\BUILD_41.3\Ent\OS\Server\src\Common\Manager\SecurityManager.cpp > " > > The error shows in my layout in the taskpanel and no map is showing. I > can see the map in studio but when I try to view it in my webbrowser > (IE6 or IE7) i get the error even if I log in with my MapGuide > administrator password (It works in MapGuide administrator modul PHP). > > Please advice! > > Regards > > Thomas Brix Lyng > Frederikshavn Municipal Administration > Denmark > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080423/1fec0156/attachment.html From john at cadit.net Wed Apr 23 18:31:31 2008 From: john at cadit.net (John Benstead) Date: Wed Apr 23 18:31:33 2008 Subject: [mapguide-users] Exception occurred in DB XML componet In-Reply-To: <16819838.post@talk.nabble.com> References: <16819838.post@talk.nabble.com> Message-ID: <16834856.post@talk.nabble.com> Hi Fan Just adding this note for others future reference... We were unable to locate any specific error with the installation that may have caused this, although the computer was added to a new domain after the installation of MapGuide Open Source and Studio. Repairing and/or re-installing the applications were initially unsuccessful. To fix the error, both MapGuide Open Source and MapGuide Studio were uninstalled and all residual files/folders were deleted from "C:\Program files\..." MapGuide Open Source and Studio were then re-installed and work successfully. Regards John Benstead Fan Xu wrote: > > Hello, > > I use Autodesk Mapguide Studio 2008 and have trouble when saving a new > database connection. > > The message I get is > > " Unable to complete request to site > > An exception occurred in DB XML component > Error: DB_PAGE_NOTFOUND: Requested page not found" > > The type of ODBC connection is "Connect via a Data Source Name (DSN) set > up on this server", and it says "Successful connection" when hit the "Test > Connection" button. > > Can someone help me with this? > > Regards, > > Fan Xu > -- View this message in context: http://www.nabble.com/Exception-occurred-in-DB-XML-componet-tp16819838p16834856.html Sent from the MapGuide Users mailing list archive at Nabble.com. From sandeepthosar at gmail.com Thu Apr 24 02:29:08 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Thu Apr 24 02:29:12 2008 Subject: [mapguide-users] API Reference Message-ID: Dear All, I am build my MapGuide application with Asp.NET with C# and use SHP files I add all dlls as per Installation Guide but how I add Map in my application and also any other references I required to add in my application. Please help me out Thanks in advance. With Regards, Sandeep -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080424/9fb47019/attachment.html From sandeepthosar at gmail.com Thu Apr 24 04:27:14 2008 From: sandeepthosar at gmail.com (Sandeep Thosar) Date: Thu Apr 24 04:27:17 2008 Subject: [mapguide-users] Error to load MapGuideDotNetApi Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: mapguideerror.doc Type: application/msword Size: 109056 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080424/2fffde5b/mapguideerror.doc From anakando at yahoo.com Thu Apr 24 04:31:35 2008 From: anakando at yahoo.com (anakando@yahoo.com) Date: Thu Apr 24 04:31:36 2008 Subject: [mapguide-users] Projection in Google map Message-ID: <15735589.67701209025895082.JavaMail.nabble@isper.nabble.com> hi guys.. i have a plenty of land base layers and i decided to overlay these layer into Google map..so the problem is,my data is in cassini projection..so here i like to know how can i convert my data projection into projection that supported by Google map?what is the first step should i do? i really appreciated your help. thanks in advanced From anakando at yahoo.com Thu Apr 24 04:36:47 2008 From: anakando at yahoo.com (anakando) Date: Thu Apr 24 04:36:48 2008 Subject: [mapguide-users] Projection in Google map Message-ID: <16847442.post@talk.nabble.com> hi guys.. i have a plenty of land base layers and i decided to overlay these layers into Google map. The problem is my layers is in Cassini projection. So i like to know how can i convert my layers projection into projection that supported by Google map?it is good if you can tell me what should i do from the 1st step. really appreciated your help. Thanks in advanced -- View this message in context: http://www.nabble.com/Projection-in-Google-map-tp16847442p16847442.html Sent from the MapGuide Users mailing list archive at Nabble.com. From ks at geograf.dk Thu Apr 24 05:11:00 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Thu Apr 24 05:11:08 2008 Subject: [mapguide-users] API Reference In-Reply-To: References: Message-ID: <48104EA4.2070200@geograf.dk> You can add an So, body onload calls InitDocument which registers the new OnSelectionChanged event handler. The new handler only pops up a dialog box and then calls the old function. The MG Viewer is embedded in an iframe. ________________________________ L?hett?j?: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] Puolesta Tanja Suikkanen L?hetetty: 28. huhtikuuta 2008 14:10 Vastaanottaja: mapguide-users@lists.osgeo.org Aihe: Re: [mapguide-users] OnSelectionChanged in AJAX viewer? My map is embedded in my own page. When a user selects one or more features on the map, I want my own function to be executed. But doesn't parent.parent.mapFrame still get me the map frame..? And this works but only when I click some button. Tanja From: Kenneth, GEOGRAF A/S [mailto:ks@geograf.dk] Sent: 28. huhtikuuta 2008 13:57 To: tanja.suikkanen@dimenteq.fi; MapGuide Users Mail List Subject: SPAM-LOW: Re: [mapguide-users] OnSelectionChanged in AJAX viewer? Are you issuing the script from a command? If you want to do this all the time (regardless of what the user has done), you must load the script with the solution. If your map is embedded in another page, you can load the script there, and change "var map = parent.parent.mapFrame;" to point to the correct frame. If it is just the basic layout, you can try to put it in the page that loads in the taskpane (but beware that the document gets unloaded if the user navigates). As a last resort, you can embed the script in the viewerfiles. In case you can use the embedded map approach, you should place the following line after the "try {": map = document.getElementById('').GetMapFrame() Regards, Kenneth, GEOGRAF A/S Tanja Suikkanen skrev: Ok, I sent my code snippet earlier today, but here it is again. I got this example from http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking. var map = parent.parent.mapFrame; var origOnSelectionChanged = null; function MySelectionHandler() { origOnSelectionChanged(); var selCount = map.GetSelectedCount(); if(selCount > 0) { My function() {} } } window.onload = function() { var timer; var watch = function() { try { if(map.mapInit) { clearInterval(timer); origOnSelectionChanged = map.OnSelectionChanged; map.OnSelectionChanged = MySelectionHandler; } } catch(e) { } }; timer = setInterval(watch, 200); }; Window.onload function is executed only, if I press a button. I want to have the functionality I was telling you about without any button clicks. Please ask if I don't tell you enough. Tanja From: Ivan Milicevic [mailto:Ivan.Milicevic@supranet.hr] Sent: 28. huhtikuuta 2008 12:04 To: tanja.suikkanen@dimenteq.fi; MapGuide Users Mail List Subject: RE: [mapguide-users] OnSelectionChanged in AJAX viewer? Feature doesn't get highlighted? Of course that you can add this functionality in your own code, the logic is same. Allwas call mapFrame functions (via JavaScript) or count selection from C# or PHP. If you want to get some help over here, be more specific. Ivan. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Tanja Suikkanen Sent: Monday, April 28, 2008 10:46 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] OnSelectionChanged in AJAX viewer? Ok, now it worked but some functionality had been removed? When I first select a feature, everything goes fine but when I select another feature, that doesn't get highlighted... Also I wouldn't like to change the original files, just add my own functionality in my own code files. But thanks anyway! Tanja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/f0728012/attachment.html From ks at geograf.dk Mon Apr 28 08:36:44 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Mon Apr 28 08:36:55 2008 Subject: [mapguide-users] OnSelectionChanged in AJAX viewer? In-Reply-To: References: <002801c8a90c$488b9cb0$d9a2d610$@suikkanen@dimenteq.fi> <9CAB6B340CCF9E44BE4ACFCF56E67B071557BF@supranet><003001c8a912$50746550$f15d2ff0$@suikkanen@dimenteq.fi><4815AD85.5070804@geograf.dk> <003801c8a920$79b3c010$6d1b4030$@suikkanen@dimenteq.fi> Message-ID: <4815C4DC.7060206@geograf.dk> You must safeguard against timing problems. It is very likely that your frame will load completely before the iframe does. In that case, you cannot get the OnSelectionChanged method reference. You can add an "onload" to the iframe, but it is still possible that it will break, because the internal frames do not load in the expected order. A simple fix is to wrap your "InitDocument" with a timer. Also, using the "frames[0].frames[1]" is relying on the order of your page, and the order of the viewer frames. A more reliable method, is to use the ID if the frame element, and then use the built-in method GetMapFrame(). I have applied the above to your example: Regards, Kenneth, GEOGRAF A/S Kimmo Kotaj?rvi skrev: > > Here's my solution (simplified): > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > So, body onload calls InitDocument which registers the new > OnSelectionChanged event handler. The new handler only pops up a > dialog box and then calls the old function. The MG Viewer is embedded > in an iframe. > > > > > > ------------------------------------------------------------------------ > > *L?hett?j?:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *Puolesta *Tanja Suikkanen > *L?hetetty:* 28. huhtikuuta 2008 14:10 > *Vastaanottaja:* mapguide-users@lists.osgeo.org > *Aihe:* Re: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > My map is embedded in my own page. > > When a user selects one or more features on the map, I want my own > function to be executed. > > But doesn't parent.parent.mapFrame still get me the map frame..? > > And this works but only when I click some button. > > > > Tanja > > > > > > *From:* Kenneth, GEOGRAF A/S [mailto:ks@geograf.dk] > *Sent:* 28. huhtikuuta 2008 13:57 > *To:* tanja.suikkanen@dimenteq.fi; MapGuide Users Mail List > *Subject:* SPAM-LOW: Re: [mapguide-users] OnSelectionChanged in AJAX > viewer? > > > > Are you issuing the script from a command? > > If you want to do this all the time (regardless of what the user has > done), you must load the script with the solution. > If your map is embedded in another page, you can load the script > there, and change "var map = parent.parent.mapFrame;" to point to the > correct frame. > If it is just the basic layout, you can try to put it in the page that > loads in the taskpane (but beware that the document gets unloaded if > the user navigates). > As a last resort, you can embed the script in the viewerfiles. > > In case you can use the embedded map approach, you should place the > following line after the "try {": > map = document.getElementById('').GetMapFrame() > > Regards, Kenneth, GEOGRAF A/S > > > > Tanja Suikkanen skrev: > > Ok, I sent my code snippet earlier today, but here it is again. > > I got this example from > http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking. > > > > var map = parent.parent.mapFrame; > > > > var origOnSelectionChanged = null; > > > > function MySelectionHandler() > > { > > origOnSelectionChanged(); > > > > var selCount = map.GetSelectedCount(); > > if(selCount > 0) > > { > > My function() {} > > } > > } > > > > window.onload = function() { > > > > var timer; > > > > var watch = function() { > > > > try { > > if(map.mapInit) { > > > > clearInterval(timer); > > > > origOnSelectionChanged = map.OnSelectionChanged; > > > > map.OnSelectionChanged = MySelectionHandler; > > } > > } > > catch(e) { > > } > > }; > > > > timer = setInterval(watch, 200); > > }; > > > > Window.onload function is executed only, if I press a button. > > I want to have the functionality I was telling you about without any > button clicks. > > Please ask if I don't tell you enough. > > > > Tanja > > > > > > *From:* Ivan Milicevic [mailto:Ivan.Milicevic@supranet.hr] > *Sent:* 28. huhtikuuta 2008 12:04 > *To:* tanja.suikkanen@dimenteq.fi > ; MapGuide Users Mail List > *Subject:* RE: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > Feature doesn't get highlighted? > > > > Of course that you can add this functionality in your own code, the > logic is same. Allwas call mapFrame functions (via JavaScript) or > count selection from C# or PHP. > > > > If you want to get some help over here, be more specific. > > > > Ivan. > > > > *From:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Tanja > Suikkanen > *Sent:* Monday, April 28, 2008 10:46 AM > *To:* mapguide-users@lists.osgeo.org > > *Subject:* RE: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > Ok, now it worked but some functionality had been removed? > > When I first select a feature, everything goes fine but when I select > another feature, that doesn't get highlighted... > > Also I wouldn't like to change the original files, just add my own > functionality in my own code files. > > But thanks anyway! > > > > Tanja > > ------------------------------------------------------------------------ > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/c5d8348c/attachment.html From nclayton at gmail.com Mon Apr 28 08:48:27 2008 From: nclayton at gmail.com (nclayton) Date: Mon Apr 28 08:48:28 2008 Subject: [mapguide-users] Out of Memory error problem Message-ID: <16938026.post@talk.nabble.com> Hi all, I have been having problems with MGOS 2.0 crashing on me to the point that i was using a script to restart the service every 30 minutes. I resolved part of the problem by changing how one of my layers was rendered. But, after running without a restart for about 2 days I got the following errors: ============================================================================ <2008-04-25T11:32:56> Anonymous Error: An exception occurred in FDO component. 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value for the input parameter(s) 'positions'. StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp - MgServerRenderingService.QueryFeatures line 647 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp - MgServerRenderingService.RenderForSelection line 1252 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp - MgServerSelectFeatures.SelectFeatures line 249 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp An exception occurred in FDO component. 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value for the input parameter(s) 'positions'. <2008-04-25T11:57:23> Anonymous Error: Failed to stylize layer: aerial Out of memory. bad allocation StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: aerial Out of memory. bad allocation <2008-04-25T12:21:39> Anonymous Error: Out of memory. bad allocation StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpRenderDynamicOverlay.Execute line 109 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp - MgServerRenderingService.RenderDynamicOverlay line 305 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp Out of memory. bad allocation ============================================================================ Thank you for any help that can be provided. -- View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16938026.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Mon Apr 28 08:55:48 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Mon Apr 28 08:55:53 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <16938026.post@talk.nabble.com> References: <16938026.post@talk.nabble.com> Message-ID: <7a85053e0804280555n515669bfm88b8956a797fb314@mail.gmail.com> i have been having had similiar problems can you share what you did to the layer rendering? tiled or untiled? z On Mon, Apr 28, 2008 at 10:48 PM, nclayton wrote: > > Hi all, > I have been having problems with MGOS 2.0 crashing on me to the point that i > was using a script to restart the service every 30 minutes. > > I resolved part of the problem by changing how one of my layers was > rendered. > > But, after running without a restart for about 2 days I got the following > errors: > > ============================================================================ > <2008-04-25T11:32:56> Anonymous > Error: An exception occurred in FDO component. > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid > value for the input parameter(s) 'positions'. > StackTrace: > - MgRenderingServiceHandler.ProcessOperation line 83 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp > - MgOpQueryFeatures.Execute line 125 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp > - MgServerRenderingService.QueryFeatures line 647 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > - MgServerRenderingService.RenderForSelection line 1252 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > - MgServerSelectFeatures.SelectFeatures line 249 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp > An exception occurred in FDO component. > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value for > the input parameter(s) 'positions'. > > <2008-04-25T11:57:23> Anonymous > Error: Failed to stylize layer: aerial > Out of memory. > bad allocation > StackTrace: > - MgMappingUtil.StylizeLayers line 776 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp > Failed to stylize layer: aerial > Out of memory. > bad allocation > > <2008-04-25T12:21:39> Anonymous > Error: Out of memory. > bad allocation > StackTrace: > - MgRenderingServiceHandler.ProcessOperation line 83 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp > - MgOpRenderDynamicOverlay.Execute line 109 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp > - MgServerRenderingService.RenderDynamicOverlay line 305 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > Out of memory. > bad allocation > ============================================================================ > > Thank you for any help that can be provided. > -- > View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16938026.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From ks at geograf.dk Mon Apr 28 09:00:44 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Mon Apr 28 09:00:48 2008 Subject: [mapguide-users] OnSelectionChanged in AJAX viewer? In-Reply-To: <4815C4DC.7060206@geograf.dk> References: <002801c8a90c$488b9cb0$d9a2d610$@suikkanen@dimenteq.fi> <9CAB6B340CCF9E44BE4ACFCF56E67B071557BF@supranet><003001c8a912$50746550$f15d2ff0$@suikkanen@dimenteq.fi><4815AD85.5070804@geograf.dk> <003801c8a920$79b3c010$6d1b4030$@suikkanen@dimenteq.fi> <4815C4DC.7060206@geograf.dk> Message-ID: <4815CA7C.40603@geograf.dk> I made a small mistake. The retry condition should not be: if (mapFrame == null) window.setTimeout("RetryInit();", 500); but if (originalMapFrameOnSelectionChanged == null) { mapFrame = null; window.setTimeout("RetryInit();", 500); } Because the frame may exist, but the function might be missing. Regards, Kenneth, GEOGRAF A/S Kenneth, GEOGRAF A/S skrev: > You must safeguard against timing problems. > It is very likely that your frame will load completely before the > iframe does. > In that case, you cannot get the OnSelectionChanged method reference. > You can add an "onload" to the iframe, but it is still possible that > it will break, because the internal frames do not load in the expected > order. > A simple fix is to wrap your "InitDocument" with a timer. > > Also, using the "frames[0].frames[1]" is relying on the order of your > page, and the order of the viewer frames. > A more reliable method, is to use the ID if the frame element, and > then use the built-in method GetMapFrame(). > > I have applied the above to your example: > > > > > > > > > > > > > > Regards, Kenneth, GEOGRAF A/S > > > > Kimmo Kotaj?rvi skrev: >> >> Here's my solution (simplified): >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> So, body onload calls InitDocument which registers the new >> OnSelectionChanged event handler. The new handler only pops up a >> dialog box and then calls the old function. The MG Viewer is embedded >> in an iframe. >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> *L?hett?j?:* mapguide-users-bounces@lists.osgeo.org >> [mailto:mapguide-users-bounces@lists.osgeo.org] *Puolesta *Tanja >> Suikkanen >> *L?hetetty:* 28. huhtikuuta 2008 14:10 >> *Vastaanottaja:* mapguide-users@lists.osgeo.org >> *Aihe:* Re: [mapguide-users] OnSelectionChanged in AJAX viewer? >> >> >> >> My map is embedded in my own page. >> >> When a user selects one or more features on the map, I want my own >> function to be executed. >> >> But doesn't parent.parent.mapFrame still get me the map frame..? >> >> And this works but only when I click some button. >> >> >> >> Tanja >> >> >> >> >> >> *From:* Kenneth, GEOGRAF A/S [mailto:ks@geograf.dk] >> *Sent:* 28. huhtikuuta 2008 13:57 >> *To:* tanja.suikkanen@dimenteq.fi; MapGuide Users Mail List >> *Subject:* SPAM-LOW: Re: [mapguide-users] OnSelectionChanged in AJAX >> viewer? >> >> >> >> Are you issuing the script from a command? >> >> If you want to do this all the time (regardless of what the user has >> done), you must load the script with the solution. >> If your map is embedded in another page, you can load the script >> there, and change "var map = parent.parent.mapFrame;" to point to the >> correct frame. >> If it is just the basic layout, you can try to put it in the page >> that loads in the taskpane (but beware that the document gets >> unloaded if the user navigates). >> As a last resort, you can embed the script in the viewerfiles. >> >> In case you can use the embedded map approach, you should place the >> following line after the "try {": >> map = document.getElementById('').GetMapFrame() >> >> Regards, Kenneth, GEOGRAF A/S >> >> >> >> Tanja Suikkanen skrev: >> >> Ok, I sent my code snippet earlier today, but here it is again. >> >> I got this example from >> http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking. >> >> >> >> var map = parent.parent.mapFrame; >> >> >> >> var origOnSelectionChanged = null; >> >> >> >> function MySelectionHandler() >> >> { >> >> origOnSelectionChanged(); >> >> >> >> var selCount = map.GetSelectedCount(); >> >> if(selCount > 0) >> >> { >> >> My function() {} >> >> } >> >> } >> >> >> >> window.onload = function() { >> >> >> >> var timer; >> >> >> >> var watch = function() { >> >> >> >> try { >> >> if(map.mapInit) { >> >> >> >> clearInterval(timer); >> >> >> >> origOnSelectionChanged = map.OnSelectionChanged; >> >> >> >> map.OnSelectionChanged = MySelectionHandler; >> >> } >> >> } >> >> catch(e) { >> >> } >> >> }; >> >> >> >> timer = setInterval(watch, 200); >> >> }; >> >> >> >> Window.onload function is executed only, if I press a button. >> >> I want to have the functionality I was telling you about without any >> button clicks. >> >> Please ask if I don't tell you enough. >> >> >> >> Tanja >> >> >> >> >> >> *From:* Ivan Milicevic [mailto:Ivan.Milicevic@supranet.hr] >> *Sent:* 28. huhtikuuta 2008 12:04 >> *To:* tanja.suikkanen@dimenteq.fi >> ; MapGuide Users Mail List >> *Subject:* RE: [mapguide-users] OnSelectionChanged in AJAX viewer? >> >> >> >> Feature doesn't get highlighted? >> >> >> >> Of course that you can add this functionality in your own code, the >> logic is same. Allwas call mapFrame functions (via JavaScript) or >> count selection from C# or PHP. >> >> >> >> If you want to get some help over here, be more specific. >> >> >> >> Ivan. >> >> >> >> *From:* mapguide-users-bounces@lists.osgeo.org >> >> [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Tanja >> Suikkanen >> *Sent:* Monday, April 28, 2008 10:46 AM >> *To:* mapguide-users@lists.osgeo.org >> >> *Subject:* RE: [mapguide-users] OnSelectionChanged in AJAX viewer? >> >> >> >> Ok, now it worked but some functionality had been removed? >> >> When I first select a feature, everything goes fine but when I select >> another feature, that doesn't get highlighted... >> >> Also I wouldn't like to change the original files, just add my own >> functionality in my own code files. >> >> But thanks anyway! >> >> >> >> Tanja >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/583c7544/attachment.html From nclayton at gmail.com Mon Apr 28 09:03:04 2008 From: nclayton at gmail.com (nclayton) Date: Mon Apr 28 09:03:05 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <7a85053e0804280555n515669bfm88b8956a797fb314@mail.gmail.com> References: <16938026.post@talk.nabble.com> <7a85053e0804280555n515669bfm88b8956a797fb314@mail.gmail.com> Message-ID: <16938486.post@talk.nabble.com> My original problem was that I had a layer displaying city limit polygons with a fill style of Shape16 and one that was Shape31. I changed both of these to solid, and the server became a lot more stable. But then I ran into these Out of Memory errors about 2 days after. zspitzer wrote: > > i have been having had similiar problems > > can you share what you did to the layer rendering? tiled or untiled? > > z > > On Mon, Apr 28, 2008 at 10:48 PM, nclayton wrote: >> >> Hi all, >> I have been having problems with MGOS 2.0 crashing on me to the point >> that i >> was using a script to restart the service every 30 minutes. >> >> I resolved part of the problem by changing how one of my layers was >> rendered. >> >> But, after running without a restart for about 2 days I got the >> following >> errors: >> >> >> ============================================================================ >> <2008-04-25T11:32:56> Anonymous >> Error: An exception occurred in FDO component. >> 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid >> value for the input parameter(s) 'positions'. >> StackTrace: >> - MgRenderingServiceHandler.ProcessOperation line 83 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp >> - MgOpQueryFeatures.Execute line 125 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp >> - MgServerRenderingService.QueryFeatures line 647 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >> - MgServerRenderingService.RenderForSelection line 1252 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >> - MgServerSelectFeatures.SelectFeatures line 249 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp >> An exception occurred in FDO component. >> 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value >> for >> the input parameter(s) 'positions'. >> >> <2008-04-25T11:57:23> Anonymous >> Error: Failed to stylize layer: aerial >> Out of memory. >> bad allocation >> StackTrace: >> - MgMappingUtil.StylizeLayers line 776 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp >> Failed to stylize layer: aerial >> Out of memory. >> bad allocation >> >> <2008-04-25T12:21:39> Anonymous >> Error: Out of memory. >> bad allocation >> StackTrace: >> - MgRenderingServiceHandler.ProcessOperation line 83 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp >> - MgOpRenderDynamicOverlay.Execute line 109 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp >> - MgServerRenderingService.RenderDynamicOverlay line 305 file >> >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >> Out of memory. >> bad allocation >> >> ============================================================================ >> >> Thank you for any help that can be provided. >> -- >> View this message in context: >> http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16938026.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 >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16938486.html Sent from the MapGuide Users mailing list archive at Nabble.com. From max at geoinova.com Mon Apr 28 09:08:19 2008 From: max at geoinova.com (Maksim Sestic) Date: Mon Apr 28 09:09:40 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <16938026.post@talk.nabble.com> Message-ID: <000601c8a930$f5de9ab0$0401a8c0@max2> Happens to me more more than often. I have couple of tiled base layers (orthophoto, scanned maps, relief maps, etc.) set to fixed list of integer scales. There's a problem with "empty" tile rendering, where random tiles simply get skipped (don't get rendered at all) and get cached that way. But that's not causing "Out of Memory error problem". What I did notice is that if I include ODBC-based (unmanaged) dynamic layers it crashes twice or more frequently than if there're only FDO-based (managed) dynamic layers. Each and every data source (both managed and unmanaged) runs on SQL Server 2000/2005. Crashed MG server process reports no error whatsoever. Regards, Maksim Sestic -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton Sent: Monday, April 28, 2008 14:48 To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Out of Memory error problem Hi all, I have been having problems with MGOS 2.0 crashing on me to the point that i was using a script to restart the service every 30 minutes. I resolved part of the problem by changing how one of my layers was rendered. But, after running without a restart for about 2 days I got the following errors: ============================================================================ <2008-04-25T11:32:56> Anonymous Error: An exception occurred in FDO component. 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value for the input parameter(s) 'positions'. StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\RenderingServiceHandler.cpp - MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\OpQueryFeatures.cpp - MgServerRenderingService.QueryFeatures line 647 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\ServerRenderingService.cpp - MgServerRenderingService.RenderForSelection line 1252 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\ServerRenderingService.cpp - MgServerSelectFeatures.SelectFeatures line 249 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\feature\ServerSelectFeatures.cpp An exception occurred in FDO component. 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value for the input parameter(s) 'positions'. <2008-04-25T11:57:23> Anonymous Error: Failed to stylize layer: aerial Out of memory. bad allocation StackTrace: - MgMappingUtil.StylizeLayers line 776 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\mapping\MappingUtil.cpp Failed to stylize layer: aerial Out of memory. bad allocation <2008-04-25T12:21:39> Anonymous Error: Out of memory. bad allocation StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\RenderingServiceHandler.cpp - MgOpRenderDynamicOverlay.Execute line 109 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\OpRenderDynamicOverlay.cpp - MgServerRenderingService.RenderDynamicOverlay line 305 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ services\rendering\ServerRenderingService.cpp Out of memory. bad allocation ============================================================================ Thank you for any help that can be provided. -- View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16938026.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 __________ NOD32 3059 (20080428) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From tanja.suikkanen at dimenteq.fi Mon Apr 28 09:14:18 2008 From: tanja.suikkanen at dimenteq.fi (Tanja Suikkanen) Date: Mon Apr 28 09:14:37 2008 Subject: [mapguide-users] OnSelectionChanged in AJAX viewer? In-Reply-To: <4815CA7C.40603@geograf.dk> References: <002801c8a90c$488b9cb0$d9a2d610$@suikkanen@dimenteq.fi> <9CAB6B340CCF9E44BE4ACFCF56E67B071557BF@supranet><003001c8a912$50746550$f15d2ff0$@suikkanen@dimenteq.fi><4815AD85.5070804@geograf.dk> <003801c8a920$79b3c010$6d1b4030$@suikkanen@dimenteq.fi> <4815C4DC.7060206@geograf.dk> <4815CA7C.40603@geograf.dk> Message-ID: <005201c8a931$c67c5db0$53751910$@suikkanen@dimenteq.fi> Thanks you both, but I think these don?t work, cause I have Ajax viewer and OnSelectionChanged is an ActiveX control. Any ideas with Ajax? Tanja From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Kenneth, GEOGRAF A/S Sent: 28. huhtikuuta 2008 16:01 To: MapGuide Users Mail List Subject: Re: [mapguide-users] OnSelectionChanged in AJAX viewer? I made a small mistake. The retry condition should not be: if (mapFrame == null) window.setTimeout("RetryInit();", 500); but if (originalMapFrameOnSelectionChanged == null) { mapFrame = null; window.setTimeout("RetryInit();", 500); } Because the frame may exist, but the function might be missing. Regards, Kenneth, GEOGRAF A/S Kenneth, GEOGRAF A/S skrev: You must safeguard against timing problems. It is very likely that your frame will load completely before the iframe does. In that case, you cannot get the OnSelectionChanged method reference. You can add an "onload" to the iframe, but it is still possible that it will break, because the internal frames do not load in the expected order. A simple fix is to wrap your "InitDocument" with a timer. Also, using the "frames[0].frames[1]" is relying on the order of your page, and the order of the viewer frames. A more reliable method, is to use the ID if the frame element, and then use the built-in method GetMapFrame(). I have applied the above to your example: Regards, Kenneth, GEOGRAF A/S Kimmo Kotaj?rvi skrev: Here?s my solution (simplified): "javascript:InitDocument()"> So, body onload calls InitDocument which registers the new OnSelectionChanged event handler. The new handler only pops up a dialog box and then calls the old function. The MG Viewer is embedded in an iframe. _____ L?hett?j?: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] Puolesta Tanja Suikkanen L?hetetty: 28. huhtikuuta 2008 14:10 Vastaanottaja: mapguide-users@lists.osgeo.org Aihe: Re: [mapguide-users] OnSelectionChanged in AJAX viewer? My map is embedded in my own page. When a user selects one or more features on the map, I want my own function to be executed. But doesn?t parent.parent.mapFrame still get me the map frame..? And this works but only when I click some button. Tanja From: Kenneth, GEOGRAF A/S [mailto:ks@geograf.dk] Sent: 28. huhtikuuta 2008 13:57 To: tanja.suikkanen@dimenteq.fi; MapGuide Users Mail List Subject: SPAM-LOW: Re: [mapguide-users] OnSelectionChanged in AJAX viewer? Are you issuing the script from a command? If you want to do this all the time (regardless of what the user has done), you must load the script with the solution. If your map is embedded in another page, you can load the script there, and change "var map = parent.parent.mapFrame;" to point to the correct frame. If it is just the basic layout, you can try to put it in the page that loads in the taskpane (but beware that the document gets unloaded if the user navigates). As a last resort, you can embed the script in the viewerfiles. In case you can use the embedded map approach, you should place the following line after the "try {": map = document.getElementById('').GetMapFrame() Regards, Kenneth, GEOGRAF A/S Tanja Suikkanen skrev: Ok, I sent my code snippet earlier today, but here it is again. I got this example from http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHo oking. var map = parent.parent.mapFrame; var origOnSelectionChanged = null; function MySelectionHandler() { origOnSelectionChanged(); var selCount = map.GetSelectedCount(); if(selCount > 0) { My function() {} } } window.onload = function() { var timer; var watch = function() { try { if(map.mapInit) { clearInterval(timer); origOnSelectionChanged = map.OnSelectionChanged; map.OnSelectionChanged = MySelectionHandler; } } catch(e) { } }; timer = setInterval(watch, 200); }; Window.onload function is executed only, if I press a button. I want to have the functionality I was telling you about without any button clicks. Please ask if I don?t tell you enough. Tanja From: Ivan Milicevic [mailto:Ivan.Milicevic@supranet.hr] Sent: 28. huhtikuuta 2008 12:04 To: tanja.suikkanen@dimenteq.fi; MapGuide Users Mail List Subject: RE: [mapguide-users] OnSelectionChanged in AJAX viewer? Feature doesn't get highlighted? Of course that you can add this functionality in your own code, the logic is same. Allwas call mapFrame functions (via JavaScript) or count selection from C# or PHP. If you want to get some help over here, be more specific. Ivan. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Tanja Suikkanen Sent: Monday, April 28, 2008 10:46 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] OnSelectionChanged in AJAX viewer? Ok, now it worked but some functionality had been removed? When I first select a feature, everything goes fine but when I select another feature, that doesn?t get highlighted Also I wouldn?t like to change the original files, just add my own functionality in my own code files. But thanks anyway! Tanja _____ _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/d46a165e/attachment.html From zac.spitzer at gmail.com Mon Apr 28 09:15:49 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Mon Apr 28 09:15:52 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <000601c8a930$f5de9ab0$0401a8c0@max2> References: <16938026.post@talk.nabble.com> <000601c8a930$f5de9ab0$0401a8c0@max2> Message-ID: <7a85053e0804280615h5ffdfd7as651f60134ee48e0a@mail.gmail.com> everyone so far has been on windows, what have the unix users found? I did find myself the linux version to be more much more stable during some brief load testing, but I was only using the default sample maps (and it was a debug build on a vm) z On Mon, Apr 28, 2008 at 11:08 PM, Maksim Sestic wrote: > Happens to me more more than often. I have couple of tiled base layers > (orthophoto, scanned maps, relief maps, etc.) set to fixed list of integer > scales. There's a problem with "empty" tile rendering, where random tiles > simply get skipped (don't get rendered at all) and get cached that way. But > that's not causing "Out of Memory error problem". > > What I did notice is that if I include ODBC-based (unmanaged) dynamic layers > it crashes twice or more frequently than if there're only FDO-based > (managed) dynamic layers. Each and every data source (both managed and > unmanaged) runs on SQL Server 2000/2005. Crashed MG server process reports > no error whatsoever. > > Regards, > Maksim Sestic > > > > > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of nclayton > Sent: Monday, April 28, 2008 14:48 > To: mapguide-users@lists.osgeo.org > Subject: [mapguide-users] Out of Memory error problem > > > Hi all, > I have been having problems with MGOS 2.0 crashing on me to the point that i > was using a script to restart the service every 30 minutes. > > I resolved part of the problem by changing how one of my layers was > rendered. > > But, after running without a restart for about 2 days I got the following > errors: > > ============================================================================ > <2008-04-25T11:32:56> Anonymous > Error: An exception occurred in FDO component. > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid > value for the input parameter(s) 'positions'. > StackTrace: > - MgRenderingServiceHandler.ProcessOperation line 83 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\RenderingServiceHandler.cpp > - MgOpQueryFeatures.Execute line 125 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\OpQueryFeatures.cpp > - MgServerRenderingService.QueryFeatures line 647 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\ServerRenderingService.cpp > - MgServerRenderingService.RenderForSelection line 1252 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\ServerRenderingService.cpp > - MgServerSelectFeatures.SelectFeatures line 249 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\feature\ServerSelectFeatures.cpp > An exception occurred in FDO component. > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value for > the input parameter(s) 'positions'. > > <2008-04-25T11:57:23> Anonymous > Error: Failed to stylize layer: aerial > Out of memory. > bad allocation > StackTrace: > - MgMappingUtil.StylizeLayers line 776 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\mapping\MappingUtil.cpp > Failed to stylize layer: aerial > Out of memory. > bad allocation > > <2008-04-25T12:21:39> Anonymous > Error: Out of memory. > bad allocation > StackTrace: > - MgRenderingServiceHandler.ProcessOperation line 83 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\RenderingServiceHandler.cpp > - MgOpRenderDynamicOverlay.Execute line 109 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\OpRenderDynamicOverlay.cpp > - MgServerRenderingService.RenderDynamicOverlay line 305 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\ > services\rendering\ServerRenderingService.cpp > Out of memory. > bad allocation > ============================================================================ > > Thank you for any help that can be provided. > -- > View this message in context: > http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16938026.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 > > __________ NOD32 3059 (20080428) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From zac.spitzer at gmail.com Mon Apr 28 09:17:35 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Mon Apr 28 09:17:38 2008 Subject: [mapguide-users] Expressions In-Reply-To: <16936650.post@talk.nabble.com> References: <16936650.post@talk.nabble.com> Message-ID: <7a85053e0804280617x12dd8b37m2126aba61b9b5bf0@mail.gmail.com> against which mapguide? On Mon, Apr 28, 2008 at 9:02 PM, btenbroeck wrote: > > I'm trying to do a simple Concatenation of a String descriptor and a numeric > field like: > concat('Test String: ', NUMFIELD) and I get back that the datatypes don't > match. (This in MGE Studio 2009) > If you look in the help for expressions, there is a TOSTRING function > referenced, however when I use it, I get and unreferenced function when I > validate, and if I just use it like this: > concat('Test String: ', TOSTRING(NUMFIELD)) it bombs. (It actually takes the > service down.) > > So I guess a few questions - > Are the expression functions mentioned in the help file of Studio actually > implemented yet? > If so, can someone give me the proper syntax for the above? > And if not implemented, is there a workaround? > > Thanks > -- > View this message in context: http://www.nabble.com/Expressions-tp16936650p16936650.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From ks at geograf.dk Mon Apr 28 09:24:27 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Mon Apr 28 09:24:38 2008 Subject: [mapguide-users] OnSelectionChanged in AJAX viewer? In-Reply-To: <005201c8a931$c67c5db0$53751910$@suikkanen@dimenteq.fi> References: <002801c8a90c$488b9cb0$d9a2d610$@suikkanen@dimenteq.fi> <9CAB6B340CCF9E44BE4ACFCF56E67B071557BF@supranet><003001c8a912$50746550$f15d2ff0$@suikkanen@dimenteq.fi><4815AD85.5070804@geograf.dk> <003801c8a920$79b3c010$6d1b4030$@suikkanen@dimenteq.fi> <4815C4DC.7060206@geograf.dk> <4815CA7C.40603@geograf.dk> <005201c8a931$c67c5db0$53751910$@suikkanen@dimenteq.fi> Message-ID: <4815D00B.9020202@geograf.dk> No, OnSelectionChanged is also a JavaScript function in the Ajax viewer. Regards, Kenneth, GEOGRAF A/S Tanja Suikkanen skrev: > > Thanks you both, but I think these don't work, cause I have Ajax > viewer and OnSelectionChanged is an ActiveX control. > > > > Any ideas with Ajax? > > > > Tanja > > > > > > *From:* mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of > *Kenneth, GEOGRAF A/S > *Sent:* 28. huhtikuuta 2008 16:01 > *To:* MapGuide Users Mail List > *Subject:* Re: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > I made a small mistake. > > The retry condition should not be: > if (mapFrame == null) > window.setTimeout("RetryInit();", 500); > > but > if (originalMapFrameOnSelectionChanged == null) > { > mapFrame = null; > window.setTimeout("RetryInit();", 500); > } > > Because the frame may exist, but the function might be missing. > > > Regards, Kenneth, GEOGRAF A/S > > > > Kenneth, GEOGRAF A/S skrev: > > You must safeguard against timing problems. > It is very likely that your frame will load completely before the > iframe does. > In that case, you cannot get the OnSelectionChanged method reference. > You can add an "onload" to the iframe, but it is still possible that > it will break, because the internal frames do not load in the expected > order. > A simple fix is to wrap your "InitDocument" with a timer. > > Also, using the "frames[0].frames[1]" is relying on the order of your > page, and the order of the viewer frames. > A more reliable method, is to use the ID if the frame element, and > then use the built-in method GetMapFrame(). > > I have applied the above to your example: > > > > > > > > > > > > > > > Regards, Kenneth, GEOGRAF A/S > > > > > Kimmo Kotaj?rvi skrev: > > Here's my solution (simplified): > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > So, body onload calls InitDocument which registers the new > OnSelectionChanged event handler. The new handler only pops up a > dialog box and then calls the old function. The MG Viewer is embedded > in an iframe. > > > > > > ------------------------------------------------------------------------ > > *L?hett?j?:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *Puolesta *Tanja Suikkanen > *L?hetetty:* 28. huhtikuuta 2008 14:10 > *Vastaanottaja:* mapguide-users@lists.osgeo.org > > *Aihe:* Re: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > My map is embedded in my own page. > > When a user selects one or more features on the map, I want my own > function to be executed. > > But doesn't parent.parent.mapFrame still get me the map frame..? > > And this works but only when I click some button. > > > > Tanja > > > > > > *From:* Kenneth, GEOGRAF A/S [mailto:ks@geograf.dk] > *Sent:* 28. huhtikuuta 2008 13:57 > *To:* tanja.suikkanen@dimenteq.fi > ; MapGuide Users Mail List > *Subject:* SPAM-LOW: Re: [mapguide-users] OnSelectionChanged in AJAX > viewer? > > > > Are you issuing the script from a command? > > If you want to do this all the time (regardless of what the user has > done), you must load the script with the solution. > If your map is embedded in another page, you can load the script > there, and change "var map = parent.parent.mapFrame;" to point to the > correct frame. > If it is just the basic layout, you can try to put it in the page that > loads in the taskpane (but beware that the document gets unloaded if > the user navigates). > As a last resort, you can embed the script in the viewerfiles. > > In case you can use the embedded map approach, you should place the > following line after the "try {": > map = document.getElementById('').GetMapFrame() > > Regards, Kenneth, GEOGRAF A/S > > > > Tanja Suikkanen skrev: > > Ok, I sent my code snippet earlier today, but here it is again. > > I got this example from > http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking. > > > > var map = parent.parent.mapFrame; > > > > var origOnSelectionChanged = null; > > > > function MySelectionHandler() > > { > > origOnSelectionChanged(); > > > > var selCount = map.GetSelectedCount(); > > if(selCount > 0) > > { > > My function() {} > > } > > } > > > > window.onload = function() { > > > > var timer; > > > > var watch = function() { > > > > try { > > if(map.mapInit) { > > > > clearInterval(timer); > > > > origOnSelectionChanged = map.OnSelectionChanged; > > > > map.OnSelectionChanged = MySelectionHandler; > > } > > } > > catch(e) { > > } > > }; > > > > timer = setInterval(watch, 200); > > }; > > > > Window.onload function is executed only, if I press a button. > > I want to have the functionality I was telling you about without any > button clicks. > > Please ask if I don't tell you enough. > > > > Tanja > > > > > > *From:* Ivan Milicevic [mailto:Ivan.Milicevic@supranet.hr] > *Sent:* 28. huhtikuuta 2008 12:04 > *To:* tanja.suikkanen@dimenteq.fi > ; MapGuide Users Mail List > *Subject:* RE: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > Feature doesn't get highlighted? > > > > Of course that you can add this functionality in your own code, the > logic is same. Allwas call mapFrame functions (via JavaScript) or > count selection from C# or PHP. > > > > If you want to get some help over here, be more specific. > > > > Ivan. > > > > *From:* mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] *On Behalf Of *Tanja > Suikkanen > *Sent:* Monday, April 28, 2008 10:46 AM > *To:* mapguide-users@lists.osgeo.org > > *Subject:* RE: [mapguide-users] OnSelectionChanged in AJAX viewer? > > > > Ok, now it worked but some functionality had been removed? > > When I first select a feature, everything goes fine but when I select > another feature, that doesn't get highlighted... > > Also I wouldn't like to change the original files, just add my own > functionality in my own code files. > > But thanks anyway! > > > > Tanja > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > 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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/7e6fca21/attachment.html From btenbroeck at gmail.com Mon Apr 28 09:31:52 2008 From: btenbroeck at gmail.com (btenbroeck) Date: Mon Apr 28 09:31:53 2008 Subject: [mapguide-users] Expressions In-Reply-To: <7a85053e0804280617x12dd8b37m2126aba61b9b5bf0@mail.gmail.com> References: <16936650.post@talk.nabble.com> <7a85053e0804280617x12dd8b37m2126aba61b9b5bf0@mail.gmail.com> Message-ID: <16939059.post@talk.nabble.com> Sorry. MGE 2009 zspitzer wrote: > > against which mapguide? > > On Mon, Apr 28, 2008 at 9:02 PM, btenbroeck wrote: >> >> I'm trying to do a simple Concatenation of a String descriptor and a >> numeric >> field like: >> concat('Test String: ', NUMFIELD) and I get back that the datatypes >> don't >> match. (This in MGE Studio 2009) >> If you look in the help for expressions, there is a TOSTRING function >> referenced, however when I use it, I get and unreferenced function when >> I >> validate, and if I just use it like this: >> concat('Test String: ', TOSTRING(NUMFIELD)) it bombs. (It actually takes >> the >> service down.) >> >> So I guess a few questions - >> Are the expression functions mentioned in the help file of Studio >> actually >> implemented yet? >> If so, can someone give me the proper syntax for the above? >> And if not implemented, is there a workaround? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Expressions-tp16936650p16936650.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 >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Expressions-tp16936650p16939059.html Sent from the MapGuide Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/ba6e6df0/attachment.html From btenbroeck at gmail.com Mon Apr 28 09:34:03 2008 From: btenbroeck at gmail.com (btenbroeck) Date: Mon Apr 28 09:34:04 2008 Subject: [mapguide-users] Expressions In-Reply-To: <7a85053e0804280617x12dd8b37m2126aba61b9b5bf0@mail.gmail.com> References: <16936650.post@talk.nabble.com> <7a85053e0804280617x12dd8b37m2126aba61b9b5bf0@mail.gmail.com> Message-ID: <16939119.post@talk.nabble.com> MGE 2009 against which mapguide? -- View this message in context: http://www.nabble.com/Expressions-tp16936650p16939119.html Sent from the MapGuide Users mailing list archive at Nabble.com. From zac.spitzer at gmail.com Mon Apr 28 11:22:27 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Mon Apr 28 11:22:31 2008 Subject: [mapguide-users] Mapguide web documentation In-Reply-To: References: <46DF17D7.2020009@gorge.net> Message-ID: <7a85053e0804280822s15f25314m6ebfd0c9595a6b23@mail.gmail.com> is the 2.0 version of the web api docs available? http://mapguide.osgeo.org/files/mapguide/docs/webapi/index.htm is 1.20 and http://mapguide.osgeo.org/2.0/documentation.html says [to be updated] z On Fri, Sep 7, 2007 at 12:52 AM, Tom Fukushima wrote: > Hi, > > This should be resolved now. Our internal document management system > required us to change the index file name from index.html to index.htm. > I've updated the links on the documentation pages, and Frank added a > link from index.html to index.htm so that the old URLs can still be > used. > > Tom > > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Tom > Fukushima > Sent: Wednesday, September 05, 2007 6:28 PM > To: MapGuide Users Mail List > > > Subject: RE: [mapguide-users] Mapguide web documentation > > I have a ticket in for this. Hopefully, we'll have it online again > shortly. > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of George > McLean > Sent: Wednesday, September 05, 2007 2:56 PM > To: MapGuide Users Mail List > Subject: [mapguide-users] Mapguide web documentation > > I was looking for the web API documentation on > > http://mapguide.osgeo.org/1.1/documentation.html > > The link > > http://mapguide.osgeo.org/files/mapguide/docs/webapi/index.html > > gives me a page not found error. Am I looking in the wrong place? > > Thanks > > George McLean > _______________________________________________ > 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 mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From scotth at mpower-tech.com Mon Apr 28 11:03:31 2008 From: scotth at mpower-tech.com (Scott Hameister) Date: Mon Apr 28 12:03:42 2008 Subject: [mapguide-users] SDF ODBC Connector.. Message-ID: <010101c8a941$06367620$12a36260$@com> I am running into allot of customers asking how to utilize SDF Data outside of mapguide.Has there been any thought into creating an ODBC/DSN type connector/driver for connecting to SDF data.I.e. ASP, Coldfusion, Access Live link connections become possible without having to delve into the API of mapguide...Yes I know SQL/Oracle GeoDatabase is a great answer here.but for young GIS users this can be a confusing prospect. Didn't know which group to send this too..Moderator please feel free to delete this off the inappropriate group. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/14e51a3b/attachment.html From nclayton at gmail.com Mon Apr 28 12:19:20 2008 From: nclayton at gmail.com (nclayton) Date: Mon Apr 28 12:19:21 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <16938026.post@talk.nabble.com> References: <16938026.post@talk.nabble.com> Message-ID: <16942501.post@talk.nabble.com> I'm watching my mgserver.exe in task manager, and it is currently up to 830MB+. My OS is Windows 2003 Standard and I am using MGOS 2.0 I am hosting multiple maps. Currently there are 4 but once I get these wrinkles ironed out there will be 20+. Are there steps that I can perform to reduce the amount of memory being used? Such as programatically close connections or something? Right now the service is set to restart every 4 hours...which should remove the used memory, but at the price of losing user sessions which is what I'm trying to avoid. nclayton wrote: > > Hi all, > I have been having problems with MGOS 2.0 crashing on me to the point that > i was using a script to restart the service every 30 minutes. > > I resolved part of the problem by changing how one of my layers was > rendered. > > But, after running without a restart for about 2 days I got the following > errors: > > ============================================================================ > <2008-04-25T11:32:56> Anonymous > Error: An exception occurred in FDO component. > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid > value for the input parameter(s) 'positions'. > StackTrace: > - MgRenderingServiceHandler.ProcessOperation line 83 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp > - MgOpQueryFeatures.Execute line 125 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp > - MgServerRenderingService.QueryFeatures line 647 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > - MgServerRenderingService.RenderForSelection line 1252 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > - MgServerSelectFeatures.SelectFeatures line 249 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp > An exception occurred in FDO component. > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value > for the input parameter(s) 'positions'. > > <2008-04-25T11:57:23> Anonymous > Error: Failed to stylize layer: aerial > Out of memory. > bad allocation > StackTrace: > - MgMappingUtil.StylizeLayers line 776 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp > Failed to stylize layer: aerial > Out of memory. > bad allocation > > <2008-04-25T12:21:39> Anonymous > Error: Out of memory. > bad allocation > StackTrace: > - MgRenderingServiceHandler.ProcessOperation line 83 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp > - MgOpRenderDynamicOverlay.Execute line 109 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp > - MgServerRenderingService.RenderDynamicOverlay line 305 file > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > Out of memory. > bad allocation > ============================================================================ > > Thank you for any help that can be provided. > -- View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16942501.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dave.wilson at autodesk.com Mon Apr 28 12:19:42 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Mon Apr 28 12:19:49 2008 Subject: [mapguide-users] SDF ODBC Connector.. In-Reply-To: <010101c8a941$06367620$12a36260$@com> References: <010101c8a941$06367620$12a36260$@com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2251393F8DA@ADSK-NAMSG-02.MGDADSK.autodesk.com> This sounds more like an FDO type request since it's about connectivity, although FDO isn't doing any ODBC drivers that I'm aware of. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Scott Hameister Sent: Monday, April 28, 2008 9:04 AM To: 'MapGuide Users Mail List'; 'MapGuide Internals Mail List' Subject: [mapguide-users] SDF ODBC Connector.. I am running into allot of customers asking how to utilize SDF Data outside of mapguide...Has there been any thought into creating an ODBC/DSN type connector/driver for connecting to SDF data...I.e. ASP, Coldfusion, Access Live link connections become possible without having to delve into the API of mapguide...Yes I know SQL/Oracle GeoDatabase is a great answer here...but for young GIS users this can be a confusing prospect... Didn't know which group to send this too..Moderator please feel free to delete this off the inappropriate group. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/4eb94df3/attachment.html From Michael.Micallef at ontario.ca Mon Apr 28 12:21:41 2008 From: Michael.Micallef at ontario.ca (MMicallef-MTO) Date: Mon Apr 28 12:21:43 2008 Subject: [mapguide-users] Writing data to a shapefile example? Message-ID: <16942559.post@talk.nabble.com> Looking for some quick help: Does anyone have an example for generic code for writing data to a shapefile eg - new point with attributes - deleting a point - updating attributes I have been looking and am unable to locate examples for 2.0 I have to put together a site that shows this functionality for our data an do not have much time... Something simple - any help is greatly appreciated! Mike -- View this message in context: http://www.nabble.com/Writing-data-to-a-shapefile-example--tp16942559p16942559.html Sent from the MapGuide Users mailing list archive at Nabble.com. From scotth at mpower-tech.com Mon Apr 28 12:23:07 2008 From: scotth at mpower-tech.com (Scott Hameister) Date: Mon Apr 28 12:23:10 2008 Subject: [mapguide-users] SDF ODBC Connector.. In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2251393F8DA@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <010101c8a941$06367620$12a36260$@com> <53C1C94B2F19CD408BFA392599EAF8E2251393F8DA@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <012201c8a94c$2506a420$6f13ec60$@com> I agree, Didn't think to post it there since SDF isn't necessarily Open Sourced. From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Monday, April 28, 2008 11:20 AM To: MapGuide Users Mail List; 'MapGuide Internals Mail List' Subject: RE: [mapguide-users] SDF ODBC Connector.. This sounds more like an FDO type request since it's about connectivity, although FDO isn't doing any ODBC drivers that I'm aware of. Dave From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Scott Hameister Sent: Monday, April 28, 2008 9:04 AM To: 'MapGuide Users Mail List'; 'MapGuide Internals Mail List' Subject: [mapguide-users] SDF ODBC Connector.. I am running into allot of customers asking how to utilize SDF Data outside of mapguide.Has there been any thought into creating an ODBC/DSN type connector/driver for connecting to SDF data.I.e. ASP, Coldfusion, Access Live link connections become possible without having to delve into the API of mapguide...Yes I know SQL/Oracle GeoDatabase is a great answer here.but for young GIS users this can be a confusing prospect. Didn't know which group to send this too..Moderator please feel free to delete this off the inappropriate group. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/7d43bb40/attachment.html From Michael.Micallef at ontario.ca Mon Apr 28 12:25:53 2008 From: Michael.Micallef at ontario.ca (MMicallef-MTO) Date: Mon Apr 28 12:25:55 2008 Subject: [mapguide-users] mgnullpropertyvalueexception in 2.0 using featurereader - Get Statements In-Reply-To: <16851287.post@talk.nabble.com> References: <16851287.post@talk.nabble.com> Message-ID: <16942672.post@talk.nabble.com> This also happens in the search results portion for any field with a null value... Is there any documentation on where to catch thin in the "search" code? Thanks in advance, Mike -- View this message in context: http://www.nabble.com/mgnullpropertyvalueexception-in-2.0-using-featurereader---Get-Statements-tp16851287p16942672.html Sent from the MapGuide Users mailing list archive at Nabble.com. From Jason.Birch at nanaimo.ca Mon Apr 28 12:35:05 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 28 12:35:08 2008 Subject: [mapguide-users] SDF ODBC Connector.. In-Reply-To: <012201c8a94c$2506a420$6f13ec60$@com> References: <010101c8a941$06367620$12a36260$@com><53C1C94B2F19CD408BFA392599EAF8E2251393F8DA@ADSK-NAMSG-02.MGDADSK.autodesk.com> <012201c8a94c$2506a420$6f13ec60$@com> Message-ID: <8E468917B01800408B91984428BE03DD072A61AD@starfish.nanaimo.ca> Bob has posted publicly that SDF is an open format, but that it hasn't been documented. Essentially, the source for SDF is the FDO provider. You might be more interested in some work that's going on with native SQLite: http://trac.osgeo.org/fdo/wiki/FDORfc16 SQLite already has an ODBC driver, under BSD-style license. This provider is already pretty stable in its current state. It's not as fully-featured as SDF, but it is open and very fast. Listening to Traian's descriptions of the optimisations makes my head spin. I've been meaning to post a current binary for others to test; I'll see if I can get to that tonight. Jason From: Scott Hameister Subject: RE: [mapguide-users] SDF ODBC Connector.. I agree, Didn't think to post it there since SDF isn't necessarily Open Sourced. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/802fd2b1/attachment.html From traian.stanev at autodesk.com Mon Apr 28 12:47:46 2008 From: traian.stanev at autodesk.com (Traian Stanev) Date: Mon Apr 28 12:47:54 2008 Subject: [mapguide-users] SDF ODBC Connector.. In-Reply-To: <8E468917B01800408B91984428BE03DD072A61AD@starfish.nanaimo.ca> References: <010101c8a941$06367620$12a36260$@com><53C1C94B2F19CD408BFA392599EAF8E2251393F8DA@ADSK-NAMSG-02.MGDADSK.autodesk.com> <012201c8a94c$2506a420$6f13ec60$@com> <8E468917B01800408B91984428BE03DD072A61AD@starfish.nanaimo.ca> Message-ID: Addressing the original statement that SDF is not necessarily open source. SDF is most definitely open source, and here is the source: http://svn.osgeo.org/fdo/trunk/Providers/SDF/ Thanks, Traian From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jason Birch Sent: Monday, April 28, 2008 12:35 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] SDF ODBC Connector.. Bob has posted publicly that SDF is an open format, but that it hasn't been documented. Essentially, the source for SDF is the FDO provider. You might be more interested in some work that's going on with native SQLite: http://trac.osgeo.org/fdo/wiki/FDORfc16 SQLite already has an ODBC driver, under BSD-style license. This provider is already pretty stable in its current state. It's not as fully-featured as SDF, but it is open and very fast. Listening to Traian's descriptions of the optimisations makes my head spin. I've been meaning to post a current binary for others to test; I'll see if I can get to that tonight. Jason From: Scott Hameister Subject: RE: [mapguide-users] SDF ODBC Connector.. I agree, Didn't think to post it there since SDF isn't necessarily Open Sourced. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/47a42431/attachment.html From jonathan.manafi at cctechnol.com Mon Apr 28 12:57:04 2008 From: jonathan.manafi at cctechnol.com (J Manafi) Date: Mon Apr 28 12:57:06 2008 Subject: [mapguide-users] Adding/removing temporary layers from session repository Message-ID: <16943254.post@talk.nabble.com> We are trying to allow users to define temporary, session layers with custom symbols as icons. They are able to add layers to the map, where we create the LayerDefinitions and store them in the repository. We now want to allow them to remove layers from the map. To do that, I have setup a script that deletes the FeatureSource from the repository and then deletes the LayerDefinition too. Everything seems to work; however, when we try to redefine a layer with the same name but different symbols, the map displays the update correctly but the legend shows the originally defined symbol as the layer icon. But, in FireBug, when I inspect the html for generating the legend layer icon, it shows the updated symbol information as the image. We are performing mapFrame refreshes, and manually refreshing the legend makes no difference for the icon. Is there something that I am forgetting to do in the process in order to be able to remove and then redefine a LayerDefinition in the session repository with a different symbol set? -- View this message in context: http://www.nabble.com/Adding-removing-temporary-layers-from-session-repository-tp16943254p16943254.html Sent from the MapGuide Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/45514fac/attachment.html From ks at geograf.dk Mon Apr 28 14:10:52 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Mon Apr 28 14:10:55 2008 Subject: [mapguide-users] Adding/removing temporary layers from session repository In-Reply-To: <16943254.post@talk.nabble.com> References: <16943254.post@talk.nabble.com> Message-ID: <4816132C.8040507@geograf.dk> The legend builder tries to minimize the use of "full rebuild" thus, if you do not create a new "runtime map layer", but reuse the existing, the layer GUID has not changed, and the legend will not refresh. You might consider adding some extra dummy parameter to the image url to prevent browser cache problems. I hope that helps. Regards, Kenneth, GEOGRAF A/S J Manafi skrev: > We are trying to allow users to define temporary, session layers with > custom symbols as icons. They are able to add layers to the map, where > we create the LayerDefinitions and store them in the repository. We > now want to allow them to remove layers from the map. To do that, I > have setup a script that deletes the FeatureSource from the repository > and then deletes the LayerDefinition too. Everything seems to work; > however, when we try to redefine a layer with the same name but > different symbols, the map displays the update correctly but the > legend shows the originally defined symbol as the layer icon. > > But, in FireBug, when I inspect the html for generating the legend > layer icon, it shows the updated symbol information as the image. We > are performing mapFrame refreshes, and manually refreshing the legend > makes no difference for the icon. > > Is there something that I am forgetting to do in the process in order > to be able to remove and then redefine a LayerDefinition in the > session repository with a different symbol set? > ------------------------------------------------------------------------ > View this message in context: Adding/removing temporary layers from > session repository > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/b5dc5822/attachment.html From scotth at mpower-tech.com Mon Apr 28 14:11:53 2008 From: scotth at mpower-tech.com (Scott Hameister) Date: Mon Apr 28 14:11:56 2008 Subject: [mapguide-users] SDF ODBC Connector.. In-Reply-To: References: <010101c8a941$06367620$12a36260$@com><53C1C94B2F19CD408BFA392599EAF8E2251393F8DA@ADSK-NAMSG-02.MGDADSK.autodesk.com> <012201c8a94c$2506a420$6f13ec60$@com> <8E468917B01800408B91984428BE03DD072A61AD@starfish.nanaimo.ca> Message-ID: <015e01c8a95b$56caaba0$046002e0$@com> Sorry My bad..So the FDO group would be the place to post then.Thanks From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Traian Stanev Sent: Monday, April 28, 2008 11:48 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] SDF ODBC Connector.. Addressing the original statement that SDF is not necessarily open source. SDF is most definitely open source, and here is the source: http://svn.osgeo.org/fdo/trunk/Providers/SDF/ Thanks, Traian From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jason Birch Sent: Monday, April 28, 2008 12:35 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] SDF ODBC Connector.. Bob has posted publicly that SDF is an open format, but that it hasn't been documented. Essentially, the source for SDF is the FDO provider. You might be more interested in some work that's going on with native SQLite: http://trac.osgeo.org/fdo/wiki/FDORfc16 SQLite already has an ODBC driver, under BSD-style license. This provider is already pretty stable in its current state. It's not as fully-featured as SDF, but it is open and very fast. Listening to Traian's descriptions of the optimisations makes my head spin. I've been meaning to post a current binary for others to test; I'll see if I can get to that tonight. Jason From: Scott Hameister Subject: RE: [mapguide-users] SDF ODBC Connector.. I agree, Didn't think to post it there since SDF isn't necessarily Open Sourced. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080428/b3e5d47a/attachment.html From ks at geograf.dk Mon Apr 28 14:16:02 2008 From: ks at geograf.dk (Kenneth, GEOGRAF A/S) Date: Mon Apr 28 14:16:04 2008 Subject: [mapguide-users] Writing data to a shapefile example? In-Reply-To: <16942559.post@talk.nabble.com> References: <16942559.post@talk.nabble.com> Message-ID: <48161462.8050402@geograf.dk> All data in MapGuide is accessed through the FDO interface. This means that reading or modifying data is done in the same manner, regardless of the underlying data type. Like ODBC, but for spatially enabled datasources. I'm not sure that the Shape provider supports writing, but if it does, you can use the "buffer" example. Since you do not write what programming language or OS you have, I assume Windows and PHP. Look in the folder: C:\Program Files\MapGuideOpenSource2.0\WebServerExtension\www\mapviewerphp\buffer.php The examples shows how to create a new datastore and inserts a feature with attribute data into it. You should be able to deduce how to delete and update, by looking at the code. If not, please ask again. Regards, Kenneth, GEOGRAF A/S MMicallef-MTO skrev: > Looking for some quick help: > > Does anyone have an example for generic code for writing data to a shapefile > eg - new point with attributes > - deleting a point > - updating attributes > > I have been looking and am unable to locate examples for 2.0 > I have to put together a site that shows this functionality for our data an > do not have much time... > > Something simple - any help is greatly appreciated! > > Mike > From amorsell at spatialgis.com Mon Apr 28 14:21:51 2008 From: amorsell at spatialgis.com (Andy Morsell) Date: Mon Apr 28 14:22:41 2008 Subject: [mapguide-users] Writing data to a shapefile example? In-Reply-To: <16942559.post@talk.nabble.com> References: <16942559.post@talk.nabble.com> Message-ID: <015d01c8a95c$bb0bd7a0$6401a8c0@SPINAJM> We researched this awhile back for a project and found parts of it not to be possible with the existing FDO API functionality. The biggest problems: you cannot create a new Shape file programmatically, and you cannot modify an existing Shape files schema. It may be possible to have empty dummy Shape files in the repository with the proper schema definition and then write data into them, then copy the shape file, etc., however. It also may be possible to modify existing Shape files, but I have not seen any examples where this is done. The General Tasks Shareable Markups example is good for SDF creation and modification though. http://data.mapguide.com/mapguide/gt/index.php Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of MMicallef-MTO Sent: Monday, April 28, 2008 9:22 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Writing data to a shapefile example? Looking for some quick help: Does anyone have an example for generic code for writing data to a shapefile eg - new point with attributes - deleting a point - updating attributes I have been looking and am unable to locate examples for 2.0 I have to put together a site that shows this functionality for our data an do not have much time... Something simple - any help is greatly appreciated! Mike -- View this message in context: http://www.nabble.com/Writing-data-to-a-shapefile-example--tp16942559p169425 59.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 From greg.boone at autodesk.com Mon Apr 28 14:44:04 2008 From: greg.boone at autodesk.com (Greg Boone) Date: Mon Apr 28 14:44:15 2008 Subject: [mapguide-users] Writing data to a shapefile example? In-Reply-To: <015d01c8a95c$bb0bd7a0$6401a8c0@SPINAJM> References: <16942559.post@talk.nabble.com> <015d01c8a95c$bb0bd7a0$6401a8c0@SPINAJM> Message-ID: Using the FDO API directly, it should be possible to create and modify shape files. Initial creation of Shape files can be accomplished by running the FDO ApplySchema command after connecting to an empty directory location. Each new FDO class definition will be used to generate an empty Shape file with the same name as the class. Modifying Shape files can also be accomplished by running the FDO ApplySchema command on a set of shape files that have been initially read by specifying their directory location through the FDO Shape provider connection properties. There is a restriction here that the shape files being modified through ApplySchema cannot have data in them, and must be empty. Refer to https://svn.osgeo.org/fdo/trunk/Providers/SHP/Src/UnitTest/SchemaTests.cpp for examples of how this is done. Greg -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Monday, April 28, 2008 2:22 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Writing data to a shapefile example? We researched this awhile back for a project and found parts of it not to be possible with the existing FDO API functionality. The biggest problems: you cannot create a new Shape file programmatically, and you cannot modify an existing Shape files schema. It may be possible to have empty dummy Shape files in the repository with the proper schema definition and then write data into them, then copy the shape file, etc., however. It also may be possible to modify existing Shape files, but I have not seen any examples where this is done. The General Tasks Shareable Markups example is good for SDF creation and modification though. http://data.mapguide.com/mapguide/gt/index.php Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of MMicallef-MTO Sent: Monday, April 28, 2008 9:22 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Writing data to a shapefile example? Looking for some quick help: Does anyone have an example for generic code for writing data to a shapefile eg - new point with attributes - deleting a point - updating attributes I have been looking and am unable to locate examples for 2.0 I have to put together a site that shows this functionality for our data an do not have much time... Something simple - any help is greatly appreciated! Mike -- View this message in context: http://www.nabble.com/Writing-data-to-a-shapefile-example--tp16942559p169425 59.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 From amorsell at spatialgis.com Mon Apr 28 15:22:15 2008 From: amorsell at spatialgis.com (Andy Morsell) Date: Mon Apr 28 15:23:03 2008 Subject: [mapguide-users] Writing data to a shapefile example? In-Reply-To: References: <16942559.post@talk.nabble.com><015d01c8a95c$bb0bd7a0$6401a8c0@SPINAJM> Message-ID: <016901c8a965$2b08fee0$6401a8c0@SPINAJM> I somewhat mis-spoke in my last email. We found that this could not be done with the MapGuide Open API and instead required the use of the FDO API. Whereas, for SDF files, you can use the MGOS resource and feature service API's to accomplish everything you would need to. This is done using MgFeatureService::CreateFeatureSource but only supports SDF. http://mapguide.osgeo.org/files/mapguide/docs/webapi/d5/d10/class_mg_feature _service_8401551df70ab47d9c107985b9f5283f.htm#8401551df70ab47d9c107985b9f528 3f Andy -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Greg Boone Sent: Monday, April 28, 2008 11:44 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Writing data to a shapefile example? Using the FDO API directly, it should be possible to create and modify shape files. Initial creation of Shape files can be accomplished by running the FDO ApplySchema command after connecting to an empty directory location. Each new FDO class definition will be used to generate an empty Shape file with the same name as the class. Modifying Shape files can also be accomplished by running the FDO ApplySchema command on a set of shape files that have been initially read by specifying their directory location through the FDO Shape provider connection properties. There is a restriction here that the shape files being modified through ApplySchema cannot have data in them, and must be empty. Refer to https://svn.osgeo.org/fdo/trunk/Providers/SHP/Src/UnitTest/SchemaTests.cpp for examples of how this is done. Greg -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Monday, April 28, 2008 2:22 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Writing data to a shapefile example? We researched this awhile back for a project and found parts of it not to be possible with the existing FDO API functionality. The biggest problems: you cannot create a new Shape file programmatically, and you cannot modify an existing Shape files schema. It may be possible to have empty dummy Shape files in the repository with the proper schema definition and then write data into them, then copy the shape file, etc., however. It also may be possible to modify existing Shape files, but I have not seen any examples where this is done. The General Tasks Shareable Markups example is good for SDF creation and modification though. http://data.mapguide.com/mapguide/gt/index.php Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of MMicallef-MTO Sent: Monday, April 28, 2008 9:22 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Writing data to a shapefile example? Looking for some quick help: Does anyone have an example for generic code for writing data to a shapefile eg - new point with attributes - deleting a point - updating attributes I have been looking and am unable to locate examples for 2.0 I have to put together a site that shows this functionality for our data an do not have much time... Something simple - any help is greatly appreciated! Mike -- View this message in context: http://www.nabble.com/Writing-data-to-a-shapefile-example--tp16942559p169425 59.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 mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users From nuell at nicholsenvironmental.com Mon Apr 28 15:41:17 2008 From: nuell at nicholsenvironmental.com (David Nuell) Date: Mon Apr 28 15:41:21 2008 Subject: [mapguide-users] MGOS v2.0 join with other feature source issue In-Reply-To: <16834759.post@talk.nabble.com> References: <16834759.post@talk.nabble.com> Message-ID: <16945870.post@talk.nabble.com> Hello All - This is a repost from a few days ago... I feel the trail might have gone cold as the post gets pushed down the list. Here is the problem - I am attempting to join my data to a database in mapguide Studio 2008. I have loaded my SHP and MS Access database resources and the SHP can be displayed with no problem without a join. My MS Access database has two tables that are related. When I attempt to join the first table in the DB to my data resource, I can see the joined attributes and polygons in the layers resource. No issue there. when I attempt to join a SECOND table from the DB to my data resource, I can see the joined attributes from the first and second tables, however I can not see the polygons when I refresh the layer resource. The scale is appropriate, but no drawing appears. If I remove the second join, the data appears as normal. Does anyone have a suggestion or have run into this issue? I have even created dummy data and simplified everything to make sure it was not just my original data. Any help would be appreciated. Thanks listers. David Nuell wrote: > > Hi all - > > I have MGOS v2.0 installed on a Win box with server 2003 installed. I am > also using Autodesk MapGuide Studio v 1.2.0.410 to build the web page. > > I have connected my MS Access DB through OSGeo FDO Provider for ODBC and > am attempting to join the tables within that DB with my data layer. > > I am successful in connecting a single table to my data and it displays > perfectly fine with the joined attributes. When I attempt to connect a > second table to the same data, the join works perfectly fine, however the > data (polygons) do not display anymore. When I remove the second table > and refresh, it displays just fine again. > > I have tried different tables, and in different orders however it seems > that only a single table can be joined and be displayed. Has anyone else > run into this? Is there a maximum number of joins allowed? > > cheers. > > -- View this message in context: http://www.nabble.com/MGOS-v2.0-join-with-other-feature-source-issue-tp16834759p16945870.html Sent from the MapGuide Users mailing list archive at Nabble.com. From Jason.Birch at nanaimo.ca Mon Apr 28 16:01:42 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Mon Apr 28 16:01:45 2008 Subject: [mapguide-users] MGOS v2.0 join with other feature source issue In-Reply-To: <16945870.post@talk.nabble.com> References: <16834759.post@talk.nabble.com> <16945870.post@talk.nabble.com> Message-ID: <8E468917B01800408B91984428BE03DD072A61B1@starfish.nanaimo.ca> I'm not sure that you're going to find many people that have run into this situation. Personally, I don't use MapGuide joins at all if I can help it; they are far less efficient than reading the data from a single source or relying on the data source's native join capabilities. I would suggest that you create a Trac ticket for this (if you haven't already) regardless of whether you get a response. Please provide step-by-step instructions, and if at all possible data, that will allow the developers to quickly see the problem. http://trac.osgeo.org/mapguide/wiki/SubmitTicket Jason -----Original Message----- From: David Nuell Subject: Re: [mapguide-users] MGOS v2.0 join with other feature source issue When I attempt to join the first table in the DB to my data resource, I can see the joined attributes and polygons in the layers resource. No issue there. when I attempt to join a SECOND table from the DB to my data resource, I can see the joined attributes from the first and second tables, however I can not see the polygons when I refresh the layer resource. From Michael.Micallef at ontario.ca Mon Apr 28 16:41:46 2008 From: Michael.Micallef at ontario.ca (MMicallef-MTO) Date: Mon Apr 28 16:41:48 2008 Subject: [mapguide-users] Markup example is not adding layers to legend... cannot see features? Message-ID: <16945897.post@talk.nabble.com> I have the Markup example running iwth the coord updates. I am able to add new features to a markup but and sleect them on screen - but cannot see the features at all and the layer is not added to the legend. If i select them, the selection highlights showing the digitized shape though - so the features are there, just cannot see them... I am in v2.0 Anyone have the same issue? Mike -- View this message in context: http://www.nabble.com/Markup-example-is-not-adding-layers-to-legend...-cannot-see-features--tp16945897p16945897.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dave.wilson at autodesk.com Mon Apr 28 18:43:54 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Mon Apr 28 18:44:02 2008 Subject: [mapguide-users] MGOS v2.0 join with other feature source issue In-Reply-To: <8E468917B01800408B91984428BE03DD072A61B1@starfish.nanaimo.ca> References: <16834759.post@talk.nabble.com> <16945870.post@talk.nabble.com> <8E468917B01800408B91984428BE03DD072A61B1@starfish.nanaimo.ca> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E2251393FC93@ADSK-NAMSG-02.MGDADSK.autodesk.com> As a workaround why not create a query in your Access database that will behave as a View in MGE? Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jason Birch Sent: Monday, April 28, 2008 2:02 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] MGOS v2.0 join with other feature source issue I'm not sure that you're going to find many people that have run into this situation. Personally, I don't use MapGuide joins at all if I can help it; they are far less efficient than reading the data from a single source or relying on the data source's native join capabilities. I would suggest that you create a Trac ticket for this (if you haven't already) regardless of whether you get a response. Please provide step-by-step instructions, and if at all possible data, that will allow the developers to quickly see the problem. http://trac.osgeo.org/mapguide/wiki/SubmitTicket Jason -----Original Message----- From: David Nuell Subject: Re: [mapguide-users] MGOS v2.0 join with other feature source issue When I attempt to join the first table in the DB to my data resource, I can see the joined attributes and polygons in the layers resource. No issue there. when I attempt to join a SECOND table from the DB to my data resource, I can see the joined attributes from the first and second tables, however I can not see the polygons when I refresh the layer resource. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users From zac.spitzer at gmail.com Mon Apr 28 21:06:24 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Mon Apr 28 21:06:27 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <16942501.post@talk.nabble.com> References: <16938026.post@talk.nabble.com> <16942501.post@talk.nabble.com> Message-ID: <7a85053e0804281806k4524c19age1d3c23a349e7759@mail.gmail.com> one option you could try is tweaking the settings under FeatureServiceProperties in ServerConfig.ini with shorter timeouts for the connections can you file a bug for the Shape16 vs Shape31 issue in trac? what type of feature sources are you using? What size of area are your maps and at what scale? Due to the nature of mapping data it is hard to provide test cases for developers to debug, the holy grail is being able to provide a mgp file which exhibits a specific issue. That said, I have a test case uploaded against the samples which falls over under load with the sample data on windows overall, stability is rather problematic at the moment with mg 2.0, some of the demo sites are down at times http://demo01.dmsolutions.ca/mapguide/fusion/templates/mapguide/slate/ (busted) http://data.mapguide.com/mapguide/phpviewersample/ajaxtiledviewersample.php (works, might be mge tho) http://mapguidebeta.osgeo.org/mapguide/fusion/templates/mapguide/slate/index.html (working) z On Tue, Apr 29, 2008 at 2:19 AM, nclayton wrote: > > I'm watching my mgserver.exe in task manager, and it is currently up to > 830MB+. > My OS is Windows 2003 Standard and I am using MGOS 2.0 > > I am hosting multiple maps. Currently there are 4 but once I get these > wrinkles ironed out there will be 20+. > > Are there steps that I can perform to reduce the amount of memory being > used? Such as programatically close connections or something? Right now the > service is set to restart every 4 hours...which should remove the used > memory, but at the price of losing user sessions which is what I'm trying to > avoid. > > > > > > nclayton wrote: > > > > Hi all, > > I have been having problems with MGOS 2.0 crashing on me to the point that > > i was using a script to restart the service every 30 minutes. > > > > I resolved part of the problem by changing how one of my layers was > > rendered. > > > > But, after running without a restart for about 2 days I got the following > > errors: > > > > ============================================================================ > > <2008-04-25T11:32:56> Anonymous > > Error: An exception occurred in FDO component. > > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid > > value for the input parameter(s) 'positions'. > > StackTrace: > > - MgRenderingServiceHandler.ProcessOperation line 83 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp > > - MgOpQueryFeatures.Execute line 125 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp > > - MgServerRenderingService.QueryFeatures line 647 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > > - MgServerRenderingService.RenderForSelection line 1252 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > > - MgServerSelectFeatures.SelectFeatures line 249 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp > > An exception occurred in FDO component. > > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid value > > for the input parameter(s) 'positions'. > > > > <2008-04-25T11:57:23> Anonymous > > Error: Failed to stylize layer: aerial > > Out of memory. > > bad allocation > > StackTrace: > > - MgMappingUtil.StylizeLayers line 776 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp > > Failed to stylize layer: aerial > > Out of memory. > > bad allocation > > > > <2008-04-25T12:21:39> Anonymous > > Error: Out of memory. > > bad allocation > > StackTrace: > > - MgRenderingServiceHandler.ProcessOperation line 83 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp > > - MgOpRenderDynamicOverlay.Execute line 109 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp > > - MgServerRenderingService.RenderDynamicOverlay line 305 file > > d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp > > Out of memory. > > bad allocation > > ============================================================================ > > > > Thank you for any help that can be provided. > > > > -- > View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16942501.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From zac.spitzer at gmail.com Tue Apr 29 01:04:36 2008 From: zac.spitzer at gmail.com (Zac Spitzer) Date: Tue Apr 29 01:04:40 2008 Subject: [mapguide-users] Create feature source from FeatureReader In-Reply-To: <14674936.post@talk.nabble.com> References: <14585581.post@talk.nabble.com> <477CBB3F.7020508@geograf.dk> <14640347.post@talk.nabble.com> <4780D12F.7030306@geograf.dk> <14650097.post@talk.nabble.com> <47811368.7010204@geograf.dk> <14656239.post@talk.nabble.com> <14674936.post@talk.nabble.com> Message-ID: <7a85053e0804282204w7153da45jd1e682e54d873194@mail.gmail.com> back to what i think the subject line implies Does the API support doing something like a ByteSink.ToFile('exported_oracle_data.sdf') on a FeatureReader? z On Tue, Jan 8, 2008 at 6:26 AM, mates wrote: > > Finally i found a solution !! > I created a new temporary featureSource and a layer definition.And then > simply copied the geometry from the selected features to the new layer. > > > $agfReaderWriter = new MgAgfReaderWriter(); > $Commands = new MgFeatureCommandCollection(); > > while ($featureReader->ReadNext()) > { > > $byteReader = $featureReader->GetGeometry('Geometry'); > > $properties = new MgPropertyCollection(); > $properties->Add(new MgGeometryProperty('ProjektyGeom', $byteReader)); > $parcelMarkerCommands->Add(new MgInsertFeatures('ProjektyResultClass', > $properties)); > > } > > $featureService->UpdateFeatures($parcelFeatureResId, $Commands, > false); > -- > View this message in context: http://www.nabble.com/Create-feature-source-from-FeatureReader-tp14585581s16610p14674936.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 > -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 From Kimmo.Kotajarvi at vianova.fi Tue Apr 29 06:54:20 2008 From: Kimmo.Kotajarvi at vianova.fi (=?iso-8859-1?Q?Kimmo_Kotaj=E4rvi?=) Date: Tue Apr 29 06:54:40 2008 Subject: [mapguide-users] Scriptframe replacement in Fusion? Message-ID: I've been scanning over all the available documentation but haven't yet grasped this fundamental bit - how do I run custom aspx/php pages inside the Fusion viewer? In AJAX viewer I would just run them in scriptFrame (The asp.net page builds selection XML from a database search and then returns javascript parameters for selecting and zooming). Taskpane is one such place, but it's already in use by a custom tree view and I'd rather not keep shuffling its contents. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080429/6f2ae2d3/attachment.html From jumpinjackie at gmail.com Tue Apr 29 07:38:01 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Tue Apr 29 07:38:02 2008 Subject: [mapguide-users] Scriptframe replacement in Fusion? In-Reply-To: References: Message-ID: <16958548.post@talk.nabble.com> The script frame is nothing more than a frame that your page (w/ javascript) can execute in parallel. Just create a hidden/invisible iframe in your page to achieve the same effect. - Jackie Kimmo Kotaj?rvi wrote: > > I've been scanning over all the available documentation but haven't yet > grasped this fundamental bit - how do I run custom aspx/php pages inside > the Fusion viewer? In AJAX viewer I would just run them in scriptFrame > (The asp.net page builds selection XML from a database search and then > returns javascript parameters for selecting and zooming). Taskpane is one > such place, but it's already in use by a custom tree view and I'd rather > not keep shuffling its contents. > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Scriptframe-replacement-in-Fusion--tp16957871p16958548.html Sent from the MapGuide Users mailing list archive at Nabble.com. From nclayton at gmail.com Tue Apr 29 08:31:19 2008 From: nclayton at gmail.com (nclayton) Date: Tue Apr 29 08:31:21 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <7a85053e0804281806k4524c19age1d3c23a349e7759@mail.gmail.com> References: <16938026.post@talk.nabble.com> <16942501.post@talk.nabble.com> <7a85053e0804281806k4524c19age1d3c23a349e7759@mail.gmail.com> Message-ID: <16959398.post@talk.nabble.com> I've modified the serverconfig.ini connection timeout settings so am going to watch it for a bit to see if that helps. The problem with my situation is that it's not a particular site causing the problem...it's basically whichever site just happens to be the one that tips the memory too far. It will be a bit before we start getting hits, so I will post how things go later. Thank you for your input. zspitzer wrote: > > one option you could try is tweaking the settings under > FeatureServiceProperties in ServerConfig.ini > with shorter timeouts for the connections > > can you file a bug for the Shape16 vs Shape31 issue in trac? > > what type of feature sources are you using? What size of area are your > maps and at what scale? > > Due to the nature of mapping data it is hard to provide test cases for > developers to debug, the holy grail is being able > to provide a mgp file which exhibits a specific issue. > > That said, I have a test case uploaded against the samples which falls > over under load with the sample data on windows > > overall, stability is rather problematic at the moment with mg 2.0, > some of the demo sites are down at times > > http://demo01.dmsolutions.ca/mapguide/fusion/templates/mapguide/slate/ > (busted) > http://data.mapguide.com/mapguide/phpviewersample/ajaxtiledviewersample.php > (works, might be mge tho) > http://mapguidebeta.osgeo.org/mapguide/fusion/templates/mapguide/slate/index.html > (working) > > z > > > > > > > On Tue, Apr 29, 2008 at 2:19 AM, nclayton wrote: >> >> I'm watching my mgserver.exe in task manager, and it is currently up to >> 830MB+. >> My OS is Windows 2003 Standard and I am using MGOS 2.0 >> >> I am hosting multiple maps. Currently there are 4 but once I get these >> wrinkles ironed out there will be 20+. >> >> Are there steps that I can perform to reduce the amount of memory being >> used? Such as programatically close connections or something? Right now >> the >> service is set to restart every 4 hours...which should remove the used >> memory, but at the price of losing user sessions which is what I'm >> trying to >> avoid. >> >> >> >> >> >> nclayton wrote: >> > >> > Hi all, >> > I have been having problems with MGOS 2.0 crashing on me to the point >> that >> > i was using a script to restart the service every 30 minutes. >> > >> > I resolved part of the problem by changing how one of my layers was >> > rendered. >> > >> > But, after running without a restart for about 2 days I got the >> following >> > errors: >> > >> > >> ============================================================================ >> > <2008-04-25T11:32:56> Anonymous >> > Error: An exception occurred in FDO component. >> > 'FdoFgfLinearRing::Reset': Cannot execute function due to >> invalid >> > value for the input parameter(s) 'positions'. >> > StackTrace: >> > - MgRenderingServiceHandler.ProcessOperation line 83 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp >> > - MgOpQueryFeatures.Execute line 125 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp >> > - MgServerRenderingService.QueryFeatures line 647 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >> > - MgServerRenderingService.RenderForSelection line 1252 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >> > - MgServerSelectFeatures.SelectFeatures line 249 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp >> > An exception occurred in FDO component. >> > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid >> value >> > for the input parameter(s) 'positions'. >> > >> > <2008-04-25T11:57:23> Anonymous >> > Error: Failed to stylize layer: aerial >> > Out of memory. >> > bad allocation >> > StackTrace: >> > - MgMappingUtil.StylizeLayers line 776 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp >> > Failed to stylize layer: aerial >> > Out of memory. >> > bad allocation >> > >> > <2008-04-25T12:21:39> Anonymous >> > Error: Out of memory. >> > bad allocation >> > StackTrace: >> > - MgRenderingServiceHandler.ProcessOperation line 83 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp >> > - MgOpRenderDynamicOverlay.Execute line 109 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp >> > - MgServerRenderingService.RenderDynamicOverlay line 305 file >> > >> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >> > Out of memory. >> > bad allocation >> > >> ============================================================================ >> > >> > Thank you for any help that can be provided. >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16942501.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 >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com (My Blog) > +61 405 847 168 > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16959398.html Sent from the MapGuide Users mailing list archive at Nabble.com. From Jason.Birch at nanaimo.ca Tue Apr 29 11:40:40 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Tue Apr 29 11:40:42 2008 Subject: [mapguide-users] Scriptframe replacement in Fusion? In-Reply-To: <16958548.post@talk.nabble.com> References: <16958548.post@talk.nabble.com> Message-ID: <8E468917B01800408B91984428BE03DD072A61C2@starfish.nanaimo.ca> That's one option. Another would be to embrace AJAX and do this all via web services and JS calls. Jason -----Original Message----- From: Jackie C. Ng Subject: Re: [mapguide-users] Scriptframe replacement in Fusion? The script frame is nothing more than a frame that your page (w/ javascript) can execute in parallel. Just create a hidden/invisible iframe in your page to achieve the same effect. From gord.mckenzie at canam.com Tue Apr 29 12:57:58 2008 From: gord.mckenzie at canam.com (gom) Date: Tue Apr 29 12:57:59 2008 Subject: [mapguide-users] Problem with zoom to selection Message-ID: <16964267.post@talk.nabble.com> I have been working on some code to search, select and zoom to features. I am able to select the features use SetSelectionXML, however I cannot zoom to these selected features. If I just set the selection it shows 1 feature selected and my feature is highlighted. When i add the line of code in my javascript to ExecuteMapAction(10), the browser status line shows the blue bar that indicates loading and then pauses. After several minutes I get an error saying "The download of the specified resource failed" I tried butting the ExecuteMapAction(10) on a sperate button so I could wait for the feature to be selected and all highlighting/refreshing to be completed. Even then, it causes the same pause/error. Any ideas as to what I might be doing wrong or what steps I might be missing? Thanks -- View this message in context: http://www.nabble.com/Problem-with-zoom-to-selection-tp16964267p16964267.html Sent from the MapGuide Users mailing list archive at Nabble.com. From mgvillablanca at yahoo.com Tue Apr 29 15:16:42 2008 From: mgvillablanca at yahoo.com (mauro1970) Date: Tue Apr 29 15:16:44 2008 Subject: [mapguide-users] Oracle Points and King Oracle Provider In-Reply-To: <591492.23325.qm@web34506.mail.mud.yahoo.com> References: <591492.23325.qm@web34506.mail.mud.yahoo.com> Message-ID: <16968015.post@talk.nabble.com> I don't have an answer to your question ould you be so kind to post the code you used for querying the spatial data in Oracle? max_samart wrote: > > > Hi All, > I tried to use the king oracle 0.7.3 for getting the point data > from Oracle Database 10.1.0.3 ,I tried using FDO Class table and able to > view those points in the mapguide as well as select those points. After > that i tried why i don't create a Geometry Point using the Lat,Lon Columns > in the Oracle Database ,i succesfully able to create the New Geometry > Column as well as also created spatial index and Promary key for Point > Geometry Type. I have also set SDO Metadata and Oracle Srid as 8192. > > Finally i able to connect to the oracle database as well as able to create > point layer using MapGuide Studio2008, but once i want to select the Point > , i unable to select the point as well view the properties.I am using MGOS > 1.2.0. Can anybody help me out what i am messing up ! > > Thks > Max > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://www.nabble.com/Oracle-Points-and-King-Oracle-Provider-tp15845451p16968015.html Sent from the MapGuide Users mailing list archive at Nabble.com. From wmedernach at rand.com Tue Apr 29 15:41:00 2008 From: wmedernach at rand.com (Warren Medernach) Date: Tue Apr 29 15:57:54 2008 Subject: [mapguide-users] GT Samples in .Net Message-ID: Hello all, Are the GT samples available in .Net Thanks so much Warren M -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080429/a2cb4fcb/attachment.html From kori.maleski at gmail.com Tue Apr 29 16:22:37 2008 From: kori.maleski at gmail.com (Kori Maleski) Date: Tue Apr 29 16:22:41 2008 Subject: [mapguide-users] GT Samples in .Net In-Reply-To: References: Message-ID: <802ba4420804291322r6cd10331o337919c71a863c6a@mail.gmail.com> Autodesk has them in C# .NET. I havent seen them available for public download. Kori Maleski On Tue, Apr 29, 2008 at 12:41 PM, Warren Medernach wrote: > Hello all, > > Are the GT samples available in .Net > > > > Thanks so much > > Warren M > > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080429/b310f523/attachment.html From nuell at nicholsenvironmental.com Tue Apr 29 18:47:53 2008 From: nuell at nicholsenvironmental.com (David Nuell) Date: Tue Apr 29 18:47:55 2008 Subject: [mapguide-users] MGOS v2.0 join with other feature source issue In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E2251393FC93@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <16834759.post@talk.nabble.com> <16945870.post@talk.nabble.com> <8E468917B01800408B91984428BE03DD072A61B1@starfish.nanaimo.ca> <53C1C94B2F19CD408BFA392599EAF8E2251393FC93@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <16972191.post@talk.nabble.com> Never thought of that. I went back into Access and created and saved my query. Re-loaded the DB into Mapguide Studio and joined my features with the DB query. Works like a charm. I appreciate the idea. Dave Wilson-3 wrote: > > As a workaround why not create a query in your Access database that will > behave as a View in MGE? > > Dave > > -----Original Message----- > From: mapguide-users-bounces@lists.osgeo.org > [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Jason Birch > Sent: Monday, April 28, 2008 2:02 PM > To: MapGuide Users Mail List > Subject: RE: [mapguide-users] MGOS v2.0 join with other feature source > issue > > I'm not sure that you're going to find many people that have run into > this situation. > > Personally, I don't use MapGuide joins at all if I can help it; they are > far less efficient than reading the data from a single source or relying > on the data source's native join capabilities. > > I would suggest that you create a Trac ticket for this (if you haven't > already) regardless of whether you get a response. Please provide > step-by-step instructions, and if at all possible data, that will allow > the developers to quickly see the problem. > > http://trac.osgeo.org/mapguide/wiki/SubmitTicket > > Jason > > -----Original Message----- > From: David Nuell > Subject: Re: [mapguide-users] MGOS v2.0 join with other feature source > issue > > When I attempt to join the first table in the DB to my data resource, I > can > see the joined attributes and polygons in the layers resource. No issue > there. > > when I attempt to join a SECOND table from the DB to my data resource, I > can > see the joined attributes from the first and second tables, however I > can > not see the polygons when I refresh the layer resource. > > > _______________________________________________ > 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://www.nabble.com/MGOS-v2.0-join-with-other-feature-source-issue-tp16834759p16972191.html Sent from the MapGuide Users mailing list archive at Nabble.com. From rahulonline22 at yahoo.com Tue Apr 29 20:18:22 2008 From: rahulonline22 at yahoo.com (Rahul sharma) Date: Tue Apr 29 20:18:24 2008 Subject: [mapguide-users] Add a new point to layer ( digitizing ) Message-ID: <16973289.post@talk.nabble.com> Hi I am using Map Guide Open Source and map guide studio 2008 . for my project i am trying to digitize a point to the map. i have created a javascript which pass the coordinates and on formsubmit invoke the php. The code should creates a layer and add it back to the map. But i have problem displaying the point and its not doing anything any suggession or help wil be greatful the code is as under Open($userInfo); $resourceService = $siteConnection->CreateService(MgServiceType::ResourceService); $featureService = $siteConnection->CreateService(MgServiceType::FeatureService); //---------------------------------------------------// // Open the map $map = new MgMap(); $map->Open($resourceService, $mapName); //---------------------------------------------------// // Create a feature source with point data. // (The Sheboygan sample data does not contain such data, // so we'll create it.) // Create a feature class definition for the new feature source $classDefinition = new MgClassDefinition(); $classDefinition->SetName("Points"); $classDefinition->SetDescription("Feature class with point data."); $classDefinition->SetDefaultGeometryPropertyName("GEOM"); // Create an identify property $identityProperty = new MgDataPropertyDefinition("KEY"); $identityProperty->SetDataType(MgPropertyType::Int32); $identityProperty->SetAutoGeneration(true); $identityProperty->SetReadOnly(true); // Add the identity property to the class definition $classDefinition->GetIdentityProperties()->Add($identityProperty); $classDefinition->GetProperties()->Add($identityProperty); // Create a name property $nameProperty = new MgDataPropertyDefinition("NAME"); $nameProperty->SetDataType(MgPropertyType::String); // Add the name property to the class definition $classDefinition->GetProperties()->Add($nameProperty); // Create a geometry property $geometryProperty = new MgGeometricPropertyDefinition("GEOM"); $geometryProperty->SetGeometryTypes(MgFeatureGeometricType::Surface); // Add the geometry property to the class definition $classDefinition->GetProperties()->Add($geometryProperty); // Create a feature schema $featureSchema = new MgFeatureSchema("PointSchema", "Point schema"); // Add the feature schema to the class definition $featureSchema->GetClasses()->Add($classDefinition); // Create the feature source $featureSourceName = "Session:$sessionId//TemporaryPoints.FeatureSource"; //$featureSourceName = "Library://EelGrass/DevGuide/Data/points.FeatureSource"; $resourceIdentifier = new MgResourceIdentifier($featureSourceName); $wkt = $map->GetMapSRS(); //$wkt = "LOCALCS[\"*XY-MT*\",LOCAL_DATUM[\"*X-Y*\",10000],UNIT[\"Meter\", 1],AXIS[\"X\",EAST],AXIS[\"Y\",NORTH]]"; $sdfParams = new MgCreateSdfParams("ArbitraryXY", $wkt, $featureSchema); $featureService->CreateFeatureSource($resourceIdentifier, $sdfParams); // We need to add some data to the sdf before using it. The spatial context // reader must have an extent. $batchPropertyCollection = new MgBatchPropertyCollection(); $wktReaderWriter = new MgWktReaderWriter(); $agfReaderWriter = new MgAgfReaderWriter(); $geometryFactory = new MgGeometryFactory(); // Create some point and display them using Make Point function $propertyCollection = MakePoint("PointA", $x,$y); $batchPropertyCollection->Add($propertyCollection); unset($propertyCollection); $propertyCollection = MakePoint("Point B", 237923.91,5842975.50); $batchPropertyCollection->Add($propertyCollection); unset($propertyCollection); // Add the batch property collection to the feature source $cmd = new MgInsertFeatures("Points", $batchPropertyCollection); $featureCommandCollection = new MgFeatureCommandCollection(); $featureCommandCollection->Add($cmd); // Execute the "add" commands $featureService->UpdateFeatures($resourceIdentifier, $featureCommandCollection, false); // ... //---------------------------------------------------// // Create a new layer $factory = new LayerDefinitionFactory(); // Create a mark symbol $resourceId = 'Library://EelGrass/Symbols/BasicSymbols.SymbolLibrary'; $symbolName = 'Point'; $width = '24'; // unit = points $height = '24'; // unit = points $color = 'FFFF0000'; $markSymbol = $factory->CreateMarkSymbol($resourceId, $symbolName, $width, $height, $color); // Create a text symbol $text = "ID"; $fontHeight="12"; $foregroundColor = 'FF000000'; $textSymbol = $factory->CreateTextSymbol($text, $fontHeight, $foregroundColor); // Create a point rule. $legendLabel = 'trees'; $filter = ''; $pointRule = $factory->CreatePointRule($legendLabel,$filter, $textSymbol, $markSymbol); // Create a point type style. $pointTypeStyle = $factory-> CreatepointTypeStyle($pointRule); // Create a scale range. $minScale = '0'; $maxScale = '1000000000000'; $pointScaleRange = $factory->CreateScaleRange($minScale, $maxScale, $pointTypeStyle); // Create the layer definiton. $featureName = 'PointSchema:Points'; $geometry = 'GEOM'; $layerDefinition = $factory->CreateLayerDefinition($featureSourceName,$featureName, $geometry, $pointScaleRange); //---------------------------------------------------// // Add layer permanently to the map using XML writer $byteSource = new MgByteSource($layerDefinition, strlen($layerDefinition)); $byteSource->SetMimeType(MgMimeType::Xml); $resourceIden = new MgResourceIdentifier("Library://Project/Data/Points.FeatureSource"); $resourceService->SetResource($resourceIden, $byteSource->GetReader(), null); // Add the layer to the map $newLayer = add_layer_definition_to_map($layerDefinition, "Points", "Points of Interest", $sessionId, $resourceService, $map); add_layer_to_group($newLayer, "Analysis", "Analysis", $map); // --------------------------------------------------// // Turn on the visibility of this layer. // (If the layer does not already exist in the map, it will be visible by default when it is added. // But if the user has already run this script, he or she may have set the layer to be invisible.) $layerCollection = $map->GetLayers(); if ($layerCollection->Contains("Points")) { $pointsLayer =$layerCollection->GetItem("Points"); $pointsLayer->SetVisible(true); } //---------------------------------------------------// // Save the map back to the session repository $sessionIdName = "Session:$sessionId//$mapName.Map"; $sessionResourceID = new MgResourceIdentifier($sessionIdName); $sessionResourceID->Validate(); $map->Save($resourceService, $sessionResourceID); //---------------------------------------------------// } catch (MgException $e) { echo " \n"; } /////////////////////////////////////////////////////////////////////////////////// function MakePoint($name, $x, $y) { $propertyCollection = new MgPropertyCollection(); $nameProperty = new MgStringProperty("NAME", $name); $propertyCollection->Add($nameProperty); $wktReaderWriter = new MgWktReaderWriter(); $agfReaderWriter = new MgAgfReaderWriter(); $geometry = $wktReaderWriter->Read("POINT XY ($x $y)"); $geometryByteReader = $agfReaderWriter->Write($geometry); $geometryProperty = new MgGeometryProperty("GEOM", $geometryByteReader); $propertyCollection->Add($geometryProperty); return $propertyCollection; } ?> -- View this message in context: http://www.nabble.com/Add-a-new-point-to-layer-%28-digitizing-%29-tp16973289p16973289.html Sent from the MapGuide Users mailing list archive at Nabble.com. From tanja.suikkanen at dimenteq.fi Wed Apr 30 08:21:39 2008 From: tanja.suikkanen at dimenteq.fi (Tanja Suikkanen) Date: Wed Apr 30 08:22:06 2008 Subject: [mapguide-users] Feature visibility in layer Message-ID: <000e01c8aabc$c0692930$413b7b90$@suikkanen@dimenteq.fi> I have a redline layer on which I have drawn some markup features. Is it somehow possible to have only one or two of the features on a same layer visible? Thanks! Tanja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080430/fdc6f847/attachment.html From nclayton at gmail.com Wed Apr 30 08:25:02 2008 From: nclayton at gmail.com (nclayton) Date: Wed Apr 30 08:25:04 2008 Subject: [mapguide-users] Out of Memory error problem In-Reply-To: <16959398.post@talk.nabble.com> References: <16938026.post@talk.nabble.com> <16942501.post@talk.nabble.com> <7a85053e0804281806k4524c19age1d3c23a349e7759@mail.gmail.com> <16959398.post@talk.nabble.com> Message-ID: <16981307.post@talk.nabble.com> After setting the connection times settings back to their original 60 and 120 values, the server has been stable for 18 hours, but the memory usage is sitting at 488,148K and there probably aren't any connections established currently. In all of the examples that I have seen, only one map is being served. Is MGOS capable of serving many different maps to many people at a time out of the box? Are there any other tweaks or recommendations for improving memory use? Thanks again. nclayton wrote: > > I've modified the serverconfig.ini connection timeout settings so am going > to watch it for a bit to see if that helps. The problem with my situation > is that it's not a particular site causing the problem...it's basically > whichever site just happens to be the one that tips the memory too far. > > It will be a bit before we start getting hits, so I will post how things > go later. > > Thank you for your input. > > > zspitzer wrote: >> >> one option you could try is tweaking the settings under >> FeatureServiceProperties in ServerConfig.ini >> with shorter timeouts for the connections >> >> can you file a bug for the Shape16 vs Shape31 issue in trac? >> >> what type of feature sources are you using? What size of area are your >> maps and at what scale? >> >> Due to the nature of mapping data it is hard to provide test cases for >> developers to debug, the holy grail is being able >> to provide a mgp file which exhibits a specific issue. >> >> That said, I have a test case uploaded against the samples which falls >> over under load with the sample data on windows >> >> overall, stability is rather problematic at the moment with mg 2.0, >> some of the demo sites are down at times >> >> http://demo01.dmsolutions.ca/mapguide/fusion/templates/mapguide/slate/ >> (busted) >> http://data.mapguide.com/mapguide/phpviewersample/ajaxtiledviewersample.php >> (works, might be mge tho) >> http://mapguidebeta.osgeo.org/mapguide/fusion/templates/mapguide/slate/index.html >> (working) >> >> z >> >> >> >> >> >> >> On Tue, Apr 29, 2008 at 2:19 AM, nclayton wrote: >>> >>> I'm watching my mgserver.exe in task manager, and it is currently up to >>> 830MB+. >>> My OS is Windows 2003 Standard and I am using MGOS 2.0 >>> >>> I am hosting multiple maps. Currently there are 4 but once I get these >>> wrinkles ironed out there will be 20+. >>> >>> Are there steps that I can perform to reduce the amount of memory being >>> used? Such as programatically close connections or something? Right now >>> the >>> service is set to restart every 4 hours...which should remove the used >>> memory, but at the price of losing user sessions which is what I'm >>> trying to >>> avoid. >>> >>> >>> >>> >>> >>> nclayton wrote: >>> > >>> > Hi all, >>> > I have been having problems with MGOS 2.0 crashing on me to the point >>> that >>> > i was using a script to restart the service every 30 minutes. >>> > >>> > I resolved part of the problem by changing how one of my layers was >>> > rendered. >>> > >>> > But, after running without a restart for about 2 days I got the >>> following >>> > errors: >>> > >>> > >>> ============================================================================ >>> > <2008-04-25T11:32:56> Anonymous >>> > Error: An exception occurred in FDO component. >>> > 'FdoFgfLinearRing::Reset': Cannot execute function due to >>> invalid >>> > value for the input parameter(s) 'positions'. >>> > StackTrace: >>> > - MgRenderingServiceHandler.ProcessOperation line 83 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp >>> > - MgOpQueryFeatures.Execute line 125 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpQueryFeatures.cpp >>> > - MgServerRenderingService.QueryFeatures line 647 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >>> > - MgServerRenderingService.RenderForSelection line 1252 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >>> > - MgServerSelectFeatures.SelectFeatures line 249 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\feature\ServerSelectFeatures.cpp >>> > An exception occurred in FDO component. >>> > 'FdoFgfLinearRing::Reset': Cannot execute function due to invalid >>> value >>> > for the input parameter(s) 'positions'. >>> > >>> > <2008-04-25T11:57:23> Anonymous >>> > Error: Failed to stylize layer: aerial >>> > Out of memory. >>> > bad allocation >>> > StackTrace: >>> > - MgMappingUtil.StylizeLayers line 776 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\mapping\MappingUtil.cpp >>> > Failed to stylize layer: aerial >>> > Out of memory. >>> > bad allocation >>> > >>> > <2008-04-25T12:21:39> Anonymous >>> > Error: Out of memory. >>> > bad allocation >>> > StackTrace: >>> > - MgRenderingServiceHandler.ProcessOperation line 83 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp >>> > - MgOpRenderDynamicOverlay.Execute line 109 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp >>> > - MgServerRenderingService.RenderDynamicOverlay line 305 file >>> > >>> d:\buildforgeprojects\mapguide_open_source_v2.0\build_23.8\mgdev\server\src\services\rendering\ServerRenderingService.cpp >>> > Out of memory. >>> > bad allocation >>> > >>> ============================================================================ >>> > >>> > Thank you for any help that can be provided. >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16942501.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 >>> >> >> >> >> -- >> Zac Spitzer - >> http://zacster.blogspot.com (My Blog) >> +61 405 847 168 >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> >> > > -- View this message in context: http://www.nabble.com/Out-of-Memory-error-problem-tp16938026p16981307.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Wed Apr 30 10:24:33 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Wed Apr 30 10:24:34 2008 Subject: [mapguide-users] Feature visibility in layer In-Reply-To: <000e01c8aabc$c0692930$413b7b90$@suikkanen@dimenteq.fi> References: <000e01c8aabc$c0692930$413b7b90$@suikkanen@dimenteq.fi> Message-ID: <16983806.post@talk.nabble.com> You could probably create a layer theme on a certain property (eg. visible) and have features where visible = true to have your point/line/area style and features where visible = false to have no style. Of course, you would need to have this property (visible) in your class definition. - Jackie Tanja Suikkanen wrote: > > I have a redline layer on which I have drawn some markup features. > > Is it somehow possible to have only one or two of the features on a same > layer visible? > > Thanks! > > > > Tanja > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Feature-visibility-in-layer-tp16981269p16983806.html Sent from the MapGuide Users mailing list archive at Nabble.com. From jumpinjackie at gmail.com Wed Apr 30 10:28:49 2008 From: jumpinjackie at gmail.com (Jackie C. Ng) Date: Wed Apr 30 10:28:50 2008 Subject: [mapguide-users] Problem with zoom to selection In-Reply-To: <16964267.post@talk.nabble.com> References: <16964267.post@talk.nabble.com> Message-ID: <16983918.post@talk.nabble.com> That error message seems to be specific to the XmlHttpRequest object. You might want to check the following. 1 - If you are using Internet Explorer, check that you are running the latest MSXML and make sure the browser security settings are not interfering with the XmlHttpRequest. 2 - There may be some security settings on the actual machine that are preventing the XmlHttpRequest object from sending requests. - Jackie gom wrote: > > I have been working on some code to search, select and zoom to features. > I am able to select the features use SetSelectionXML, however I cannot > zoom to these selected features. > > If I just set the selection it shows 1 feature selected and my feature is > highlighted. > When i add the line of code in my javascript to ExecuteMapAction(10), the > browser status line shows the blue bar that indicates loading and then > pauses. After several minutes I get an error saying "The download of the > specified resource failed" > > I tried butting the ExecuteMapAction(10) on a sperate button so I could > wait for the feature to be selected and all highlighting/refreshing to be > completed. Even then, it causes the same pause/error. > > Any ideas as to what I might be doing wrong or what steps I might be > missing? > > Thanks > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Problem-with-zoom-to-selection-tp16964267p16983918.html Sent from the MapGuide Users mailing list archive at Nabble.com. From schwanzy at gmail.com Wed Apr 30 10:44:57 2008 From: schwanzy at gmail.com (schwanzy) Date: Wed Apr 30 10:45:36 2008 Subject: [mapguide-users] MGOS2 & Debian Etch i386 Message-ID: <481885E9.9060302@gmail.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: mgos2.png Type: image/png Size: 64123 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080430/f200faff/mgos2.png From gord.mckenzie at canam.com Wed Apr 30 10:56:20 2008 From: gord.mckenzie at canam.com (gom) Date: Wed Apr 30 10:56:22 2008 Subject: [mapguide-users] Problem with zoom to selection In-Reply-To: <16983918.post@talk.nabble.com> References: <16964267.post@talk.nabble.com> <16983918.post@talk.nabble.com> Message-ID: <16984587.post@talk.nabble.com> Jackie, Thanks for the answer. I just fixed my problem and as usual it was me missing an obvious piece. I was not getting an instance of my layer from the map but rather defining the layer as new. I was getting correct SelectionXML but the selected object was not on a layer in the map so of course it couldn't zoom there. There should be an mgDummyException for people like me.:) That error message seems to be specific to the XmlHttpRequest object. You might want to check the following. 1 - If you are using Internet Explorer, check that you are running the latest MSXML and make sure the browser security settings are not interfering with the XmlHttpRequest. 2 - There may be some security settings on the actual machine that are preventing the XmlHttpRequest object from sending requests. - Jackie -- View this message in context: http://www.nabble.com/Problem-with-zoom-to-selection-tp16964267p16984587.html Sent from the MapGuide Users mailing list archive at Nabble.com. From xetec at hotmail.com Wed Apr 30 12:08:27 2008 From: xetec at hotmail.com (Xetec) Date: Wed Apr 30 12:08:29 2008 Subject: [mapguide-users] MG2.0 install with other web applications Message-ID: <16986233.post@talk.nabble.com> I'm looking to find out how to install MapGuide 2.0 server along with other web applications that are installed in the "Default Website" location in the IIS manager? We've run into a challenge with the server not running correctly along side web applications that use .NET1.1. The problem exists after everything is installed. I can log into the admin page and the web studio page, but when I try to connect to the server via MapGuide Studio 2009 beta or AutoCAD Map, I get a connection error. When I change the ASPNET tab to run .NET 2.0 for the mapguide server it makes all the other .NET 1.1 sites lock up and shows an error message in IIS of not being able to run both 1.1 and 2.0 applications in one location. Maybe there is a way to do this correctly, but I was hoping to find out if Mapguide server could be installed outside of the "Default Website" location on IIS. Or if there is a way to configure this to work properly. Additionally, we have been able to run MG2.0 successfully on our test server, but it has no applications other than the Mapguide server are installed. So the problem exists with installation on our web application server since there are other .NET 1.1 applications are running on the server. Any ideas or suggestions would be appreciated. Thanks. -Bob -- View this message in context: http://www.nabble.com/MG2.0-install-with-other-web-applications-tp16986233p16986233.html Sent from the MapGuide Users mailing list archive at Nabble.com. From dave.wilson at autodesk.com Wed Apr 30 12:33:51 2008 From: dave.wilson at autodesk.com (Dave Wilson) Date: Wed Apr 30 12:34:04 2008 Subject: [mapguide-users] MG2.0 install with other web applications In-Reply-To: <16986233.post@talk.nabble.com> References: <16986233.post@talk.nabble.com> Message-ID: <53C1C94B2F19CD408BFA392599EAF8E225139C0C18@ADSK-NAMSG-02.MGDADSK.autodesk.com> I believe the issue may be related to the fact that .NET 1.1 and 2.0 apps must each run in their own application pool if I remember something I read a while back. You might have to define separate application pools for each virtual directory. Dave -----Original Message----- From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Xetec Sent: Wednesday, April 30, 2008 10:08 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MG2.0 install with other web applications I'm looking to find out how to install MapGuide 2.0 server along with other web applications that are installed in the "Default Website" location in the IIS manager? We've run into a challenge with the server not running correctly along side web applications that use .NET1.1. The problem exists after everything is installed. I can log into the admin page and the web studio page, but when I try to connect to the server via MapGuide Studio 2009 beta or AutoCAD Map, I get a connection error. When I change the ASPNET tab to run .NET 2.0 for the mapguide server it makes all the other .NET 1.1 sites lock up and shows an error message in IIS of not being able to run both 1.1 and 2.0 applications in one location. Maybe there is a way to do this correctly, but I was hoping to find out if Mapguide server could be installed outside of the "Default Website" location on IIS. Or if there is a way to configure this to work properly. Additionally, we have been able to run MG2.0 successfully on our test server, but it has no applications other than the Mapguide server are installed. So the problem exists with installation on our web application server since there are other .NET 1.1 applications are running on the server. Any ideas or suggestions would be appreciated. Thanks. -Bob -- View this message in context: http://www.nabble.com/MG2.0-install-with-other-web-applications-tp16986233p16986233.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 From amorsell at spatialgis.com Wed Apr 30 12:42:03 2008 From: amorsell at spatialgis.com (Andy Morsell) Date: Wed Apr 30 12:42:55 2008 Subject: [mapguide-users] MGOS2 & Debian Etch i386 In-Reply-To: <481885E9.9060302@gmail.com> References: <481885E9.9060302@gmail.com> Message-ID: <025c01c8aae1$1f042cf0$6401a8c0@SPINAJM> Can you run any of the operations on the mapagent test page? http://localhost:8008/mapguide/mapagent/index.html If not, you may be having this problem: http://trac.osgeo.org/mapguide/ticket/477 Andy Morsell, P.E. Spatial Integrators, Inc. http://www.SpatialGIS.com _____ From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of schwanzy Sent: Wednesday, April 30, 2008 7:45 AM To: MapGuide Users Mail List Subject: [mapguide-users] MGOS2 & Debian Etch i386 I built FDO 3.3.0 and Mapguide OS 2.0 in Debian Etch i386, downloaded Sheboygan.mgp package and loaded in mapadmin. When I try to browse the map with "/mapguide/phpviewersample/ajaxviewersample.php" I can see the frameset, the legend but no map is displayed. There's no log which could help me to understand what is the problem. Any clue? // Simone -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080430/4b44ea96/attachment.html From Jason.Birch at nanaimo.ca Wed Apr 30 13:50:58 2008 From: Jason.Birch at nanaimo.ca (Jason Birch) Date: Wed Apr 30 13:51:01 2008 Subject: [mapguide-users] MG2.0 install with other web applications In-Reply-To: <53C1C94B2F19CD408BFA392599EAF8E225139C0C18@ADSK-NAMSG-02.MGDADSK.autodesk.com> References: <16986233.post@talk.nabble.com> <53C1C94B2F19CD408BFA392599EAF8E225139C0C18@ADSK-NAMSG-02.MGDADSK.autodesk.com> Message-ID: <8E468917B01800408B91984428BE03DD072A61D8@starfish.nanaimo.ca> Yes, I've seen this too. You can't run 1.1 and 2.0 apps in the same application pool. Technically, you only need a single application pool for each .Net version, but really should probably create a separate pool just for MapGuide. This can be shared across all of the MapGuide virtual directories if you want. You can also run MapGuide outside of your default website. Just export the current mapguide virtual directory (or maybe the website) to a config file and then re-import the mapguide virtual directory into the new website. Make sure to set up the alternate application pool before doing this though. Jason -----Original Message----- From: Dave Wilson Subject: RE: [mapguide-users] MG2.0 install with other web applications I believe the issue may be related to the fact that .NET 1.1 and 2.0 apps must each run in their own application pool if I remember something I read a while back. You might have to define separate application pools for each virtual directory. -----Original Message----- From: Xetec Subject: [mapguide-users] MG2.0 install with other web applications I'm looking to find out how to install MapGuide 2.0 server along with other web applications that are installed in the "Default Website" location in the IIS manager? We've run into a challenge with the server not running correctly along side web applications that use .NET1.1. The problem exists after everything is installed. I can log into the admin page and the web studio page, but when I try to connect to the server via MapGuide Studio 2009 beta or AutoCAD Map, I get a connection error. When I change the ASPNET tab to run .NET 2.0 for the mapguide server it makes all the other .NET 1.1 sites lock up and shows an error message in IIS of not being able to run both 1.1 and 2.0 applications in one location. From nuell at nicholsenvironmental.com Wed Apr 30 16:11:08 2008 From: nuell at nicholsenvironmental.com (David Nuell) Date: Wed Apr 30 16:11:09 2008 Subject: [mapguide-users] MGOS v2.0 edit attributes through webpage Message-ID: <16990590.post@talk.nabble.com> Hi Listers - The more and more I work with this software, the more I begin to really like it. However, being a newb with it - I have another question. Is it possible to edit the attributes of a layer through the generated web map (AJAX or DWF)? I don't need to edit the layer geometry itself (i.e., create lines, points, polygons), but rather I want to edit the table attributes associated with the layer while in firefox or IE or whatever. Any advice is greatly appreciated! -- View this message in context: http://www.nabble.com/MGOS-v2.0-edit-attributes-through-webpage-tp16990590p16990590.html Sent from the MapGuide Users mailing list archive at Nabble.com.