RE: [mapguide-users] Is it really not possible?

2007-11-15 Thread Traian Stanev
DWF output does not necessarily have better quality than image output in MapGuide, as long as the image is generated at the one desired scale/dpi. Traian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joel Carranza Sent: Wednesday, November 14, 2007 4:2

Re: [mapguide-users] An exception occurred in FDO component / Gdalraster

2007-11-15 Thread mates
And is it necessary to define the coordinate system also in GDAL configuration file? I have it already defined in the MapDefinition.. -- View this message in context: http://www.nabble.com/An-exception-occurred-in-FDO-component---Gdal-raster-tf4791379s16610.html#a13782675 Sent from the MapGuide

Re: [mapguide-users] Changing existing dynamic layer's Filter on the fly

2007-11-15 Thread Maksim Sestic
Hi Kenneth, It would be much easier if MgLayer had Filter property in first place :-) Alas, it doesn't (MGE 2008). It has FeatureSourceId and FeatureClassName properties, though, but not Filter property (and I have no clue why's that, probably somebody forgot to expose it). So I guess I still ha

RE: [mapguide-users] Changing existing dynamic layer's Filter onthefly

2007-11-15 Thread Jonio, Dennis (Aviation)
Maksim, Maybe you are just making to many assumptions about what is under the covers? ;-) It takes a few more lines of code but I try to make it a practice to modify/delete at the object level and only ever use iterator/index for reading. ...burned a couple times with .NET hashtables.

Re: [mapguide-users] Changing existing dynamic layer's Filter on the fly

2007-11-15 Thread Kenneth, GEOGRAF A/S
Hmm, I see. I am using an alternative API that has those properties, so I didn't verify that the properties were actually exposed. Regards, Kenneth, GEOGRAF A/S Maksim Sestic skrev: Hi Kenneth, It would be much easier if MgLayer had Filter property in first place :-) Alas, it doesn't (MGE

Re: [mapguide-users] Changing existing dynamic layer's Filter on the fly

2007-11-15 Thread Maksim Sestic
This layer removal thingy is funny. Could anyone, plese, explain what's going on here? === This works: Dim layerName as String = "TestLayer" Dim map As MgMap = ...get active MgMap from session... Dim layerCol As MgLayerCollection = map.GetLayers() Dim layerToRemove As MgLayer = Nothing For Eac

RE: [mapguide-users] Changing existing dynamic layer's Filter onthe fly

2007-11-15 Thread Maksim Sestic
Djonio, thanks for sharing the code. I'll try it and come out with results. BTW, did anyone notice that managed version of MgLayerCollection has some nasty problem when it comes to removing items? Try removing MgLayer items by: Dim layerIndex As Integer = map.GetLayers.IndexOf(layerName) map.Ge

Re: [mapguide-users] Changing existing dynamic layer's Filter on the fly

2007-11-15 Thread Kenneth, GEOGRAF A/S
When the MapDefinition is turned into a runtime Map, it copies properties from the layerdefinition. This means that you will see no changes, even if you choose to modify the LayerDefinition. You must modify the layer copy in the runtime map. Fortunately, that is actually easier than what you ar

[mapguide-users] Changing existing dynamic layer's Filter on the fly

2007-11-15 Thread Maksim Sestic
I think I'm having problems with changing existing dynamic layer's Filter property (the one that filters data from FeatureSource) using .NET. Here's the approach that doesn't report any error, but when I refresh the map there are no changes to the layer - new filter doesn't get applied. Dim layer

RE: [mapguide-users] newbie : What I should do next?

2007-11-15 Thread mimie idris
Thanks Jason, yes, i've done as per what you've described. am i load the right package? is that all i need to do? JasonBirch wrote: > > Hello, > > Your next step is to set up a website that encapsulates that web layout. > > Assuming that you have the MapGuide web extensions on a publicly