Re: [mapguide-users] Legend and runtime Layer filter

2009-04-17 Thread Kenneth Skovhede, GEOGRAF A/S
That would suggest that the data in the resource is invalid xml? Have you tried to examine the layerDefString variable before the crash? Regards, Kenneth Skovhede, GEOGRAF A/S Matteo skrev: Hi Kenneth, I have found the bug. The problem is on BuildLayerDefinitionData sub of Legend.aspx

Re: [ZS2] [mapguide-users] Java Script - Invoke Script Refresh

2009-04-17 Thread Kenneth Skovhede, GEOGRAF A/S
Can you clarify? That not function indicates that the call does not work, but and open mypages.aspx indicates that it does work? The call should be window.open('mypage.aspx'); , if that is the problem. Regards, Kenneth Skovhede, GEOGRAF A/S ajid skrev: { if (window.refreshTimerId ==

[mapguide-users] select the location on map

2009-04-17 Thread susan Daniel
hi all My plat form is mapguide maestrophp.I connect it with mysql.Now i want to select the corresponding polygon on the map while clicking on the data in database.In order to display the database table in the taskpane,i removed the contents of the file /mapviewerphp/getting started .php

RE: [mapguide-users] select the location on map

2009-04-17 Thread Ivan Milicevic
Hello Susan, Here is C# code for selection, it's pretty same as PHP. MgSiteConnection siteConnection = null; InitializeWebTier(); MgUserInformation userInfo = new MgUserInformation(mgSessionId); siteConnection = new MgSiteConnection(); siteConnection.Open(userInfo);

[mapguide-users] KingOracle dataconnection problem: Maestro/Studio - Property-Value fileds empty

2009-04-17 Thread Bojan Franc @ FER
Problem with KingOracle connection... I was moving my MGOS from an old server to a new one. Both have the same OS (Win2008 x64) with the same MGOS 2.0.2 and KingOracle 0.8.5. On the old server everything works great, but on the new, I have problems. When making a New Dataconnection in

Re: [mapguide-users] KingOracle dataconnection problem: Maestro/Studio - Property-Value fileds empty

2009-04-17 Thread Kenneth Skovhede, GEOGRAF A/S
That usually happens when MapGuide fails to load the provider. The usual cause for this is a missing dll dependency (did you install the oracle client?). To resolve it, try opening the SL-King dll with DependencyWalker, or run MapGuide in commandline mode. Regards, Kenneth Skovhede, GEOGRAF

RE: [mapguide-users] select the location on map

2009-04-17 Thread Ivan Milicevic
OBJEKTI is layer name and other thing is path to the feature source. Library://SAMPLES/DATA/SEWERS/SEWERS.FeatureSource); You can copy/paste feature source from mapguide maestro in layer definition window. From: mapguide-users-boun...@lists.osgeo.org

RE: [mapguide-users] select the location on map

2009-04-17 Thread Ivan Milicevic
Ok, so you have file that display's data from your database table? Or you don't have it at all? How familiar are you with javascript? From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of susan Daniel Sent: Friday, April 17, 2009 11:13 AM To:

RE: [mapguide-users] select the location on map

2009-04-17 Thread Ivan Milicevic
Did you know how to create file that display's database table? If you don't know that you must find help somewhere else because I'm not a PHP guy. From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of susan Daniel Sent: Friday, April 17, 2009

RE: [mapguide-users] select the location on map

2009-04-17 Thread Ivan Milicevic
I'm not sure that I understand your problem. With this code you can select any feature on map. Can you send a little bit more information? I'm clues over there. From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of susan Daniel Sent: Friday,

Re: [mapguide-users] Select points problem

2009-04-17 Thread Big Tom
Have you defined a primary key for that point table? - Jackie Check that the datasource has a X, Y and Z value even if it only requires an X, Y just assign one of the X, Y columns to the Z and retry, had this problem a while ago and this seemed to fix it. Good luck I try this:

Re: [mapguide-users] Select points problem

2009-04-17 Thread Big Tom
Have you defined a primary key for that point table? - Jackie Check that the datasource has a X, Y and Z value even if it only requires an X, Y just assign one of the X, Y columns to the Z and retry, had this problem a while ago and this seemed to fix it. Good luck I try this:

Re: [mapguide-users] Select points problem

2009-04-17 Thread Jackie Ng
In Maestro, does this PK show up as the key column? If not have you set it? - Jackie Have you defined a primary key for that point table? - Jackie Check that the datasource has a X, Y and Z value even if it only requires an X, Y just assign one of the X, Y columns to the Z and retry,

Re: [mapguide-users] Adding map layers to a map by clients

2009-04-17 Thread GordonL
I think it would be very cool to be able to pull out the functionality from Maestro for creating Layers from existing data on the server (SHP, SDF, Oracle, etc) - from within the Map interface - there is a lot of work involved otherwise. Is there a way to let clients using fusion, ajax or

Re: [mapguide-users] Select points problem

2009-04-17 Thread Big Tom
In Maestro, does this PK show up as the key column? If not have you set it? - Jackie Have you defined a primary key for that point table? - Jackie Check that the datasource has a X, Y and Z value even if it only requires an X, Y just assign one of the X, Y columns to the Z and retry,

Re: [mapguide-users] FDO toolbox help

2009-04-17 Thread Jackie Ng
I've made a new release of FDO Toolbox that not only fixes the Generic control for RDBMS providers, but also provides an express SQL Server 2008 spatial connection option. Cheers, - Jackie This is a defect with the Generic control that makes it unusable with RDBMS-based providers or any