[mapguide-users] Advanced search of layer using MgFeatureQueryOptions() not working
Hi I'm querying a layer with information which works well but doesnt give me the data in a format I need. If I use the following I get a list of all my address where the column c_address contains high street which is superb but I then want to sort the order by c_ref. This works to just bring back the results: $queryOptions = new MgFeatureQueryOptions(); $filterQuery = c_address LIKE '%high street%'; $queryOptions-SetFilter($filterQuery); Adding ORDER BY c_ref DESC doesnt seem to do anything: $queryOptions = new MgFeatureQueryOptions(); $filterQuery = c_address LIKE '%high street%' ORDER BY c_ref DESC; $queryOptions-SetFilter($filterQuery); Is there a way to do an advanced query or am I just missing something simple? Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-using-MgFeatureQueryOptions-not-working-tp4978840p4978840.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] Re: Reprojet Oracle layer
just make sure your using a correct srid :) On 29 April 2010 18:13, Jackie Ng jumpinjac...@gmail.com wrote: The layer just has to belong to the map. MapGuide will do the re-projection on-the-fly when rendering your map. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reprojet-Oracle-layer-tp4978013p4978836.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 Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au 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] Re: Trouble getting started
It is interesting to note that there are no modules loaded from mapguide, in your module list. You should have the following plus the FDO modules in the server/bin directory and they should be loaded and should show in your modules list. The mgserver service is running but I have no clue why mapguide hasnt loaded these modules. A corrupt install maybe??? Have you tried reinstalling. If not you can try doing that or wait for people more experienced with the code base to respond with a solution. You can also check if you have a lock file, it would be hidden, I think. Also before running mgserver from the command line did you stop the service, and make sure that mgserver.exe wasn't running? If not, do that and post the output. Regards Rohit -- Modules in server/bin/ 20-09-2008 04:19 1,007,616 gd.dll 20-09-2008 04:16 884,736 libdb45.dll 20-09-2008 04:22 1,462,272 libdbxml23.dll 20-09-2008 04:24 602,112 MgFoundation.dll 20-09-2008 04:25 1,396,736 MgGeometry.dll 20-09-2008 04:24 122,880 MgGwsCommon.dll 20-09-2008 04:25 413,696 MgGwsQueryEngine.dll 20-09-2008 04:2433,792 MgGwsResource.dll 20-09-2008 04:26 802,816 MgMapGuideCommon.dll 20-09-2008 04:24 282,624 MgMdfModel.dll 20-09-2008 04:25 430,080 MgMdfParser.dll 20-09-2008 04:26 516,096 MgPlatformBase.dll 20-09-2008 04:27 1,859,584 MgRenderers.dll 20-09-2008 04:28 249,856 mgserver.exe 20-09-2008 04:27 290,816 MgServerAdminService.dll 20-09-2008 04:2681,920 MgServerBase.dll 20-09-2008 04:2665,536 MgServerCache.dll 20-09-2008 04:27 991,232 MgServerDrawingService.dll 20-09-2008 04:26 1,454,080 MgServerFeatureService.dll 20-09-2008 04:28 172,032 MgServerKmlService.dll 20-09-2008 04:26 823,296 MgServerManager.dll 20-09-2008 04:28 344,064 MgServerMappingService.dll 20-09-2008 04:28 204,800 MgServerRenderingService.dll 20-09-2008 04:27 2,199,552 MgServerResourceService.dll 20-09-2008 04:27 282,624 MgServerSiteService.dll 20-09-2008 04:2512,288 MgServerThread.dll 20-09-2008 04:27 143,360 MgServerTileService.dll 20-09-2008 04:27 573,440 MgStylization.dll 20-09-2008 04:29 1,802,240 MgUnitTesting.dll 20-09-2008 04:23 233,472 proj.dll 17-04-2010 16:5326,285 serverconfig.ini 20-09-2008 04:17 1,892,352 xerces-c_2_7.dll 20-09-2008 04:20 2,580,480 xqilla10.dll 2010/4/29 不想長大 馬斯 maxi0...@hotmail.com: Dear Rohit, Here they are, my system info(s). thank you for helping me. Date: Wed, 28 Apr 2010 16:27:54 +0530 Subject: Re: [mapguide-users] Re: Trouble getting started From: rrraz...@gmail.com To: mapguide-users@lists.osgeo.org Hey Maxi, Can you reboot, wait for a while for the delayed services to start, and then run msinfo32.exe? You can either attach the saved .nfo file or if you have privacy/other concerns, export software environment//environment variables, software environment//Running Tasks, software environment//Services, software environment//Loaded Modules into text files and attach them, to your reply. Regards Rohit On Wed, Apr 28, 2010 at 3:12 PM, Jackie Ng jumpinjac...@gmail.com wrote: Maybe there's a stray mgserver.exe process running? Other than that I have no idea. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Trouble-getting-started-tp4209353p4973566.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 Hotmail 信箱採用微軟資訊安全技術 現在就使用 ___ 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] Re: Advanced search of layer using MgFeatureQueryOptions() not working
It's ok I've found out how, here is the code if it helps anyone else... // set ordering $stringCollection = new MgStringCollection(); $stringCollection-Add(c_ref); // SORT FIELD $queryOptions-SetOrderingFilter($stringCollection, MgOrderingOption::Descending); // SORT Asc or Desc -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-using-MgFeatureQueryOptions-not-working-tp4978840p4979210.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] Show help on a specific feature when selected
Hi Is there any way I can show help information based only on what layer (s) the user has selected? I would like for example when the user clicks on my Tree Preservation Orders layer to then perhaps show help specific to that layer in the right hand pane? For example the text : Although this layer displays Tree Preservation Orders it does not necessarily mean that trees outside of the order are not protected by a different order. Please contact us for clarification on your tree before commencing work. Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.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] Show help on a specific feature when selected
I think what you are looking for is the functionality in http://data.mapguide.com/mapguide/devguide/index.php -- Map Layers section Full source is at http://data.mapguide.com/mapguide/devguide/common/viewsource.php?FILENAME=D%3A\MapGuideOpenSourceWeb\www\devguide\INTERACTING_WITH_LAYERS%2Flayer_visibility.php relevant code $resourceService = $siteConnection- CreateService(MgServiceType::ResourceService); $map = new MgMap(); $map-Open($resourceService, $mapName); $layers = $map-GetLayers(); for ($i = 0; $i $count; $i++) { $layer = $layers-GetItem($i); $lname = $layer-GetName(); $visibility= $layer-GetVisible(); //insert layer specific code here } HTH. Rohit On Thu, Apr 29, 2010 at 3:34 PM, shepwaydistrictcouncil neil.thomp...@shepway.gov.uk wrote: Hi Is there any way I can show help information based only on what layer (s) the user has selected? I would like for example when the user clicks on my Tree Preservation Orders layer to then perhaps show help specific to that layer in the right hand pane? For example the text : Although this layer displays Tree Preservation Orders it does not necessarily mean that trees outside of the order are not protected by a different order. Please contact us for clarification on your tree before commencing work. Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.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] Re: How to bring Task Pane back?
This works for us with MGOS 2.1 Setup a couple Invoke Script items for the toolbar. Put this code in the OPEN: SetTaskBarWidth(orgTaskBarWidth); Put this code in the CLOSE: SetTaskBarWidth(0); Get yourself some nifty icons ... blah..blah r, dennis -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-bring-Task-Pane-back-tp4976596p4979322.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] Show help on a specific feature when selected
You could add hyperlinks to the legend. I have found this to be a very useful way to display Meta Data. You just need to put an anchor tag in the legend display. Note that there are two other minor changes that need to be made in the templ files I believe but I am unable to check that right now. Once I am back in the office, I can send you the changes. Regards, Jonathon From: shepwaydistrictcouncil neil.thomp...@shepway.gov.uk To: mapguide-users@lists.osgeo.org Sent: Thu, April 29, 2010 3:04:44 AM Subject: [mapguide-users] Show help on a specific feature when selected Hi Is there any way I can show help information based only on what layer (s) the user has selected? I would like for example when the user clicks on my Tree Preservation Orders layer to then perhaps show help specific to that layer in the right hand pane? For example the text : Although this layer displays Tree Preservation Orders it does not necessarily mean that trees outside of the order are not protected by a different order. Please contact us for clarification on your tree before commencing work. Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.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] RE: Show help on a specific feature when selected
That would be great, many thanks Jonathon regards Neil Neil Thompson Analyst/Programmer Systems Development Corporate Services Shepway District Council, Folkestone, Kent. Direct Tel: 01303 853340 Direct Fax: 01303 245978 E-Mail: neil.thomp...@shepway.gov.uk mailto:neil.thomp...@shepway.gov.uk Website: www.shepway.gov.uk http://www.shepway.gov.uk/ _ The contents and any attachments of this e-mail message are confidential and intended only for the named addressees. If you have received it in error, please advise the sender immediately by return email and then delete it from your system. Any unauthorised distribution, or copying of this transmission, or mis-use or wrongful disclosure of information contained in it, is strictly prohibited. Shepway District Council cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of the council. _ -Original Message- From: jonnie...@pat [via OSGeo.org] [mailto:ml-node+4980228-1775456670-224...@n2.nabble.com] Sent: 29 April 2010 15:20 To: Thompson, Neil Subject: Re: Show help on a specific feature when selected You could add hyperlinks to the legend. I have found this to be a very useful way to display Meta Data. You just need to put an anchor tag in the legend display. Note that there are two other minor changes that need to be made in the templ files I believe but I am unable to check that right now. Once I am back in the office, I can send you the changes. Regards, Jonathon _ From: shepwaydistrictcouncil [hidden email] To: [hidden email] Sent: Thu, April 29, 2010 3:04:44 AM Subject: [mapguide-users] Show help on a specific feature when selected Hi Is there any way I can show help information based only on what layer (s) the user has selected? I would like for example when the user clicks on my Tree Preservation Orders layer to then perhaps show help specific to that layer in the right hand pane? For example the text : Although this layer displays Tree Preservation Orders it does not necessarily mean that trees outside of the order are not protected by a different order. Please contact us for clarification on your tree before commencing work. Thanks Neil -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4979242.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapguide-users _ View message @ http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4980228.html To unsubscribe from Show help on a specific feature when selected, click http://osgeo-org.1803224.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=bmVpbC50aG9tcHNvbkBzaGVwd2F5Lmdvdi51a3w0OTc5MjQyfC05ODY1NTk2Njk= here. --- The contents and any attachments of this e-mail message are confidential and intended only for the named addressees. If you have received it in error, please advise the sender immediately by return email and then delete it from your system. Any unauthorised distribution, or copying of this transmission, or mis-use or wrongful disclosure of information contained in it, is strictly prohibited. Shepway District Council cannot accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of the council. --- This message has been scanned with email filtering and virus detection software by Shepway District Council --- -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-help-on-a-specific-feature-when-selected-tp4979242p4980279.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] Re: Opening an image in an image editor
Silly question but do you have an I drive mapped on the mg server? The second issue with using a network drive is that the process, in this case the IIS user account won't have permissions to network resources. You will have to grant those permissions on the mapped drive. As to the secondary map approach if the images were all geo-referenced then you wouldn't be viewing the whole map, it would just be a spatial query which would be quick and only return the necessary portion of the images. However since they aren't geo-referenced this won't work. Dave -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of EnvCADGuy Sent: Wednesday, April 28, 2010 12:54 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: Opening an image in an image editor The scanned aerials I'm trying to reference are not geo-referenced. What I meant was, along with the scanned aerials I'm trying to reference, I will also have more recent geo-referenced aerials available with this mapguide site. The aerials I'm trying to reference are from 1936-1995. In all, there's around 400 GB of aerials I'm making available to view through MG. Even if I was able to make them into a map, that map would be so large that it would take an hour for someone to view. So it is easier to open individual scanned images. I tried adding file:// to the path, but this is the error message I get: http://n2.nabble.com/forum/FileDownload.jtp?type=nid=4976142name=Error_Image.bmp -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Opening-an-image-in-an-image-editor-tp4965133p4976142.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] Re: Reprojet Oracle layer
Your messages are only being seen by Nabble users. Please use the option at the top of the MapGuide forum to subscribe to the mailing list so your messages can be seen by all. You can turn off email delivery after subscribing. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reprojet-Oracle-layer-tp4978013p4981008.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: Reprojet Oracle layer
Thank you verymuh sir -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reprojet-Oracle-layer-tp4978013p4981127.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] Re: Advanced search of layer using MgFeatureQueryOptions() not working
Just be aware that not all FDO providers support the SelectOrdering capability. Jason On 29 April 2010 02:57, shepwaydistrictcouncil wrote: It's ok I've found out how, here is the code if it helps anyone else... ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Re: New Map Project and Admin Fustrations
We are running Windows Server SE SP2. On Wed, Apr 28, 2010 at 5:23 PM, spatialminds [via OSGeo.org] ml-node+4977654-188814329-523...@n2.nabble.comml-node%2b4977654-188814329-523...@n2.nabble.com wrote: What operating system is your server running? Windows Server 2003 SBS, for example, comes with a secondary firewall that has to be configured. Are you able to view a simple static html page via the web? Craig On Wed, Apr 28, 2010 at 3:55 PM, J. Hjelmberg [hidden email]http://user/SendEmail.jtp?type=nodenode=4977654i=0 wrote: All, My name is Josh Hjelmberg. I am a student at Chemeketa Community College in Salem Oregon, and I have recently taken over their Map Guide Project. The systems manager for the Drafting department here has been working on this from time to time over the last year or so and I have been assigned to work on it as he doesn't have alot of time to focus on it right now. We are running a 2003 Virtual Server with MGOS 2.1 and Maestro 2.0 installed on it, as well as Autocad Map 3d and IIS 6.0. I have managed to get the raster images to display and allow Autocad Map 3d to post to it from server, but I still can't get IIS configured right to allow viewing the map from the web. Everything I have tried either ends up as a 404 or 403 error. I know I am missing something, but it seems to be escaping me at the moment, so I thought I would reach out to you. Any help would be appriciated of course. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/New-Map-Project-and-Admin-Fustrations-tp4977388p4977388.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=4977654i=1 http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Craig Miller Geospatial Software Architect ___ mapguide-users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=4977654i=2 http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View message @ http://osgeo-org.1803224.n2.nabble.com/New-Map-Project-and-Admin-Fustrations-tp4977388p4977654.html To unsubscribe from New Map Project and Admin Fustrations, click herehttp://osgeo-org.1803224.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=amhqZWxtYjFAbXkuY2hlbWVrZXRhLmVkdXw0OTc3Mzg4fC0xOTU1NjE3MjUy. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/New-Map-Project-and-Admin-Fustrations-tp4977388p4981951.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] Re: New Map Project and Admin Fustrations
tried http://Website/mapguide/mapviewerphp/ajaxviewer.php but it gives me an invalid repository type response. On Thu, Apr 29, 2010 at 2:06 PM, J. Hjelmberg jhjel...@my.chemeketa.eduwrote: Alright I tweaked the permission files in a couple different places so now I can access mapadmin.php from a client system. Now Im trying to figure out how to view the map. URL to mapadmin: http://website/mapguide/mapadmin/login.php -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/New-Map-Project-and-Admin-Fustrations-tp4977388p4982397.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] Re: New Map Project and Admin Fustrations
That url is not complete. Part of the URL needs to be a web layout that you create with Studio, Maestro or XML. Download Maestro, create some data connections, layers, map and a weblayout. Then go to the preview link shown for the weblayout. Martin From: mapguide-users-boun...@lists.osgeo.org [mapguide-users-boun...@lists.osgeo.org] On Behalf Of Josh Hjelmberg [jhjel...@my.chemeketa.edu] Sent: Thursday, April 29, 2010 5:15 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Re: New Map Project and Admin Fustrations tried http://Website/mapguide/mapviewerphp/ajaxviewer.php but it gives me an invalid repository type response. On Thu, Apr 29, 2010 at 2:06 PM, J. Hjelmberg jhjel...@my.chemeketa.edumailto:jhjel...@my.chemeketa.edu wrote: Alright I tweaked the permission files in a couple different places so now I can access mapadmin.php from a client system. Now Im trying to figure out how to view the map. URL to mapadmin: http://website/mapguide/mapadmin/login.php -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/New-Map-Project-and-Admin-Fustrations-tp4977388p4982397.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.orgmailto: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] Re: Plot Dwf Files
Which version of Design Review are you using? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Plot-Dwf-Files-tp4969570p4983676.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