Re: [mapguide-users] 1.2 using .net 2.0 and VS2005 and web application project

2007-09-17 Thread Kenneth, GEOGRAF A/S
Yes, I have had success with both, although I haven't tried web application on MapGuide 1.2. Regards, Kenneth, GEOGRAF A/S ZoffoMan skrev: Has anyone had success connecting to mapguide via a web applicaiton project vs. a website in VS-2005. ___

[mapguide-users] Create new column in data source

2007-09-17 Thread Jim O'Leary
I would like my user to be able to add a new column to a SHP / SDF file at run time. I have the code from the GT sample that shows how to create a new MgDataPropertyDefinition: $textProperty = new MgDataPropertyDefinition('Text'); $textProperty->SetDataType(MgPropertyType::String); $textProperty-

Re: [mapguide-users] MGOS 1.2.0 Filter On Joined Field

2007-09-17 Thread Zac Spitzer
i previously logged a ticket here http://trac.osgeo.org/mapguide/ticket/254 about layer filters mapguide currently just fails silently on layer errors and the will resubmit the query against the datasource without any criteria.. ugly z On 9/18/07, Rahul <[EMAIL PROTECTED]> wrote: > Hi, > > I

Re: [mapguide-users] 1.2 using .net 2.0 and VS2005 and web applicationproject

2007-09-17 Thread ZoffoMan
5. make sure you use a mgos 1.2 webconfig.ini - If you use a 1.1 you can get undesirable behavior ;) FM-5 wrote: > > Yes, we have done that for a while now... > > You must make sure to: > 1. Create your project as a web application > 2. Make sure your web in IIS works with .NET 2.0 > 3. Move th

Re: [mapguide-users] .NET connection issue

2007-09-17 Thread ZoffoMan
Yes! That was the problem. They have different ports and everything. It's weird how using dotnetviewersample first would init properly and allow you to use a "bad" config. Thanks. Jackie Ng wrote: > > Are you using a pre 1.2 webconfig.ini? Because the 1.2 webconfig.ini has > new options which

Re: [mapguide-users] MGOS 1.2.0 Filter On Joined Field

2007-09-17 Thread Rahul
Hi, I think i already asked these question many times and i stuck up with the join using SDF +SQL Server 2005(ODBC) and i unable to filter on the field from the joined table,for that i got answer from autodesk that filter will work only on primary source so still no solution for the filte

Re: [mapguide-users] Mouse cursor in Ajax viewer

2007-09-17 Thread flakesns
Hi, i'm using MG 1.2RC in windows XP. My solution based on Jackie Ng great code. Open toolbar.templ in viewerfiles folder. Add this code: function changeIcon(action){ var cururl = "http://localhost/mapguide/stdicons/";; var map = parent.mapFrame.document.getElementById("map");

Re: [mapguide-users] .NET connection issue

2007-09-17 Thread Jackie Ng
Are you using a pre 1.2 webconfig.ini? Because the 1.2 webconfig.ini has new options which the 1.2 API requires. - Jackie ZoffoMan wrote: > > mgos 1.2 on windows sever 2003 using .net 2.0 > verified dotnetviewersample is working fine. > I wrote a "web app" not a "web site" > > This has worked

Re: [mapguide-users] 1.2 using .net 2.0 and VS2005 and web applicationproject

2007-09-17 Thread FM
Yes, we have done that for a while now... You must make sure to: 1. Create your project as a web application 2. Make sure your web in IIS works with .NET 2.0 3. Move the MapGuide Dlls (MapGuideDotNetApi.dll, MapGuideUnmanagedApi.dll) to your new bin directory (copy local when adding references)

Re: [mapguide-users] MGOS 1.2.0 Filter On Joined Field

2007-09-17 Thread Krunoslav
James Card wrote: > > I just tested again on MGOS 1.2.0 and am still not able filter a layer on > a field from a joined table (for example, the expression '"Join1ClassRoom" > = TRUE' does not work). I was sure that we've discussed here before, and > even thought that it had been fixed, bu

[mapguide-users] 1.2 using .net 2.0 and VS2005 and web application project

2007-09-17 Thread ZoffoMan
Has anyone had success connecting to mapguide via a web applicaiton project vs. a website in VS-2005. -- View this message in context: http://www.nabble.com/1.2-using-.net-2.0-and-VS2005-and-web-application-project-tf4470343s16610.html#a12746130 Sent from the MapGuide Users mailing list archive

[mapguide-users] Search not possible on MySQL <-> SHP join ?

2007-09-17 Thread Krunoslav
Hi all, I have created a join between SHP file, and MySQL batabase. Everything works fine, I can see all object properties which are pulled from MySQL, so therefore, join works fine. But, I have a problem with search function: If I create New Search in Studio, and try to search some object prop

[mapguide-users] MGOS 1.2.0 Filter On Joined Field

2007-09-17 Thread James Card
I just tested again on MGOS 1.2.0 and am still not able filter a layer on a field from a joined table (for example, the expression '"Join1ClassRoom" = TRUE' does not work). I was sure that we've discussed here before, and even thought that it had been fixed, but I just searched through Trac a

[mapguide-users] Antivirus on server

2007-09-17 Thread Martin Fafard
Hi I know that some antivirus scan every tiles and the server is slower. Which antivirus do you propose in a prod environment? Martin F ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-us

[mapguide-users] .NET connection issue

2007-09-17 Thread ZoffoMan
mgos 1.2 on windows sever 2003 using .net 2.0 verified dotnetviewersample is working fine. I wrote a "web app" not a "web site" This has worked perfect for over 10 months using mapguide 1.0, 1.1 I upgraded to 1.2 on a clean machine after recompiling, etc with new dlls. Now when I connect to my D

RE: [MapGuide-users] load procedure for shp files on aremote computer![please help]

2007-09-17 Thread Gord McKenzie
Check your shp files. I have had this problem when there was a problem with the file. Do you have the shp, shx, dbf and prj files? I'm not sure if a PRJ is required. I have had shp files that would open in some programs but they would not author in Studio. _ From: [EMAIL PROTECTED]

Re: [mapguide-users] load procedure for shp files on a remote computer![please help]

2007-09-17 Thread Kenneth, GEOGRAF A/S
Since the Load occurs on the client, you could try to copy the files onto you computer. Otherwise, the "Load Procedure" is mainly an Autodesk MapGuide Studio feature, so you may have more luck directing your question to Autodesk support. Regards, Kenneth, GEOGRAF A/S Mansoureh Sadrykia skrev

[mapguide-users] load procedure for shp files on a remote computer![please help]

2007-09-17 Thread Mansoureh Sadrykia
Hi List! I'm trying to load shp files located in LAN. In mg studio 2007, I run the 'new load procedure' and add the file. The address of the file is something like \\M\folder1\lakes.shp where M is the name of the computer which has the data. But when I click the load resources button, a po

Re: [mapguide-users] ajaxviewer got broken

2007-09-17 Thread Kenneth, GEOGRAF A/S
>From the image you sent, it looks like the zoom problem. What happens if you zoom out many times, like 30 times? Or, have you zoomed in on the feature and selected it? If so, try examining the server logs, they sometimes reveal errors in the FDO providers, which may explain why a feature is not r

Re: [mapguide-users] ajaxviewer got broken

2007-09-17 Thread Takashige Nakagawa
Hi Kenneth. Thanks for the reply. The problems is not with selections nor with the initial zoom. It is that the ajaxviewer doesn't show features. I know there's a feature since I can select it, get properties of it, and delete it. It's just not shown on the ajaxviewer. "Buffer" and "Measure" feat