RE: [mapguide-users] Query on Mapguide

2009-04-24 Thread Jackie Ng
You don't have to go that far anymore, if you're using the current version (2.0.2) changing one of the templates is enough. http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/ - Jackie Ivan Milicevic wrote: Selection color is hard coded, so you

RE: [mapguide-users] Query on Mapguide

2009-04-24 Thread Ivan Milicevic
Thank's Jackie!!! I didn't notice that. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Friday, April 24, 2009 8:12 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Query on

[mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread zolinko
Hi there, Can you tell me, how I should store point type geometry in an MSSQL server 2008 context? Which method is preferred: ODBC or MapGuide point type geometry? I use Mapguide 2010 Enterprise, so it has native support for MSSQL Spatial. Has anyone some experience in the theme? Thanks,

Re: [mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread Jackie Ng
There's probably some conversion overhead involved with ODBC points, that you won't have with native storage. Unless you need to have your SQL Server 2008 database interop with other systems (that can't understand SQL Server 2008 spatial data types), you should go native where possible. Also

Re: [mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread Zac Spitzer
well considering using a geometry allows the database to index them spatially it's going to be more useful that way right? z On Fri, Apr 24, 2009 at 6:12 PM, zolinko zoli...@freemail.hu wrote: Hi there, Can you tell me, how I should store point type geometry in an MSSQL server 2008 context?

Re: [mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread Bruno Scott
From my experience , displaying Point Geometry is way faster than displaying ODBC/X,Y. Bruno -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691239.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread zolinko
Thanks for the responses, I'll do some comparison test, and post the result. -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691374.html Sent from the MapGuide Users mailing list archive at Nabble.com.

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

2009-04-24 Thread susan Daniel
HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote:

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

2009-04-24 Thread Ivan Milicevic
Try this: script language=javascript function getsession() { var sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { var mapname=parent.parent.mapframe.GetMapName(); } /script From: mapguide-users-boun...@lists.osgeo.org

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

2009-04-24 Thread Ivan Milicevic
Colud you put alert(mgSessionId) after you define it in javascript function? What do you get in alert message? From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of susan Daniel Sent: Friday, April 24, 2009 12:15 PM To: MapGuide Users Mail

Re: [mapguide-users] Select and zoom to feature in Mapguide+Fusion

2009-04-24 Thread alba
hi Chris thank you very much for your answer it's very good for mg 2.0.2 but not for mg 2.0.1 I tested in both realizes the selectionXml is valid too. Sorry if you ask even more questions, but I need help 1. 'map.setSelection(sel, true)' is not valid for multi selections! In this case, how I

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

2009-04-24 Thread susan Daniel
hi... not getting the alert message.I don't know whether i did it in the right way regards susan On Fri, Apr 24, 2009 at 3:47 PM, Ivan Milicevic ivan.milice...@supranet.hrwrote: Colud you put alert(mgSessionId) after you define it in javascript function? What do you get in alert

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

2009-04-24 Thread Stefan Dalakov
These javascript.functions never get executed. I checked now, I added some alerts and they didn't show. susan Daniel wrote: HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com

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

2009-04-24 Thread Stefan Dalakov
You could use something like this (executed when window.php is loaded) document.myform.MAPNAME.value=parent.parent.mapFrame.GetMapName() ; Stefan susan Daniel wrote: hi..all Then what i have to do?Any solution to pass these sessionId and mapname regards susan On Fri, Apr

Re: [mapguide-users] Select and zoom to feature in Mapguide+Fusion

2009-04-24 Thread Albina Penitente
hi Chris thank you very much for your answer it's very good for mg 2.0.2 but not for mg 2.0.1 I tested in both realizes the selectionXml is valid too. Sorry if you ask even more questions, but I need help 1. 'map.setSelection(sel, true)' is not valid for multi selections! In this case, how I

RE: [mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread Martin Morrison
What you should be asking is really three different things. 1) ODBC 2) Native 3) MSSQL Spatial I think there would be a general consensus that ODBC would be the slowest performing of the three. Native is quick, it would be acceptable. In my opinion you should be looking at MSSQL Spatial, in

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

2009-04-24 Thread Jackie Ng
I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript {

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

2009-04-24 Thread susan Daniel
hi..all Then what i have to do?Any solution to pass these sessionId and mapname regards susan On Fri, Apr 24, 2009 at 3:24 PM, Stefan Dalakov s.dala...@mapware.netwrote: These javascript.functions never get executed. I checked now, I added some alerts and they didn't show.

[mapguide-users] Shortest Path

2009-04-24 Thread padmini godavarthi
Hi, iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1) i have to do the shortest path for road network 1)How is it possible in mapguide 2)I havea oracle procedure for this shortest path but i didn't know how to implement it in mapguide??? Can u tell me the procedure or any sample

[mapguide-users] Compile FDO 3.4.0 on Ubuntu

2009-04-24 Thread Cyril.S
Hi all, I'm trying to install Mapguide on Ubuntu 8.04, but i have some issues trying to build FDO. The script build_thirdparty.sh return this error, and i have no idea what is going wrong : libtool: compile: g++ -g -O2 -Wall -I/usr/local/OpenSource_FDO/Thirdparty/gdal/port

RE: [mapguide-users] Query on Mapguide

2009-04-24 Thread Jason Birch
http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 You will also want to modify your application pool's Advanced Settings (not sure it is called this on Vista) - under Process Model, set Idle Time-out to 0 minutes - under Recycling, set Disallow Overlapped Recycle to True The 2.1 installer

RE: [mapguide-users] Select and zoom to feature in Mapguide+Fusion

2009-04-24 Thread Chris Claydon
The API for the AJAX Viewer is not the same as that for Fusion. I believe some people have had success using the MapGuideViewerApi.js file provided as part of the Fusion framework to provide near-compatibility. It might be valuable to ask on this list (or on the fusion mailing list) how others

[mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-24 Thread Jonathan W
i recently saw that the Enterprise Mapguide site has been updated with brand new samples!! http://enterprise.mapguide.com/landing/index.php when I click on the link to download the sample applications it runs to 14% then tells me the server needs to reset. I have tried it multiple times on

RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-24 Thread Andy Morsell
I'm having the same problem. It stalls at different percent downloaded, but stalls nonetheless. The Flexible Web Layouts using Google Maps API is super cool and exactly what many of us have been waiting for. I'm looking forward to MGOS 2.1 being released in the near future so I can put this

RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-24 Thread Jason Birch
I'm sure Mike, Paul, Chris or someone else that actually knows what they're talking about will correct me if I'm wrong, but I'm pretty sure that if you're willing to install Fusion 2.0 on your own, you should be able to make it work with MapGuide 2.0.2. Jason -Original Message- From:

RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-24 Thread Andy Morsell
From following the discussions here, it had sounded like those who had tried to get Google Maps layers integrated into flexible layouts did not have full success. I also installed Fusion 2.0b and had miscellaneous problems so I reverted back to my most stable 1.0.1 with some manual fixes. I did

RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-24 Thread Chris Claydon
Fusion 2.0 is supposed to support Google layers simply by adding them to the ApplicationDefinition for the layout. I played with it a bit, but ran into problems and then ran out of time. The Fusion developers are aware of the issues, and I believe they are working on fixes. The samples that

RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-24 Thread Andy Morsell
Thanks Chris. I would prefer to go the Google layers overlaid on Fusion route so will explore that further. I was able to look at the index.html file for the GoogleSlate template on the MapGuide Enterprise demo page and it looks reasonably straight-forward. I'll have to setup another test