RE: [mapguide-users] OnSelection Event?
iframe does not have a name attribute, has a id attribute instead. Here is the modified code that is working for me var origOnSelectionChanged = null; function MySelectionHandler(){ origOnSelectionChanged(); var mapFrame = document.getElementById("viewerFrame").contentWindow.GetMapFrame(); var count = mapFrame.GetSelectedCount(); alert(count + " features selected"); } window.onload = function(){ var timer; var watch = function(){ try { var mapFrame = document.getElementById("viewerFrame").contentWindow.GetMapFrame(); if(mapFrame.mapInit){ clearInterval(timer); origOnSelectionChanged = mapFrame.parent.OnSelectionChanged; mapFrame.parent.OnSelectionChanged = MySelectionHandler; } } catch(e) { } }; timer = setInterval(watch, 200); }; document.getElementById("viewerFrame").contentWindow - this returned Window ajaxviewer.aspx?SESSION=86381ee6---8000-001ec9fcf959_en_90C340330AF20AF10AF0&WEBLAYOUT=Library:///x//xxx.WebLayout and this is the only way I was able to get a reference to GetMapFrame() function. document.getElementById("viewerFrame").contentWindow.GetMapFrame() - this returned Window mapframe.aspx?MAPDEFINITION=Library%3a%2f%2f%2f%2fMap%2f.MapDefinition&TYPE=HTML&SHOWLEGEND=0&SHOWPROP=0&INFOWIDTH=0&LOCALE=en&HLTGT=1&HLTGTNAME=&SHOWSLIDER=1&SESSION=11fc683c--1000-8000-001ec9fcf959_en_90C340330AF20AF10AF0 also I had to use .parent to get OnSelectionChanged Event. Out of curiosity, I also tried this in dotnetviewersample.aspx. It worked. There I can replace document.getElementById("viewerFrame").contentWindow with viewerFrame.contentWindow. Looks like this is a difference between iframe and Frameset. Thanks for the responses. - Jackie Ng wrote: > > you can't use document.getElementById() to access frames, you have to > reference the frame with a variable of the same name, and your > frame/iframe must have its "name" attribute defined > > - Jackie > > > clarkie342 wrote: >> >> After posting my question I did find a reference to the sample you have >> sent below. It was well explained, but it did not work with my code. So I >> tried to add it to the of the dotnetviewersample.aspx. It did not >> work their either. >> >> The problem with my code as I noticed is this javascript is not able to >> get a reference to my viewer frame. >> As I mentioned I am using an iframe with id 'viewerFrame'. My app uses >> master pages and this iframe is inside a contentplaceholder. I also tried >> >> document.getElementById(“viewerFrame”).contentWindow.GetMapFrame(); >> >> came back as object not found. Am I working with the right issues or is >> it all supposed to work irrespective of the frame type? Thanks for any >> help. >> >> >> Jackie Ng wrote: >>> >>> This is javascript code that hooks onto events from the viewer frame. >>> >>> So the code should go in the page that launches the viewer frame. >>> >>> A more detailed explaination here: >>> http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking >>> >>> - Jackie >>> >>> >>> clarkie342 wrote: Hi Jason, I am trying to implement your suggestion below to make use of the OnSelectionChanged Event Handler in mainframe.templ I have a asp.net page with iframe showing a mapguide map. I want to be able to do bunch of things when the user selects features on this map. I am not very clear on how you are implementing your SelectionChanged function instead of the original one. Where should this script go? Appreciate your help. Thanks Jason Birch wrote: > > > There is an OnSelectionChanged function in the main frame, but it > doesn't appear to be documented. > > I've just tried playing around with this, and I got the following to > work when inserted into the of the ajaxviewersample.php file. > It does not appear to work with the DWF viewer; maybe why it's not > documented? Or it could just be that my code is bad :) > > > > var originalOnSelectionChanged; > var initTimer = setInterval(watchInitialized, 200); > > function watchInitialized () { > try { > if(ViewerFrame.mapFrame.mapInit) > { >clearInterval(initTimer); >originalOnSelectionChanged = ViewerFrame.OnSelectionChanged; >ViewerFrame.OnSelectionChanged = MyOnSelectionChangedHandler; > } >} >catch(Exception) {} > } > > function MyOnSelectionChangedHandler() { >originalOnSelectionChanged (); >var mapFrame =
[mapguide-users] RE: Theme layer application - point feature layers
The sample code generates elements in a layer definition, and therefore applies only to polygon styles. It should be relatively easy to modify it to handle point layers and styles instead. From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Arnaud De Groof Sent: Friday, January 09, 2009 2:49 AM To: MapGuide Users Mail List Subject: [mapguide-users] Theme layer application - point feature layers Hello, Is it possible to use the application "Theme Layer" with point feature layers? The code sample (phpviewersample/theme) allows only selecting the polygon feature layers. Thanks, Arnaud De Groof E-MAIL DISCLAIMER The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden. SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free. Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail. SPACEBEL denies all liability where E-mail is used for private use. SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Using MapGuide on multi-core server?
I believe MapGuide Server itself will benefit from multi-CPU's, but some of the FDO providers (GDAL for example) are single-threaded and will not take advantage of the extra CPU's so that could be a bottleneck. Developers, please correct me if I'm wrong on this. Andy Morsell, P.E. Spatial Integrators, Inc. www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of David Hequet Sent: Friday, January 09, 2009 7:10 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Using MapGuide on multi-core server? Hi, I have a customer who wan't to improve MapGuide perfomance. He want to install it on a server with 16 cpu cores. Does MapGuide profit from that? Ps: the OS is Window 2003 server Thank you, David -- View this message in context: http://n2.nabble.com/Using-MapGuide-on-multi-core-server--tp2133607p2133607. html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] OnSelection Event?
you can't use document.getElementById() to access frames, you have to reference the frame with a variable of the same name, and your frame/iframe must have its "name" attribute defined - Jackie clarkie342 wrote: > > After posting my question I did find a reference to the sample you have > sent below. It was well explained, but it did not work with my code. So I > tried to add it to the of the dotnetviewersample.aspx. It did not > work their either. > > The problem with my code as I noticed is this javascript is not able to > get a reference to my viewer frame. > As I mentioned I am using an iframe with id 'viewerFrame'. My app uses > master pages and this iframe is inside a contentplaceholder. I also tried > > document.getElementById(“viewerFrame”).contentWindow.GetMapFrame(); > > came back as object not found. Am I working with the right issues or is it > all supposed to work irrespective of the frame type? Thanks for any help. > > > Jackie Ng wrote: >> >> This is javascript code that hooks onto events from the viewer frame. >> >> So the code should go in the page that launches the viewer frame. >> >> A more detailed explaination here: >> http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking >> >> - Jackie >> >> >> clarkie342 wrote: >>> >>> Hi Jason, >>> >>> I am trying to implement your suggestion below to make use of the >>> OnSelectionChanged Event Handler in mainframe.templ >>> I have a asp.net page with iframe showing a mapguide map. I want to be >>> able to do bunch of things when the user selects features on this map. >>> I am not very clear on how you are implementing your SelectionChanged >>> function instead of the original one. Where should this script go? >>> Appreciate your help. >>> >>> Thanks >>> >>> >>> Jason Birch wrote: There is an OnSelectionChanged function in the main frame, but it doesn't appear to be documented. I've just tried playing around with this, and I got the following to work when inserted into the of the ajaxviewersample.php file. It does not appear to work with the DWF viewer; maybe why it's not documented? Or it could just be that my code is bad :) var originalOnSelectionChanged; var initTimer = setInterval(watchInitialized, 200); function watchInitialized () { try { if(ViewerFrame.mapFrame.mapInit) { clearInterval(initTimer); originalOnSelectionChanged = ViewerFrame.OnSelectionChanged; ViewerFrame.OnSelectionChanged = MyOnSelectionChangedHandler; } } catch(Exception) {} } function MyOnSelectionChangedHandler() { originalOnSelectionChanged (); var mapFrame = ViewerFrame.GetMapFrame(); selCount = mapFrame.GetSelectedCount(); alert("Selected: " + selCount); } From: Willem Schwarte [mailto:wil...@giskit.nl] Subject: [mapguide-users] OnSelection Event? I suppose there is no onSelectionChanged event like in MG6.5. So this would be done on a onClick? Where would I put the code for this? - To unsubscribe, e-mail: users-unsubscr...@mapguide.osgeo.org For additional commands, e-mail: users-h...@mapguide.osgeo.org >>> >>> >> >> > > -- View this message in context: http://n2.nabble.com/OnSelection-Event--tp1804304p2134420.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Thematic Mapping
Most of the interesting code for the Theme sample is in the files thememain.aspx and classes/theme.aspx Thememain.aspx handles most of the UI Theme.aspx contains the methods to retrieve required information from MapGuide, and to generate the new themed layer. The key method is ApplyTheme() which retrieves an existing MapGuide layer definition, removes the existing theme configuration, and replaces it with the one defined by the user. It then adds this new layer definition to the map so that it can be displayed. I would highly recommend consulting the MapGuide Web Tier API documentation to help in understanding the code. Chris. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of padmini godavarthi Sent: Thursday, January 08, 2009 11:54 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Thematic Mapping Hi, iam using Mapguide opensource 2.0 (with .net 2.0 (C#) and IIS 5.1) Now i want to do the thematic mapping based on parcel id programmetically. i saw dotnetviewersample application (Theme)its working fine. but i didn't get the flow of the concept can any one plz tell me the procedure and explain the thematic concept in dotnetviewer sample application so that it will be very helpful to me. Thanks and Regards, Padmini. -- View this message in context: http://n2.nabble.com/Thematic-Mapping-tp2132051p2132051.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] OnSelection Event?
After posting my question I did find a reference to the sample you have sent below. It was well explained, but it did not work with my code. So I tried to add it to the of the dotnetviewersample.aspx. It did not work their either. The problem with my code as I noticed is this javascript is not able to get a reference to my viewer frame. As I mentioned I am using an iframe with id 'viewerFrame'. My app uses master pages and this iframe is inside a contentplaceholder. I also tried document.getElementById(“viewerFrame”).contentWindow.GetMapFrame(); came back as object not found. Am I working with the right issues or is it all supposed to work irrespective of the frame type? Thanks for any help. Jackie Ng wrote: > > This is javascript code that hooks onto events from the viewer frame. > > So the code should go in the page that launches the viewer frame. > > A more detailed explaination here: > http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking > > - Jackie > > > clarkie342 wrote: >> >> Hi Jason, >> >> I am trying to implement your suggestion below to make use of the >> OnSelectionChanged Event Handler in mainframe.templ >> I have a asp.net page with iframe showing a mapguide map. I want to be >> able to do bunch of things when the user selects features on this map. >> I am not very clear on how you are implementing your SelectionChanged >> function instead of the original one. Where should this script go? >> Appreciate your help. >> >> Thanks >> >> >> Jason Birch wrote: >>> >>> >>> There is an OnSelectionChanged function in the main frame, but it >>> doesn't appear to be documented. >>> >>> I've just tried playing around with this, and I got the following to >>> work when inserted into the of the ajaxviewersample.php file. It >>> does not appear to work with the DWF viewer; maybe why it's not >>> documented? Or it could just be that my code is bad :) >>> >>> >>> >>> var originalOnSelectionChanged; >>> var initTimer = setInterval(watchInitialized, 200); >>> >>> function watchInitialized () { >>> try { >>> if(ViewerFrame.mapFrame.mapInit) >>> { >>>clearInterval(initTimer); >>>originalOnSelectionChanged = ViewerFrame.OnSelectionChanged; >>>ViewerFrame.OnSelectionChanged = MyOnSelectionChangedHandler; >>> } >>>} >>>catch(Exception) {} >>> } >>> >>> function MyOnSelectionChangedHandler() { >>>originalOnSelectionChanged (); >>>var mapFrame = ViewerFrame.GetMapFrame(); >>>selCount = mapFrame.GetSelectedCount(); >>>alert("Selected: " + selCount); >>> } >>> >>> >>> >>> >>> >>> >>> >>> From: Willem Schwarte [mailto:wil...@giskit.nl] >>> Subject: [mapguide-users] OnSelection Event? >>> >>> >>> I suppose there is no onSelectionChanged event like in MG6.5. So this >>> would be done on a onClick? Where would I put the code for this? >>> >>> >>> >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@mapguide.osgeo.org >>> For additional commands, e-mail: users-h...@mapguide.osgeo.org >>> >> >> > > -- View this message in context: http://n2.nabble.com/OnSelection-Event--tp1804304p2134359.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] RE: Fusion Selection value interpretation of url
Can you provide more details about how and where you are configuring this URL link? From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Arnaud De Groof Sent: Friday, January 09, 2009 8:29 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Fusion Selection value interpretation of url Hi, I have a problem with the interpretation of the value (here an url) of an attribute. With the basic WebLayout, the url is successfully interpreted (the value in the viewer is "click here") but with the fusion FlexibleLayout the value is not correctly translated (the value in the viewer is Click here). Please would you like to help me to resolve the following issue? Thanks, Arnaud De Groof E-MAIL DISCLAIMER The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden. SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free. Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail. SPACEBEL denies all liability where E-mail is used for private use. SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Mapguide on a CD ?
No, you can run it from within VMWare Player: http://www.vmware.com/products/player/ The required VMWare config is available in this directory: http://download.osgeo.org/mapguide/livecd/ You would have to modify the LiveCD to contain your files though; I doubt that this would be a reasonable solution for you. MapGuide's a fairly heavy system to be running off a USB drive. It could technically be possible though, running the service from the command line and with extensive changes to the config files. Not especially easy to manage if it is, as you don't have control over what drive letter gets assigned to the USB drive. Jo Cook has done some really neat work setting up GIS on a USB stick: http://www.archaeogeek.com/blog/portable-gis/ Jason -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jamo Sent: January-08-09 6:54 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Mapguide on a CD ? I am looking at running from within windows By live cd on ubuntu that would require the system to boot up from cd using ubuntu ? I have nothing against ubuntu or linux but I'm already stretching my friendship with our it department... They will not allow various OS to load on any of our pcs... zspitzer wrote: > > there is already a mapguide live cd with 2.0.1 on ubuntu > > http://mapguide.osgeo.org/node/127 > > z > > On Fri, Jan 9, 2009 at 1:35 PM, Jamo wrote: >> >> Just Curious at the moment, I'm looking at ways of giving users the >> ability >> to use mapguide from a CD ? >> It would have to run under Windows not a live boot . >> >> I've found This information which sort of helps? has anyone tried >> this >> before? >> >> http://www.wellho.co.uk/solutions/general-windows-running-apache-and-mys ql-from-a-cd.html >> >> I would settle for a USB Flash drive that can read / write data... >> >> I'm guessing I need to change some variables in the serverconfig.ini and >> httpd.conf(Anyone know what I might need to change) ? I've also seen some >> mods to the apache server that allow ASP .Net to run under it :) This >> will >> make things a little easier as I've been writting in ASP .Net thus far :) >> >> Basically thinking about field reports and the like, I'd like to be able >> to >> load a series of SDFs onto a flash drive and let the user go out in the >> field with a gps unit, find where they are and see there location in >> mapguide (basically trying to keep the interface the user is using the >> same >> throughout rather than bring in tons of different apps), create some >> forms >> that the user can edit data in the SDF then when they come back batch >> update >> the information that has been changed :) >> >> This is a long way away but knowing it's possible is always good to keep >> in >> the back of my head >> -- >> View this message in context: >> http://n2.nabble.com/Mapguide-on-a-CD---tp2131494p2131494.html >> Sent from the MapGuide Users mailing list archive at Nabble.com. >> >> ___ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > > > > -- > Zac Spitzer - > http://zacster.blogspot.com > +61 405 847 168 > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/Mapguide-on-a-CD---tp2131494p2131537.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Fusion Selection value interpretation of url
Hi, I have a problem with the interpretation of the value (here an url) of an attribute. With the basic WebLayout, the url is successfully interpreted (the value in the viewer is "click here") but with the fusion FlexibleLayout the value is not correctly translated (the value in the viewer is Click here). Please would you like to help me to resolve the following issue? Thanks, Arnaud De Groof ___ E-MAIL DISCLAIMER The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden. SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free. Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail. SPACEBEL denies all liability where E-mail is used for private use. SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Using MapGuide on multi-core server?
Hi, I have a customer who wan't to improve MapGuide perfomance. He want to install it on a server with 16 cpu cores. Does MapGuide profit from that? Ps: the OS is Window 2003 server Thank you, David -- View this message in context: http://n2.nabble.com/Using-MapGuide-on-multi-core-server--tp2133607p2133607.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
thanks a lot for your help... i'll post my finding on the forum for futher reference On Fri, Jan 9, 2009 at 5:41 PM, Zac Spitzer wrote: > search in serverconfig.ini under server/bin > > On Fri, Jan 9, 2009 at 11:29 PM, Atika Irfan > wrote: > > > > > > On Fri, Jan 9, 2009 at 5:26 PM, Zac Spitzer > wrote: > >> > >> you could turn on the trace log, that might show something up... > >> sorry i am not too familiar .how to turn trace log on ? > > > > ___ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > -- > Zac Spitzer - > http://zacster.blogspot.com > +61 405 847 168 > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
search in serverconfig.ini under server/bin On Fri, Jan 9, 2009 at 11:29 PM, Atika Irfan wrote: > > > On Fri, Jan 9, 2009 at 5:26 PM, Zac Spitzer wrote: >> >> you could turn on the trace log, that might show something up... >> sorry i am not too familiar .how to turn trace log on ? > > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
On Fri, Jan 9, 2009 at 5:26 PM, Zac Spitzer wrote: > you could turn on the trace log, that might show something up... > sorry i am not too familiar .how to turn trace log on ? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
you could turn on the trace log, that might show something up... z On Fri, Jan 9, 2009 at 11:15 PM, Atika Irfan wrote: > nothing in the error log... its a access DB having 2 tables ... i am using > one of them via ODBC datasource to make 4 layers by applying filters after > making a featuresource but i have noticed that if i use anyone of the > layers in my search command to search the data the server starts crashes > after 1/2 sucessfull results cant understand why ? > > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
nothing in the error log... its a access DB having 2 tables ... i am using one of them via ODBC datasource to make 4 layers by applying filters after making a featuresource but i have noticed that if i use anyone of the layers in my search command to search the data the server starts crashes after 1/2 sucessfull results cant understand why ? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
the server shouldn't crash, it should just be slower, tho with a database the filtering should peform better than sdf/shp which only have a spatial index anything showing up in the error log? r u using 2.0.2? which db? z On Fri, Jan 9, 2009 at 9:48 PM, Atika Irfan wrote: > thanks a lot for the reply so if we have a single database then we > should have mutiple datasources aginst it & then mutiple feature sources > which relate to a layer individually ... do you think server crashing might > be related to this issue ? > > > On Fri, Jan 9, 2009 at 3:45 PM, Zac Spitzer wrote: >> >> theming into a single layer is more efficient than filtering into lots of >> layers >> >> On Fri, Jan 9, 2009 at 9:35 PM, Atika Irfan wrote: >> > hi, >> > can we have mutiple layers against single feature source ..i mean that >> > we >> > pull all the data from the database using one feature source then split >> > it >> > to make mutiple layers by applying filters is it a fine or we should >> > have >> > seperate feature source against each layer.. it looks like its >> > crashing >> > the server ...any help? >> > ___ >> > mapguide-users mailing list >> > mapguide-users@lists.osgeo.org >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > >> > >> >> >> >> -- >> Zac Spitzer - >> http://zacster.blogspot.com >> +61 405 847 168 >> ___ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
thanks a lot for the reply so if we have a single database then we should have mutiple datasources aginst it & then mutiple feature sources which relate to a layer individually ... do you think server crashing might be related to this issue ? On Fri, Jan 9, 2009 at 3:45 PM, Zac Spitzer wrote: > theming into a single layer is more efficient than filtering into lots of > layers > > On Fri, Jan 9, 2009 at 9:35 PM, Atika Irfan wrote: > > hi, > > can we have mutiple layers against single feature source ..i mean that we > > pull all the data from the database using one feature source then split > it > > to make mutiple layers by applying filters is it a fine or we should have > > seperate feature source against each layer.. it looks like its > crashing > > the server ...any help? > > ___ > > mapguide-users mailing list > > mapguide-users@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > > > > -- > Zac Spitzer - > http://zacster.blogspot.com > +61 405 847 168 > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] mutiple layers against single feature source
theming into a single layer is more efficient than filtering into lots of layers On Fri, Jan 9, 2009 at 9:35 PM, Atika Irfan wrote: > hi, > can we have mutiple layers against single feature source ..i mean that we > pull all the data from the database using one feature source then split it > to make mutiple layers by applying filters is it a fine or we should have > seperate feature source against each layer.. it looks like its crashing > the server ...any help? > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] mutiple layers against single feature source
hi, can we have mutiple layers against single feature source ..i mean that we pull all the data from the database using one feature source then split it to make mutiple layers by applying filters is it a fine or we should have seperate feature source against each layer.. it looks like its crashing the server ...any help? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Theme layer application - point feature layers
Hello, Is it possible to use the application "Theme Layer" with point feature layers? The code sample (phpviewersample/theme) allows only selecting the polygon feature layers. Thanks, Arnaud De Groof ___ E-MAIL DISCLAIMER The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden. SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free. Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail. SPACEBEL denies all liability where E-mail is used for private use. SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Adding a temporary Layer in MapGuide
You need several steps. 1. Create a temporary FeatureSource for an SDF 2. Insert data into the temporary FeatureSource 3. Create a temporary LayerDefinition that points to the temporary FeatureSource 4. Insert the temporary layer into the runtime map 5. Refresh the map This is a generic recipe for building dynamic layers, redlining, buffering, etc. There exist code that does this in the "buffer" function used in the basic AJAX viewer. Look at the "buffer.[php,aspx,jsp]" file in: C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapviewer[php,net,jsp] If you have trouble with one of the steps, please ask again. An easier way of dealing with it would be to create a layer that displays ALL points. Then use the SQL WHERE statement as the layers "filter" property. This approach obviously has some limitations. Regards, Kenneth Skovhede, GEOGRAF A/S Carmelo Saffioti skrev: Hi everybody! I hope you can help me about this problem I'm having since several days: 1) having x,y coordinates of a point, resulting from a sql query, how can I display it at runtime on the map? 2) having x,y coordinates of a sequence of points, resulting from a sql query, how can I display them at runtime on the map? I really hope you can help me with that Thank you very much in advance Carmelo ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users