[mapguide-users] Change xml files using the mapguide viewer API or mapguide web API

2009-05-05 Thread Nick Sebastyan
Hi, It is possible using the MapGuide Viewer API Reference or the MapGuide Web API reference to change xml files that are located in the mapguide resource repository ? For example we have in the Samples that are provided from the MapGuide Open Source site in Sheboygan,

[mapguide-users] Filter Error

2009-05-05 Thread padmini godavarthi
Hi, iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1) Now my problem is In operator is not working in Setfilter option My code is as follows.. Dim queryoptions As MgFeatureQueryOptions = New MgFeatureQueryOptions()

Re: [mapguide-users] King.Oracle IN statement fails with a parenthesiserror WAS: Filter Error

2009-05-05 Thread Kenneth Skovhede, GEOGRAF A/S
One of my co-workers has seen the same issue, so it's likely a bug in the provider. Please create a bug report for the problem on the FDO site. A dirty workaround is to use: LINK_ID=170 OR LINK_ID=143 OR LINK_ID=150 Regards, Kenneth Skovhede, GEOGRAF A/S padmini godavarthi skrev: Hi, iam

Re: [mapguide-users] select the location on map

2009-05-05 Thread Stefan Dalakov
Hi Susan, this one for sure works : head script language=javascript function MyOnLoad () { document.myform.SESSION.value=parent.parent.mapFrame.GetSessionId();; document.myform.MAPNAME.value=parent.parent.mapFrame.GetMapName() ;; } /script /head body onLoad=MyOnLoad() form name=myform

[mapguide-users] Layer Zooming

2009-05-05 Thread padmini godavarthi
Hi Kenneth, Thanks for ur reply i achieved to do shortest path through oracle procedure and added to this result as a seperate layer on the map. But Now i want the functionality of Zoom to layer (i mean to this shortest path layer) How is it possible Plz tell me

Re: [mapguide-users] Layer Zooming

2009-05-05 Thread Kenneth Skovhede, GEOGRAF A/S
You need to get the extent of the layer, and then zoom to it. There are two extents in FDO, the spatial extents, and the combined object extents. For some providers, this is the same value, for others only one of the extents work. In other words, you have to handle both situations.

Re: [mapguide-users] Layer Zooming

2009-05-05 Thread padmini godavarthi
Hi Kenneth, Thank u very much foor ur quick response. i have seen ur code in php.. in this code after gettikg maxx,maxy,minx,miny waht i have to do/// i think i dont have necessity to create mapdefinition,web layout all these thinkgs

Re: [mapguide-users] Layer Zooming

2009-05-05 Thread padmini godavarthi
Hi Kenneth, Thank u very much foor ur quick response. i have seen ur code in php in this code after gettikg maxx,maxy,minx,miny waht i have to do/// i think i dont have necessity to create mapdefinition,web layout all these thinkgs right??? my code is as

Re: [mapguide-users] Layer Zooming

2009-05-05 Thread Kenneth Skovhede, GEOGRAF A/S
Correct, the mapdef + weblayout are created outside lines i mentioned. You have to call ZoomToView or similar: http://mapguide.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html#mapframe_zoomtoview The problem with that is that you need to calculate scale from the boundingbox, search the

RE: [mapguide-users] Filter Error

2009-05-05 Thread Haris Kurtagic
Which version of provider are using ? I remember that bug but it was solved sometime ago. I just tried with Fdo2Fdo and set Filter with IN and it works fine. Haris -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf

Re: [mapguide-users] Raster color map

2009-05-05 Thread Kenneth Skovhede, GEOGRAF A/S
Maestro always displays the same raster layer page, regardless of the underlying data. The bitonal image support is something inside the FDO provider, and it does nothing, if you have anything but bitonal images. AFAIK you cannot change raster colors in MapGuide. There is ongoing work to

Re: [mapguide-users] Filter Error

2009-05-05 Thread Kenneth Skovhede, GEOGRAF A/S
I was using the one that was included with FDO 3.3.2, I will try with a newer version at some point. Regards, Kenneth Skovhede, GEOGRAF A/S Haris Kurtagic skrev: Which version of provider are using ? I remember that bug but it was solved sometime ago. I just tried with Fdo2Fdo and set

Re: [mapguide-users] Raster color map

2009-05-05 Thread Dju
Ok so i need to specify a color map in the raster file and make the legend by myself is that it? -- View this message in context: http://n2.nabble.com/Raster-color-map-tp2796208p2798299.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] Raster color map

2009-05-05 Thread Dju
Or perhaps it is feasible with the GDAL library, modifying and reading the color palette? -- View this message in context: http://n2.nabble.com/Raster-color-map-tp2796208p2804740.html Sent from the MapGuide Users mailing list archive at Nabble.com.

RE: [mapguide-users] URL activated for feature

2009-05-05 Thread achectl
Thanks Andy It's work now! :clap: Andy Morsell wrote: I have fixed this problem on my Fusion installation in the past. You have to edit C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\widgets\Maptip.js . While one would think that you could change the behavior by

[mapguide-users] highlight an area in the map

2009-05-05 Thread Nisha P
Hi All... when i select a place in the database,that place should be highlighted in the map anybody have an idea regarding this? please help me... Thanks and regards Nisha P ___ mapguide-users mailing list mapguide-users@lists.osgeo.org

[mapguide-users] setting filter

2009-05-05 Thread susan Daniel
hi all. Anyone plzz help me to set the filter.I am having a feature source with properties(pan_id,Name.,etc..).Now I wanna select the polygon from the map having pan_id=ID. The ID will be entered from the task pane. Here is my code: *I copied it from dev guide..Then what is this

[mapguide-users] SetSelectionXML from opener

2009-05-05 Thread Jamo
I'm using opener.parent.mapFrame.SetSelectionXML(XML) to set the selection of the map from a search window. It selects one feature as requested, on the right layer however none of the properties pane is updated correctly? does the XML have to contain the properties as well?? this is

Re: [mapguide-users] Unique Identify for Feature

2009-05-05 Thread flakesns
i use this code-- $queryOptions-SetFilter($selectionString); $featureReader = $featureService-SelectFeatures($layerFeatureResource, $layerClassName, $queryOptions); $idProp = $featureReader-GetClassDefinition()-GetIdentityProperties(); $propCount = $idProp-GetCount(); for($j=0;