Re: [mapguide-users] cannot insert feature,give a favor

2007-09-17 Thread Kenneth, GEOGRAF A/S
I belive that the reader.ToString() returns MgByteReader, and does not return the contents of the reader. You must read the contents manually. I have replied to this particular problem before, so search the list for a solution on how to do that. Regards, Kenneth, GEOGRAF A/S knife skrev:

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

[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

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

[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

[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

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, but I

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 perfect

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] 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

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 the

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 the

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

[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);