Re: [mapguide-users] Brain freeze Combining MgFeatureQueryOptions.SetFilter For filtering and MgFeatureQueryOptions.

2008-12-22 Thread Kenneth Skovhede, GEOGRAF A/S
AFAIK, both AddFeatureProperty() and SetFilter() writes the internal filter, and thus you cannot use both. Also, there is no logical combination (should it be and, or, xor, nand or nor?) for two properties like that. You can get around it by setting the entire filter string like this:

Re: [mapguide-users] change the layer symbol

2008-12-22 Thread Kenneth Skovhede, GEOGRAF A/S
Are you asking how to change the symbols displayed for points on a layer in Studio? Open the layer, and double click the point preview. Select the Library option in the symbol drop down, and browse to the desired symbol. Regards, Kenneth Skovhede, GEOGRAF A/S Dorin skrev: Hi all, I had

Re: [mapguide-users] Does Maestro use enhanced EnumerateResources?

2008-12-22 Thread Kenneth Skovhede, GEOGRAF A/S
No, it does not. In fact, it is much worse. Maestro loads the _entire_ resource tree on startup. In my setup this makes the browsing process much nicer, but I can see that it can cause trouble on very large sites. Feel free to add a ticket for it. Regards, Kenneth Skovhede, GEOGRAF A/S

Re: [mapguide-users] Taskpane in Mapguide Maestro

2008-12-22 Thread Kenneth Skovhede, GEOGRAF A/S
The easy way is to assign a common page, ea. redirect_on_startup.aspx, and then use that page to forward to the desired page. The other way is to save a modified copy of the WebLayout as a temporary item. An untested exaple would be: ServerConnectionI con; //-- Assign this WebLayout wl =

Re: [mapguide-users] create a temporary !Mapdefinition and add a layer

2008-12-22 Thread Kenneth Skovhede, GEOGRAF A/S
That is likely an Xml validation error. It can occur if the Xsd has changed, or one of your attribute values are invalid. What does the MapGuide error log state? (On windows, look in C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log) Regards, Kenneth Skovhede, GEOGRAF A/S

RE: [mapguide-users] create a temporary !Mapdefinition and add a layer

2008-12-22 Thread Arnaud De Groof
The error log contains the following message: 2008-12-22T10:10:38 Administrator Error: An exception occurred in the XML parser. StackTrace: - MgResourceServiceHandler.ProcessOperation line 80 file

Re: [mapguide-users] change the layer symbol

2008-12-22 Thread Dorin
I am trying to follow the examples from Building symbol libraries with Autodesk Mapguide Enterprise as the Hospital symbol samples. When I tried to point to the SimpleSymboldefinition, the MGE 2009 UI didn't show the xml schema for my new symbol definition. How I can solve this? Thanks, Dorin

[mapguide-users] Problem in FDO query with accents using mapguide 1.2.0

2008-12-22 Thread leonardo.bressan
I have some problems in my application develloped in php when I made a query like this: SELECT * FROM TABLE WHERE TEXT_FIELD IS 'accented caracter' When I set the filter queryOptions-SetFilter($filter); mapguide crash and the error log gives: Error: Cannot create any more connections to the

[mapguide-users] How to dynamically draw lines from MySql queryes

2008-12-22 Thread Carmelo Saffioti
Hi everybody, I've got a sequence of GPS lat/lon positions on a MySql db table. I need to draw a line which connects them. Is there any example code about doing that? For drawing polygons with MapGuide, reading data from a MySql table, I saw that I need to create a POLYGON attribute on the DB

[mapguide-users] Mapguide Localization

2008-12-22 Thread Bruno Scott
What would be the official way for localizing Mapguide OpenSource in French? I know it's easy to copy the Localized/en file to a Localized/fr file and translate it. But Autodesk has already do that job, can i use this file for one of my client that didn't bought MapGuide Enterprise? If yes, could

[mapguide-users] Problem with plot DWF (to Brian Berdel)

2008-12-22 Thread Sergio Nistal Calvo
Hi, and I'm sorry for many mails: Only I have one problem. I have installed the program Autodesk design review, version 9.0.0.96. With this program works for me the plot of DWF of Sheboygan, but not with my data type shp, sbx, sbn, dbf, idx and shx (or with the transformation to sdf with

RE: [mapguide-users] Problem with plot DWF (to Brian Berdel)

2008-12-22 Thread Berdel, Brian
Which version of Mapguide are you using? Brian From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Sergio Nistal Calvo Sent: Monday, December 22, 2008 1:03 PM To: MapGuide User List Subject: [mapguide-users] Problem with plot DWF (to

Re: [mapguide-users] Zoom To Selection

2008-12-22 Thread padmini godavarthi
Hi, Thanks for u r reply. the code u sent is working fine for both the cases 1) for selection of parcel id 2) Zoom to that parcel id it working fine for individually. when i integrated this code (i want selection as well as zoomed to the selected parcel id ) its not working. iam able to get

Re: [mapguide-users] Taskpane in Mapguide Maestro

2008-12-22 Thread padmini godavarthi
Hi thanks for u r reply. Now my problem is that %@ Page language=c# % %@ Import Namespace=System.IO % %@ Import Namespace=System.Collections.Specialized % %@ Import Namespace=System.Text % %@ Import Namespace=System.Globalization % %@ Import Namespace=OSGeo.MapGuide % script runat=server

[mapguide-users] Weblayout

2008-12-22 Thread padmini godavarthi
Hi iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1) Now i want to add a new button(programmetically) in toolbar of a existing weblayout.How is it possible? 2) How to create a weblayout(programmetically) that contains only ajax viewer.How is it possible. My thought was i want an

RE: [mapguide-users] Problem with plot DWF (to Brian Berdel)

2008-12-22 Thread Sergio Nistal Calvo
Hi, I am using MapGuide 2.0.1 (on Windows Vista, I am installed from source code not from installers to Windows). Thanks. Subject: RE: [mapguide-users] Problem with plot DWF (to Brian Berdel) Date: Mon, 22 Dec 2008 15:27:01 -0500 From: brian.ber...@mcmtrans.com To: