Re: AW: [mapguide-users] How to use Custom LineStyle
Have you downloaded and installed the sample package (and read the other resources) on this page: http://trac.osgeo.org/mapguide/wiki/AdvancedStylization http://trac.osgeo.org/mapguide/wiki/AdvancedStylizationand looked at the line style definition here: http://trac.osgeo.org/mapguide/wiki/AdvancedStylization/Library/Transportation These should get you on your way. I think, but am not sure, that you can inline the stylization in the layer definition. The XSD should make this fairly clear if you want to dig into it. Personally, I would just create the symbol definition as a separate resource in the session repository and reference it from my session layer definition. Jason On 5 May 2010 22:24, SriRam007 wrote: I went through the PDF file and understood the process. But still i m not getting how to implement it. Dynamically can i do this? Is there any static way? If i want to do it dynamically Should i create all the tags dynamically inside the layer definition file. and have to remove the linetypestyle tag?? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help
Cool. See if this location works for you: http://trac.osgeo.org/mapguide/wiki/CodeSamples http://trac.osgeo.org/mapguide/wiki/CodeSamplesThere are instructions on creating new pages at the bottom... Glad that you got Fusion to work for you :) With .Net? That would be interesting to see information on... Jason On 5 May 2010 18:11, miansi wrote: Basically lessons learned/code snippets in regards of integrating MapGuide with full-blown .NET app (SQL 2008 as geo data source). ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] MapGuide Crashing
Hi All, I am using mapguide 2.0 on a linux server using via Java. I am facing problems of mapguide crashing oftenly. I would like to know if this problem occurs due to large number of users. If yes, then what is the optimum number of users one can have. If not, then it would be great if someone can enumerate the possible reasons. Please find the Error message I get after mapguide crashes for the connection denied, it might just help. org.osgeo.mapguide.MgConnectionFailedException: Cannot establish connection. at org.osgeo.mapguide.MapGuideJavaApiJNI.MgSite_Open__SWIG_0(Native Method) at org.osgeo.mapguide.MgSite.Open(MgSite.java:78) at org.apache.jsp.javasamples.main_jsp._jspService(main_jsp.java:350) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 73) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja va:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102 ) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnecti onValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.j ava:366) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) Thanks and Regards, Jai -- Jai Prakash Mansukhani Intelliplanner Software Systems Inc. West Windsor, NJ +91 114.661.2368 (O)/+1 609.945.4927 (O) +91 995.833.7767 (M) www.ipssi.com http://www.ipssi.com/ -- This mail contains proprietary and confidential information. If you received this in error, please delete it and inform the sender. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re: Cannot get any DSN for ODBC Provider
Hi Jackie, I already have the latest 2.1 preview because I see that ODBC DSN support was added in this preview. With that version nothing is shown on Windows Server 2008 (64Bit) and Windows 7 (64Bit) but works on Windows XP (32Bit). Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cannot-get-any-DSN-for-ODBC-Provider-tp5011323p5012958.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: AW: [mapguide-users] How to use Custom LineStyle
Yes I have loaded the sample package creating the symbol definition as a separate resource in the session repository is done But still i m wondering how to reference it from my session layer definition ?? And why the style button is disable i can't able to see how it is connected to the layer as shown in the image below http://n2.nabble.com/file/n5012961/untitled.bmp thanks -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/AW-mapguide-users-How-to-use-Custom-LineStyle-tp5003379p5012961.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Cannot get any DSN for ODBC Provider
Hi James, your totally right. Windows 7 and Windows Server 2008 are 64Bit machines and my Windows XP is 32 Bit. I will see if the solution in the link works for me. Thanks, Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cannot-get-any-DSN-for-ODBC-Provider-tp5011323p5012979.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re: Cannot get any DSN for ODBC Provider
Ok then it's looks like a 64-bit ODBC problem. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cannot-get-any-DSN-for-ODBC-Provider-tp5011323p5013025.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re: Migrating to 2.1 on Windows Server 2008
I posted a few steps to configure ECW here: http://osgeo-org.1803224.n2.nabble.com/ECWs-and-MG-2-1-td2978248.html#a4911881 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Migrating-to-2-1-on-Windows-Server-2008-tp4971558p5013068.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Custom Linetypes
I also need to show line directions of my layer Has anyone done this??? Please help!!! thanks -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cutom-Lintypes-tp1815879p5013220.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Compound line with Cartographic Stylization Engine
How to use the SymbolDefinition file inside the layerdefinition Are u creating all this tags programmatically??? CompositeTypeStyle CompositeRule LegendLabelTest/LegendLabel CompositeSymbolization SymbolInstance ResourceIdLibrary://Path/To/File.SymbolDefinition/ResourceId ParameterOverrides Override SymbolNameFault/SymbolName ParameterIdentifierLINE_WEIGHT/ParameterIdentifier ParameterValue1.0/ParameterValue /Override /ParameterOverrides /SymbolInstance CompositeSymbolization /CompositeRule /CompositeTypeStyle I just want know how to test/Use it(SymbolDefinition) out by drawing on the map... If u Have done this sucessfully. Please help !!! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compound-line-with-Cartographic-Stylization-Engine-tp1817331p5013655.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help
Steve, Thank you but which one on that site? The html that is displayed or the PDF download because they are not the same. I did try both of those without success. I will try again today. Thanks again, Tori -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Steve G Sent: Wednesday, May 05, 2010 6:03 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help Tori, I am working on a Windows Server 2008 (64 bit) with IIS7 and have been able to successfully get mapguide working a few times using the instructions found at: http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 Yes, the documentation is not great, but follow it exactly. If you have tried building the site, failed, and reinstalled mapguide (or made a new connection to mapguide) be sure to completely remove the previous application(s) from IIS. You need to find the application window and remove the applications (virtual paths to /mapguide, /mapguidemapagent, and /mapguide/mapviewerajax). If you simply remove the connection to the mapguide website, I believe the applications persist. At least that is what I found. I am having problems viewing raster ECW files (I've completed the same GDAL FDO configuration as my XP box), but that is another story. -Steve -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mag-Guide-setup-on-II7-2008-Server-Is sue-Please-help-tp5010394p5011371.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help
Steve (and all the others helping), First thank you again for you assistance. This morning I took everything off. Uninstalled MGOS, went to the site below, match the instructions with the ones I had previously printed out, Went into IIS and took out everything except the mapguide website (Though nothing remained in the website folder). Rebooted (just in case), reinstalled MGOS per the PDF instructions (the html says to use manual configuration but it gives no details about what to do to get through that portion of the install, so I choose the pdf version). Of course it installed to the default website but I just left it there and tried to see if I could get it running. The results? Nearly the same as before though instead of getting cannot establish connection errors for the web tier tests, it give me a log in box (Authentication Required, Enter username and password for http://localhost, I type in the MGOS login and it gives me another login box, I type my admin password for the site, I type my windows password for the server all with the same results. No matter what I type so it is obviously not accepting the login even though I went in and set the MGOS to allow anonymous and the website already allows anonymous users. Two questions: 1. Do I need to use manual configuration or can the IIS configuration work? (yes I know if I want it to be its own site I must use manual configuration. 2. Can MGOS reside in the C:\program files (x86) directory or will that fail (as indicated by one set of instructions I have)? Also, to Mainsi, who suggested a virtual machine, I would love to but resources are very limited here and our small group of users will just have to cope with short outages when I need to reboot. I really can't justify using a virtual machine. Our site is not mission critical just a convenience. Besides when I get this working they will be very happy. The site has had three users (not counting myself) this morning and it is only down for a minute or so when I reboot. Thanks again for all the assistance Tori -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Steve G Sent: Wednesday, May 05, 2010 6:03 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help Tori, I am working on a Windows Server 2008 (64 bit) with IIS7 and have been able to successfully get mapguide working a few times using the instructions found at: http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 Yes, the documentation is not great, but follow it exactly. If you have tried building the site, failed, and reinstalled mapguide (or made a new connection to mapguide) be sure to completely remove the previous application(s) from IIS. You need to find the application window and remove the applications (virtual paths to /mapguide, /mapguidemapagent, and /mapguide/mapviewerajax). If you simply remove the connection to the mapguide website, I believe the applications persist. At least that is what I found. I am having problems viewing raster ECW files (I've completed the same GDAL FDO configuration as my XP box), but that is another story. -Steve -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mag-Guide-setup-on-II7-2008-Server-Is sue-Please-help-tp5010394p5011371.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help
Ok, please ignore my previous post. I went in to IIS and there was a conflict in the authentications I disabled windows authentication and ... It worked! I am in, the web tier test function and I got in via maestro. Thank you all for your help! Tori -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Steve G Sent: Wednesday, May 05, 2010 6:03 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help Tori, I am working on a Windows Server 2008 (64 bit) with IIS7 and have been able to successfully get mapguide working a few times using the instructions found at: http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 Yes, the documentation is not great, but follow it exactly. If you have tried building the site, failed, and reinstalled mapguide (or made a new connection to mapguide) be sure to completely remove the previous application(s) from IIS. You need to find the application window and remove the applications (virtual paths to /mapguide, /mapguidemapagent, and /mapguide/mapviewerajax). If you simply remove the connection to the mapguide website, I believe the applications persist. At least that is what I found. I am having problems viewing raster ECW files (I've completed the same GDAL FDO configuration as my XP box), but that is another story. -Steve -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mag-Guide-setup-on-II7-2008-Server-Is sue-Please-help-tp5010394p5011371.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] Re: Migrating to 2.1 on Windows Server 2008
Thanks for the suggestions...I had seen that post and tried all of those things with no positive results. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Migrating-to-2-1-on-Windows-Server-2008-tp4971558p5014906.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re: Mag Guide setup on II7 2008 Server Issue, Please help
Tori...glad you got it working. To respond to your questions just in case anyone else is reading this post and has the same problems, I installed MGOS 2.1 using the manual configuration and then followed all the instructions on the wiki page (not the PDF). I had the security problem a while back on a test server when I changed my login password and forgot to change the authentication in IIS...classic mistake. -Steve -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mag-Guide-setup-on-II7-2008-Server-Issue-Please-help-tp5010394p5014976.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] RE: Cannot get any DSN for ODBC Provider
Good morning, I am not sure whether you are using the 64 bit or 32 bit ODBC Data Source Administrator. I was using the default Windows 7 ODBC Data Source Administrator and could not find the Data Sources in MS Access so I opened the 32 bit ODBC Data Source Administrator (on my machine in C:\Windows\SysWOW64\odbcad32.exe) created the ODBC data sources there and was able to see and use the Data Sources. Hope that helps, Best regards, Jonathon i-open Tech On Thu, May 6, 2010 at 12:33 AM, Gunter Becker gunter.bec...@csogis.dewrote: Hi James, your totally right. Windows 7 and Windows Server 2008 are 64Bit machines and my Windows XP is 32 Bit. I will see if the solution in the link works for me. Thanks, Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cannot-get-any-DSN-for-ODBC-Provider-tp5011323p5012979.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] Partial transparent selection color of the Ajax viewer
Hi MapGuide users, I am reading the HTTP API documentation (great work by the way, very usefull) and I have a question about the selection color of the Ajax viewer : http://trac.osgeo.org/mapguide/wiki/HttpApi/RenderingService#SelectionColor2.0 We can read The selection is drawn in partially transparent red because of the 80 of the 0xFF80 (RGBA format). However, in the MapGuide Best Practices Wiki (http://sandbox.mapguide.com/index.php/Change_Selection_Color_Setting), we can read Currently I’m not seeing the alpha value have any impact as either FF or 00 so I don’t think it’s being used. With MapGuide OS 2.1 (Enterprise 2010), PNG 8 bits and the GD render, I can confirm that the alpha value of the selection color does not have any impact. Is there an improvement coming for the next release (MapGuide OS 2.2) or maybe it's only working with the AGG render ? Thanks. - Julien Leture .net developper -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Partial-transparent-selection-color-of-the-Ajax-viewer-tp5015591p5015591.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Cannot get any DSN for ODBC Provider
Hi Jonathan, yes I use the 32 bit ODBC Data Source Administrator and now I can see my created data sources in MapGuide Studio and MapGuide Maestro. Like I mentioned in my first post I would like to connect to an oracle database. unfortunately there is no oracle driver like in the 64 bit ODBC Data Source Driver. But I think I've learned my lesson and try to use the 32 bit Oracle Client instead of the 64 bit version. And hopefully this works! Thanks, Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cannot-get-any-DSN-for-ODBC-Provider-tp5011323p5015919.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: Cannot get any DSN for ODBC Provider
Just a quick comment on the Oracle 32/64 bit issue that I ran into. I couldn't install the 32bit client on my Win 2008 64 bit server. I couldn't get the 32bit java installer to run on the server so I could run the 32bit client and the 32bit client installed didn't want to run on 64bit java. Caio Tom -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Gunter Becker Sent: Thursday, May 06, 2010 11:54 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: Cannot get any DSN for ODBC Provider Hi Jonathan, yes I use the 32 bit ODBC Data Source Administrator and now I can see my created data sources in MapGuide Studio and MapGuide Maestro. Like I mentioned in my first post I would like to connect to an oracle database. unfortunately there is no oracle driver like in the 64 bit ODBC Data Source Driver. But I think I've learned my lesson and try to use the 32 bit Oracle Client instead of the 64 bit version. And hopefully this works! Thanks, Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cannot-get-any-DSN-for-ODBC-Provi der-tp5011323p5015919.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Partial transparent selection color of the Ajax viewer
With MapGuide OS 2.1 (Enterprise 2010), PNG 8 bits and the GD render, I can confirm that the alpha value of the selection color does not have any impact. Apparently, with PNG8 format, selection color do not have alpha value. Since global image format and selection overlay format can be set indipendently, a workaround is to set image format to PNG8 and selection overlay format to plain PNG (that correctly uses alpha channel). Selection overlay images are usually small and simple, thus PNG images are just a little bigger than PNG8 counterparts. Regards Gabriele Monfardini ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Add layer from sdf
Dear all, i want to add a layer from sdf file to my existing map.i have seen the given url posted by kenneth http://osgeo-org.1803224.n2.nabble.com/Programmatically-add-a-layer-from-SDF-td2274337.html#a2274337 can u please tell me how to create feature source from sdf file .Please tell me the procedure for how to do it? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Add-layer-from-sdf-tp5017702p5017702.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