Re: [mapguide-users] mapguide examples won't display, can't create new resources, possible permissions setup problem?

2009-07-29 Thread Kenneth Skovhede, GEOGRAF A/S
I think that is an issue with Maestro. It should definately not create temp resources in Library:// Do you have a full message? Perhaps from the Help - Last exception ? If the maps fail to load, there is usually a message in the error log for MapGuide. The path for the log can be found in

Re: [mapguide-users] Help regarding to set filter for a layer programmatically using Java

2009-07-29 Thread Kenneth Skovhede, GEOGRAF A/S
There are only few examples of Java code avalible. These are the steps to perform, regardless of programming language: 1) Obtain the LayerDefinition xml 2) Update the Filter tag 3) Save the LayerDefinition to a temp name (in the Session repository) 4) Get a reference to the Runtime map

Re: [mapguide-users] MapDefinition from runtime map

2009-07-29 Thread Kenneth Skovhede, GEOGRAF A/S
The dummy resource can be any type, eg. MapDefinition or FeatureSource. Unless you frequently change resource names, schemas or geometry column names, I think you can do fine without validation. The only problem I can see, is that it is very difficult to edit the runtime map, if it is

Re: [mapguide-users] Non-Administrator Users Can't Login

2009-07-29 Thread Kenneth Skovhede, GEOGRAF A/S
You can manage users from the MapAdmin: http://localhost/mapguide/mapadmin/login.php These users can then log in to MapGuide. You need to set their permissions to resources with a tool like Maestro or Studio. There are no execute permissions in MapGuide, only read and write. The permission

Re: [mapguide-users] SQL Server 2008 Query

2009-07-29 Thread Akram
Hi Worshond, to make a selection in your MG solution you should use 'MgFeatureQueryOptions' object in order to filter your features in map, after execute your query in SQL server and get your value, use this value to filter your features as following: MgFeatureQueryOptions districtQuery = new

Re: [mapguide-users] Mapguide Studio

2009-07-29 Thread Tom Lazo / Stygy
Hi, Yup!, u can export a shape file to other formats via Fdo2Fdo Here is the download link http://www.sl-king.com/Fdo2Fdo/download/download.html Hope it helps Tom sathishpsk9 wrote: Hi every one , Can we export shape file to other formats or to oracle spatail or mysql or postgregis

Re: [mapguide-users] spanish loc alization / localizaciĆ³n espaƱol

2009-07-29 Thread Tom Lazo / Stygy
Hola denuevo, Esta web no es mia, pero me parece que puede funcionar como buen ejemplo del uso de Mapguide con Fusion. http://www.munisanisidro.gob.pe/OPRWeb/gis/frmgis.aspx Cuidate Tom GreenMapSanMiguel wrote: Does anyone have a spanish localization for MapGuide that they would be

RE: [mapguide-users] Non-Administrator Users Can't Login

2009-07-29 Thread Dennis Soper
That's the issue. I did set the users up using that URL and the users cannot log in. Administrator can log in. Cheers, Dennis From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Kenneth Skovhede,

[mapguide-users] Adding layer to runtimemap

2009-07-29 Thread Gunter Becker
Hi, I'm trying to add a layer to the runtimemap using the MaestroAPI: MapLayerType layer = layerArray[layerName]; RuntimeMapLayer runMapLayer = new RuntimeMapLayer(layer); runMap.Layers.Add(runMapLayer); On creating the RuntimeMapLayer I get the following Error: error in XML

Re: [mapguide-users] Adding layer to runtimemap

2009-07-29 Thread Kenneth Skovhede, GEOGRAF A/S
Sounds strange. I'll look into it. Regards, Kenneth Skovhede, GEOGRAF A/S Gunter Becker skrev: Hi, I'm trying to add a layer to the runtimemap using the MaestroAPI: MapLayerType layer = layerArray[layerName]; RuntimeMapLayer runMapLayer = new RuntimeMapLayer(layer);

Re: [mapguide-users] Mapguide Studio

2009-07-29 Thread djonio
IMHO ... For the new or fairly new user MG Studio is a good tool. It really does help remove the confusion that you may experience w/all the new concepts and vocabulary. Once you have a reasonably good understanding of the architecture Maestro is far and away the better tool. It allows for

RE: [mapguide-users] Mapguide Studio

2009-07-29 Thread Jason Birch
I like Haris' tool too. Jackie Ng's FDO Toolbox is another awesome way of doing data inspection and translations via FDO. http://code.google.com/p/fdotoolbox/ Check out Jackie's blog for more info: http://themapguyde.blogspot.com/ Ooh. Just noticed that the new expression editor from

Re: [mapguide-users] Help regarding to set filter for a layer programmatically using Java

2009-07-29 Thread prbabu
Hi Kenneth, Can I say, the below step: 3) Save the LayerDefinition to a temp name (in the Session repository) means create a new MgLayer and then add the same to the layer collection? If yes, what about replacing the existing layer's filter? Do we need to delete the existing one and