RE: [mapguide-users] Re: MapGuide and Windows Web Server 2008
You could try an amazon cloud centos box that is in the European zone. That is somewhat cheap hosting, but probably not as cheap as you want. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Wednesday, March 07, 2012 1:39 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: MapGuide and Windows Web Server 2008 If you are using the bundled Apache Web server, any version of Windows from XP onwards should work without issues. The only time when the version/edition of Windows comes into play is when you choose to install with IIS/.net/php - Jackie -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MapGuide-and-Windows-Web-Server-2008-tp4534244p4553742.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: multiple coordinate systems SQL spatial?
The data imported into SQL Server Spatial is in whatever native SRS the data was captured in unless you converted it during import. So when you connect your datasource you should be getting the native SRS for the data. At the time you define your map you can pick the alternate SRS for all datasources to be converted into. You only do an override if the source doesn't know what the value is. The override is simply to set the SRS to a value that matches what the data was captured in. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jamo Sent: Wednesday, February 29, 2012 8:59 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: multiple coordinate systems SQL spatial? using MSSQL Spatial (SQL Server 10.0.2531) I've not looked at the SRS since I first started using SQL as a datastore, so the thought hasn't really crossed my mind. I think the server only supports geography type spatial reference systems ? to overcome this i can remember setting up the below. I've setup an ExtendedCoordSys.txt in \Server\Fdo\com directory with my coordinate system Not sure if this is required. for the new geogrphy I've specified 4326 as the srid but it doesn't seem to transform to the maps coordinate system epsg 28356 /side note that was a lightning fast response!/ -- View this message in context: http://osgeo-org.1560.n6.nabble.com/multiple-coordinate-systems-SQL-spatial-tp4533662p4533691.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] Fdo2Fdo tool
I am not sure how to do the command line version. I'm guessing it's just supplying a list of parameters as shown in the gui. However in order to work with any database you have to have local database connectivity on whatever machine you install Fdo2Fdo on. It does not need to be on the database server. You could try installing an oracle instantclient to get your connectivity. Use the GUI once you have your instantclient installed and test your connection. Once you get the GUI to work you could try the command line. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Iulia Tamas Sent: Thursday, November 17, 2011 3:34 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Fdo2Fdo tool Hello, I recently started using the Fdo2Fdo tool to copy .sdf files to Oracle and I'm facing some problems: 1) I tried to use Fdo2Fdo from command line to copy the files to Oracle but without success. Could anybody give me an example (cmd commands) of how to do that ? 2) I tried to use the tool installed on my local post with the existing database on the virtual machine, but unsuccessfully. Fdo2Fdo has to be installed on the same machine as the Oracle Data Base? I would really appreciate your answers! Thank you, Iulia ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Incompatible column type
Create a view of the table that doesn't contain that column. Modify your layer to point to the view. Using a view has been explained here several times. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of T.kiran kumar reddy Sent: Friday, November 04, 2011 1:00 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Incompatible column type hi I am using mapguide server 2011 and mapguide studio and database sql server2008 r2. My data base table contain time stamp field (which i kept this for my replication purpose). when i go to view data it is showing An exception occurred in FDO component. RDBMS: Incompatible column type. If i removed that field it is coming. please suggest how can i rectify this problem. i need that column in my table. Thanks and regards T.kiran -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Incompatible-column-type-tp6961815p6961815.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] Google Maps API now expensive
http://www.theregister.co.uk/2011/10/27/google_maps_api_no_longer_free/ ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: isapi_MapAgent.dll crashes MapGuideAppPool
Yes the number of sessions against the session repository has limits. That has been drastically improved in the most recent code stream, but I'm not sure what you have available to you in 2.2. That is likely the limit you are hitting. It's not a hard number at 150, but more about actual concurrent read/writes to the session repository at any given point in time. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Gunter Becker Sent: Wednesday, August 24, 2011 4:58 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: isapi_MapAgent.dll crashes MapGuideAppPool Hi, I'm using .NET and AJAX. As an addition I want to say that we know have around 150 concurrent users. Somewhere else I've read (I don't know where anymore) that mapGuide has problems if there are more than 150 sessions. Could this be the problem? Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/isapi-MapAgent-dll-crashes-MapGuideAppPool-tp6680432p6722573.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] isapi_MapAgent.dll crashes MapGuideAppPool
What version of PHP are you using? Are you using PHP and fusion or AJAX? If so unless you use the version of MGOS that supports PHP 5.3 it's not stable under IIS 7. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Gunter Becker Sent: Friday, August 12, 2011 7:52 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] isapi_MapAgent.dll crashes MapGuideAppPool Hi, in the last days we've got quite problems with our application based on MapGuideOpenSource 2.2 (Windows Server 2008 R2, 64Bit). Periodically the MapGuideAppPool in IIS7.5 crashes. In Windows event.log there is the following message: *A process serving application pool 'MapGuideAppPool' suffered a fatal communication error with the Windows Process Activation Service.* (Source = WAS) In Windows application.log I found that the cause of this message seems to be a defect of the module: *isapi_MapAgent.dll, Version: 2.2.0.5703* After five times getting this error the MapGuideAppPool is aborted. I think this belongs to the default setting of the MapGuidAppPool: If the same error occurs five times in a time span of 5 minutes the process automatically shuts down. In most cases a restart of the MapGuideAppPool in the IIS-Manager is sufficient to get the application up and running. In some cases I can't restart the pool in fact of a supposed running w3wp.exe-process. But there is no process anymore and at last I have to restart the whole server. I should also mention that there are no errors in other log files. Nor in the IIS-Log neither in any of the MapGuide logs. Even in trace log with full debugging enabled there is absolutely nothing at the time the error occurs. I realized that this error has been thrown over the last 6 months but not in this intensity that it leads to a crash. Maybe this has something to do with the growing number of users who have access to our application. As a workaround I changed the default settings of the MapGuideAppPool to 10 errors in 1 minute before aborting the pool. So, know I get only 1 crash per day (before 10 per day). Of course, this doesn't solve the initial problem. Does anybody else get these windows warnings/errors mentioned above? Or does anyone have any idea what could cause such an error and how to solve it? Maybe some extra settings for the application pool? Thanks, Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/isapi-MapAgent-dll-crashes-MapGuideAppPool-tp6680432p6680432.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] RDBMS connection performance in Mapguide
Try using MySQL. It's pretty quick. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: Wednesday, April 06, 2011 6:42 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] RDBMS connection performance in Mapguide what's your server setup? separate db server? File based providers have much less overhead and outperform DB servers period. sqlite is by far the best, roughly 3-4 x SDF, 20-40x RDBMS best approach is too keep static data in sqlite, dynamic in RDBMS z On Wed, Apr 6, 2011 at 10:21 PM, prabhat30 lonely_prab...@yahoo.co.in wrote: Hi friends, I created an application, having a map containing SDF connection which is having very good performance but when i am using same map with sql server spatial provider connection map performance became very poor. i want to use RDBMS connection in my application because i have to do some adding editing operation on map. so please suggest me some other RDBMS connections which provides batter performance then sql server 2008 connection. regards Prabhat -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/RDBMS-connection-performance-in-Mapguide-tp6245821p6245821.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 Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au http://zacster.blogspot.com +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
RE: [mapguide-users] Compile Error: An attempt was made to load a program with an incorrect format.
You can't mix 32 and 64 bit apps together under IIS, at least under the same app pool. I'm less sure of apache. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Wednesday, March 09, 2011 6:39 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Compile Error: An attempt was made to load a program with an incorrect format. I believe that the bitness (heh) is set in the app pool's advanced properties... off the top of my head... On 2011-03-09, Jackie Ng jumpinjac...@gmail.com wrote: It is definitely a 32/64 bit mismatch. Check the following: - The bitness of the MapGuideDotNetApi and OSGeo.MapGuide dlls using corflags.exe (this should be 64-bit already for the x64 installer) - The bitness of any third party .net libraries - The bitness of the mapguide virtual directory and its child directories in IIS. I can't locate the setting for you but there is a flag that tells the web application to run as a 32-bit or 64-bit web application. All should be 64-bit (and/or Any CPU for .net dependencies) - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compile-Error-An-attempt-was-made-to-load-a-program-with-an-incorrect-format-tp6153978p6156138.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
RE: [mapguide-users] MG WMS Service
Not at this time. I believe it is a requested feature for the future. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of vd Sent: Saturday, January 22, 2011 3:40 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MG WMS Service Hi, is it possible to publish many layers as one WMS-Layer (from the server - not Overriding WMS Provider settings)? Regards vd -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MG-WMS-Service-tp5950533p5950533.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] MG WMS Service
Not that I am aware of. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Ivan Milicevic Sent: Monday, January 24, 2011 8:52 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] MG WMS Service Hello Dave, Is there any news for WMS-T support? -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Monday, January 24, 2011 4:22 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] MG WMS Service Not at this time. I believe it is a requested feature for the future. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of vd Sent: Saturday, January 22, 2011 3:40 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MG WMS Service Hi, is it possible to publish many layers as one WMS-Layer (from the server - not Overriding WMS Provider settings)? Regards vd -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MG-WMS-Service-tp5950533p5950533.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 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Re: MG2.1 can't be started with VISTA
I don't know if MGOS has the equivalent files, but you can execute backup, restore and recover repository scripts to fix situations like this with MGE. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Thursday, December 02, 2010 11:42 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Re: MG2.1 can't be started with VISTA Instructions for submitting a ticket are available here: http://trac.osgeo.org/mapguide/wiki/SubmitTicket Please be sure to include some steps that a developer can follow to duplicate the problem, otherwise it'll just be a holding place until such becomes available. Jason On 2 December 2010 21:59, carls wrote: It seems no relative tickets found by searching with 'repository service' at MapGuide.OSGEO.ORGhttp://MapGuide.OSGEO.ORG, in the scope of Tickets,Changesets,Milestones,Wiki. Could you please help to create a new ticket. Thanks! ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] IE6 users cannot see map pane using MGE 2010 AJAX viewer
It may have something to do with .PNG support in IE6. The default image served by the server is .PNG. They could try changing to .JPG to see if that makes a difference, but I'm sure the IE7 and above users won't be happy. The color palette may not be as nice. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of neilyoung Sent: Monday, November 22, 2010 1:13 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] IE6 users cannot see map pane using MGE 2010 AJAX viewer I posted this a couple of months ago on the Autodesk duscussion group and got 0 replies. I am hoping for suggestions from this group. I have a couple users who cannot see the contents of the map. They are forced by their IT to use IE6 as their browser. Initially, everything appears to load correctly. The layout, the legend, the icons in the legend, but nothing draws in the map frame. If the cursor is moved within the empty map frame, the coordinates change in the layout, but no map is displayed. It is simply a white canvas. The site is hosted on Windows Server 2003 running MGE 2010. Any ideas on why this may be happening would be appreciated. Thank you, Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/IE6-users-cannot-see-map-pane-using-MGE-2010-AJAX-viewer-tp5764191p5764191.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: An exception occurred in FDO component
It's been a while since I've used the Maestro interface, but you have to set the X/Y columns to be your geometry columns somehow. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of FMSUSC Sent: Monday, November 15, 2010 4:01 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: An exception occurred in FDO component Hi, I want to link an Access table as the data source of layer. I want to use the database rather than SHP file because I want to realize when I update the database, the updated information can be show on the map. (Such as added a point on website, all information as well as the coordinates is saved in database.) The table structure contains the attribute of ID, X,Y, Type, and Location. only this one table right now. I can successfully link to the shp file and got map layers well. Because of the data synchronization I want to change it link to database directly but not sure it's useful. The error message shows: An exception occurred in FDO component. Property 'Geometry' from class 'Default:test1' has no database mapping Thank you all. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/An-exception-occurred-in-FDO-component-tp5727051p5741944.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: An exception occurred in FDO component
If you have a shp file with the geometry you connect to the SHP file using the SHP provider. If you have data in a separate database then you would have to make a connection to that database using ODBC then define a Join on the SHP connection. This is not going to perform well. If possible it would make more sense to combine the Access table data with the SHP dbf file and connect to just the SHP. If that's not an option you may not be happy with the Join results. ODBC for geometry only renders point data based on coordinate values stored in 2 columns either Lat/Long or X/Y. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Friday, November 12, 2010 9:21 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: An exception occurred in FDO component I don't quite understand what you are trying to achieve so could you explain a little further? Are you trying to display data in an Acess dataabse as a layer? If so what data/table structure do you have? Or, are you trying to connect an Access database to another datasource i.e. .shp? Again it would be helpful to know your table structure. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/An-exception-occurred-in-FDO-component-tp5727051p5732913.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: Dynamic label size
I believe you can refresh without a full reload of the map. How it behaves may also depend on other layers that also have labels that may be displaced as the new labels are recalculated. I'm not 100% sure how you update the layer definition in the session other than update the layer_name resource that has the session appended to it in the session repository. You can probably find an example in other mailings or the dev guide on how to do that. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jonathan Rizzo Sent: Wednesday, November 03, 2010 12:22 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] RE: Dynamic label size Thanks, I'll give that a try. Can this be done without reloading the map? From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Tuesday, November 02, 2010 5:27 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Dynamic label size The label size is set in the layer definition and for the most part based on the font size if I am not mistaken. You could implement a +/- on the toolbar which updates the layer definition to change the size by some fixed increment. Not sure if this is the best way, but it is one way. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jonathan Rizzo Sent: Tuesday, November 02, 2010 12:41 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Dynamic label size Hello, I am getting back in to MapGuide development after an extended hiatus. I am trying to make changes to an application that I developed a long time ago, and I'm not exactly sure how to accomplish what I am trying to do. I would like to allow the user to manipulate the size of a layer's labels. Ideally, I would like to put a + and - icon on the toolbar which resizes the labels up or down by some fixed amount. Is this possible? Can anybody point me to an existing sample or bit of code that that shows how this would be done? Any assistance that you can offer would be greatly appreciated. Thanks! Jon This electronic transmission may contain confidential, proprietary or privileged information. No confidentiality or privilege is intended to be waived or lost by erroneous transmission of this message. If you receive this message in error, please notify the sender immediately by return email and delete this message from your system. Disclosure, use, distribution or copying of this message, any attachments thereto or their contents is strictly prohibited. This electronic transmission may contain confidential, proprietary or privileged information. No confidentiality or privilege is intended to be waived or lost by erroneous transmission of this message. If you receive this message in error, please notify the sender immediately by return email and delete this message from your system. Disclosure, use, distribution or copying of this message, any attachments thereto or their contents is strictly prohibited. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Dynamic label size
The label size is set in the layer definition and for the most part based on the font size if I am not mistaken. You could implement a +/- on the toolbar which updates the layer definition to change the size by some fixed increment. Not sure if this is the best way, but it is one way. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jonathan Rizzo Sent: Tuesday, November 02, 2010 12:41 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Dynamic label size Hello, I am getting back in to MapGuide development after an extended hiatus. I am trying to make changes to an application that I developed a long time ago, and I'm not exactly sure how to accomplish what I am trying to do. I would like to allow the user to manipulate the size of a layer's labels. Ideally, I would like to put a + and - icon on the toolbar which resizes the labels up or down by some fixed amount. Is this possible? Can anybody point me to an existing sample or bit of code that that shows how this would be done? Any assistance that you can offer would be greatly appreciated. Thanks! Jon This electronic transmission may contain confidential, proprietary or privileged information. No confidentiality or privilege is intended to be waived or lost by erroneous transmission of this message. If you receive this message in error, please notify the sender immediately by return email and delete this message from your system. Disclosure, use, distribution or copying of this message, any attachments thereto or their contents is strictly prohibited. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: [ODBC provider] Select within
MySQL doesn't support proper SelectWithin either. It currently only supports Envelope operations as far as I know. Unless this has changed in a recent release. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of isca Sent: Thursday, September 16, 2010 11:23 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: [ODBC provider] Select within We solved this by migrating the data to a spatial database. If a commercial database like oracle or sql server is no option, you could try the free postgis or mysql. The ODBC provider in MGOS/MGE is just not good. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ODBC-provider-Select-within-tp3424323p5539506.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: Multiple points with same lat/lon
I think you will have to execute a query in a page and return a result set to select from. Maybe include only the points that have multiple entries. Otherwise you could move the points to different layer via a filter if that's possible. But then the user would need to be able to turn off one of the layers. If your legend isn't visible you might create two buttons for the toolbar that toggle the visibility of the two layers. Just some sample ideas. I know someone had created some code to show multiple records in the results pane, but I don't know if it lets you toggle between them. Flexible layouts may allow for something like this, but if you have the legend off I'm guessing you have the properties pane off too. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Nickthetemp Sent: Wednesday, September 08, 2010 10:02 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: Multiple points with same lat/lon The points are in the same layer. Also, the map is embedded in a page with an iframe so the legend has been turned off to save space. Thanks -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Multiple-points-with-same-lat-lon-tp5510865p5511244.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: Mapguide 2.2 Performance issue
To compare the performance what if you uploaded the SDF to the database and tried the join as a view? I know 2000 records isn't a lot, but I'm curious if it would be faster from the DB. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Devadoss, Bala (US) Sent: Monday, August 30, 2010 3:56 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Mapguide 2.2 Performance issue Hi Dave, Thanks for your insight on the some of the items that we can look in to. What is the largest number of records involved in the joins and are they 1-1 or 1-many relationships? We have close to 2000 records in one of the join in 1-many relationships. Regards, Bala From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Thursday, August 26, 2010 6:11 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Mapguide 2.2 Performance issue Thanks for the details. That makes it much easier to provide some insight in to the issues. I suspect that depending on the number of records involved in each of your joins, the joins are the likely culprit causing performance problems. Having the SDF files on another server is also a big performance decrease. The SDF files should be on a drive local to the Server install, especially since you are trying joins. whether or not the Repository is on a different drive from the SDF files may or may not make a difference as at some point the data may be cached by Windows, but if you have more than 4GB of data then that won't be the case. Separating a Data drive from the Repository would be a good idea. To be honest I suspect if you were to upload your SDF data to SQL Server and create a view in SQL Server you would see much better performance and more consistent results than by using joins. What is the largest number of records involved in the joins and are they 1-1 or 1-many relationships? Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Devadoss, Bala (US) Sent: Thursday, August 26, 2010 4:40 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Mapguide 2.2 Performance issue Hi Dave, Sorry for being vague in the first place. I am still a rookie to the Mapguide Open Source world. Please find the response below for your questions. What configuration are you using? .NET, APACHE etc.. We are using .NET with IIS7 on Windows 2008 Server 64 bit Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using? We are using Basic Layout embedded in an aspx page. We are using DWF and SDF files for the graphics with many of the SDF joined via the ODBC provider for dynamic access to tables in the database as the database is updated regularly. There is 1 SDF layer, 4 DWF layers, 13 themed SDF/ODBC joined layers, and 8 labeled SDF/ODBC point layers. The map xml is generated dynamically based on a user picked value from an aspx page. Are you using raster imagery and if so what format? No raster Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent connections? We have followed the criteria for optimized settings based on the webconfig/serverconfig document that Trevor published. What is your hardware? How many CPUs/cores? Is everything running on the same box? Two Virtual machines load balanced using F5 Load Balancer running MG and the .net code. Both machines have Intel Xeon CPU 2.6ghz 2 processor with 4 GB of RAM. SQL Server 2008 runs on a separate machine and currently the SDF files are stored on a separate machine although this was done recently to try and reduce disk IO on the server. What are your users doing at the time things lock up? We start at the initial screen and pick a value to load the map. Two or perhaps three may get the map loaded, all others will sit and wait until the server ultimately fails. Hope this will give you some information on what we did. I appreciate your help on this. Thanks, Bala From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Wednesday, August 25, 2010 4:09 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Mapguide 2.2 Performance issue You will need to provide a lot more detail than it doesn't work to get a useful response :) What configuration are you using? .NET, APACHE etc.. Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using? Are you using raster imagery and if so what format? Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent connections? What is your hardware? How many CPUs/cores? Is everything running
[mapguide-users] RE: Mapguide 2.2 Performance issue
Thanks for the details. That makes it much easier to provide some insight in to the issues. I suspect that depending on the number of records involved in each of your joins, the joins are the likely culprit causing performance problems. Having the SDF files on another server is also a big performance decrease. The SDF files should be on a drive local to the Server install, especially since you are trying joins. whether or not the Repository is on a different drive from the SDF files may or may not make a difference as at some point the data may be cached by Windows, but if you have more than 4GB of data then that won't be the case. Separating a Data drive from the Repository would be a good idea. To be honest I suspect if you were to upload your SDF data to SQL Server and create a view in SQL Server you would see much better performance and more consistent results than by using joins. What is the largest number of records involved in the joins and are they 1-1 or 1-many relationships? Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Devadoss, Bala (US) Sent: Thursday, August 26, 2010 4:40 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Mapguide 2.2 Performance issue Hi Dave, Sorry for being vague in the first place. I am still a rookie to the Mapguide Open Source world. Please find the response below for your questions. What configuration are you using? .NET, APACHE etc.. We are using .NET with IIS7 on Windows 2008 Server 64 bit Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using? We are using Basic Layout embedded in an aspx page. We are using DWF and SDF files for the graphics with many of the SDF joined via the ODBC provider for dynamic access to tables in the database as the database is updated regularly. There is 1 SDF layer, 4 DWF layers, 13 themed SDF/ODBC joined layers, and 8 labeled SDF/ODBC point layers. The map xml is generated dynamically based on a user picked value from an aspx page. Are you using raster imagery and if so what format? No raster Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent connections? We have followed the criteria for optimized settings based on the webconfig/serverconfig document that Trevor published. What is your hardware? How many CPUs/cores? Is everything running on the same box? Two Virtual machines load balanced using F5 Load Balancer running MG and the .net code. Both machines have Intel Xeon CPU 2.6ghz 2 processor with 4 GB of RAM. SQL Server 2008 runs on a separate machine and currently the SDF files are stored on a separate machine although this was done recently to try and reduce disk IO on the server. What are your users doing at the time things lock up? We start at the initial screen and pick a value to load the map. Two or perhaps three may get the map loaded, all others will sit and wait until the server ultimately fails. Hope this will give you some information on what we did. I appreciate your help on this. Thanks, Bala From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Wednesday, August 25, 2010 4:09 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Mapguide 2.2 Performance issue You will need to provide a lot more detail than it doesn't work to get a useful response :) What configuration are you using? .NET, APACHE etc.. Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using? Are you using raster imagery and if so what format? Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent connections? What is your hardware? How many CPUs/cores? Is everything running on the same box? What are your users doing at the time things lock up? Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Devadoss, Bala (US) Sent: Wednesday, August 25, 2010 3:02 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Mapguide 2.2 Performance issue Hi, We just started testing 64 bit MGO 2.2 on windows 2008R2. When we load tested our site with 10 simultaneous users, the Mapguide service stops responding and we had to restart the service. I thought MGO2.2 is fixed to handle around 500 connections at the same time compared to 64 connections in MGO2.1. Please throw some ideas for the performance issue. Thanks, Bala This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy
[mapguide-users] RE: Mapguide 2.2 Performance issue
You will need to provide a lot more detail than it doesn't work to get a useful response :) What configuration are you using? .NET, APACHE etc.. Are you using Basic or Flexible Web Layouts? What kind of data/providers are you using? Are you using raster imagery and if so what format? Yes the 64 connection limit has been removed, but other components including the Berkeley database and physical disk I/O for example will limit the number of concurrent connections? What is your hardware? How many CPUs/cores? Is everything running on the same box? What are your users doing at the time things lock up? Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Devadoss, Bala (US) Sent: Wednesday, August 25, 2010 3:02 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Mapguide 2.2 Performance issue Hi, We just started testing 64 bit MGO 2.2 on windows 2008R2. When we load tested our site with 10 simultaneous users, the Mapguide service stops responding and we had to restart the service. I thought MGO2.2 is fixed to handle around 500 connections at the same time compared to 64 connections in MGO2.1. Please throw some ideas for the performance issue. Thanks, Bala This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. The information contained in this communication may be confidential and may be subject to the attorney-client privilege. If you are the intended recipient and you do not wish to receive similar electronic messages from us in the future then please respond to the sender to this effect. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: featureService.SelectFeatures and memory consumption
I have single layer from PostGis using the OSGeo.PostgreSQL 3.5 provider in MGE 2011 and I'm not seeing this behavior using the out of the box stuff. Are you using a Basic or Flexible layout? There may be an issue with the provider specific to one of the API your are using. When you mention panning and zooming below is there no custom code involved and again which Layout? Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Vaidas Velutis Sent: Wednesday, August 18, 2010 12:41 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] RE: featureService.SelectFeatures and memory consumption We are using OSGeo.PostgreSQL (new). I have just found that i have bigger problems than describet in first post. I have Map that contains layers from OSGeo.PostgreSQL connection, i made some Pan and Zoom commands (for about 1 minute) and mgserver.exe process became from 50 MB to 300 MB of size. I have same map build from SHP sources and it works good (process size is not increasing while browsing that map). So i guess it is really FDO provider or data provider related issue, mayby i am missing some configuration stuff in postgreSQL database? Does anyone uses PostGIS as datasource and do not have such kind of problems? -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Wednesday, August 18, 2010 8:52 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: featureService.SelectFeatures and memory consumption Is the provider OSGeo.PostGIS (old) or OSGeo.PostgreSQL (new)? The old provider has many bugs and hasn't been maintained in a while. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/featureService-SelectFeatures-and-mem ory-consumption-tp5427455p5435161.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
RE: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long
When you say it doesn't work under another schema does your ODBC login have rights to the other schema and some of the system tables? I'm not sure exactly what the rights need to be. This is a question for the FDO users list. I suspect it's a permissions issue. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kori Maleski Sent: Friday, August 13, 2010 3:57 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Problem with ODBC and Point Feature Display via Lat Long Thanks Warren! So much for organizing by schema. Can't wait to get to switch to MS SQL 2008 for spatial. Cheers, Kori Maleski On Fri, Aug 13, 2010 at 3:50 PM, Warren Medernach wmedern...@gmail.commailto:wmedern...@gmail.com wrote: Hey Kori, While this isn't an 'identical' test, I just tested this in MGE 2011 and can confirm the same results. The points DO NOT display under a different schema. Warren M On Fri, Aug 13, 2010 at 3:27 PM, Kori Maleski kori.male...@gmail.commailto:kori.male...@gmail.com wrote: MapGuide 2.1.0.4283 SQL Server 2005 ODBC FDO 3.4 I can create a Feature from the Lat Long columns of a table under the dbo schema, but if I use another schema the feature does not display in the map. Anybody else encounter this? Cheers, Kori Maleski ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto: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] wms version 1.0.0 is not supported?
I tried the server in Gaia and I can connect and get a huge list of layers, but I can't get any of them to preview. I tried a couple of versions and no difference. I don't understand why MG is generating an error: it must be something in the Capabilities doc it doesn't like. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Thursday, August 12, 2010 7:39 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] wms version 1.0.0 is not supported? Ya, I'd gotten the capabilities doc too.I don't have much else to test it in - I'd tried it in MapWindow (opensource GIS) and it shows me a preview of the maps...but MapWindow crashes when I try to add a layer. But either way, I can't seem to get past this FDO error in Mapguide... Andrew On 8/12/2010 10:24 AM, Mike Adair wrote: http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0request=GetCapabilitiesservice=WMS is returning a 1.0.0 Capabilities document, not sure if the GetMap requests actually work though. Mike On 8/12/2010 8:09 AM, Andrew DeMerchant wrote: Thanks Dave - I tried that (ie, my url is now http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0), but I still get the same message. Any more ideas? Does it work for you (or anyone else)? On 8/11/2010 6:14 PM, Dave Wilson wrote: Try including a version=1.0.0 as a parameter on your URL in your connection. Dave From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Wednesday, August 11, 2010 2:00 PM To: MapGuide Users Mail List Subject: [mapguide-users] wms version 1.0.0 is not supported? I'm getting an fdo exception when trying to connect to a government (of Canada) WMS server. The error says the wms version 1.0.0 is not supported, but all FDO docs say the contrary - that Mapguide can do 1.0.0+...is it just this server acting funny, or is there a problem on my end somewhere? The url is here: http://public.geoportal-geoportail.gc.ca/wms/cascader.can anyone else successfully connect to this server? Andrew -- [cid:image001.png@01CB3A07.C2CD5610]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- [cid:image001.png@01CB3A07.C2CD5610]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pièces jointes) est confidentiel et peut être privilégié. La distribution ou la divulgation non autorisée de ce courriel est interdite. Sa divulgation à toute personne autre que son destinataire ne constitue pas une renonciation de privilège. Si vous avez reçu ce courriel par erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces jointes, de votre système informatique et de vos dossiers. ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Michael Adair Senior Software Architect DM Solutions Group Inc. Office: (613) 565-5056 x26 mad...@dmsolutions.camailto:mad...@dmsolutions.ca http://www.dmsolutions.ca http://research.dmsolutions.ca ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- [cid:image001.png@01CB3A07.C2CD5610]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 inline: image001.png___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] wms version 1.0.0 is not supported?
Yes I get the same error. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Thursday, August 12, 2010 10:22 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] wms version 1.0.0 is not supported? Ya, I'd tried the same thing too - and got the same results...I could get some layers in in Gaia though. It's odd that only some work, and that all previews work in MapWindow. It makes me suspicious that the server just isn't 100% compliant, as it reports to bedo you get that same FDO error as I do, in Mapguide? Andrew On 8/12/2010 1:18 PM, Dave Wilson wrote: I tried the server in Gaia and I can connect and get a huge list of layers, but I can't get any of them to preview. I tried a couple of versions and no difference. I don't understand why MG is generating an error: it must be something in the Capabilities doc it doesn't like. Dave From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Thursday, August 12, 2010 7:39 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] wms version 1.0.0 is not supported? Ya, I'd gotten the capabilities doc too.I don't have much else to test it in - I'd tried it in MapWindow (opensource GIS) and it shows me a preview of the maps...but MapWindow crashes when I try to add a layer. But either way, I can't seem to get past this FDO error in Mapguide... Andrew On 8/12/2010 10:24 AM, Mike Adair wrote: http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0request=GetCapabilitiesservice=WMS is returning a 1.0.0 Capabilities document, not sure if the GetMap requests actually work though. Mike On 8/12/2010 8:09 AM, Andrew DeMerchant wrote: Thanks Dave - I tried that (ie, my url is now http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0), but I still get the same message. Any more ideas? Does it work for you (or anyone else)? On 8/11/2010 6:14 PM, Dave Wilson wrote: Try including a version=1.0.0 as a parameter on your URL in your connection. Dave From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Wednesday, August 11, 2010 2:00 PM To: MapGuide Users Mail List Subject: [mapguide-users] wms version 1.0.0 is not supported? I'm getting an fdo exception when trying to connect to a government (of Canada) WMS server. The error says the wms version 1.0.0 is not supported, but all FDO docs say the contrary - that Mapguide can do 1.0.0+...is it just this server acting funny, or is there a problem on my end somewhere? The url is here: http://public.geoportal-geoportail.gc.ca/wms/cascader.can anyone else successfully connect to this server? Andrew -- [cid:image001.png@01CB3A0C.2E691BD0]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- [cid:image001.png@01CB3A0C.2E691BD0]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pièces jointes) est confidentiel et peut être privilégié. La distribution ou la divulgation non autorisée de ce courriel est interdite. Sa divulgation à toute personne autre que son destinataire ne constitue pas une renonciation de privilège. Si vous avez reçu ce courriel par erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces jointes, de votre système informatique et de vos dossiers. ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Michael Adair Senior Software Architect DM Solutions Group Inc. Office: (613) 565-5056 x26 mad...@dmsolutions.camailto:mad...@dmsolutions.ca http://www.dmsolutions.ca http://research.dmsolutions.ca ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http
RE: [mapguide-users] wms version 1.0.0 is not supported?
Yes other servers are working. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Thursday, August 12, 2010 10:58 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] wms version 1.0.0 is not supported? Ok - well, at least we know it's not just a problem on my end. Am I right in thinking that you're able to get other WMS servers working? Andrew On 8/12/2010 1:50 PM, Dave Wilson wrote: Yes I get the same error. Dave From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Thursday, August 12, 2010 10:22 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] wms version 1.0.0 is not supported? Ya, I'd tried the same thing too - and got the same results...I could get some layers in in Gaia though. It's odd that only some work, and that all previews work in MapWindow. It makes me suspicious that the server just isn't 100% compliant, as it reports to bedo you get that same FDO error as I do, in Mapguide? Andrew On 8/12/2010 1:18 PM, Dave Wilson wrote: I tried the server in Gaia and I can connect and get a huge list of layers, but I can't get any of them to preview. I tried a couple of versions and no difference. I don't understand why MG is generating an error: it must be something in the Capabilities doc it doesn't like. Dave From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Thursday, August 12, 2010 7:39 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] wms version 1.0.0 is not supported? Ya, I'd gotten the capabilities doc too.I don't have much else to test it in - I'd tried it in MapWindow (opensource GIS) and it shows me a preview of the maps...but MapWindow crashes when I try to add a layer. But either way, I can't seem to get past this FDO error in Mapguide... Andrew On 8/12/2010 10:24 AM, Mike Adair wrote: http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0request=GetCapabilitiesservice=WMS is returning a 1.0.0 Capabilities document, not sure if the GetMap requests actually work though. Mike On 8/12/2010 8:09 AM, Andrew DeMerchant wrote: Thanks Dave - I tried that (ie, my url is now http://public.geoportal-geoportail.gc.ca/wms/cascader?version=1.0.0), but I still get the same message. Any more ideas? Does it work for you (or anyone else)? On 8/11/2010 6:14 PM, Dave Wilson wrote: Try including a version=1.0.0 as a parameter on your URL in your connection. Dave From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Wednesday, August 11, 2010 2:00 PM To: MapGuide Users Mail List Subject: [mapguide-users] wms version 1.0.0 is not supported? I'm getting an fdo exception when trying to connect to a government (of Canada) WMS server. The error says the wms version 1.0.0 is not supported, but all FDO docs say the contrary - that Mapguide can do 1.0.0+...is it just this server acting funny, or is there a problem on my end somewhere? The url is here: http://public.geoportal-geoportail.gc.ca/wms/cascader.can anyone else successfully connect to this server? Andrew -- [cid:image001.png@01CB3A0D.FA4C2070]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- [cid:image001.png@01CB3A0D.FA4C2070]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 This e-mail message (including attachments, if any) is confidential and may be privileged. Any unauthorized distribution or disclosure is prohibited. Disclosure to anyone other than the intended recipient does not constitute waiver of privilege. If you have received this e-mail in error, please notify us and delete it and any attachments from your computer system and records. -- Ce courriel (y compris les pièces jointes) est confidentiel et peut être privilégié. La distribution ou la divulgation non autorisée de ce courriel est interdite. Sa divulgation à toute personne autre que son destinataire ne constitue pas une renonciation de privilège. Si vous avez reçu ce courriel par erreur, veuillez nous aviser et éliminer ce courriel, ainsi que les pièces jointes, de votre système informatique et de vos dossiers. ___ mapguide-users
RE: [mapguide-users] wms version 1.0.0 is not supported?
Try including a version=1.0.0 as a parameter on your URL in your connection. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andrew DeMerchant Sent: Wednesday, August 11, 2010 2:00 PM To: MapGuide Users Mail List Subject: [mapguide-users] wms version 1.0.0 is not supported? I'm getting an fdo exception when trying to connect to a government (of Canada) WMS server. The error says the wms version 1.0.0 is not supported, but all FDO docs say the contrary - that Mapguide can do 1.0.0+...is it just this server acting funny, or is there a problem on my end somewhere? The url is here: http://public.geoportal-geoportail.gc.ca/wms/cascader.can anyone else successfully connect to this server? Andrew -- [cid:image001.png@01CB3967.EDB814F0]http://www.gemtec.ca/ Andrew DeMerchant tel: 506.453.1025 / toll-free: 1.877.243.6832 fax: 506.453.9470 inline: image001.png___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Re: FDO Exception when selecting feature.
I have a connection in Windows 2008 64bit to an Excel 2000 spreadsheet that works. I use a DSN connection. The spreadsheet has a named region set. On my feature source I define a key column and the geometry columns. Here is the config doc associated with the connection: ?xml version=1.0 encoding=UTF-8 ? - fdo:DataStore xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:gml=http://www.opengis.net/gml; xmlns:fdo=http://fdo.osgeo.org/schemas; xmlns:fds=http://fdo.osgeo.org/schemas/fds; - gml:DerivedCRS gml:id=LL84 gml:remarksWGS84 datum, Latitude-Longitude; Degrees/gml:remarks gml:srsNameLL84/gml:srsName - gml:validArea - gml:boundingBox gml:pos-113.50 -51.79/gml:pos gml:pos178.33 74.00/gml:pos /gml:boundingBox /gml:validArea - gml:baseCRS - fdo:WKTCRS gml:id=LL84 gml:srsNameLL84/gml:srsName fdo:WKTGEOGCS[LL84,DATUM[WGS84,SPHEROID[WGS84,6378137.000,298.25722293]],PRIMEM[Greenwich,0],UNIT[Degree,0.01745329251994]]/fdo:WKT /fdo:WKTCRS /gml:baseCRS gml:definedByConversion xlink:href=http://fdo.osgeo.org/coord_conversions#identity; / gml:derivedCRSType codeSpace=http://fdo.osgeo.org/crs_types;geographic/gml:derivedCRSType gml:usesCS xlink:href=http://fdo.osgeo.org/cs#default_cartesian; / /gml:DerivedCRS - xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; targetNamespace=http://fdo.osgeo.org/schemas/feature/Default; xmlns:fdo=http://fdo.osgeo.org/schemas; xmlns:gml=http://www.opengis.net/gml; xmlns:Default=http://fdo.osgeo.org/schemas/feature/Default; elementFormDefault=qualified attributeFormDefault=unqualified - xs:element name=Country type=Default:CountryType abstract=false substitutionGroup=gml:_Feature - xs:key name=CountryKey xs:selector xpath=.//Country / xs:field xpath=COUNTRY_KEY / /xs:key /xs:element - xs:complexType name=CountryType abstract=false fdo:geometryName=Geometry - xs:complexContent - xs:extension base=gml:AbstractFeatureType - xs:sequence - xs:element name=COUNTRY_KEY - xs:annotation xs:documentation / /xs:annotation - xs:simpleType - xs:restriction base=xs:string xs:maxLength value= / /xs:restriction /xs:simpleType /xs:element - xs:element name=COUNTRY_NAME minOccurs=0 - xs:annotation xs:documentation / /xs:annotation - xs:simpleType - xs:restriction base=xs:string xs:maxLength value= / /xs:restriction /xs:simpleType /xs:element - xs:element name=AREA minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=CAPITAL minOccurs=0 - xs:annotation xs:documentation / /xs:annotation - xs:simpleType - xs:restriction base=xs:string xs:maxLength value= / /xs:restriction /xs:simpleType /xs:element - xs:element name=GDP minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=INFLATION minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=UNEMPLOYMENT minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=EXPORTS minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=IMPORTS minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=POPULATION minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=GROWTH_RATE minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=BIRTH_RATE minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=DEATH_RATE minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=LIFE_MALE minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=LIFE_FEMALE minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation /xs:element - xs:element name=AREA_LAND minOccurs=0 - xs:simpleType xs:restriction base=xs:double / /xs:simpleType - xs:annotation xs:documentation / /xs:annotation
RE: [mapguide-users] Re: FDO Exception when selecting feature.
It's a column in the spreadsheet, no different as if it was an Access table or other database table. It's in the named range. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of DGK Sent: Friday, August 06, 2010 2:06 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: FDO Exception when selecting feature. Dave, In the xml you sent (THANK YOU!) is the line xs:key name=CountryKey Is CountryKey a field in your named range? Is it in the spreadsheet at all or simply something the FDO needs? Dan -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/FDO-Exception-when-selecting-feature-tp5347905p5381993.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] Manually Themed Point Layer - Redux
It's likely that the coordinate system of the point data is not set or is incorrect? hence it draws without error, but doesn't render. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of DGK Sent: Thursday, July 29, 2010 6:40 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Manually Themed Point Layer - Redux The manually themed point layer shows up in layer preview, but not on a map (our web layout). The steet layer in the bottom frame is there to verify the proper view. MGE 2011, 64bit. Thanks, Dan http://osgeo-org.1803224.n2.nabble.com/file/n5347267/Styling.png http://osgeo-org.1803224.n2.nabble.com/file/n5347267/Preview.png http://osgeo-org.1803224.n2.nabble.com/file/n5347267/Map_Preview.png -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Manually-Themed-Point-Layer-Redux-tp5347267p5347267.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] DWF's display poorly
Is the text an actual text layer? Does it use a font and does that font exist on the MGE Server or is everything running locally on XP for example? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of frosty1_4me Sent: Wednesday, July 21, 2010 10:48 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] DWF's display poorly Hi, I'm attempting to convert some dwg's to dwf's in order to display 'dumb' graphics in MGE. I've tried all the settings I could find in the plot dwf configuration to make the objects (text, blocks, dims, leaders, arrows, etc) look exacly how they do in the dwg and so far I have failed miserably. The dwf's text is pixelled and unlegable in a lot of cases. I edited the ePlot 6 dwf pen styles to use a lineweight of '0' (nice to have to hack that ) then I cranked up the resolution as high as it would go (4800) with still no success. How can I get this to work? Thanks. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/DWF-s-display-poorly-tp5321851p5321851.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] Connecting to an Excel Database
One step that I think is missing is that in the Excel sheet you plan to use as a table you should Name the area (full set of cells containing your data). The Name acts like a table name to the ODBC provider. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of VOLZ Mark (FN) Sent: Sunday, July 04, 2010 11:52 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Connecting to an Excel Database Dan, You first have to make an odbc connection to the excel file and then connect the ODBC FDO to that DSN (I have found through a lot of swearing and going through the endless loops as it seems you are). Steps to do this; In the windows envoriment start admin tools data sources (ODBC) or control panel admin tools data sources Select the system DSN tab Click add Select microsoft excel driver (there are a couple of xls connectors but I have found this one works well) Give it a source name (this is the source name you will select in FDO) A description (if you feel like it ... Not a bad idea for future proofing) Select the work book Fill in any special options (row scan / read only /etc) Click ok And OK again Stop/start the mapguide server service (or wait for about 10mins for the server to update itself) Launch MGE 2010 studio (I'm assuming you are MGE user and not an open source user) And then add the ODBC FDO data source Select connect via a dsn on this machine Enter the source name And test the connection You should receive a green tick (if you receive a rdbms error then the file is proably open somewhere) Click the show tables button If all is working you should then be able to select a table (sheet) and the x and y fields assoc. with it You can then create a layer using this data source, style and theme as required. Add the layer to a map Add the map to a web layout Launch the web layout You should now have a web map showing your excel data. I have found that creating a system DSN is preferrable then a user DSN or using the odbc engine within the FDO connection (just seems to be a bit more stable). Hope this helps Mark -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of DGK Sent: Saturday, 3 July 2010 3:36 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Connecting to an Excel Database The subject itself should describe my experience level... (extreme newbie) The goal is simply to attach a point file and place symbols on a map. I have been through the Autodesk Official Traning Guide for Mapguide 2010 and searched Excel under the users group to no avail. But for this simple task still I'm lost... The point file is an Excel spreadsheet with these columns: ID SITE LAT LON 1 NY-ROC001 43.1851967 -77.641065 2...149 Tried a couple of Methods to Connect see below (no user credentials required in any case). The problem is the Excel file? - Used Excel 2003, except for DSN connection - then saved as Excel 5.0 Please advise - I've become the definition of insanity - doing the same thing over and over and expecting a different result... Dan What follows are the specific steps taken for everything I can think of... Attempt 1 Failure: Type of Connection - OSGeo FDO Provide for ODBC Connect to a file and upload to the MapGuide Library New - Select file SyrRocLocations01.xls (on local machine, not a network drive) Type of database - Microsoft Excel Driver (*.xls) Connection String - Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=%MG_DATA_FILE_PATH%SyrRocLocations01.xls;Defau ltDir=%MG_DATA_FILE_PATH%; Test Connection - Successful connection Under Define geometry properties... Press Show Tables - nothing appears Press Refresh - Failed to retrieve message for MgIndexOutOfRangeException. The value is invalid because it is too large. Attempt 2 Failure: Type of Connection - OSGeo FDO Provider for ODBC Connect to an External File File to connect to - %MG_DATA_PATH_ALIAS[DATA_FILES]%/SyrRocLocations01.xls (alias is set up properly) Type of Database - Microsoft Excel Driver (*.xls) Connection String - Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=%MG_DATA_PATH_ALIAS[DATA_FILES]%/SyrRocLocatio ns01.xls;DefaultDir=%MG_DATA_PATH_ALIAS[DATA_FILES]%; Test Connection - An exception occurred in FDO component. RDBMS: No current open database. Attempt 3 Failure: Type of Connection -OSGeo FDO Provider for ODBC Connect via a DataDource Name (DSN) set up on the server Create DSN on server, select connection name (made sure to save file as Excel 5.0 and use like dsn driver) Test Connection - Successful Connection Refresh - Failed to retrieve message for MgIndexOutOfRangeException. The value is invalid because it is too large. Tried to Create a layer from each of the data sources: Create Layer fron Excel Upload (1 above) OR Create Layer From
RE: [mapguide-users] Re: develop mapguide
MapGuide 101: MapGuide is comprised of a Data processing server and a Web server which may or may not be installed on the same machine. The following outlines the basic steps once you have the above installed. Note you should decide which programming language you plan to use at the time of the web installation. PHP, .NET or Java are your options. You can decide to use Apache or IIS. You can also decide between Windows or Linux as your operating system. Note your web server must be hosted or accessible via the internet if you wish others to see it external to your location, otherwise it is only available on your local area network. The following are the primary steps to creating a map viewable via a web browser once you have your installation. 1) Connect or upload data 2) Create and style a layer for each data source 3) Create a map and add the layers 4) Create a Layout (Basic or Flexible) and add the map 5) View the layout in the browser To connect to the data create a data folder on your server and organize the data into some logical structure. Various formats are supported including SHP, SDF, ODBC, Oracle, SQL Server, image files etc. For databases you need their connectivity clients installed as the data isn't actually local to the server. From Site Admin Configure external files and Add an alias pointing to the main folder where your data is saved under by supply a local server path D:\data for example or if you have to use a network share via a UNC path \\server\share\folder. The best performance is always gained using local data. Using either MapGuide Maestro (Open Source) or MapGuide Studio (Enterprise), create connections to the data. I'm not sure Maestro supports uploading of files, but Studio does. Note file uploads to the server have a 2Gb limit (controlled via php). Most people simply use data connections to data stored on the server. Create layers pointing to the data connections you created. There are various styling options to consider including when and when not to show the data (setting the scale range) as well as when and when not to create labels. Labeling can be intensive and showing labels too early causes unnecessary processing. Decide which layers you plan to select from. Specify the properties you wish the users to see. Create a map and add your layers to it. Note the coordinate system of the map does not have to match that of the data, but it needs to be able to logically convert. You can't assign and expect all of a file of the world (WGS84) to display in a local coordinate system such as Montana State Plane, the reverse however will work. If the map and the data are in the same coordinate system then there is less processing involved resulting in the faster display of your data. Generally organize your layers based on feature type, points on top of lines, lines on top of polygons. Decide which layers can be selected from and enable selection for the layers you added properties. Create a layout. A layout is a web page template for hosting the map. There are 2 kinds: one php based (Flexible layouts using Fusion) and the other (Basic Layouts) coded in php, .net or Java. there are pros and cons to either. The layout provides a URL you can use to access your layout via the web. There are many more details to the above, but that is the basic overview. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: Friday, June 25, 2010 6:22 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Re: develop mapguide Forget webstudio try maestro On 25 Jun 2010 20:34, liely imoet liely@gmail.commailto:liely@gmail.com wrote: how to upload *.shp to mapguide using webstudio step by step? 2010/6/25 liely imoet liely@gmail.commailto:liely@gmail.com: I'm studying develop webgis using mapguide, I have a difficulties to show the map.shp to the template that available, then I also still confuse about package.mgp and the function of FDO. I already success to show the map sample (sheboygan), but i am still confuse to show the map in shp format using mapguide. So i need your guide to solve my problem. Thank you before. lilik hanifah, Indonesia ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto: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] WMS and Mapguide with AutoCAD - at wits end...
Have you edited the WMS settings in the Site Admin to rename localhost to the machine name or IP Address? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Tuesday, June 22, 2010 12:36 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] WMS and Mapguide with AutoCAD - at wits end... Have you modified the overall WMS config? By default, I think it may point to localhost, and the initial metadata response points the clients to that instead of the running IP. What does your GetCapabilities WMS response look like? Jason On 2010-06-22, Mike Micallef michael.mical...@ontario.ca wrote: I am running Apache bundled on 8008 is it a different port for the WMS connection? m -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-and-Mapguide-with-AutoCAD-at-wits-end-tp5208784p5208825.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: MGOS v2.2 Beta ! and SQL 2008. Again...
Have you applied the service pack to SQL Server 2008? There is a spatial index bug that was fixed in the service pack that is critical for MGE performance. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of miansi Sent: Monday, June 21, 2010 2:57 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: MGOS v2.2 Beta ! and SQL 2008. Again... Any attempt to change/save dataconnection end up in following error: http://osgeo-org.1803224.n2.nabble.com/file/n5206206/dataconnection_error.png -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MGOS-v2-2-Beta-and-SQL-2008-Again-tp5197257p5206206.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: Highlighting selected features
I'm not doing much programming these days so I can't specifically answer your question, but I'm not sure I understand why you need to re-project the layer? MapGuide will transform the data in Coordinate System A in your layer to Coordinate System B assigned to the map by default. What is the case where you need to re-project this? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of navya024 Sent: Monday, June 14, 2010 12:52 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: Highlighting selected features Hi, i want to do layer reprojection on the fly. i have written the code based on the sample code provided by you. MgInitializeWebTier($webconfigFilePath); $args = ($_SERVER['REQUEST_METHOD'] == POST) ? $_POST : $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $resourceService = $siteConnection-CreateService(MgServiceType::ResourceService); $featureService = $siteConnection-CreateService(MgServiceType::FeatureService); $map = new MgMap(); $map-Open($resourceService, 'map'); $mapWktSrs = $map-GetMapSRS(); $resourceID = new MgResourceIdentifier('Library://new/dat.FeatureSource'); $byteSource = new MgByteSource('C:/GFProp_Req.sdf'); $data = $byteSource-GetReader(); $resourceService-SetResourceData($resourceID, 'GFProp_Req', 'File', $data); $newLayer=CreatLayer($resourceService,$resourceID,$sessionId); $newLayer-SetVisible(true); $newLayer-ForceRefresh(); $newLayer-SetDisplayInLegend(true); $map-GetLayers()-Insert(0, $newLayer); $map-Save($resourceService); $layer=$map-GetLayers()-GetItem(1); $featureSource = new MgResourceIdentifier($layer-GetFeatureSourceId()); $featureSC = $featureService-GetSpatialContexts($featureSource, true); $featureSC-ReadNext(); $featureSRS = $featureSC-GetCoordinateSystemWkt(); $coordSysFactory = new MgCoordinateSystemFactory(); $sourceSRS = $coordSysFactory-Create($featureSRS); $targetSRS = $coordSysFactory-Create($mapWktSrs); $LL2LamCC = $coordSysFactory-GetTransform($sourceSRS, $targetSRS); $layerClassName = $layer-GetFeatureClassName(); $queryOptions = new MgFeatureQueryOptions(); $featureReader = $featureService-SelectFeatures($featureSource, $layerClassName, $queryOptions); $agfObj = $featureReader-GetGeometry(Geometry); $agfRW = new MgAgfReaderWriter(); $geoObj = $agfRW-Read($agfObj); $wktRW = new MgWktReaderWriter(); $wktObj = $wktRW-Write($geoObj); i have transformed the featuresource srs to mapsrs but how to add it to reproject the layer??can you please guide me. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Highlighting-selected-features-tp3901646p5176359.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] Services on Linux
A question to those that are more familiar with Linux. What is the standard practice for running something the equivalent as a service on Windows? I ask this question based on the recent email where the user had not started either Apache or MapGuide. This has happened several times so it would seem to me that we should be configuring installs to make these process run at startup. What is the best way to implement this and what kind of installer work would be required? Regards, Dave [cid:image001.jpg@01CB0232.6DD8B490] Dave Wilson, AEC IM CRT QA Analyst Autodesk Canada, Inc. 21st Floor 645 7th Ave SW Calgary, AB T2P 4G8 Direct 403-538-3069 Fax 403-264-1442 inline: image001.jpg___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Services on Linux
That allows for automatic startup but how do you stop and restart once it's running? In RedHat there is a services menu where some services can be stopped and started. Is this RedHat specific or would it make sense to create an entry that appears here? Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Wednesday, June 02, 2010 10:35 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Services on Linux While this may not be the best practice, you can add the Apache and MapGuide daemons to the Linux startup scripts in /etc/rc.d/rc.local. Your entries (for a standard install) would be something like: #Start MGOS HTTP #cd /usr/local/mapguideopensource/webserverextensions/apache2/bin ./httpd #Start MGOS cd /usr/local/mapguideopensource/server/bin ./mgserverd.sh Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Wednesday, June 02, 2010 8:03 AM To: MapGuide Users Mail List Subject: [mapguide-users] Services on Linux A question to those that are more familiar with Linux. What is the standard practice for running something the equivalent as a service on Windows? I ask this question based on the recent email where the user had not started either Apache or MapGuide. This has happened several times so it would seem to me that we should be configuring installs to make these process run at startup. What is the best way to implement this and what kind of installer work would be required? Regards, Dave [cid:image001.jpg@01CB026F.C6D45260] Dave Wilson, AEC IM CRT QA Analyst Autodesk Canada, Inc. 21st Floor 645 7th Ave SW Calgary, AB T2P 4G8 Direct 403-538-3069 Fax 403-264-1442 inline: image001.jpg___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] MapGuide 2.2 on Ubuntu 9.10
Did you run the mgserver.sh script as well to start the server process? You just run the Apache server. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Pedro Venâncio Sent: Tuesday, June 01, 2010 3:23 PM To: MapGuide Users List Subject: [mapguide-users] MapGuide 2.2 on Ubuntu 9.10 Hello everyone, First I would like to congratulate the efforts of developers to make a binary for ubuntu! This is excellent news, because long ago I had the idea of migrating MGOS to ubuntu, and this is the opportunity! I installed .deb packages of release 2.2 beta on a clean install of Ubuntu 9.10 (on a VirtualBox virtual machine), all without problems, running the script mginstallubuntu.sh. Then, I copied the phpviewersample-2.0 and Sheboygan.mgp to their directories on ubuntu and tried to access the Site Administrator, but without success. After running the command sudo /usr/local/mapguideopensource/webserverextensions/apache2/bin/apachectl start, I've got access to the Site Administrator, but introducing the credentials ID: Administrator and Pass: admin, it shows this message: Can not establish connection . Then I tried to access through Maestro, but appeared the message of the image attached. I appreciate the help and apologize for this (probably) basic questiony, but I'm not an advanced ubuntu user. Thank you! Pedro ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] GetSpatialContext for FeatureSource
I believe this is an issue and I'm not sure there is a fix. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Gunter Becker Sent: Thursday, May 27, 2010 7:27 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] GetSpatialContext for FeatureSource Hi, I have a FeatureSource which I create at runtime in the Session-Repository. I insert and delete features in this FeatureSource several times and each time I want to zoom to the full extent of the FeatureSource. Unfortunately, the GetSpatialContext methode of the FeatureService returns the right extent for the FeatureSource only the first time it is requested. When I add features to this FeatureSource which are outside of this extent the GetSpatialContext methode always return the same extent. So, I suppose the extent of the FeatureSource is cached somewhere. Can anyone confirm this behaviour! Is there a methode to set the FeatureSource to the right extent? Something like a refresh methode for FeatureSources? Thanks, Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GetSpatialContext-for-FeatureSource-tp5108554p5108554.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] Mg Server often comes down
The version you are using is old and missing many improvements for stability. What data types are used in your map: SDF, Raster...etc We need way more information before anyone can suggest anything other than upgrade. If the server crashes is there a stack trace or do you get a segmentation fault with no information? Is the server running out of memory? Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of swap Sent: Friday, May 21, 2010 9:43 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Mg Server often comes down I made a develpment for using mgos, now it is being published, but when several users acces the server downs, it is necesary to restart for continue. I reviwed posts and found this matter some times no resolved, I'm looking for some advice to avoid the server crash, different of update or reinstall the server, due it was very hard. Enviroment OS REHL 4.8 mgos 2.0.2 FDO 3.3.0 Maestro 2.0 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mg-Server-often-comes-down-tp5084855p5084855.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: Plot Dwf Files
You need to use the 2009 version of Design Review. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Thursday, April 29, 2010 8:57 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Plot Dwf Files Which version of Design Review are you using? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Plot-Dwf-Files-tp4969570p4983676.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: Opening an image in an image editor
Silly question but do you have an I drive mapped on the mg server? The second issue with using a network drive is that the process, in this case the IIS user account won't have permissions to network resources. You will have to grant those permissions on the mapped drive. As to the secondary map approach if the images were all geo-referenced then you wouldn't be viewing the whole map, it would just be a spatial query which would be quick and only return the necessary portion of the images. However since they aren't geo-referenced this won't work. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of EnvCADGuy Sent: Wednesday, April 28, 2010 12:54 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Opening an image in an image editor The scanned aerials I'm trying to reference are not geo-referenced. What I meant was, along with the scanned aerials I'm trying to reference, I will also have more recent geo-referenced aerials available with this mapguide site. The aerials I'm trying to reference are from 1936-1995. In all, there's around 400 GB of aerials I'm making available to view through MG. Even if I was able to make them into a map, that map would be so large that it would take an hour for someone to view. So it is easier to open individual scanned images. I tried adding file:// to the path, but this is the error message I get: http://n2.nabble.com/forum/FileDownload.jtp?type=nid=4976142name=Error_Image.bmp -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Opening-an-image-in-an-image-editor-tp4965133p4976142.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: Opening an image in an image editor
In other words you would basically have to download the image then the client's local mime-type logic should kick in to open the viewer. Except most clients aren't likely to have a tiff viewer no? What's the standard logic to initiate a file download from a web server? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Wednesday, April 28, 2010 10:53 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Re: Opening an image in an image editor If you are working in a web interface, you cannot interact with the desktop at that level due to security. You would be constrained to opening that image through the web interface through whatever application the user has configured in their operating system for the file type. Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of EnvCADGuy Sent: Wednesday, April 28, 2010 9:44 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Opening an image in an image editor Is it possible to use the ctrl-click command to open a file locally, without it opening in the browser? The problem I'm having is finding the right script to edit if it is possible to open a tiff image locally. I've spent several days, and spent hours upon hours trying to find a solution online, and nothing has worked so far. So if anyone could help, it would be greatly appreciated!!! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Opening-an-image-in-an-image-editor-t p4965133p4975524.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
RE: [mapguide-users] Re: Opening an image in an image editor
Let's look at the problem differently. Since the images are geo-referenced could you make them a layer in MGE? In other words could you make a copy of them from wherever they currently sit and serve them up as a map via MGE, keeping the images in a folder on the MGE Server? Basically you could open a new window when the user clicks the point and execute a GetMap request to the MGE Server and have it return a map image based on another map you configure in MGE. No other viewer is needed locally and you don't download the whole file, just a set of coordinates around the location the user has selected determines the image being returned and you can set your own scale and window size. This bypasses the indexing of the SHP file so I don't know if this would get you what you need, but it might be worth investigating. Otherwise you path references in the data probably need to be UNC based rather than mapped drive for anything else to work. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of EnvCADGuy Sent: Wednesday, April 28, 2010 12:21 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Opening an image in an image editor Dave, the only problem with downloading these files is he size. Each scanned image is around 90 megabytes, which is why I'm trying to create this viewer so everyone won't have to download them. P.s. The viewer I'm creating is also housing geo-referenced aerials, center lines, etc, not just the scanned aerials. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Opening-an-image-in-an-image-editor-tp4965133p4975978.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] Fixing a corrupt repository
The RepositoryAdmin folder has scripts to repair a repository. I would stop your mg service, execute a backupofflinerepositories, execute a restorecoldbackup and then execute a recoverrepositories. This should hopefully repair it. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Sunday, April 18, 2010 10:15 AM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] Fixing a corrupt repository How about trying to save your entire repository (from the Library:// level on down) using Administrator? Then, stop the service, delete the existing repository files, restart the service so the repository files are rebuilt, then load the package. Be sure to back up everything first... Andy Morsell, P.E. Spatial Integrators, Inc. 47° 46' N 116° 49' W www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Bill T Sent: Sunday, April 18, 2010 7:14 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Fixing a corrupt repository I have copied a Library folder from the Root using Maestro, and was going to take care of all the renaming etc. using it. However, once I did that, the system began tossing an error, and stopping/starting the mapguide service would not fix it - only re-booting the machine. And even at that, it would last through one operation, and back to the same thing, including rebooting the server. I intend to discuss this in a Maestro post, but at this point, I'm looking for a way to fix the repository. In the RepositoryAdmin.pdf it says the following: Restart the server. The server will automatically try to fix the repository. There is still a chance that a recovery may fail if any of the repository files have been deleted or are too badly damaged. That doesn't sound too encouraging, as there is not any info on a Repository that is too badly damaged Has anyone seen and fixed this before? Thanks, Bill -- View this message in context: http://n2.nabble.com/Fixing-a-corrupt-repository-tp4920923p4920923.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
RE: [mapguide-users] RE: ECWs and MG 2.1
That error message is misleading. We get that with MGE, but it doesn't prevent the layer from loading and previewing. It may be different in Open Source, but I suspect not unless Maestro is depending on a call where this fails, but MGE Studio can ignore the error. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Thomas Lorenzon Sent: Monday, April 12, 2010 4:24 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] RE: ECWs and MG 2.1 Thanks All, I read all the posts. Try for few hours but without results. I work with: - Mapguide 2.1 on a Windows Server 2003 SP2 (Italian Edition) - IIS and .Net All works fine with shp and sdf file. Then I tried to use ECW file... I copied the NCS files into C:\Programmi\OSGeo\MapGuide\Server\bin I copied gdal_ECW_JP2ECW.dll and gdal_MrSID.dll into C:\Programmi\OSGeo\MapGuide\Server\bin\gdalplugins Then I loaded an ecw file (using Maestro): - before starting I created an external alias - then create a new dataconnection, select GDAL Provider, select Composite as Type, Browse Alias and select just 1 of the 5 ecw files in the folder - then edit configuration document, change the bounds, change the gml Bounding Box, change the WKT (as you can see in the attached Raster_XML_144040.txt file) (i checked bounding box and WKT with gvSIG without errors) - Maestro reported no errors - then created a Layer (no errors reported) - then created a Map adding just the Raster Layer and select set view to current layer extents - Maestro show in Coordinate System the correct WKT and in initial map view the correct Bounding Box - now if I select validate the current resource against common errors it show me an error message: Error - OSGeo.MapGuide.MaestroAPI.LayerDefinition: Library://Test/Raster_test_3.FeatureSource could not be processed for spatial info: Errore del server remoto: (559) MgFdoException.: An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. Someone have any idea? Thanks Thomas http://n2.nabble.com/file/n4893062/Raster_XML_144040.txt Raster_XML_144040.txt -- View this message in context: http://n2.nabble.com/ECWs-and-MG-2-1-tp2978248p4893062.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: Layer selectability in MGOS 2.1 beta
The problem with the drop down approach (and arguably the legend today) is maps with 800+ layers of which this is somewhat common. It would be nice to accommodate scenarios where there are more than 20 or 30 layers in the map. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Steve G Sent: Friday, April 09, 2010 3:58 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Layer selectability in MGOS 2.1 beta Jackie, not sure if you got much of a response to this poll, but I am now just getting back to my MapGuide project and migrating to 2.1. I think the arrow feature is helpful to show which layers are selectable, but for the first time user it is not the most intuitive feature. They may not recognize what it means and the fact that you can select/deselect (which toggles the slash mark). It definitely is an improvement though. I would like to find a way to choose from a list of layers which one is selectable on the map, click on the map, and then have a pop-up property window. I know there are more capabilities in Fusion, but I am still using the AJAX viewer. If anyone has some solutions, please send my way. -Steve -- View this message in context: http://n2.nabble.com/Layer-selectability-in-MGOS-2-1-beta-tp3360169p4879840.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: Rendering Pass
Labels have a higher draw priority than symbols if I understand things correctly. I think the simple solution is to render the label for the grid layer as a symbol as well and then your draw order will be preserved if the road layer is on top. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Friday, March 26, 2010 1:06 PM To: MapGuide Users Mail List Subject: [mapguide-users] Rendering Pass I have an issue with labels drawing on top of symbols. In the attached JPG ( also at http://craig.gis.edsi.com/rendering_error.jpg), the road symbol (617) should be drawn on top of the map label (015). I have my road layer set above the map border layer in Studio, verified it in Maestro via XML. **XML snippet MapLayer NamePrimary Roads/Name ResourceIdLibrary://Craig_CO/Layers/Primary_Roads.LayerDefinition/ResourceId Selectabletrue/Selectable ShowInLegendtrue/ShowInLegend LegendLabelPrimary Roads/LegendLabel ExpandInLegendtrue/ExpandInLegend Visibletrue/Visible GroupTransportation/Group /MapLayer extra layers deleted MapLayer NameMap Borders/Name ResourceIdLibrary://Craig_CO/Layers/Map_Borders.LayerDefinition/ResourceId Selectabletrue/Selectable ShowInLegendtrue/ShowInLegend LegendLabelMap Borders/LegendLabel ExpandInLegendtrue/ExpandInLegend Visibletrue/Visible GroupBoundaries/Group /MapLayer *** I looked at RFC 29 via this link: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc29 The initial value was set to 2. **CODE snippet** /SimpleSymbolDefinition RenderingPass2/RenderingPass /SimpleSymbol /CompoundSymbolDefinition *** Setting this to 0 of course sends it behind the line drawn (expected behavior). Setting it to a higher number (went as high as 20) seems to have no effect. So is this a bug that rendering pass does not work correctly? Or am I missing something? If so, what is the proper usage in this situation? Thanks Martin Morrison Application Engineer Engineering Design Systems, Inc. 3780 Peters Creek Rd Ext SW Roanoke, VA 24018 540-345-1410 gis.edsi.com ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Rendering Pass
That is a good question. Depending on whether the labels are from points, lines or polygons plays a part in the performance as point labels have more things to consider than other labels if I understand the logic correctly. In your case it's polygon labels which are relatively simple. I would only convert the primary offending layer if you can get away with it. I would suspect symbols would require more processing, but by what factor I don't know, but considering the symbols are rendered before the labels, they don't have to consider all the placement issues that labels do so depending on the type of label it may be just as fast. The problem with converting all the layers might be issues with things rendering on top just like you do now unless you specify otherwise and I don't think the symbols have all the avoidance/placement logic labels do so things might get crowded looking where labels would be selectively drawn. Maybe Walt will provide some insight here. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Friday, March 26, 2010 1:26 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Rendering Pass Then that begs the question...which is faster labels as symbols or plain labels? I would think that plain labels would be faster. Or does it matter? I would hate to convert my layers over to symbols to find the processing time has increased by 50%... Martin From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Friday, March 26, 2010 3:20 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: Rendering Pass Labels have a higher draw priority than symbols if I understand things correctly. I think the simple solution is to render the label for the grid layer as a symbol as well and then your draw order will be preserved if the road layer is on top. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Friday, March 26, 2010 1:06 PM To: MapGuide Users Mail List Subject: [mapguide-users] Rendering Pass I have an issue with labels drawing on top of symbols. In the attached JPG ( also at http://craig.gis.edsi.com/rendering_error.jpg), the road symbol (617) should be drawn on top of the map label (015). I have my road layer set above the map border layer in Studio, verified it in Maestro via XML. **XML snippet MapLayer NamePrimary Roads/Name ResourceIdLibrary://Craig_CO/Layers/Primary_Roads.LayerDefinition/ResourceId Selectabletrue/Selectable ShowInLegendtrue/ShowInLegend LegendLabelPrimary Roads/LegendLabel ExpandInLegendtrue/ExpandInLegend Visibletrue/Visible GroupTransportation/Group /MapLayer extra layers deleted MapLayer NameMap Borders/Name ResourceIdLibrary://Craig_CO/Layers/Map_Borders.LayerDefinition/ResourceId Selectabletrue/Selectable ShowInLegendtrue/ShowInLegend LegendLabelMap Borders/LegendLabel ExpandInLegendtrue/ExpandInLegend Visibletrue/Visible GroupBoundaries/Group /MapLayer *** I looked at RFC 29 via this link: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc29 The initial value was set to 2. **CODE snippet** /SimpleSymbolDefinition RenderingPass2/RenderingPass /SimpleSymbol /CompoundSymbolDefinition *** Setting this to 0 of course sends it behind the line drawn (expected behavior). Setting it to a higher number (went as high as 20) seems to have no effect. So is this a bug that rendering pass does not work correctly? Or am I missing something? If so, what is the proper usage in this situation? Thanks Martin Morrison Application Engineer Engineering Design Systems, Inc. 3780 Peters Creek Rd Ext SW Roanoke, VA 24018 540-345-1410 gis.edsi.com ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Point (symbol) not scaling larger when zooming in
You can style the point with either Device space or Map space. Device space is fixed and the default. Map space resizes according to the units you specify. Remember that when using Map space if you set your point to be 1 meter wide (when zoomed in close) it will be invisible at large scales. You will likely have to implement scale ranges and leave your points as Devise space until a certain scale is reached then change to Map space. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of kelll Sent: Monday, March 22, 2010 5:26 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Point (symbol) not scaling larger when zooming in I have provided 2 screen shots. One at scale 1:29471 showing the green triangle as my point symbol. One at scale 1:2587 showing the green triangle at the same size. I would expect this green triangle to scale bigger as I zoom in closer as it would in other GIS viewers. I see in Maestro that I can add multiple layer styles setting the scale range and changing the symbol to be larger for each scale range, but I just want to make sure there is no other options. I don't understand why the line layer zooms correctly (when zooming in, the line scales bigger) and the point layer doesn't scale. http://n2.nabble.com/file/n4781273/Triangle_zoomed_out.jpg http://n2.nabble.com/file/n4781273/Triangle_zoomed_in.jpg -- View this message in context: http://n2.nabble.com/Point-symbol-not-scaling-larger-when-zooming-in-tp4781273p4781273.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: (1092688208) Resource was not found: Library://Samples/Layouts/Sample.WebLayout
Can you also check with a phpinfo test page? It may be an issue with PHP not loading. I suspect the build you have is 32bit PHP from 5.2.25 and we are only just updating PHP to 5.3.1. It may be the 32bit PHP on 64bit doesn't play well. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Monday, March 22, 2010 5:11 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: (1092688208) Resource was not found: Library://Samples/Layouts/Sample.WebLayout Have you set display_errors = On in your php.ini? It may reveal more information. - Jackie -- View this message in context: http://n2.nabble.com/1092688208-Resource-was-not-found-Library-Samples-Layouts-Sample-WebLayout-tp4780445p4781191.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: MapGuide connection to SQL Server through ODBC
I have an instance in house where the connectivity fails because of a setting to do with the port in the ODBC configuration. When setting up the ODBC configuration there is a button for Client Configuration, click this and uncheck the dynamically determine port. 1433 should be shown in a grayed out box. That might be the issue. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren Medermach (External) Sent: Monday, March 15, 2010 2:16 PM To: MapGuide Users Mail List Subject: [mapguide-users] MapGuide connection to SQL Server through ODBC Hello all, I'm trying to make a connection to SQL Server through ODBC using MG Studio. This works fine on a local test system where MG server SQL Server are installed on the same machine. When deployed, MG Server is NOT installed on the same machine as SQL Server. In this scenario, I can create a UDL on the MG server machine and successfully connect to SS with no problems. However, when I try to create a data connection in MG, it fails with the following error: response returned status code 502 (BadGateway) It would seem that something on the SQL Server machine is blocking the connection request from MG. So the question is, what is MG doing differently than a simple UDL connection to communicate with the SQL Server machine? Any ideas, suggestions would be greatly appreciated. MGE 2010 SQL Server 2005 Warren M ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: MapGuide connection to SQL Server through ODBC
The issue I described would prevent you from testing the ODBC connection within the ODBC Database Administrator in Windows. Basically if this connection works then using the DSN in Studio should work. If you are trying a connection string that might be a different problem. The DSN definitely works. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren Medermach (External) Sent: Monday, March 15, 2010 3:12 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] RE: MapGuide connection to SQL Server through ODBC Thanks for the speedy response Dave! I think I should clarify more. If I create a UDL, or ODBC, connection on the MG Server machine to the SQL Server on the other machine it works fine. I'm trying to create a connection to SQL Server from Studio via the ODBC FDO Provider and choosing the 'Connect to a database' and 'Microsoft SQL Server' and then specifying the credentials and proper connection string. This is failing. So I'm not sure what MG is doing differently to communicate with the SQL Server? As for port 1433, that would need to be open on both machines for the 'handshake' communications, correct? I wonder if that's the problem... Warren M From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Monday, March 15, 2010 2:29 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: MapGuide connection to SQL Server through ODBC I have an instance in house where the connectivity fails because of a setting to do with the port in the ODBC configuration. When setting up the ODBC configuration there is a button for Client Configuration, click this and uncheck the dynamically determine port. 1433 should be shown in a grayed out box. That might be the issue. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Warren Medermach (External) Sent: Monday, March 15, 2010 2:16 PM To: MapGuide Users Mail List Subject: [mapguide-users] MapGuide connection to SQL Server through ODBC Hello all, I'm trying to make a connection to SQL Server through ODBC using MG Studio. This works fine on a local test system where MG server SQL Server are installed on the same machine. When deployed, MG Server is NOT installed on the same machine as SQL Server. In this scenario, I can create a UDL on the MG server machine and successfully connect to SS with no problems. However, when I try to create a data connection in MG, it fails with the following error: response returned status code 502 (BadGateway) It would seem that something on the SQL Server machine is blocking the connection request from MG. So the question is, what is MG doing differently than a simple UDL connection to communicate with the SQL Server machine? Any ideas, suggestions would be greatly appreciated. MGE 2010 SQL Server 2005 Warren M ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project
There are relative path references inside many of the templ files in the viewerfiles. If you have changed any of these and copy them to another folder as instructed you should change ALL of the relative references to ensure the new folder is using your modified files. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of SriRam007 Sent: Thursday, March 11, 2010 5:19 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project ASP.net version 2.0.50727 is there -- View this message in context: http://n2.nabble.com/Is-it-possible-to-maintain-a-separate-viewerfiles-for-a-project-tp4708311p4715580.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: Strange behaviour with labels in Mapguide. Help needed.
I find that really odd. Could you convert the SDF to SHP using Fdo2Fdo and see what happens? I'm curious if you can remove the Has Elevation. I can't believe that only the Has Elevation would cause this, but anything is possible. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Friday, March 05, 2010 4:49 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Strange behaviour with labels in Mapguide. Help needed. Thanks for the continued help Dave, I have compared the 2 xml files and there were a couple of small differences so I amended the sdf file to be the same as the dwg to be the same (apart from name and geometry) but it still gives me the same problem. The only thing that is different now is the geometry - could this be causing the problem? Below is the geometric properties of the dwg: Property Name Geometry Property Type point curve surface Has Measures false Has Elevation false Below is the geometric properties of the sfd: Property Name Geom Property Type point curve surface Has Measures false Has Elevation true Any other thoughts? I can't believe I'm the only person seeing this happen?? - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4680338.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: Strange behaviour with labels in Mapguide. Help needed.
Is it possible the objects have been converted to a point/text object on import? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Thursday, March 04, 2010 3:35 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Strange behaviour with labels in Mapguide. Help needed. No, It was a straight import in to MG Studio with no theming. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4673476.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: Strange behaviour with labels in Mapguide. Help needed.
The default behavior for polygon labels is to be generated with regards to the centroid of the visible portion of the polygon. Your labels aren't doing this? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Thursday, March 04, 2010 9:20 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Strange behaviour with labels in Mapguide. Help needed. It's definitely imported as a polygon because I can select it. Any other thoughts? Does anybnody else see this happening? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4675336.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: Strange behaviour with labels in Mapguide. Help needed.
Have you compared the layer definition.xml to see if there are any odd differences? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Thursday, March 04, 2010 10:12 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Strange behaviour with labels in Mapguide. Help needed. Not when I import them as an SDF. The weird thing is, if I import the same file saved as a dwg then the labels work as they should. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4675695.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] Argument is out of range
Depending on the size of your package it may be php that is timing out. You may need to increase a couple of php settings in the php.ini to accommodate large packages. There are 3 possibly 4 values that may need changed: max_execution_time (you may need several minutes, 300 sec for example if the package takes a long time to create) memory_limit (this may or may not need adjusting depending on the current setting) upload_max_filesize (you'll need this to import the package on any MGE Server) post_max_size (not sure about this one) Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Wednesday, March 03, 2010 7:35 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Argument is out of range I don't have an explanation for your issue, but perhaps you can overcome this problem by building packages directly from MapGuide Maestro? In case you are already building packages from Maestro, you can try the package manager in the Site Administrator and see if you have better luck with that one. If you have trouble with both, can you narrow down the problem to a specific folder or resource? Regards, Kenneth Skovhede, GEOGRAF A/S On 03-03-2010 12:07, pilchid wrote: Hello there. I am trying to fugure out how I can package up my site so that I can send it to our developers to have a tweak around with and possibly try out on studio 2010 before we commit. However - when I go to make package it times out after a while with the error - Cannot create package from folder Library://: Argument is out of range. Any ideas what I am doing wrong? Thank for your help. Matt ___ 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: MgApplicationException: Cannot create any more connections to the OSGeo.SDF FDO provider
Are you doing any custom coding that opens the files? It's possible you may not be closing the FeatureReader connection. If not I'm not sure what is going wrong. What does the GetFdoCacheInfo page tell you? Which file has 200 connections open? There may be a problem with the file? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of vittorio Sent: Friday, February 26, 2010 9:18 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: MgApplicationException: Cannot create any more connections to the OSGeo.SDF FDO provider I did as you say, the problem persists -- View this message in context: http://n2.nabble.com/MgApplicationException-tp4626154p4640104.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: MgApplicationException: Cannot create any more connections to the OSGeo.SDF FDO provider
In the serverconfig.ini you need to be looking at the ConnectionPool settings in the FeatureServices section: DataConnectionPoolSize = 200 DataConnectionPoolExcludedProviders = OSGeo.SDF,OSGeo.SHP The above are the defaults. If SDF or SHP is excluded you are only allowed one connection at a time. If you remove either or both then you can maintain multiple connections. You normally exclude them if you plan to update SDF or SHP via the API. If you don't then you can remove the DataConnectionPoolExcludedProviders entries. Use the Web Tier Test pages http://localhost/mapguide/mapagent/index.html and under Feature select GetFdoCacheInfo and this will show you how many connections are being made. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of vittorio Sent: Thursday, February 25, 2010 3:04 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: MgApplicationException: Cannot create any more connections to the OSGeo.SDF FDO provider I looked at the file serverconfig.ini, what values do you mean? The map is displayed quickly enough, the problem occurs about after two hours when at most there are four concurrent connections -- View this message in context: http://n2.nabble.com/MgApplicationException-tp4626154p4631572.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] Is their a major flaw with theming point data?
Glad you guys highlighted this as I was going to follow up. Using expressions to calculate and render the stylization makes it difficult without walking the data to know what needs to be rendered and as was pointed out, you can't really do this on large datasets. Secondly if we were to apply this logic to features then their labels likely have to be included and that just makes for more processing overhead. One somewhat workable solution might be to provide a LAYER SPECIFIC extent buffer or overpost (as Craig mentioned), that the author can specify on the layer definition or maybe the map (I'm not sure which is the best place for it from a server processing perspective). This value would actually query x% more than the current map extent so as to include features outside the visible area. Not a perfect solution, but if you know your stylization bounds you can probably get most of your desired features to appear. Alternately the buffer could be a value representing how many extra tile rows around the visible map extent to query and render instead of a percent (I like this better because at low scale values the percentages would be less accurate). Because this is layer specific you'd end up only setting it on 1 or 2 layers so that the whole map doesn't take the extra performance hit of returning unnecessary data. I don't see this as an ideal solution, but sufficient in most cases. A user could come up with some really large values for the use case presented and again if an expression is used there may be odd data points this doesn't cover properly. Any thoughts on this? Maybe there is a better technical solution I'm not seeing. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Tuesday, February 16, 2010 6:18 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Is their a major flaw with theming point data? That might be tough to support properly given the complexity of the stylization, especially because they can scale, be offset, etc based on attributes. Basically, you're stuck in a chicken/egg situation where you need the data to calculate the symbol MBRs to figure out how much data to request :) Jason On 2010-02-16, Miller, Craig craig.mil...@spatialminds.com wrote: With the points, you could only fetch an over-post if there is a point layer that has a large symbol. You could use the radius of the symbol to determine how much additional area to fetch. You'd need MBRs for every possible symbol to be rendered before setting the map window MBR and fetching data. Craig On Tue, Feb 16, 2010 at 2:37 PM, Jason Birch ja...@jasonbirch.com wrote: How would you handle this James? The spatial intersection that MapGuide performs with the current viewport's extents is critical to performance when you are dealing with large amounts of data, and many of the FDO data sources are optimized using R-Tree (or similar) indices to return only the data which is currently in view. I guess you could conceivably fetch an over-post of the current extents by some factor, but that would only work for a subset of point symbols (those where the maximum dimensions of the theming is half the expanded extent dimension, and it would mean that everyone has to live with the decreased performance of the over-fetch. A few options: - Make the over-fetch percentage or distance configurable per server, per map, or per-layer - Only apply the over-fetch to points (there are actually cases where the same problem happens with lines and polygons, so I don't think this is valid) I personally feel that the current behaviour is generally OK, but there are definitely cases where you wouldn't want features missed just because their mid-point isn't in the current view extents. Regardless of the solution, I think this would take some work, so might require some funding or somehow making it important to one of the developers. Jason On 16 February 2010 12:06, JamesDudden wrote: I understand how it happens and it does make sense but it renders the theming of points useless if they are going to be anything larger than a few pixels. I think it would be good to see future versions of Mapguide become more intelligent and be able to cope with theming of points. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Craig Miller Geospatial Software Architect ___ 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] Is their a major flaw with theming point data?
I think the issue has to do with the fact that the coordinate of the point is not within the current map extent and hence does not get selected. The rendering happens after the fact so because the point is outside the extent it simply isn't rendered. I wouldn't call this a bug. I think the workaround is to create circular polygons. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Tuesday, February 16, 2010 8:43 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Is their a major flaw with theming point data? Hi, I have a circular buffer layer (data with x,y coordiantes in an Access database) that is themed as follows: 50m - blue circle 500m - red circle 1000m - green circle 1m - purple circle The circles are symbols (.png images that are shaded but transparent). Until now they have been working fine but I have just realised (after adding the larger buffers) that when the center of the point is not visible on the map the image does not show. This does make sense I guess because Mpaguide is saying if the point is not visble on this mapview then it won't show it but this is a major problem for me. Is this a flaw with Mapguide? Is there a way around this problem? Is my best solution to convert all the point data in to circular polygons? Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Is-their-a-major-flaw-with-theming-point-data-tp4580895p4580895.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] Problem with map only half showing.
Does the GDAL provider use a config.xml which contains the file details and bounds similar to the Autodesk provider? It sounds like a problem reading the config.xml Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Thursday, January 28, 2010 8:39 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Problem with map only half showing. Hi, I sometimes have a problem where the map (OS raster tiff files) doesn't fully show. This is often resolved by panning around or zooming in and out until the map 'sorts itself out'. The most frequent occurence of this is when I use an invoke script to hide the layer and taskbar panels (so to leave one big map). The panels move and the map disappears - sometimes completely! The error in the log is as follows: 2010-01-28T11:09:07 127.0.0.1 Administrator Error: Failed to stylize layer: All OS An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 786 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: All OS An unclassified exception occurred. Has anybody else experienced raster layers only partialy showing? Is there an explanation or even a fix? Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-only-half-showing-tp4473961p4473961.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] web server extensions fails on Windows Server 2003
In IIS Manager there is a section for Web Extensions. You have to enable the .NET one. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of padmini godavarthi Sent: Wednesday, January 20, 2010 9:49 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] web server extensions fails on Windows Server 2003 Hi, iam using Windows 2003 Server and Mapguide Opensource 2.1.. While running Web server Extensions i got an error that Page can not be found By seeing the previous forums some one told that http://n2.nabble.com/IIS-Configuration-of-Mapguide-OS-testing-web-server-extensions-fails-td1804217.html#a1804217 aspnet_isapi web extension was missing... can anybody tell me that how to get this aspnet_isapi web extension. Noe:-There is No Visual studio installed on my system.. Only .Net Frame work 2.0 is there in my system.. is it necessary to install visual studio 2005 for this problem? Regards, Padmini G. -- View this message in context: http://n2.nabble.com/web-server-extensions-fails-on-Windows-Server-2003-tp4431764p4431764.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] URL activated for feature
Silly question, but you do have Adobe or Foxit plugin installed for the browser correct? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Tuesday, January 19, 2010 4:03 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] URL activated for feature It just says Error on Page of the Mapguide window. I am using IE-7. Zac Spitzer zac.spit...@gmail.com 1/19/2010 2:40 PM what's the error? which browser are you using? 2010/1/20 Mark Hedges hedg...@cityofnorthlasvegas.com: Hi All, I am trying to link through to a pdf file stored on my laptop. The location is: C:\Data\Map Book\Book.pdf When I put this address into the URL activated for feature and put a ' on each end it wont work. I validate the syntax and save the layer. When I open MGOS and ctrl + select the feature I get a Error on Page displayed on the bottom. Any help would be appreciated. This don't seem to be that hard I just can't get it. Thank You, Mark -- View this message in context: http://n2.nabble.com/URL-activated-for-feature-tp4423446p4423446.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 Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au http://zacster.blogspot.com +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 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Markup perpendicular
The spatial operations supported by a provider can be queried via the web tier test pages: http://localhost:8008/mapguide/mapagent/index.html Click Feature as the category and GetCapabilities as the API and the list of supported spatial operations is listed in the results. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jamo Sent: Tuesday, January 05, 2010 3:58 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Markup perpendicular By closest vertex are you referring to the actual start and end point of the line? or the intersection of the circle and the line. in attached image it sort of shows whats happening, user clicks where the red x is, then we find all red lines in view. now I use the geomerty.distance(point) to find the shortest distance to all the red lines. which tells me the red line on the left is the closest. it gives me the distance perpendicular to the point (where the circle intersects the line) I would like to know the point of intersection or where it touches would make sense? But when I re-create the circle with the distance it is said to be the geometry does not cross/intersect? Response.Write(BR/Contains: + closest.Contains(myPoly)); Response.Write(BR/Crosses: + closest.Crosses(myPoly)); Response.Write(BR/Disjoint: + closest.Disjoint(myPoly)); Response.Write(BR/Intersects: + closest.Intersects(myPoly)); Response.Write(BR/Overlaps: + closest.Overlaps(myPoly)); Response.Write(BR/Touches: + closest.Touches(myPoly)); Response.Write(BR/Within: + closest.Within(myPoly)); all return false except for disjoint :( if i add a little to the radius I get two intersections where the circle crosses the road. I thought a vertex was the point of linestring change ? Jackie Ng wrote: This ClosestVertex of the ClosestFeature with the smallest distance should the your point in question. Also I'm a bit fuzzy with my spatial operators: WITHIN, TOUCHES, CONTAINS, CROSSES (and possibly others) all seem to be legitimate operators for this scenario. - Jackie Jamo wrote: Thanks for your help Jackie, I've gone through your quick freehand code :) very well done Perhaps a problem that the FDO provider SDF doesn't support Spatial operator TOUCHES or WITHIN after removing Touches I now get an error when adding entries to the matches list. If i expand the iterations it could be finding a result but not writting it to the collection? I can find the nearest road easy enough by doing a distance measurement form the point digitized to the nearest road. Create a feature reader use current view extents as spatial filter select all road features within screen then iterate through each one and use the smallest distance to find the closest road. but what I need to do is for the distance measured to return the point it has found as being the closest point? it only returns the distance would have thought it would know the point of intersection with the road as well if it has found the distance to the nearest geometry? using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using OSGeo.MapGuide; using System.Text; using System.Collections.Specialized; public partial class markup_distancebetween_Default : System.Web.UI.Page { static String sessionID; static String mapName; static double x; static double y; class ClosestFeature { public double Distance { get; set; } public MgProperty FeatureId { get; set; } public MgCoordinate ClosestVertex { get; set; } } protected void Page_Load(object sender, EventArgs e) { Response.Charset = utf-8; if (Page.IsPostBack == false) GetRequestParameters(); MapGuideApi.MgInitializeWebTier(Request.ServerVariables[APPL_PHYSICAL_PATH] + ../webconfig.ini); MgUserInformation cred = new MgUserInformation(sessionID); //connect to the site and get a feature service and a resource service instances MgSiteConnection site = new MgSiteConnection(); site.Open(cred); MgResourceService resourceSrvc = site.CreateService(MgServiceType.ResourceService) as MgResourceService; MgFeatureService featureSrvc = site.CreateService(MgServiceType.FeatureService) as MgFeatureService; //Create a temporary map runtime object, locate the layer MgMap map = new MgMap(site); map.Open(mapName); Response.Write(GetClosestFeature(map, 10, 50, plnCLRoads).FeatureId); } MgGeometry CreateTestCircle(double joinDist) { MgGeometryFactory GF = new MgGeometryFactory(); MgCoordinate arcPt1 = GF.CreateCoordinateXY(x + joinDist, y); MgCoordinate arcPt2
RE: [mapguide-users] Mix of selectfeature and selectaggregate query
I think you want to do your initial query using SelectAggregates and set the Distinct flag to get a unique list of Postal Codes. From your result page the user could select a code and then you would use a SelectFeatures query to return all the actual points adding them to a SelectionSet and zooming to that. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jo Cook Sent: Wednesday, December 16, 2009 9:52 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Mix of selectfeature and selectaggregate query Dear All, I have a layer of postcodes, which has more than one point per postcode (eg all the houses with that postcode). I would like people to be able to do a fuzzy selection to choose their postcode, eg RM14 returns all the postcodes with RM14 at the beginning. I would then like the results of this to be grouped and listed, so that only one entry per postcode is given. People should then be able to select that postcode, and zoom in to the total spatial extent of all the points with that postcode. I hope that makes sense! I have implemented the initial selection using SelectFeature with the appropriate queryoption, so the fuzzy search works and returns multiple values. However, I can't figure out whether I can rewrite this using SelectAggregate and the same queryoption as the documentation only seems to talk about a groupingfilter and I'm not sure that's what I want. I'm then wondering if I can either convert the results returned from the SelectFeature query into a list of unique values directly in php, or whether I can do a SelectAggregate query on the results, or if indeed there's a much better way that I'm missing! If someone could talk me through the basic steps, I'd be very grateful- it's hard for me to copy code over as I'm working in a chain of windows remote desktop servers that don't allow copy and paste. Thanks Jo -- View this message in context: http://n2.nabble.com/Mix-of-selectfeature-and-selectaggregate-query-tp4176453p4176453.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] Mix of selectfeature and selectaggregate query
There is a filter on SelectAggregates just like SelectFeatures. You should be able to add a PostalCode LIKE clause using this if I am not mistaken. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jo Cook Sent: Wednesday, December 16, 2009 10:27 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Mix of selectfeature and selectaggregate query Hi Dave, The problem with this approach is that I need to narrow down the available postcodes first (there are many) so I need some way of passing a filter to the selectaggregates query and I can't see how to do that. The only options seem to be spatialfilters and groupingfilters, whereas I want a simple text filter, unless I'm mistaken? Thanks Jo Dave Wilson wrote: I think you want to do your initial query using SelectAggregates and set the Distinct flag to get a unique list of Postal Codes. From your result page the user could select a code and then you would use a SelectFeatures query to return all the actual points adding them to a SelectionSet and zooming to that. Dave -- View this message in context: http://n2.nabble.com/Mix-of-selectfeature-and-selectaggregate-query-tp4176453p4176798.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] Look for lines
To be clear when you say double lines Google in some cases actually shows 2 separate lines that are parallel in cases where there is a median, is that what you mean because your images don't seem to show that, just really wide streets or do you mean the double lines because of the direction arrows? With standard composite lines you can get the wide lines. Make a wide line on the bottom and an narrower line on top that is just slightly larger to get the thick yellow line with a lighter border or for a median type look possibly add a third line, but it's hard to customize the color of the median or make it transparent if it's supposed to be a median. Ideally the data really needs to contain 2 separate lines if there is an actual median. As to the direction lines I don't think you can overlay an additional style that matches the data if it contains a direction. You may be able to do some customization with the advanced symbolization as Kenneth mentioned that will do both the think lines and the direction using a composite symbol and some theming. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Tuesday, December 15, 2009 7:00 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Look for lines You may also want to try out the advanced symbolization capabilities: http://trac.osgeo.org/mapguide/wiki/AdvancedStylization You can see an example for lines here: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc14 http://trac.osgeo.org/mapguide/attachment/wiki/MapGuideRfc14/LineUsage.doc Regards, Kenneth Skovhede, GEOGRAF A/S On 15-12-2009 13:29, Ivan Miličević wrote: You can set the composite line Mapguide Studio or Maestro. From: mapguide-users-boun...@lists.osgeo.orgmailto:mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of manav dayal Sent: Tuesday, December 15, 2009 12:13 PM To: MapGuide Users Mail List Subject: [mapguide-users] Look for lines Is there an option to display double line for a line (as in google maps) using mapguide maestro. I am attaching a jpg for comparison. Thanks and Regards. The INTERNET now has a personality. YOURS! See your Yahoo! Homepagehttp://in.rd.yahoo.com/tagline_yyi_1/*http:/in.yahoo.com/. ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto: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] Advanced Stylization Wiki
Jason Birch has created a section under the MapGuide Wiki for Advanced Stylization: http://trac.osgeo.org/mapguide/wiki/AdvancedStylization On that page there is a section for a Symbol Library. Under the link Symbol Library we would like to organize and create working xml examples of various symbol/stylization templates that everyone can use. We would like to break these down into categories of sorts that make sense. Jason has added an example for a Bridge symbol under a Transportation heading. We may wish to further separate the examples into Symbols, Line Stylization and Area Stylization if that makes sense. If you have working examples of symbols you'd like to share please feel free to add them or suggestions on how to organize them please post them. Please include the Source XML and an image of the result and comment the xml so that it is clear how the template is defined. There are often multiple ways of creating symbols so seeing what others have come up with or posting something to the list for fine tuning prior to adding to the library is welcome. Jason may eventually provide a mechanism to aggregate the symbols into a MapGuide package for inclusion in the installer or upload on its own. Note examples that include parameterization for theming purposes will generally need to be modified to match the properties of the author's specific data so don't worry about property names. You can change these to generic names if you wish to keep things simple. Regards, Dave [cid:image001.jpg@01CA7D7B.EF980FD0] Dave Wilson, AEC IM CRT QA Analyst Autodesk Canada, Inc. 21st Floor 645 7th Ave SW Calgary, AB T2P 4G8 Direct 403-538-3069 Fax 403-264-1442 inline: image001.jpg___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] [MGOS 2.1]Wrong coordinate system with GeoTiff files
From my experience the WGS84 tag that is often written into a GeoTiff is not interpreted as a valid CS. I've seen that written by default into many files regardless if the WGS84 is actually the cs or not. If you know the data is actually WGS84 then you should do a coordinate system override and select LL84 as your cs. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Hardt Sent: Monday, December 14, 2009 2:25 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] [MGOS 2.1]Wrong coordinate system with GeoTiff files Hi all, I am again fighting with rasters... I create a dataconnection with GDAL provider, using a Geotiff from ArcGIS 9.3.1. This GeoTIFF contains the coordinates, and when I add the newly created layer to a map, it detects automatically the initial map view correctly. However, the layer is displayed in meters instead of decimal degrees. I checked the config file from the dataconnection, and the projection is LOCAL_CS[*XY-MT*,LOCAL_DATUM[*X-Y*,1],UNIT[Meter, 1],AXIS[X,EAST],AXIS[Y,NORTH]] But the GeoTIFF is supposed to be in WGS84 (for the little story, the image is captured from Google Earth in MapWindow using the Shape2Earth plugin, then I import it in ArcGis to export it as a GeoTIFF; ArcGIS open it with decimal degrees, and if I open the GeoTiff in another GIS software, the GeoTiff is detected as WGS84 too; so to me it's definitely something with MGOS) How can I fix this ? Thanks, Hardt -- View this message in context: http://n2.nabble.com/MGOS-2-1-Wrong-coordinate-system-with-GeoTiff-files-tp4163118p4163118.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] Fusion Zoom to Selected Too Close
http://sandbox.mapguide.com/index.php/Setting_minimum_and_maximum_scale -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Emily LaMunyon Sent: Monday, December 14, 2009 4:07 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Fusion Zoom to Selected Too Close Hello, I have a custom zoom to selected feature in a Fusion map and it zooms to a scale of 1:1. Which file do I edit in order to change this? I have had success changing the ajaxmappane.tmpl file min scale, but I am not sure where I do this for Fusion layouts. Thanks! -- View this message in context: http://n2.nabble.com/Fusion-Zoom-to-Selected-Too-Close-tp4167325p4167325.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] EPSG:3785 (Popular Visualisation CRS / Mercator) in MGOS 2.1
A quick test with the web tier test pages http://servername/mapguide/mapagent/index.html , using the Coordinate System API and entering your EPSG code into ConvertEpsgCodeToWkt shows that this wkt is not recognized. You should use the map editor in Maestro or Studio to select a new coordinate system and find out the Mentor code for an equivalent to your EPSG code (assuming there is one). Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Fraser Burgess Sent: Friday, December 11, 2009 9:26 AM To: MapGuide Users Mail List Subject: [mapguide-users] EPSG:3785 (Popular Visualisation CRS / Mercator) in MGOS 2.1 I had a map that was projected in UTM NAD83 Zone 17 and the display seemed to be fine. I then used the set resource from the map agent and converted the map to EPSG:3785 (Popular Visualisation CRS / Mercator). This was done using the release 2.1 Now when I preview the map in MGE2010 studio nothing displays and when I load the map into a fusion template nothing will display. Any ideas? Is this projection not supported by MGOS2.1? Fraser ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Should I give up?
I've not seen that error in Studio on Enterprise so there is either a problem with the installation or a problem with Maestro - I think it's the former, but I can't be entirely sure. What version of Maestro are you using? I'd download the latest beta version if you are trying to work against MGOS 2.1 Since you have Map can may be able to connect to your DWGs and publish them to MGOS, alternately you could export their data as SDF. The raster provider is usually a configuration issue and there are many threads on those issues. Yes you would realistically have to buy MGE to get Studio, but most of the connections in Map reflect what you need to do in MGOS, but the interface in Maestro may not be the same and may not have the same functionality requiring you to do more XML editing. I think you will also find DGN to be about the same as DWG. What version of Map 3D do you have? Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Neil_w Sent: Tuesday, December 08, 2009 8:51 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Should I give up? Thanks to all for the suggestions and encouragement. I'll try to address a couple of responses in one post. To Dave Wilson regarding connecting to the WMS you posted: Here is a screen recording of what I get when I connect to the WMS. http://screencast.com/t/N2UwM2Rh As you can see I cannot get to the point where I can access any classes. What am I doing wrong? Once I am able to successfully load a map from a WMS I'll tackle coordinate systems and transparency techniques. Also, if I download a trial version of MG Enterprise, could I get by with just using the documentation along with MGOS and not install MG Enterprise? I'd really not want to go through another install and set up. To Mark P. regarding using Map 3D: I am able to connect to and load WMS maps into Map 3D via FDO. I also can load Raster images sucessfully. The process does not translate to Maestro however as the dialogues are different and I am not able to connect to either sources in Maestro. Please see my screen recording above for connecting to WMS. Here is a screen recording showing my connection to a raster image (TIF). Again, it doesn't want to work. http://screencast.com/t/NDA4Zjdk Again I ask, what am I doing wrong here? Also regarding Mapguide Studio to load DWG's: As far as I know I can't get Mapguide Studio unless we buy Mapguide Enterprise. As I have mentioned a few times, that is not an option right now. Perhaps I'll have to resort to translating DWG's for now and if we decide we want better DWG capabilities we could consider purchasing Mapguide Enterprise, unless there is another means to load DWG's directly. On a side note, is there a way to translate and load DGN's? Again thanks for the encouragement and help to all who have replied. I'll keep hammering for a few more days and see if I can get past this block in the road. View this message in context: Re: Should I give up?http://n2.nabble.com/Should-I-give-up-tp4128103p4133300.html Sent from the MapGuide Users mailing list archivehttp://n2.nabble.com/MapGuide-Users-f1803227.html at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Internet Guest Account Question
I believe the issue is a permissions problem after that. The IUSR has probably been granted execute permissions on some of the MGE folders in order to run the mapagent and access the viewer files. You probably need to modify directory permissions to allow whomever your new user is. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Tuesday, December 08, 2009 12:10 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Internet Guest Account Question Not sure about setting the guest account. This may be related: I think that trying to set anything but anonymous access for MapGuide messes with its internal auth capabilities (which use standard http auth req/rest codes). I haven't tried this in quite a while though. On 2009-12-08, Emily LaMunyon elamun...@slco.org wrote: Hello, I am interested in changing the Internet Guest Account that Mapguide uses to a private one. How do I get Mapguide to use this instead of the IUSR account? Is this possible? Thanks! -- View this message in context: http://n2.nabble.com/Internet-Guest-Account-Question-tp4134152p4134152.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
RE: [mapguide-users] Should I give up?
Why don't you try downloading a trial version of MGE 2010 as it comes with documentation and help? http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112id=10301587 And no I'm not plugging this from a corporate perspective, just providing an option that might help make things clearer. I'm not knocking any of the great support provided here, but you get what you pay for. Sadly I don't think you will find any current tool where you can view DWG's directly in a web based environment. You are going to have to convert them to SHP or SDF for example. As to WMS you create your connection and it should show a list of classes other than the primary one at the top. When you create your layer you pick one of these classes. Add that layer to a new map and see if it determines bounds and a coordinate system (it usually defaults to an LL84 or WGS 84 based system which may not be correct for your data, otherwise you may have to set this information manually. When specifying your connection ensure you include a version parameter: http://wms.jpl.nasa.gov/wms.cgi?Service=WMSVersion=1.1.1 In order to determine the coordinate system (EPSG code) and bounds you should execute from a browser a GetCapabilities request: http://wms.jpl.nasa.gov/wms.cgi?Service=WMSVersion=1.1.1Request=GetCapabilities You can get additional details about working with WMS here: http://sandbox.mapguide.com/index.php/Web_Mapping_Service I won't go into more details on the other things as I believe you can glean that from the documentation with the trial. Of course that doesn't cover the specifics of Maestro, the open source version of MG Studio, but understanding one should make the other clearer. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Neil_w Sent: Monday, December 07, 2009 2:21 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Should I give up? I appreciate the encouragement but I have spent lots of time researching. That is why I am getting discouraged. For all the time I have invested I have made little progress. Without a step by step instuction guide for creating maps it is more a trial and error process to get anywhere, with long diversions to help forums seeking guidance when things don't wok. I looked at the Mapguide guide for developers link you posted. Without delving into it in detail it appears to be oriented to developing maps using programming, which I am not able to do. I am limited to Maestro or some other authoring software that does not require programming. That is why I was interested in Fusion but I don't yet understand whether it would help me author maps without programming. From one post it appeared that it could load DWG files without converting them. If I have to go through a conversion process to load a every DWG then Mapguide is probably not a good solution for us and I won't want to put a lot of time into it. Again I need guidance on this. As I mentioned, I was able to connect to a couple of WMS services but I could not figure out how to display any layers from them. Saving the resource resulted in errors. I didn't know what they mean which lead to another excursion to the forum. When I try to create a layer from the connected WMS, there is no geometry for them available, so nothing displays. We really could use a step by step guide for building maps, not just a sample map with no guide on what the various components are. It took me a while to figure out what the .ASP, .JSP. and .php layouts were. I had to figure out on my own how to use a Flexible layout and add a query widget. Again, no instruction whatsoever. If anyone can direct me to some step by step guides or tutorials it might get me back in the saddle. -- View this message in context: http://n2.nabble.com/Should-I-give-up-tp4128103p4128554.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] MGOS 2.1 GDAL MrSID issues
Those errors are generally misleading and don't indicate whether or not the image will actually display. Those occur on successful layer previews. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of djonio Sent: Thursday, December 03, 2009 6:43 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MGOS 2.1 GDAL MrSID issues MGOS 2.1 Windoze Server 2003 sp2 I believe I followed all the advice available on how to get my MrSid’s to display but I now get the following: GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using GDALRegister_MrSID. (4268) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. (4240) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. Anyone have a clue? (Yes, it does display on 2.0.2) r, dennis -- View this message in context: http://n2.nabble.com/MGOS-2-1-GDAL-MrSID-issues-tp4106074p4106074.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] problem about maestro + mysql
An alternative should be to install the MySQL Query browser which also uses the same dll, but adds an entry to the system path instead of the user having to copy it to the FDO folder. Of course which version is somewhat important to get the right version of the dll. With the Query browser you have a way to checking your database connectivity independent of MapGuide. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of xjimmyshcn Sent: Wednesday, December 02, 2009 6:21 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] problem about maestro + mysql yeah,you are right. Here is what I do: 1.uninstall MapGuideOpenSource-2.1.0.4283-Final ,and reinstall( select mysql provider in FDO during install) 2.cpoy c:\Program Files\MySQL\MySQL Server 5.0\bin\libmySQL.dll to C:\Program Files\OSGeo\MapGuide\Server\bin\ then ok thank you! xjimmyshcn wrote: environmen: MapGuideOpenSource-2.1.0.4283-Final mapguide maestro 1.1.0.4358 fdomysql-win32-3.4.1(FDO Provider for MySQL ) mysql-5.0.88-win32 when i add a data connection in “mapguide maestro ”,after i set the right info about mysql(server,database,username,password),i press “Test connection”,the return information is: (559) MgFdoException。: An exception occurred in FDO component. RDBMS: Invalid object type to describe. is there anybody meet the same problem? :confused: -- View this message in context: http://n2.nabble.com/problem-about-maestro-mysql-tp4097913p4103503.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] MGOS 2.1 GDAL MrSID issues
I'm not sure about the Register line below the but Mosaic/Clip exception can be ignored as far as I know. I've never seen the register thing. Dave = GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using GDALRegister_MrSID. (4268) An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. = -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of djonio Sent: Thursday, December 03, 2009 12:20 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] MGOS 2.1 GDAL MrSID issues Dave, Well gee ... that is all I am given as output. Maybe you could give me some additional insight as to MrSid support? r, dennis -- View this message in context: http://n2.nabble.com/MGOS-2-1-GDAL-MrSID-issues-tp4106074p4108187.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] Help with the Tooltip
Tips like this are generally controlled by the browser. The user has no control over their placement in most cases. I Googled and found the following link which may relate to how the tool tip is implemented in Fusion: http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm Of course it says the tip should never be outside the browser which makes me wonder what Fusion is doing. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Gustavo Ribeiro Sent: Tuesday, December 01, 2009 6:35 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Help with the Tooltip help, no staff had the same problem ?? -- View this message in context: http://n2.nabble.com/Help-with-the-Tooltip-tp4053306p4093662.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] Administering site remotely
Also realize you can't fully administer the site remotely. You can't stop and restart the services remotely. I would suggest either VNC or remote desktop for access. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Tuesday, December 01, 2009 12:24 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Administering site remotely I don't know about managing NOD, but if it is on you will need to figure out how to create an exception for it. Martin -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Neil_w Sent: Tuesday, December 01, 2009 1:48 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Administering site remotely Thanks for the quick reply Martin. When I attempted to access the Windows Firewall settings I get the error message shown in this screen capture: http://screencast.com/t/MDZkZGQxN Apparently there is another application managing the firewall settings. Do you recognize the error? We are using NOD32 2.7 Antivirus if that helps. http://servername:8008/mapguide/mapadmin/login.php You may need to add an exception the server's firewall if is turned on. -- View this message in context: http://n2.nabble.com/Administering-site-remotely-tp4095385p4095462.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
RE: [mapguide-users] Administering site remotely
I agree. Your url should be http://servername:8008/mapguide... or http://ipaddress:8008/mapguide... However the error you presented suggested some network address translation is in play which may mean the IPaddress of the machine doesn't match the network address the users should use. If the servername url above doesn't work you might have to edit the serverconfig.ini and the webconfig.ini and set the ip address entries to match one you can ping on the network (a routable address). You will need to restart both services. Of course that still doesn't help with the 8008 port if that's blocked by the firewall. You may be stuck until your IT guy gets back. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Tuesday, December 01, 2009 1:00 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Administering site remotely It really does sound like your firewall... -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Neil_w Sent: Tuesday, December 01, 2009 2:39 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Administering site remotely Dave, Actually I don't really need to administer the services and probably don't need to administer the site. I just need to figure out what is preventing me from accessing the maps. For example, I cannot view the Sheyboygan sample map remotely. I have to log in to the server and view it via the server's web browser. I'm not sure if it a setup issue, a firewall issue or something else. All I know is I can't view the maps or access the Mapguide server using the //localhost:8008.. url unless I am logged in to the main server. Again, I'm not educated in Networking so it may be a simple problem. I don't have enough info from the setup guides or the help system to figure out what to do. I don't know if our Antivirus is preventing me from accessing the Firewall settings or if it something else, nor do I know how to determine what it is. Our in-house network guy is out of town for the week so I don't have anyone to help. I am hoping this is a common issue for new users and there may be an answer here. So far I haven't hit on anything helpful in my searches. -- View this message in context: http://n2.nabble.com/Administering-site-remotely-tp4095385p4095790.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
RE: [mapguide-users] Auto desk mapguide studio
I meant the operating system. It's possible that a dependency for Studio 2008 doesn't exist in a Windows 2008 server environment. It may depend on older MS dlls for example. I have successfully run 2010 versions of Studio on Windows 2008. Without a proper error message it's hard to suggest a solution. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of amutota Sent: Monday, November 30, 2009 12:06 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Auto desk mapguide studio I am still cannot get it work. The system Event logs you meant- is it for the operating system or Auto-Desk itself? Dave Wilson wrote: Please check the system event logs. There could be a several security measures in 2008 preventing Studio from running. For example Data Execution Prevention. There is no updated version of Studio for this. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of andreas mutota Sent: Tuesday, November 17, 2009 10:54 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Auto desk mapguide studio I have developed web application for mapping using Auto Desk Mapguide Studio 2008. My system at the moment runs on a platform-Windows XP normal computer. I therefore like to migrate such an application to SQL Server 2008/Operating system/ server environment. What did I do? I installed the mapguide studio in our SQL Server2008 successfully. I tried to open it. “The Application has stopped working…..”, that the message I usually get every time I try opening it. Is there a different Auto Desk for this SQL Server 2008, so that I can have an updated version? If there is, Could I please have quotation for that? Your reply will be highly appreciated Kind regards, Andreas ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Auto-desk-mapguide-studio-tp4020181p4086253.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] MGOS 1.2.0 Filter On Joined Field
This looks like a new defect. I just tried this and got an exception: 2009-11-23T13:08:52 2028Ajax Viewer 144.111.170.113 Administrator Error: Failed to stylize layer: LayerDefinition76 An exception occurred in FDO component. Failed to execute query. StackTrace: - MgMappingUtil.StylizeLayers() line 791 file d:\build\testarossa_nightly\build_37.1\ent\os\server\src\services\mapping\MappingUtil.cpp It appears to be a problem using the secondary columns in the filter. In fact it's been broken for a while, possibly since FDO G052 or earlier. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Trevor Wekel Sent: Monday, November 23, 2009 9:29 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] MGOS 1.2.0 Filter On Joined Field Hi Bruno, We have officially released MapGuide Open Source 2.1.0. Is the same problem present in the release build http://mapguide.osgeo.org/download/releases/2.1.0? Thanks, Trevor -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Bruno Scott Sent: November 23, 2009 7:53 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] MGOS 1.2.0 Filter On Joined Field I've just tried a filter on 2 joined tables primary SDF Secondary Oracle primary SDF Secondary Access Both failed, does not show any record as soon as a set a filter on a secondary table field. I've tested against mapguide 2.1 Beta and Mapguide Enterprise 2010 Maybe we should reopen ticket 292 http://trac.osgeo.org/mapguide/ticket/292 Bruno -- View this message in context: http://n2.nabble.com/MGOS-1-2-0-Filter-On-Joined-Field-tp1812320p4051510.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
RE: [mapguide-users] Auto desk mapguide studio
Please check the system event logs. There could be a several security measures in 2008 preventing Studio from running. For example Data Execution Prevention. There is no updated version of Studio for this. Regards, Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of andreas mutota Sent: Tuesday, November 17, 2009 10:54 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Auto desk mapguide studio I have developed web application for mapping using Auto Desk Mapguide Studio 2008. My system at the moment runs on a platform-Windows XP normal computer. I therefore like to migrate such an application to SQL Server 2008/Operating system/ server environment. What did I do? I installed the mapguide studio in our SQL Server2008 successfully. I tried to open it. “The Application has stopped working…..”, that the message I usually get every time I try opening it. Is there a different Auto Desk for this SQL Server 2008, so that I can have an updated version? If there is, Could I please have quotation for that? Your reply will be highly appreciated Kind regards, Andreas ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Permissions for Administrator
Did you check the error logs and the system event log to see if something obvious is recorded? Sometimes on a server the advanced security configuration causes a problem. Have you checked in IIS to see if the Web Extensions for PHP, the MapAgent ISAPI and .NET are enabled ? Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Langen, Gido Sent: Thursday, November 12, 2009 8:11 AM To: MapGuide Users Mail List Subject: [mapguide-users] Permissions for Administrator I have installed and setup MapGuide Enterprise 2010 on my PC using IIS and PHP (localhost). It worked like a charm. I also tried to install the software on a server. But I cannot even login as an Administrator. Right after the LOGIN page, I get immediately an HTTP 500 error. I have installed the software repeatedly with the same result. It seems to me that I might not have all required permissions. Though I have administrator privileges on the server. Does anybody know what the problem might be? Thanks, Gido ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] RE: MGOS 2.1 Load Pakage not working
Maybe there are issues with your PHP installation? Try a phpinfo page in your root MapGuide folder and see if the pathing and everything is correct. Maybe you have another php instance that is causing a conflict? Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Fraser Burgess Sent: Friday, October 09, 2009 9:06 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] RE: MGOS 2.1 Load Pakage not working Thanks Dave, Still no luck Fraser From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Thursday, October 08, 2009 1:07 PM To: MapGuide Users Mail List Subject: [mapguide-users] RE: MGOS 2.1 Load Pakage not working Increase the max file upload setting in your php.ini to something bigger than your largest anticipated package. The default is 2M. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Fraser Burgess Sent: Thursday, October 08, 2009 9:21 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MGOS 2.1 Load Pakage not working Hi, I've installed MGOS 2.1 (.Net / IIS Configuration) and have logged into the site administrator. The list of packages is populated as it should be and the correct package name has been selected in the list. I select Load Package and the page scrolls to the top and nothing happens. I've been clicking around in the site administrator and have noticed some other links that don't seem to work. I checked the configure services and it appears that all the links are pointing to the right spot (I used all the default directories in the install). Any ideas? Fraser ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] FWTools and raster help...
It sounds like your tiff images are compressed and the reason they are slow is because of the decompression at run time. As Martin suggested ECW or MrSid. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Wednesday, October 07, 2009 8:04 AM To: MapGuide Users Mail List Subject: RE: [mapguide-users] FWTools and raster help... Convert them to MrSid or ECW Martin -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Wednesday, October 07, 2009 6:57 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] FWTools and raster help... Update... I have just tested this on a small number of files and the output file was ridiculous. It changed 10 x 15 MB files in to 1 x 650MB file. This is just not practicle for me so I need a new solution! I think I will break the 800 files down in to 80 folders and 80 layers. Does anybody have any advice or help on this subject? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/FWTools-and-raster-help-tp3780743p3781063.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
RE: [mapguide-users] FWTools and raster help...
I think FWTools does ECW. It may to MrSid, but I think there are restrictions. Someone else would know better than I. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Wednesday, October 07, 2009 9:01 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] FWTools and raster help... Dave Wilson wrote: Convert them to MrSid or ECW Do you know if this is possible with FWTools? If not is there a program you could recommend whcih I could use for the conversion? Thanks - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/FWTools-and-raster-help-tp3780743p3782360.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] wms from other providers
There are issues with MapGuide selecting the wrong SRS for WMS. If your server posts both 4326 and another EPSG code it usually finds the 4326. The config.xml is supposed to force the override, but this isn't always working. The defects are currently being investigated. What does a getcapabilities against your mapserver show for the srs and bounding box for your layer? Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jo Cook Sent: Monday, October 05, 2009 9:11 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] wms from other providers Hi Gary, Yes, I've figured that out. Unfortunately the data that I have to work with is mapinfo format, which geoserver doesn't seem to currently support. I have, however, got a few tentative steps further- if I add the Width and Height parameters into the config file for my wms FeatureSource, in the section where you can add Time and Elevation parameters, then they are included in the GetMap request, but not all the time, and I'm not sure which changes I made in the interim that stopped them being called. I'm also having issues with the bounding box for the layer being sent in the wrong SRS but I'm not sure yet whether this is a problem with MGOS or mapserver. Thanks Jo Gary Morin wrote: I'm not sure if its any help what so ever, but both WMS and WFS work with GeoServer Regards Gary -- View this message in context: http://n2.nabble.com/wms-from-other-providers-tp3755455p3769449.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] MySQL Data Connection Error in Mapguide Maestro
You will need to get the libmysql.dll from your database install. This either needs to be in your system path or copied to the fdo directory of your mg server install. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Raghu.indigo Sent: Wednesday, September 30, 2009 11:00 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] MySQL Data Connection Error in Mapguide Maestro I am trying to add data connection from MySQL server but i getting the following error : The remote server returned an error: (559) MgFdoException.: An exception occurred in FDO component. The runtime was not found (module LIBMYSQL.dll). Please verify your mysql client component installation. Exception occurred in method MgFdoConnectionManager.Open at line 858 in file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\common\manager\FdoConnectionManager.cpp Platform: Windows Xp with Sp2 MapGuide 2.0 MySQL Server 5.0.86 Mapguide Maestro 1.0.9.15910 - Raghu Indigo Information System Bangalore, India. -- View this message in context: http://n2.nabble.com/MySQL-Data-Connection-Error-in-Mapguide-Maestro-tp3747052p3747052.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Connecting to County Assessors page
You could also invoke a script from a button that captures the ID of the selected feature and passes that in your request to the external site and retrieve the info to the task pane. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Friday, September 25, 2009 1:36 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Connecting to County Assessors page Mark, I guess the two comments I have are: 1) Why not connect directly to ArcSDE? 2) If you are using the AJAX viewer you can embed an html link directly in the data so you can click it in the properties pane... Martin -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Friday, September 25, 2009 3:30 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Connecting to County Assessors page Hi All, Firstly I have tried looking everywhere for information on how to do this with no such luck. I am currently connecting to ArcSDE and downloading the latest parcel data each night. Using FME I am able to manipulate and then save this data to an SDF file which I use in Mapguide 2010. When a user selects a parcel inside of Mapguide this data is then returned. What I would rather do is when a user selects a parcel it would pass right through to the County Assessors page, open and display the data. At any time I can go to the County website and do this manually. I just thought it would be nice to have this embedded inside of Mapguide. I'm sorry if this is not the platform to be asking this question but I'm not really sure where else to look. Thanks in advance for any help I may receive. -- View this message in context: http://n2.nabble.com/Connecting-to-County-Assessors-page-tp3714441p3714441.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
RE: [mapguide-users] Unable to select/highlight objects - MGE 2010Update 1 AJAX Viewer
In general the session timeout has probably expired so the map is not actually usable until the layout is refreshed and generates a new session. I'm somewhat surprised you don't see session expired exceptions in the log. The session timeout is a setting in the Site Admin under Configure Services. I will try and determine if this behavior has changed in any way as of the update. Regards, Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Monday, August 31, 2009 12:12 PM To: mapguide-users@lists.osgeo.org; prb...@openspatial.com.au Subject: Re: [mapguide-users] Unable to select/highlight objects - MGE 2010Update 1 AJAX Viewer I have the same issue with both MGE 2009 and 2010. I thought maybe there was a timeout setting or something like that. -Original Message- From: Praveen Rajendra Babu prb...@openspatial.com.au To: mapguide-users@lists.osgeo.org mapguide-users@lists.osgeo.org Sent: 8/30/2009 5:23:59 PM Subject: [mapguide-users] Unable to select/highlight objects - MGE 2010Update 1 AJAX Viewer Hi, This is happening quite regularly and thought of bringing to the group's notice. When I leave MGE idle, like overnight and the next day morning when I try to access the map, it displays perfectly fine. But when I try to select a feature on the map it shows x feature selected, but the object is not highlighted on the map. Also, any MGE API operations with the selected non-highlighted object fails. To resolve the issue, I re-start BOTH MGE server and WWW services. I have recently applied the MGE 2010 Update 1 and can't remember anything like this prior to the update. The server Error.log has the below consistent message: Error: The requested operation version is invalid. StackTrace: - MgOperationThread.ProcessOperation() line 431 file d:\build\testarossa_nightly\build_35.5\ent\os\server\src\core\OperationThread.cpp - MgFeatureServiceHandler.ProcessOperation() line 83 file d:\build\testarossa_nightly\build_35.5\ent\os\server\src\services\feature\FeatureServiceHandler.cpp - MgFeatureOperationFactory.GetOperation() line 445 file d:\build\testarossa_nightly\build_35.5\ent\os\server\src\services\feature\FeatureOperationFactory.cpp Please let me know if you want me to enable more logging detail, if that helps. System details: MapGuide Server Version: 2.1.0.3505 MapGuide AJAX Viewer Version: 2.1.0.3505 OS: Windows Server 2003 Standard Edition SP 2 IIS Server : V6.0 Thanks for your time. Regards, Praveen ___ 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
RE: [mapguide-users] Theme data not displaying properly in legend
I believe this is a known bug. Zoom in and out once and it will redraw properly. Dave From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Pedro Venâncio Sent: Friday, August 28, 2009 6:37 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Theme data not displaying properly in legend Hello Zac This is also happening to me. I'm running MGOS 2.1 beta1 with IIS5.1 and .NET on Windows XP Pro w/SP2. --- On Fri, 8/28/09, Zac Spitzer zac.spit...@gmail.com wrote: From: Zac Spitzer zac.spit...@gmail.com Subject: Re: [mapguide-users] Theme data not displaying properly in legend To: MapGuide Users Mail List mapguide-users@lists.osgeo.org Date: Friday, August 28, 2009, 11:40 AM which release are you using? On Fri, Aug 28, 2009 at 10:12 AM, LGStro...@gissolutions.ca/mc/compose?to=tro...@gissolutions.ca wrote: Hi There, In my Ajax viewer I have a layer with 14 theme rules/categories. In the legend it only displays the first and last. I check the MG archives and it says to right click to show long theme. When I do this I get none of the theme colors displaying but their labels display. I know when I set 8 or less rules it displays with no issues. Can anyone help me? Thx Trevor LGS ___ mapguide-users mailing list mapguide-users@lists.osgeo.org/mc/compose?to=mapguide-us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org/mc/compose?to=mapguide-us...@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] Numeric Search
correct me if I'm wrong, but shouldn't the full syntax be: ToString(FID) LIKE Concat(ToString($USER_VARIABLE), '%') Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Wednesday, August 26, 2009 2:32 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Numeric Search Are you by chance using dotnet instead of php? -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Wednesday, August 26, 2009 4:29 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Numeric Search Thank you for reply. I have tried this code along with several others and still no luck. This now gives me an invalid character error message for the $. I will keep trying. Traian Stanev wrote: Try something like: FID LIKE Concat(ToString($USER_VARIABLE), '%') Traian -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users- boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Wednesday, August 26, 2009 2:52 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Numeric Search I have created several searches like PROJECT_TITLE LIKE '%$USER_VARIABLE%' which works great. The data in the Project_Title table is not Numeric. When I try to create a search for a Numeric field such as FID LIKE '%$USER_VARIABLE%' I get the following message: Arguement types for operator 'LIKE' are mismatched. The validation operation expected 'Boolean' but the expression returned 'Unknown. It appears that I cannot use this expression on Numeric data. Any help would be greatly appreciated. -- View this message in context: http://n2.nabble.com/Numeric-Search- tp3518680p3518680.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Numeric-Search-tp3518680p3519257.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
RE: [mapguide-users] Numeric Search
Try this: ToString(FID) LIKE '$USER_VARIABLE%' This works for me. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Wednesday, August 26, 2009 2:45 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Numeric Search I had some notes passed back and forth with Mark separately... What he is trying to do is run this query within the expression builder within Mapguide. Is this possible Dave or Traian? Martin -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Dave Wilson Sent: Wednesday, August 26, 2009 4:35 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Numeric Search correct me if I'm wrong, but shouldn't the full syntax be: ToString(FID) LIKE Concat(ToString($USER_VARIABLE), '%') Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Martin Morrison Sent: Wednesday, August 26, 2009 2:32 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Numeric Search Are you by chance using dotnet instead of php? -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Wednesday, August 26, 2009 4:29 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Numeric Search Thank you for reply. I have tried this code along with several others and still no luck. This now gives me an invalid character error message for the $. I will keep trying. Traian Stanev wrote: Try something like: FID LIKE Concat(ToString($USER_VARIABLE), '%') Traian -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users- boun...@lists.osgeo.org] On Behalf Of Mark Hedges Sent: Wednesday, August 26, 2009 2:52 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Numeric Search I have created several searches like PROJECT_TITLE LIKE '%$USER_VARIABLE%' which works great. The data in the Project_Title table is not Numeric. When I try to create a search for a Numeric field such as FID LIKE '%$USER_VARIABLE%' I get the following message: Arguement types for operator 'LIKE' are mismatched. The validation operation expected 'Boolean' but the expression returned 'Unknown. It appears that I cannot use this expression on Numeric data. Any help would be greatly appreciated. -- View this message in context: http://n2.nabble.com/Numeric-Search- tp3518680p3518680.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Numeric-Search-tp3518680p3519257.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 ___ 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] Some tiffs work and others don't - does anybody know why?
Try using the GDAL provider in your MGE2010 setup. This should tell you if it's the provider or something else. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of JamesDudden Sent: Tuesday, August 25, 2009 7:11 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Some tiffs work and others don't - does anybody know why? Ok, some progress... I have tested the tiffs on a different setup - MGEnterprise2010 with MGStudio2010 - and the tiffs work. Does anybody know why some tiffs will work on this set up and not on MGOpenSource2.1 with MGStudio2009? Is there anyway to copy the setup of 2010 to my old setup? Any help or advice is always welcome - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Some-tiffs-work-and-others-don-t-does-anybody-know-why-tp3502155p3509640.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