[mapguide-users] XML Parser error for Feature Sources

2008-12-01 Thread cagray
Hi, I have a web application in .NET c# which allows a user to define their own feature sources and set the connection parameters. It is very similar to doing the same through map guide's own interface. However no matter I do to the xml in the code behind I get the error: An exception occurred

Re: [mapguide-users] XML Parser error for Feature Sources

2008-12-01 Thread cagray
Thanks for the reply. Unfortunately that did not solve my problem and I got the same error. Is there anything else I could try? I was not aware you could do this without generating/manipulating the xml. My web tool has to fully control setting up data sources. So the user selects a provider and

Re: [mapguide-users] XML Parser error for Feature Sources

2008-12-01 Thread cagray
The error in the log is: Error: An exception occurred in the XML parser. StackTrace: - MgResourceServiceHandler.ProcessOperation line 80 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceServiceHandler.cpp - MgOpSetResource.Execute line 103 file

Re: [mapguide-users] XML Parser error for Feature Sources

2008-12-01 Thread cagray
problem, does the server error log show anything? C:\program files\Mapguideopensource2.0\server\logs\error.log Regards, Kenneth Skovhede, GEOGRAF A/S cagray skrev: Thanks for the reply. Unfortunately that did not solve my problem and I got the same error. Is there anything else I could

Re: [mapguide-users] XML Parser error for Feature Sources

2008-12-02 Thread cagray
, Kenneth Skovhede, GEOGRAF A/S cagray skrev: I tried your example and I always get an error of: Object reference not set to an instance of an object. when I do: fs.Parameter[DefaultFilePath] = C:\my.shp; or other similar attempts for other providers. If I take this line out it creates

[mapguide-users] Couple of (potential) bugs in MapGuide 2.1 API AjaxViewer

2009-04-09 Thread cagray
I am been developing and migrating a couple of .NET (c#) web tools to use MapGuide 2.1 based upon the BETA installer and I think I have identified a couple of bugs which did not occur in the 2.0.x version which may be worth a ticket. However I thought I would post them here first in case I am

[mapguide-users] 2.1 GDAL Rasters - tiles disappearing on map load

2009-04-27 Thread cagray
Hi, I have a web application using the AJAX viewer on MapGuide 2.1. The map is basically just rasters using the GDAL provider and AGG renderer. The maps work fine when not using tiles but when I start to use tiles the tiles load up but once the map is fully rendered all the rasters/tiles

Re: [mapguide-users] 2.1 GDAL Rasters - tiles disappearing on map load

2009-04-27 Thread cagray
cagray wrote: Hi, I have a web application using the AJAX viewer on MapGuide 2.1. The map is basically just rasters using the GDAL provider and AGG renderer. The maps work fine when not using tiles but when I start to use tiles the tiles load up but once the map is fully rendered all

[mapguide-users] GetDefaultGeometryPropertyName returning nothing in latest 2.1 install

2009-05-21 Thread cagray
Hi, I just installed the lastest 2.1 installer (0.7). Now when i do GetDefaultGeometryPropertyName on my MgClassDefinition for my shp file data sources I sometimes get nothing returned whereas in previous installs it reported the correct geometry. This can be seen in Maestro as well where the

[mapguide-users] Missing XML properties from layers - MaintainAspect, InsertionPointX and InsertionPointY

2009-07-21 Thread cagray
Hi, I was creating point style layers on my local machine and also on a server. Both are running Mapguide 2.1 Beta. I noticed that when I was trying to parse the XML of a (single point style) layer I had created in Maestro, was that on my local machine the XML looked fine and contained the XML:

[mapguide-users] Filter queries on FeatId field of SHP files giving unexpected results

2009-10-02 Thread cagray
Hi, I have an interesting situation when applying filters to a SHP file's FeatId field (the primary key field). If I apply a filter of: FeatId 20 When you preview/save and view the layer I only get the feature with FeatId 20 showing in the layer instead of the 40 or so features that actually

[mapguide-users] GETMAPIMAGE vs GETDYNAMICMAPOVERLAYIMAGE and out of memory issue

2009-11-17 Thread cagray
Hi, I am trying to generate images by mimicing the calls done in the AJAX map viewer. I notice that in the ajaxmappane.templ it only ever uses GETDYNAMICMAPOVERLAYIMAGE. I was wondering what the difference was from just using GETMAPIMAGE? Also if I try and do images over 1024 by 1024 I always

Re: [mapguide-users] GETMAPIMAGE vs GETDYNAMICMAPOVERLAYIMAGE and out of memory issue

2009-11-17 Thread cagray
Hi Kenny, Thanks for the reply and helping me understand the different calls. Adding CLIP=1 got rid of all the memory issues which is great. Colin -- View this message in context: http://n2.nabble.com/GETMAPIMAGE-vs-GETDYNAMICMAPOVERLAYIMAGE-and-out-of-memory-issue-tp4017282p4017555.html

[mapguide-users] Feature Service - unclassified exception happening intermittently (MG 2.1)

2009-12-02 Thread cagray
Hi, I have started to get intermittent problems when trying to use feature services accessing various data sources from SHP files, ArcSDE to Oracle. When I do something like: //Creates a new site connection and passes the current session MgSiteConnection mgSiteCon = new MgSiteConnection();

[mapguide-users] Feature Service - unclassified exception happening intermittently (MG 2.1)

2009-12-03 Thread cagray
(re-posting this as my original post someone accidently started a new topic as a reply and people replied to this instead of my question) Hi, I have started to get intermittent problems when trying to use feature services accessing various data sources from SHP files, ArcSDE to Oracle. When I