[mapguide-users] Error using quickplot - TCPDF ERROR: [Image] Unable to get image:
Hi, I have run in to a problem that only happens when I turn on too many layers i.e. there is always a tipping point where it works then I switch on more layers and then it stops working. I am using MG Open Source 2.5 on Windows Server 2008 with a .NET build. The map has many linked layers including SHP, TIFF and MS Access. The error is as follows: TCPDF ERROR: [Image] Unable to get image: http://localhost/mapguide/fusion/widgets/QuickPlot/GeneratePicture.php?session_id=4d63d044-adec-11e4-8000-001e6779bb86_en_MTI3LjAuMC4x0AFC0AFB0AFAmap_name=SolarMap_Print54d499ac870feprint_size=1163.6,802.9print_dpi=96box=-320022.97641722555,6718419.613604725,-174572.97641722555,6718419.613604725,-174572.97641722555,6818782.113604725,-320022.97641722555,6818782.113604725normalized_box=-320022.97641722555,6718419.613604725,-174572.97641722555,6718419.613604725,-174572.97641722555,6818782.113604725,-320022.97641722555,6818782.113604725scale_denominator=125000rotation=0 I found this old thread (http://osgeo-org.1560.x6.nabble.com/TCPDF-ERROR-Image-Unable-to-get-image-td5098056.html) that has the same issue and as per the thread copying the url from the error into the address bar works but unfortunately this is not a great solution for my client who needs the title/sub title you get with the proper quickplot route plus the option to save as a PDF. Any help is greatly appreciated - RegardsJD Software-Matters Dorset -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-using-quickplot-TCPDF-ERROR-Image-Unable-to-get-image-tp5185933.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] Error using quickplot - TCPDF ERROR: [Image] Unable to get image:
Are you saying copy the URL from the error and load that into the browser? If so I have done this and the image appears ok... - RegardsJD Software-Matters Dorset -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-using-quickplot-TCPDF-ERROR-Image-Unable-to-get-image-tp5185933p5185942.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] Error using quickplot - TCPDF ERROR: [Image] Unable to get image:
Ok, so I ran the test that you described and it worked. What do you think this means? - RegardsJD Software-Matters Dorset -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-using-quickplot-TCPDF-ERROR-Image-Unable-to-get-image-tp5185933p5185962.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] Error using quickplot - TCPDF ERROR: [Image] Unable to get image:
I downloaded the latest copy and there are a lot of files in a zipped folder so not sure which bits I should and shouldn't be replacing but I tried just replacing the tcpdf.php file and that produced a different error as below. I will have another play on Monday and get back to you. Thanks PHP Warning: require_once(C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\tcpdf/tcpdf_autoconfig.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\tcpdf\tcpdf.php on line 111 PHP Fatal error: require_once() [function.require]: Failed opening required 'C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\tcpdf/tcpdf_autoconfig.php' (include_path='.;C:\php\pear') in C:\Program Files\OSGeo\MapGuide\Web\www\fusion\lib\tcpdf\tcpdf.php on line 111 - RegardsJD Software-Matters Dorset -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-using-quickplot-TCPDF-ERROR-Image-Unable-to-get-image-tp5185933p5185994.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] HELP: An exception occurred in DB XML component.
Gabriele, Thank you for your reply , I really appreciate your time. Luckily this time we went back to an older server back up and this has worked without to much loss of data. Moving forward I will be using this as reference and making sure the dbxml files are backed up regularly. Thanks again. - RegardsJD Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/HELP-An-exception-occurred-in-DB-XML-component-tp5097289p5097364.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] Bug? - Styling point data using Map Space with WGS84.PseudoMercator
I figured it out - because the map is based on the WGS84 coordinate system it is converting the X/Y in to its own unit which is totally inaccurate. Looking at the bottom-left corner where it displays the X/Y current coordinates the value visible here says it's in metres but it's not. It works out to be about .6 of a metre. I understand that I'm in a different coordinate system but surely 1 metre is 1 metre no matter how you look at it!? - RegardsJD Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Bug-Styling-point-data-using-Map-Space-with-WGS84-PseudoMercator-tp5094121p5094440.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] Bug? - Styling point data using Map Space with WGS84.PseudoMercator
Hi, I have found a bug when styling point data using Map Space with WGS84.PseudoMercator and Google backdrop. The measurement is wrong. I have the original map with many layers based on GB National Grid coordinates with a point layer styled as a circle using Map space (height and width 1000m) which works fine. I have just finished re-creating the same map but using WGS84.PseudoMercator and Google backdrop and the same point layer displays the circle but instead of being 1000m they are around 600m. If anyone has any experience of this or can offer any advice that would be great. I am using Mapguide 2.5, with Maestro 5 on Windows and .NET. Many Thanks - RegardsJD Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Bug-Styling-point-data-using-Map-Space-with-WGS84-PseudoMercator-tp5094121.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] Return the current scale (zoom)?
Hi, I'm running Mapguide 2.5 on Windows with .Net and have a fusion application which uses the MapGuideViewerAPI to redline - all working great but what I need to do is return the current scale (zoom) level and can't seem to figure it out. Can anyone help? - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Return-the-current-scale-zoom-tp5090994.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] Return the current scale (zoom)?
Got it, thanks Jackie. - RegardsJD Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Return-the-current-scale-zoom-tp5090994p5091030.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] Remove Map Overview window
Thanks Jackie, I ended up reducing the height and this has worked for me as below (changed from 214 to 5) var splitter2 = new Jx.Splitter('Sidebar', { splitInto:2, elements:[$('Info'),$('Bottom')], layout:'vertical', containerOptions: [ {}, {height: 5, minHeight: 5, maxHeight: 5} ] }); - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Remove-Map-Overview-window-tp5059942p5085581.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] Remove Map Overview window
Hi, I can see how to hide the overview map using the Aqua template but can anyone help me hide it using the Limegold template? Thanks - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Remove-Map-Overview-window-tp5059942p5085543.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] Resize the taskpane in fusion
Bernhard, nice job - that works! Many thanks - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Resize-the-taskpane-in-fusion-tp5080267p5082331.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] Missing icons using Fusion
Hans, that worked! Thank you - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Missing-icons-using-Fusion-tp5081769p5082207.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] Missing icons using Fusion
HI, I am using MG 2.5 with Maestro 5 on Windows server. The problem I have is some of my icons have suddenly stopped appearing. If you look at the image below there should be a 'Clear Selection' icon between the Pan and Zoom Rectangle. If I hover over the blank space the tooltip still appears but I can't click on it. This seems to be true on different maps and different templates. The icon is available if I do a right-click on the map. Any ideas anyone? http://osgeo-org.1560.x6.nabble.com/file/n5081769/missing_icons.png - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Missing-icons-using-Fusion-tp5081769.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] Resize the taskpane in fusion
Yes I'm trying to make the taskpane wider for the exact reason you state because a lot of users complain it's too tricky to grab the side and expand it. I'm not sure if enlarging the cursor would help but it's worth a shot. It seems to be the zone where the cursor changes to the re-size option is too small so maybe if there was a way to increase that ...? - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Resize-the-taskpane-in-fusion-tp5080267p5080440.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] Resize the taskpane in fusion
Hi, is it possible to set up a button to resize the taskpane. I am using MG OS 2.5, IE10, Maestro 4.5 and the LimeGold template. Many Thanks - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Resize-the-taskpane-in-fusion-tp5080267.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] Fusion and Digitizing
I figured this out - there is a ClearDigitization function within the MapGuideViewerApi.js which works a treat :) - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-and-Digitizing-tp4183831p5077688.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] Fusion and Digitizing
Hi Rodolfo, Hope you can help... I have created a page (using MG 2.5 on Windows and IE10) that uses your code to digitize a polygon which works great but I am still getting an issue with the polygon getting left behind and I can't seem to get the clear function to work. Below is what I'm calling from a button in my taskpane and I've got a link to the mapguideAPI.js file which contains your code. input type=button onClick=clearPol(); value=clear When I click the button nothing happens - can you help? - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-and-Digitizing-tp4183831p5077113.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] What unit does Area2D output?
Hi, When using the Area2D function from within the expression builder in Maestro or MG Studio - what unit is the resulting figure in? Thanks - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/What-unit-does-Area2D-output-tp5074501.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] Acres in the Fusion Measure Tools?
Thanks for the reply Gordon. I followed exactly what you did above i.e. added the code to the measure.php and the measure.js both in the places you describe but nothing happens. I can see a new line in the task pane for 'Total Area' but it never gets populated with anything. Is there anything else that needs to be added/tweaked? I don't understand why this doesn't work. For testing purposes I tried amending line 585 of measure.js tArea.innerHTML = value + ' ' + units + 'sup2/sup' to this tArea.innerHTML = value + 'TEST' but again nothing changed in the taskpane. I tried restarting Mapguide but still no joy. It's almost as if the measure.js file I'm amending isn't the one being used - could this be true or is there something else I'm missing? Thanks - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Acres-in-the-Fusion-Measure-Tools-tp4481821p5070413.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] Acres in the Fusion Measure Tools?
Yes, that's it - I changed to FusionSF.js in the index.html page and made an amendment to test and it works. Thanks Gordon - I'd been going round in circles for ages :) - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Acres-in-the-Fusion-Measure-Tools-tp4481821p5070513.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] Acres in the Fusion Measure Tools?
Hi Gordon, I am trying to follow this as I would like to add acres to the measure taskpane in my Fusion application. I am using Mapguide 2.5 and Maestro 5 with .NET on a Windows server. Can you tell me what or where the Measure.Marker class is and how to amend it? Many thanks - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Acres-in-the-Fusion-Measure-Tools-tp4481821p5070278.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] Problem with access
Hey Manuel, Did you ever figure this out as I'm having a very similar problem (same error) with following setup: Windows server 2008 64bit Mapguide 2.5 Maestro 4 Office 2007 - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-access-tp5061262p5065966.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] Invoke script in Fusion layout using Maestro
I know I'm close with this but still can't seem to figure it out - does anyone else have nay ideas? - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Invoke-script-in-Fusion-layout-using-Maestro-tp5063768p5065970.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] Invoke script in Fusion layout using Maestro
Hi, Can anyone help with adding an invoke script to a fusion layout using Maestro? My setup is MG 2.2 and Maestro 4.0 For example in MG Studio (on a different setup and server) I could simply create a new invoke script and add code in to the additional parameters areas (example below) but I can't see where to add the code using Fusion and Maestro. { var myMap=parent.parent.mapFrame; var X =myMap.GetCenter().X; var Y =myMap.GetCenter().Y; ZoomToView(X, Y, 75, true); } Cheers -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Invoke-script-in-Fusion-layout-using-Maestro-tp5063768.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] Invoke script in Fusion layout using Maestro
Thanks for the link but I'm still not quite clear on what to do. I have set up an invoke script widget and added the following within the script tag: the button shows up on the toolbar but it doesn't do anything when clicked. What am I doing wrong here? - Software-Matters -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Invoke-script-in-Fusion-layout-using-Maestro-tp5063768p5063837.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] Fusion - how to set the hyperlink to open in the taskpane?
Yes, sorry, maybe I wasn't being very clear. So, I have a hyperlink in the tooltip which when clicked opens in the same window as the map or if using ctrl-click opens in a new window. I have also tried having a hyperlink on the ctrl-click of the feature but the result is the same. What I would like to happen is for the hyperlink to open in the taskpane. It can originate from either a ctrl-click of a feature or by clicking a hyperlink in a tooltip. Regards JD -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-how-to-set-the-hyperlink-to-open-in-the-taskpane-tp5014070p5014843.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] Fusion - how to set the hyperlink to open in the taskpane?
Thanks for the response Jackie but could you be a bit more specific? In the MapGuide\Web\www\fusion\widgets folder there is an InvokeURL.js file but no InvokeURL folder. Is this where I should be looking? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-how-to-set-the-hyperlink-to-open-in-the-taskpane-tp5014070p5014241.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] Stop fusion map with commercial layer flashing the USA?
Hi, I have a fusion map (MG 2.2) that utilises the commercial layers as a base (either Google or Bing) and whenever the map first openr it flashes up over the USA before zooming into my actual map location which is in the UK. Has anyone seen this happen and if so how do I stop it? Regards JD -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Stop-fusion-map-with-commercial-layer-flashing-the-USA-tp5014025.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] Fusion - how to set the hyperlink to open in the taskpane?
Hi, I'm using MG2.2 and would like to set a hyperlink to open in the taskpane in my Fusion/Flexible Layout. I've tried many things including searching the forum but to no avail. All it seems to do is open in a new window or the same window. Can anyone help with this? Regards JD -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-how-to-set-the-hyperlink-to-open-in-the-taskpane-tp5014070.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] Question RE using a Google map base layer.
Hi, I am using a Fusion web layout and Google as my External Provider/base map set up using the WGS84.PseudoMercator coordinate system and all works fine. The problem is that the coordinate system that now displays in the bottom-left corner of the map window is meaningless to the users. So, can I display a different coordinate system in the status bar to what the actual map is based on - what I would like is the British National Grid XY? Following on from this, when changing to a map using the WGS84.PseudoMercator coordinate system my preset zooms are all suddenly way off - does anyone know what's going on here and if there'e anyway to fix it? Any help or comments appreciated. Regards JD -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Question-RE-using-a-Google-map-base-layer-tp4992347.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] Change taskpane in Fusion?
Excellent, got it working - thanks very much. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Change-taskpane-in-Fusion-tp4989594p4990098.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] Change taskpane in Fusion?
Hi, How do I change the taskpane in Fusion from the standard taskpane.html (in the widgets folder as below) to a .asp webpage? C:\Program Files\OSGeo\MapGuide\Web\www\fusion\widgets\TaskPane\TaskPane.html Any help appreciated Regards James -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Change-taskpane-in-Fusion-tp4989594.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] Change taskpane in Fusion?
You're right there is a taskpane tab when using MG Studio but I need to be able to do this using Maestro. Any other ideas? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Change-taskpane-in-Fusion-tp4989594p4989600.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] What is the best system specification for MG2.2 with 90ish layers?
Thanks loads for the helpful responses. Much appreciated. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/What-is-the-best-system-specification-for-MG2-2-with-90ish-layers-tp4978036p4978479.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] Can you add a layer with XY coordinates to a Bing maps layer?
I have added a Bing map base layer which uses the WGS84.PseudoMercator coordinate system. Can I add a layer with XY coordinates that will marry up with the Bing layer. The layers in question are as follows: UK layer using the British National Grid coordinate system Point layer themed with symbols using XY coordinates stored in an Access database. At the moment I can get them both to work on their own but would like to know if it's possible to combine them? Any help is appreciated. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Can-you-add-a-layer-with-XY-coordinates-to-a-Bing-maps-layer-tp4978484.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] Can you add a layer with XY coordinates to a Bing maps layer?
Thanks Jackie - it works!! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Can-you-add-a-layer-with-XY-coordinates-to-a-Bing-maps-layer-tp4978484p4978510.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] What is the best system specification for MG2.2 with 90ish layers?
I am about to set up a new installation of MG 2.2 using Microsoft Windows Server Standard 2008 R2 + 5 with the following resources: Users: 5-15 Layers: 80ish (.shp, .tiff, Access database, SQL Express 2008) Does anyone have any knowlegde of what would be a suitable system specification? Do the following specs seem ok and which is better suited to my needs? Spec 1 Chassis 1U 4 Bay Hot Swappable Processor 2x E5-2609 Intel Quad-Core Xeon 2.4GHz 10Mb Cache Memory2x 8GB 1333MHz DDR3 ECC Reg w/Parity CL9 DIMM Dual Rank, x4 w/Therm Sen Hard Drive 3x 1TB Enterprise Class SAS2 6Gb/s 7200RPM - 3.5 - Seagate CONSTELLATION (RAID 5) RAID Controller Card LSI MegaRAID 9260-4i 6 Gb/s SAS/SATA RAID Controller - LSI00201 Slim line Optical BaySlim line DVD-RW Dual Layer Drive Operating System Microsoft Windows Server Standard 2008 R2 + 5 CALS Spec 2 Motherboard Xeon E3 X9SCL-F with Dual Gigabit LAN Dedicated LAN for IPMI Remote KVM Management Processor E3 1220 Intel Quad-Core Xeon 3.1GHz 8Mb Cache 5GT/s 80Watts Memory2x 4GB 1333MHz DDR3 ECC CL9 DIMM with Thermal Sensor Hard Drive 3x 1TB Enterprise Class SATA 7200RPM - 3.5 - Seagate CONSTELLATION ES SATA 3Gb/s (RAID 5) RAID Controller Card Use On Board RAID of Motherboard Slim line Optical BaySlim line DVD-RW Dual Layer Drive SATA Accessories Front Bezel for SC813 SC813M SC815 SC818 series Operating System Microsoft Windows Server Standard 2008 R2 + 5 CALS Any advice is appreciated Regards James -- View this message in context: http://osgeo-org.1560.n6.nabble.com/What-is-the-best-system-specification-for-MG2-2-with-90ish-layers-tp4978036.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] MapGuide OS 2.2 Server Crashing - Suggestions Please
Hi, Not sure if you've seen this link already but if not it might help, it describes the parameters and provides parameter tuning tips for the serverconfig.ini and webconfig.ini: http://trac.osgeo.org/mapguide/wiki/ServerconfigWebConfigIni -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MapGuide-OS-2-2-Server-Crashing-Suggestions-Please-tp4976986p4978041.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: zoom to selected item
Can you post your code that zooms to the selection. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/zoom-to-selected-item-tp6031757p6032398.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] Has Measure.FeatureSource been fixed post MGOS 2.02?
I have heard that the problem with Measure.FeatureSource has been fixed post MGOS2.02. Is this true? Does anyone know anymore about the error and why it happens? Would it be possible to apply a fix to 2.02? Can anyone offer any advice to where I might start looking? Or am I going down a dead-end road? - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Has-Measure-FeatureSource-been-fixed-post-MGOS-2-02-tp5746932p5746932.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] Is it possible to pass data from the map to the printable page?
I have an SQL Express Spatial layer that contains data that I want to pass to the printable page and display either in the header or footer or somewhere else on the image to be printed. Is this possible? Does anyone have any ideas where to start? Many Thanks - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Is-it-possible-to-pass-data-from-the-map-to-the-printable-page-tp5747316p5747316.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: Has Measure.FeatureSource been fixed post MGOS 2.02?
FYI: I found a patch at the link below and have installed it. Early testing seems good but only time will tell... http://trac.osgeo.org/mapguide/ticket/1186 - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Has-Measure-FeatureSource-been-fixed-post-MGOS-2-02-tp5746932p5747789.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] Error: Measure.FeatureSource causing system to crash. Any advice please?
I am running MGOS 2.02 with .NET and IIS5 and the system runs smoothly most of the time. At the moment I am getting a lot of errors as below and MG crashes then when restarting MG just hangs and I have to restart the server. 2010-11-16T10:31:25 Ajax Viewer 127.0.0.1 Anonymous Error: Resource was not found: Session:97028834---8000-005056b550f7_en_7F010AFC0AFB0AFA//Measure.FeatureSource StackTrace: - MgResourceServiceHandler.ProcessOperation line 80 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceServiceHandler.cpp - MgOpGetResourceContent.Execute line 120 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\OpGetResourceContent.cpp - MgServerResourceService.GetResourceContent line 863 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ServerResourceService.cpp - MgApplicationRepositoryManager.GetResourceContent line 378 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ApplicationRepositoryManager.cpp - MgResourceDefinitionManager.GetResource line 320 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp - MgResourceContentManager.GetDocument line 590 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceContentManager.cpp - MgResourceDefinitionManager.GetDocument line 476 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp Resource was not found: Session:97028834---8000-005056b550f7_en_7F010AFC0AFB0AFA//Measure.FeatureSource I know there are memory leak issues with this version but have been reluctant to upgrade because it would be a mammoth task. Is the measure tool to blame and is there anything I can do other than upgrade? Has anyone created their own measure tool? Any help or advice is welcome. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Measure-FeatureSource-causing-system-to-crash-Any-advice-please-tp5743409p5743409.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: Error: Measure.FeatureSource causing system to crash. Any advice please?
Yes I am using gdal. I have the whole UK mapped out in 20km squares in Tiff format. Would you use Zerowave manually or can you set it up to kill MG on it's own? - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Measure-FeatureSource-causing-system-to-crash-Any-advice-please-tp5743409p5743514.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: An exception occurred in FDO component
Dave Wilson wrote: It's been a while since I've used the Maestro interface, but you have to set the X/Y columns to be your geometry columns somehow. If you are using MG Studio then there is a section called 'Define Geometry Properties...' as below. You need to select the table with X, Y columns and tick Geometry. In your Access dataabse it is also a good idea to make sure the X,Y columns are the correct data type. I use long or single. http://osgeo-org.1803224.n2.nabble.com/file/n5744580/connection.png - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/An-exception-occurred-in-FDO-component-tp5727051p5744580.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: Passing coordinates with invoke url
Hi, Have a look at this thread as I believe it answers your question: http://osgeo-org.1803224.n2.nabble.com/CTRL-Click-on-layer-td1811590.html#a1811592 - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Passing-coordinates-with-invoke-url-tp5701691p5723997.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: Passing coordinates with invoke url
Ok, What you need to do is look at the javascript function called DigitizePoint so take a look at the file ajaxmappane.templ in the Viewer files folder. There are all the mouse commands in there too which you can amend as needed. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Passing-coordinates-with-invoke-url-tp5701691p5724802.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: Setup default web address for new package
You could put the mapguide page into an iframe. If you do a search there is information about this on here. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Setup-default-web-address-for-new-package-tp5121377p512.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: IE refresh issue
Hi Tom, FYI: I am using IE7 and tried to recreate the issue but couldn't. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/IE-refresh-issue-tp4817709p5108191.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: Strange behaviour with labels in Mapguide. Help needed.
Thanks for the continued help Dave, I have compared the 2 xml files and there were a couple of small differences so I amended the sdf file to be the same as the dwg to be the same (apart from name and geometry) but it still gives me the same problem. The only thing that is different now is the geometry - could this be causing the problem? Below is the geometric properties of the dwg: Property Name Geometry Property Type point curve surface Has Measures false Has Elevation false Below is the geometric properties of the sfd: Property Name Geom Property Type point curve surface Has Measures false Has Elevation true Any other thoughts? I can't believe I'm the only person seeing this happen?? - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4680338.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] Strange behaviour with labels in Mapguide. Help needed.
Hi, I’m getting some strange behaviour with labels in Mapguide – basically when using a DWG the label is dynamic and moves when you move the map but with an SDF it is fixed in the centre which means if you move the map you lose the label! I have tried fiddling with all the settings but always get the same result. I am using MG Studio 9 and MG 2.02 but have also tested this with MG 2.1 and it's the same. Has anybody else come across this? Does anybody know whay and is there a fix for this? Any help or advice is always welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4673228.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: Strange behaviour with labels in Mapguide. Help needed.
No, It was a straight import in to MG Studio with no theming. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4673476.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: Strange behaviour with labels in Mapguide. Help needed.
It's definitely imported as a polygon because I can select it. Any other thoughts? Does anybnody else see this happening? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4675336.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: Strange behaviour with labels in Mapguide. Help needed.
Not when I import them as an SDF. The weird thing is, if I import the same file saved as a dwg then the labels work as they should. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4675695.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: Can't create data connexion for multiple raster folder
Look at the min and max bound values for each image in your config file - they are set to default and stacked on top of each other. - Bounds MinX-1000/MinX MinY-1000/MinY MaxX1000/MaxX MaxY1000/MaxY /Bounds Change theses values and try again. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-t-create-data-connexion-for-multiple-raster-folder-tp4638394p4654279.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: MapGuide Measure Tool and mapguide server error
I am having exactly the same problem. I am using MG 2.02 with .NET build on Windows. Is there any help or advice out there for this? Many Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/MapGuide-Measure-Tool-and-mapguide-server-error-tp2969330p4631662.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: Mapguide Studio - Limititation to adding layers?
How many layers do you currently have on your map? What are they - all dwgs? - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Mapguide-Studio-Limititation-to-adding-layers-tp4591337p4591400.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: Mapguide Studio - Limititation to adding layers?
Do you have that many layers on one map or that many layers in multiple folders on one map. If the latter then you do have a lot of layers if not then I have used more so you should be fine. Have you added any scale ranges? Are the layers initially displayed in the map? Both these things can speed the map up. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Mapguide-Studio-Limititation-to-adding-layers-tp4591337p4591479.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: Problem with map only half showing.
Thanks for posting the neww dll Crispin but I get the same result as the other dll I tried - the map doesn't show at all! I am right in saying all I need to do is stop Mapguide, put the dll in the server/bin/fdo folder and then restart Mapguide? - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4585047.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] Is their a major flaw with theming point data?
Hi, I have a circular buffer layer (data with x,y coordiantes in an Access database) that is themed as follows: 50m - blue circle 500m - red circle 1000m - green circle 1m - purple circle The circles are symbols (.png images that are shaded but transparent). Until now they have been working fine but I have just realised (after adding the larger buffers) that when the center of the point is not visible on the map the image does not show. This does make sense I guess because Mpaguide is saying if the point is not visble on this mapview then it won't show it but this is a major problem for me. Is this a flaw with Mapguide? Is there a way around this problem? Is my best solution to convert all the point data in to circular polygons? Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Is-their-a-major-flaw-with-theming-point-data-tp4580895p4580895.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: Is their a major flaw with theming point data?
Dave Wilson wrote: ...I wouldn't call this a bug. I think the workaround is to create circular polygons. I understand how it happens and it does make sense but it renders the theming of points useless if they are going to be anything larger than a few pixels. I think it would be good to see future versions of Mapguide become more intelligent and be able to cope with theming of points. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Is-their-a-major-flaw-with-theming-point-data-tp4580895p4582316.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] Out of memory issues. Help please??
Hi, I have been getting a lot of 'Out of memory' errors that have been causing Mapguide to crash as below: StackTrace: - MgMappingUtil.StylizeLayers line 786 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: Boundaries An unclassified exception occurred. 2010-02-10T12:03:41 127.0.0.1 Administrator Error: Failed to stylize layer: All OS Out of memory. bad allocation I am using MG 2.0.2 and have been told that a lot of 'memory leaks' have been fixed in 2.1 but upgrading seems like a massive task. What exactly are these 'memory leaks'? Will upgrading the server hardware i.e. better processor and more memory help at all or is it a wasted purchase? Are there any tweaks I can make to improve the situation or is upgrading my only option? Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Out-of-memory-issues-Help-please-tp4553622p4553622.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: Out of memory issues. Help please??
are you using customised viewers? I am using the basic viewer which uses my own control panel written in asp in the taskbar. whats your fdo providers talking to? Sorry not quite sure what you mean? any gdql rasters? This is my setup: I am using MG 2.0.2 on windows server 2003 with IIS 5, MG Studio 2009 and .net build. I have about 60 layers of data (mainly dwg) including raster (about 200 x 15MB tifs that make up the UK) , sdf, MS Access and SQL Express. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Out-of-memory-issues-Help-please-tp4553622p4553732.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: Problem with map only half showing.
Crispin_at_1Spatial wrote: Yes - FDO compiles against a particular version. You need to stick to a v1.4 build. Try unzipping gdalwin32exe144.zip from here: http://download.osgeo.org/gdal/win32/1.4.4/ Hi Crsipin, The FDO version I am currently using is 1.4.3.0 and the version in the zip folder is 1.4.4.0 but it didn't work unfortunately. I stopped MG swapped the file in the Server/Bin/FDO folder and restarted but now I get no map! Any ideas? Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4512505.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: Problem with map only half showing.
Crispin_at_1Spatial wrote: . It looks like you are on MG 2.0.2 still? That is GDAL 1.4 so a copy of the GDAL v1.4.x latest (e.g. an old download of FWTools), stop the MG service and replace the GDAL dll -- restart and you should be OK Crispin Hi Crispin, Yes I am using MG2 and GDAL 1.4 so I tried adding GDAL 1.6 (the only download I could find) but then the map didn't show up at all. Is 1.6 too new? Which version do you think I should use and where can I get it from? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4499825.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: Problem with map only half showing.
Dave Wilson wrote: Does the GDAL provider use a config.xml which contains the file details and bounds similar to the Autodesk Yes it does. What could the problem be? Is there some way of fixing it? The strange thing is it sometimes happens in some places and always happens in other places?? Any help or advice is welcome Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4479779.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: Problem with map only half showing.
Gary Morin wrote: Hi James Are you using OS Tif files? If so it could be a problem with the format, try using a utility like Irfanview to convert them. Hi Gary, Yes I am using OS Tif files so they should all be in the same format. Why do I get this problem with some tiles every time and other tiles never? Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-raster-tif-files-only-half-showing-tp4473961p4480264.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] Does anybody understand these errors?
UPDATE: Ok, I followed your advice Bruce and used the MakeValid command on all my SQL layers and this has worked. Thank you - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Does-anybody-understand-these-errors-tp4454117p4472399.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] Problem with map only half showing.
Hi, I sometimes have a problem where the map (OS raster tiff files) doesn't fully show. This is often resolved by panning around or zooming in and out until the map 'sorts itself out'. The most frequent occurence of this is when I use an invoke script to hide the layer and taskbar panels (so to leave one big map). The panels move and the map disappears - sometimes completely! The error in the log is as follows: 2010-01-28T11:09:07 127.0.0.1 Administrator Error: Failed to stylize layer: All OS An unclassified exception occurred. StackTrace: - MgMappingUtil.StylizeLayers line 786 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\mapping\MappingUtil.cpp Failed to stylize layer: All OS An unclassified exception occurred. Has anybody else experienced raster layers only partialy showing? Is there an explanation or even a fix? Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Problem-with-map-only-half-showing-tp4473961p4473961.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] Does anybody understand these errors?
I have taken the SQL layer out and am still getting the same error messages. In fact, if I just start MG Studio I get the same error messages. Does this sound right? Why should I still get errors when I'm not even using the layer? Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Does-anybody-understand-these-errors-tp4454117p4459716.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] Best steps for upgrading from 2.0 to 2.1?
Hi, Could somebody tell me the best steps from upgrading from MG2.0 to 2.1. Currently I am using MG 2.0 on windows server 2003 with IIS 5, MG Studio 2009 and .net build. I have about 60 layers of data including raster, sdf, MS Access and SQL Express. I have programmed my own web interface that resides in the taskframe and have made a few changes to some of the viewer files. All this has taken a long time to get together and the possibility of losing something or breaking it whilst upgrading is very scary. Does anybody have any experience in upgrading and if so could you give me the best steps to a successful upgrade without too much down time. Any help or suggestions are welcome Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Best-steps-for-upgrading-from-2-0-to-2-1-tp4453995p4453995.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] Does anybody understand these errors?
Hi, Currently I am using MG 2.0 on windows server 2003 with IIS 5, MG Studio 2009 and .net build. I have about 60 layers of data including raster, sdf, MS Access and SQL Express. Recently there have been alot of instances of MG stalling and me having to restart it to get things going again. Below I have pasted 5 minutes worth of todays error log. Does anybody understand whtat these error mean and if so how can I stop them?? Any help or advice is welcomed. Regards JD 2010-01-25T12:35:08 127.0.0.1 Administrator Error: An exception occurred in FDO component. RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]A .NET Framework error occurred during execution of user-defined routine or aggregate geometry: System.ArgumentException: 24144: This operation cannot be completed because the instance is not valid. Use MakeValid to convert the instance to a valid instance. Note that MakeValid may cause the points of a geometry instance to shift slightly. System.ArgumentException: at Microsoft.SqlServer.Types.SqlGeometry.ThrowIfInvalid() at Microsoft.SqlServer.T StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpQueryFeatures.Execute line 125 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\OpQueryFeatures.cpp - MgServerRenderingService.QueryFeatures line 652 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\ServerRenderingService.cpp - MgServerRenderingService.RenderForSelection line 1326 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\ServerRenderingService.cpp - MgServerSelectFeatures.SelectFeatures line 249 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\feature\ServerSelectFeatures.cpp An exception occurred in FDO component. RDBMS: [Microsoft][ODBC SQL Server Driver][SQL Server]A .NET Framework error occurred during execution of user-defined routine or aggregate geometry: System.ArgumentException: 24144: This operation cannot be completed because the instance is not valid. Use MakeValid to convert the instance to a valid instance. Note that MakeValid may cause the points of a geometry instance to shift slightly. System.ArgumentException: at Microsoft.SqlServer.Types.SqlGeometry.ThrowIfInvalid() at Microsoft.SqlServer.T 2010-01-25T12:35:10 127.0.0.1 Administrator Error: Out of memory. bad allocation StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpRenderDynamicOverlay.Execute line 109 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp - MgServerRenderingService.RenderDynamicOverlay line 305 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\ServerRenderingService.cpp Out of memory. bad allocation 2010-01-25T12:35:16 127.0.0.1 Administrator Error: Out of memory. bad allocation StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpRenderDynamicOverlay.Execute line 109 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp - MgServerRenderingService.RenderDynamicOverlay line 305 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\ServerRenderingService.cpp Out of memory. bad allocation 2010-01-25T12:35:22 127.0.0.1 Error: Session has expired or is invalid. Please log in again. StackTrace: - MgSiteServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\site\SiteServiceHandler.cpp - MgOpAuthenticate.Execute line 107 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\site\OpAuthenticate.cpp - MgSecurityManager.Authenticate line 224 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\common\manager\SecurityManager.cpp - MgSessionCache.GetSessionInfo line 175 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\common\manager\SessionCache.cpp Session has expired or is invalid. Please log in again. 2010-01-25T12:35:41 127.0.0.1 Administrator Error: Out of memory. bad allocation StackTrace: - MgRenderingServiceHandler.ProcessOperation line 83 file d:\build\mapguide_open_source_v2.0\build_30.11\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp - MgOpRenderDynamicOverlay.Execute line 109 file
[mapguide-users] Re: How to control zoom level by search
I was trying to do something similar so this thread might help: http://n2.nabble.com/Search-and-Zoom-Minscale-td2223712.html#a2223712 Search-and-Zoom-Minscale - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/How-to-control-zoom-level-by-search-tp4425851p4426145.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] Can you help with set zoom levels from toolbar?
Gordon, that worked like a charm. Thank you :) - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-help-with-set-zoom-levels-from-toolbar-tp4392292p4412719.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] Can you help with set zoom levels from toolbar?
Hi, I would like to add an invoke script command to zoom to a set level (30,000 and 400,000 to be exact) at the current x,y position. Can anyone give some pointers. I have used the ZoomToView(x,y,scale,refresh) function where I know what the coordinates are and that is fine. I am stuck because I don't know how to do get the current x, y coordinates into the invoke script command. Any help or advice is welcomed Thanks JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-help-with-set-zoom-levels-from-toolbar-tp4392292p4392292.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] Can you help with connection properties for OSGeo.SQLServerSpatial?
Hi, Can anybody help with the connection properties for OSGeo.SQLServerSpatial? What do I need to put in the following fields: Service Datastore Any help is welcomed Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-help-with-connection-properties-for-OSGeo-SQLServerSpatial-tp3998955p3998955.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] Can you help with connection properties for OSGeo.SQLServerSpatial?
I am using SQL 2008 Express. I have tried what you suggested but still get the same error when clicking Test Connection. If I click on the little box at the end of the DataStore row I get a different error: The remote server returned an error: (559) MgFdoException Any ideas? JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-help-with-connection-properties-for-OSGeo-SQLServerSpatial-tp3998955p3999415.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] Can you help with connection properties for OSGeo.SQLServerSpatial?
Atika Irfan wrote: just checking ...try with a ODBC connection to the same datastore service This works! But, when I look at the data none of my tables are there? All I see in the list of tables is: MSreplication_options spt_fallback_db spt_fallback_dev spt_fallback_usg spt_monitor spt_values I don't know what these are. Any ideas? JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-help-with-connection-properties-for-OSGeo-SQLServerSpatial-tp3998955p3999664.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] Can you help with connection properties for OSGeo.SQLServerSpatial?
Martin Morrison wrote: What version of which provider are you using? The SQL spatial provider has a login button... Am using MGStudio 09 and the provider doesn't have a number it just says: OSGeo.SQLServerSpatial - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-help-with-connection-properties-for-OSGeo-SQLServerSpatial-tp3998955p484.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] Need help with IF-statment in Tool Tip
What does the error say? It normally points to which bit is wrong. Is it the empty string? Try putting a 0 instead like this: If ( LENGTH(BYGGINV_2) 0, BYGGINV_2 , 0) Kratz wrote: Hi! I need help writing a correct string with an if-statement. Trying to determine whether an attribute contains any value(string) or not. Why doesn't this string work? If ( LENGTH(BYGGINV_2) 0, BYGGINV_2 , ' ' ) Default: If ( [condition], [trueValue], [falseValue] ) - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Need-help-with-IF-statment-in-Tool-Tip-tp3985605p3986117.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] how to check off layer in legend panel automatically
You need to group the layers that you want to control together in the map layer control. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/how-to-check-off-layer-in-legend-panel-automatically-tp3984754p3986130.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] Oracle 10g Standard
Hi, Sorry to chip in to this thread but I have just installed Oracle 10g Express in the hope of storing spatial data that can be added as a datasource in MGOS. Does anybody know if this is possible? If so could you give me some pointers on how to store the data in Orcale and create a layer in MG. Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Oracle-10g-Standard-tp3910485p3910803.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] Oracle 10g Standard
Dejan, Is there a free database that I could use to store spatial data in order to create a layer of polygons in MGOS? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Oracle-10g-Standard-tp3910485p3910892.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] Oracle 10g Standard
Dejan, Thank you for your helpful responses. Just to confirm then - when I talk about spatial data I mean storing X,Y coordinates. I have successfully added layers of points from an Access db with X,Y coordinates stored in a table. But if I wanted to store multiple X,Y coordinates to create a layer of polygons I should get Oracle Enterprise or can I do this in MySQL? Thanks again JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Oracle-10g-Standard-tp3910485p3910957.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] Oracle 10g Standard
Sorry I posted this before I saw Dennis' response. JamesDudden wrote: Dejan, Thank you for your helpful responses. Just to confirm then - when I talk about spatial data I mean storing X,Y coordinates. I have successfully added layers of points from an Access db with X,Y coordinates stored in a table. But if I wanted to store multiple X,Y coordinates to create a layer of polygons I should get Oracle Enterprise or can I do this in MySQL? Thanks again JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Oracle-10g-Standard-tp3910485p3910965.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] Oracle 10g Standard
Thanks for all the comments so far. Has anybody actually created a layer in MGOS that contains polygons that are made up of x,y coordinates that are stored in either Oracle 10g Express or SQL Server 2008 Express edition? The reason I ask is I am trying to decide which one to use and it would comfort me to know there was somebody who has already achieved what I need. Also I would then like to ask them for help in the future to get it working for me. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Oracle-10g-Standard-tp3910485p3912622.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] Creating Tile Index Config Files - why do I lose my coordinates?
HI, I am using MGOS 2.0 and multiple tifs with their corresponding tfws. I have followed the Creating Tile Index Config Files instructions from the FdoGdalNotes but always end up with an xml file with all coordinates set to a default as below. Is there anything I can do to get the xml to show the correct coordinates from the .tfw files. If i had to manually do this it would take an age as I have 815 files. Any help or advice is welcome Regards JD ?xml version=1.0 encoding=UTF-8? fdo:DataStore xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:gml=http://www.opengis.net/gml; xmlns:fdo=http://fdo.osgeo.org/schemas; xmlns:fds=http://fdo.osgeo.org/schemas/fds;gml:DerivedCRS gml:id=Defaultgml:metaDataPropertygml:GenericMetaDatafdo:SCExtentTypedynamic/fdo:SCExtentTypefdo:XYTolerance0.001000/fdo:XYTolerancefdo:ZTolerance0.001000/fdo:ZTolerance/gml:GenericMetaData/gml:metaDataPropertygml:remarksSystem generated default FDO Spatial Context/gml:remarksgml:srsNameDefault/gml:srsNamegml:validAreagml:boundingBoxgml:pos-1000 -1000/gml:posgml:pos1000 1000/gml:pos/gml:boundingBox/gml:validAreagml:baseCRSfdo:WKTCRS gml:id=Defaultgml:srsNameDefault/gml:srsNamefdo:WKTLOCAL_CS[*XY-MT*,LOCAL_DATUM[*X-Y*,1],UNIT[Meter, 1],AXIS[X,EAST],AXIS[Y,NORTH]]/fdo:WKT/fdo:WKTCRS/gml:baseCRSgml:definedByConversion xlink:href=http://fdo.osgeo.org/coord_conversions#identity/gml:derivedCRSType codeSpace=http://fdo.osgeo.org/crs_types;geographic/gml:derivedCRSTypegml:usesCS xlink:href=http://fdo.osgeo.org/cs#default_cartesian//gml:DerivedCRSxs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; xmlns:fdo=http://fdo.osgeo.org/schemas; xmlns:gml=http://www.opengis.net/gml; xmlns:default=http://fdo.osgeo.org/schemas/feature/default; targetNamespace=http://fdo.osgeo.org/schemas/feature/default; elementFormDefault=qualified attributeFormDefault=unqualifiedxs:annotationxs:appinfo source=http://fdo.osgeo.org/schemas//xs:annotationxs:element name=default type=default:defaultType abstract=false substitutionGroup=gml:_Featurexs:key name=defaultKeyxs:selector xpath=.//default/xs:field xpath=FeatId//xs:key/xs:elementxs:complexType name=defaultType abstract=false fdo:hasGeometry=falsexs:annotationxs:appinfo source=http://fdo.osgeo.org/schemas//xs:annotationxs:complexContentxs:extension base=gml:AbstractFeatureTypexs:sequencexs:element name=FeatIdxs:annotationxs:appinfo source=http://fdo.osgeo.org/schemas//xs:annotationxs:simpleTypexs:restriction base=xs:stringxs:maxLength value=256//xs:restriction/xs:simpleType/xs:elementxs:element name=Image type=fdo:RasterPropertyType fdo:defaultImageXSize=1024 fdo:defaultImageYSize=1024 fdo:srsName=Defaultxs:annotationxs:appinfo source=http://fdo.osgeo.org/schemas;fdo:DefaultDataModel dataModelType=Bitonal dataType=Unknown organization=Pixel bitsPerPixel=1 tileSizeX=256 tileSizeY=256//xs:appinfo/xs:annotation/xs:element/xs:sequence/xs:extension/xs:complexContent/xs:complexType/xs:schemaSchemaMapping xmlns=http://fdogrfp.osgeo.org/schemas; provider=OSGeo.Gdal.3.2 name=defaultcomplexType name=defaultTypecomplexType name=RasterTypeTypeRasterDefinition name=imagesLocation name=D:\Map Files\Tiffs\Feature name=ST00.tifBand name=RGB number=1Image frame=1 name=ST00.tifBoundsMinX-1000/MinXMinY-1000/MinYMaxX1000/MaxXMaxY1000/MaxY/Bounds/Image/Band/FeatureFeature name=ST00X.TIFBand name=RGB number=1Image frame=1 name=ST00X.TIFBoundsMinX-1000/MinXMinY-1000/MinYMaxX1000/MaxXMaxY1000/MaxY/Bounds/Image/Band/FeatureFeature name=ST02.TIFBand name=RGB number=1Image frame=1 name=ST02.TIFBoundsMinX-1000/MinXMinY-1000/MinYMaxX1000/MaxXMaxY1000/MaxY/Bounds/Image/Band/FeatureFeature name=ST04.TIFBand name=RGB number=1Image frame=1 name=ST04.TIFBoundsMinX-1000/MinXMinY-1000/MinYMaxX1000/MaxXMaxY1000/MaxY/Bounds/Image/Band - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Creating-Tile-Index-Config-Files-why-do-I-lose-my-coordinates-tp3822953p3822953.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] Can you save polygon data to an MS Access data?
Hi, I am storing x,y coordiantes in an MS Access database (using the .net digitize sample) and then showing them as points on a map in MGOS2.0 via MG Studio 09. What I would like to do is store coordiantes for a polygon and then show that on my map. Is this possible using MS Access? If this is not possible in MS Access which database should I use? Any help or advice is welcome Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-save-polygon-data-to-an-MS-Access-data-tp3823196p3823196.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] FWTools and raster help...
Hi, I have 800 x 15MB .tif files and their accompanying .tfw files. I am using MGStudio with MGOS2 to view the files but it is very slow. I am looking at ways to improve performace and read this post: http://n2.nabble.com/HQ-aerial-photography-with-MGOS-howto-td1810548.html#a1810548 http://n2.nabble.com/HQ-aerial-photography-with-MGOS-howto-td1810548.html#a1810548 It talks about using Fwtools to merge files and then convert the merged file to a tiled format, and to add overviews. What I don't understand is how the .tfw files are incorporated. Can anyone help? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/FWTools-and-raster-help-tp3780743p3780743.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] FWTools and raster help...
Update... I have just tested this on a small number of files and the output file was ridiculous. It changed 10 x 15 MB files in to 1 x 650MB file. This is just not practicle for me so I need a new solution! I think I will break the 800 files down in to 80 folders and 80 layers. Does anybody have any advice or help on this subject? Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/FWTools-and-raster-help-tp3780743p3781063.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] FWTools and raster help...
Dave Wilson wrote: Convert them to MrSid or ECW Do you know if this is possible with FWTools? If not is there a program you could recommend whcih I could use for the conversion? Thanks - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/FWTools-and-raster-help-tp3780743p3782360.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] Raster resizing algorithm
Frank Warmerdam wrote: The GDAL based FDO raster provider for MGOS uses nearest neighbour resampling for imagery. To some extent you can improve image quality by pre-creating more appropriately resampled overview layers within the image itself eg. gdaladdo -r average your.tif 2 4 8 16 32 Hi, I have used this technique on individual tifs and it works great. But I want to know is it possible to apply this to more than 1 tif at a time. If so could somebody let me know the syntax. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Raster-resizing-algorithm-tp1816249p3736682.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] Can't select features with flexible layout
zspitzer wrote: which version of fusion ( flexible layout) and mapguide are you using? I'm using MG Studio 09 with MGOS 2.0 Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-t-select-features-with-flexible-layout-tp3597377p3601851.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] Raster formats/compression question
Hi, I have 2 MG installations that I have been testing different raster formats in as follows: MG2010 Enterprise, MGStudio2010, .NET MGOS2, MGStudio2010, .NET I am using GB OS 1:5 data in tif format from the offical source. To start with the tifs do not work in MGOS (I just get an error - an unclassified exception occurred) but they do work in Enterprise. I was told that the Autodesk raster and Gdal don't handle raster formats in the same way so some will work for one and maybe not the other and to experiment with different compressions/formats. So, I have tried changing the tif compression to LZW, Packbits, ZIP and JPEG and only the JPEG works. The problem with JPEG compression is that there is a slight degradation in quality and this won't do. I am using Irfanview to convert my files. Has anybody else had similar problems? What is the optimum format/compression for MGOS2 and what software is best to convert with? Any other advice or comments are always welcome. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Raster-formats-compression-question-tp3580040p3580040.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] Some tiffs work and others don't - does anybody know why?
Dave Wilson wrote: Are you using the GDAL provider? In the provider box it says OSGeo.Gdal - is this correct? Below is an ouput from the FWTools from a working tiff. Can anybody pinpoint the difference in this output to the ouput in my previous post as to why one works and the other does not? Any help or advice is welcome. Driver: GTiff/GeoTIFF Files: C:\Tiffs\NEW RASTER\RASTER.tif C:\Tiffs\NEW RASTER\RASTER.tfw Size is 3921, 3918 Coordinate System is `' Origin = (396004.18811549997,185383.3497844) Pixel Size = (1.2773690,-1.2773690) Metadata: TIFFTAG_SOFTWARE=Adobe Photoshop CS2 Windows TIFFTAG_DATETIME=2008:08:13 11:22:18 TIFFTAG_XRESOLUTION=200 TIFFTAG_YRESOLUTION=200 TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 396004.188, 185383.350) Lower Left ( 396004.188, 180378.618) Upper Right ( 401012.752, 185383.350) Lower Right ( 401012.752, 180378.618) Center ( 398508.470, 182880.984) Band 1 Block=3921x2 Type=Byte, ColorInterp=Gray - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Some-tiffs-work-and-others-don-t-does-anybody-know-why-tp3502155p3509073.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] Some tiffs work and others don't - does anybody know why?
Ok, some progress... I have tested the tiffs on a different setup - MGEnterprise2010 with MGStudio2010 - and the tiffs work. Does anybody know why some tiffs will work on this set up and not on MGOpenSource2.1 with MGStudio2009? Is there anyway to copy the setup of 2010 to my old setup? Any help or advice is always welcome - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Some-tiffs-work-and-others-don-t-does-anybody-know-why-tp3502155p3509640.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] Some tiffs work and others don't - does anybody know why?
SOLVED! The problem is with the type of tiff. The Autodesk Raster provider handles different tiff formats to the GDAL provider. I don't know much about tiffs but was pointed to some conversion software called Irfanview - you can download it at http://www.irfanview.net/ - I then tried saving the tiff in different formats and found tiff with a JPEG compression worked. - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Some-tiffs-work-and-others-don-t-does-anybody-know-why-tp3502155p3510385.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] Some tiffs work and others don't - does anybody know why?
Hi, I am using MG2 with MGStudio9 and have lots of tiffs but some load and some don't. My process - I click New Data Connection then add the path to the tiffs and when I go to view the data some tiffs are there but some give me this error: An unclassified exception occurred. I installed the FWTools and analysed the tiff that is not working and I have posted the output below but to be honest I don't know what I'm looking at. Can anybody help me get these tiffs working? Any help or advice is welcome. Driver: GTiff/GeoTIFF Files: C:\Tiffs\ST02.TIF C:\Tiffs\ST02.TFw Size is 4000, 4000 Coordinate System is `' Origin = (30.000,14.000) Pixel Size = (5.000,-5.000) Metadata: TIFFTAG_IMAGEDESCRIPTION=1:5 TILE ST02 TIFFTAG_DATETIME=2009:06:04 10:52:43 TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2008 TIFFTAG_XRESOLUTION=254 TIFFTAG_YRESOLUTION=254 TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 30.000, 14.000) Lower Left ( 30.000, 12.000) Upper Right ( 32.000, 14.000) Lower Right ( 32.000, 12.000) Center ( 31.000, 13.000) Band 1 Block=4000x2 Type=Byte, ColorInterp=Palette Color Table (RGB with 256 entries) 0: 216,199,200,255 1: 44,19,21,255 2: 201,183,185,255 3: 184,167,169,255 4: 214,10,42,255 5: 238,128,144,255 6: 222,83,117,255 7: 169,121,133,255 8: 232,189,200,255 9: 137,60,80,255 10: 159,93,112,255 11: 248,177,200,255 12: 229,9,84,255 13: 229,40,104,255 14: 188,83,120,255 15: 243,139,176,255 16: 132,88,104,255 17: 248,198,216,255 18: 231,101,152,255 19: 208,145,170,255 20: 171,55,102,255 21: 80,11,41,255 22: 204,51,116,255 23: 139,9,69,255 24: 231,59,138,255 25: 232,8,120,255 26: 112,11,61,255 27: 215,10,120,255 28: 195,9,105,255 29: 232,199,217,255 30: 245,216,232,255 31: 232,12,136,255 32: 159,9,97,255 33: 46,22,40,255 34: 96,70,90,255 35: 138,97,130,255 36: 61,39,58,255 37: 168,117,166,255 38: 184,138,183,255 39: 201,164,200,255 40: 216,197,216,255 41: 248,232,248,255 42: 24,8,25,255 43: 119,92,124,255 44: 183,158,200,255 45: 69,22,119,255 46: 216,202,232,255 47: 199,193,216,255 48: 90,88,104,255 49: 138,136,152,255 50: 40,38,58,255 51: 167,166,185,255 52: 8,8,24,255 53: 104,104,120,255 54: 104,116,140,255 55: 142,151,169,255 56: 13,24,41,255 57: 61,72,89,255 58: 46,84,133,255 59: 56,113,153,255 60: 141,204,247,255 61: 171,216,247,255 62: 160,184,201,255 63: 76,104,122,255 64: 116,200,247,255 65: 200,232,248,255 66: 60,184,239,255 67: 81,189,238,255 68: 117,134,142,255 69: 193,216,227,255 70: 28,184,248,255 71: 9,61,82,255 72: 61,143,176,255 73: 83,123,139,255 74: 106,156,177,255 75: 8,184,248,255 76: 8,151,204,255 77: 149,168,175,255 78: 10,104,135,255 79: 35,184,232,255 80: 73,174,205,255 81: 184,232,248,255 82: 8,183,232,255 83: 32,176,215,255 84: 41,155,189,255 85: 13,42,50,255 86: 124,187,205,255 87: 8,168,205,255 88: 8,148,182,255 89: 9,92,112,255 90: 9,125,150,255 91: 70,88,91,255 92: 8,169,183,255 93: 39,59,60,255 94: 181,200,201,255 95: 232,247,248,255 96: 8,24,24,255 97: 64,183,183,255 98: 200,232,232,255 99: 216,248,248,255 100: 216,232,232,255 101: 102,121,120,255 102: 174,211,208,255 103: 165,186,184,255 104: 86,107,104,255 105: 118,199,184,255 106: 96,182,159,255 107: 142,198,182,255 108: 134,153,146,255 109: 8,165,104,255 110: 12,122,74,255 111: 196,232,216,255 112: 35,182,101,255 113: 64,181,103,255 114: 87,183,119,255 115: 106,182,119,255 116: 167,216,173,255 117: 116,200,124,255 118: 22,42,23,255 119: 199,232,200,255 120: 8,24,8,255 121: 40,56,40,255 122: 200,216,200,255 123: 232,248,232,255 124: 216,217,216,255 125: 184,185,184,255 126: 145,204,143,255 127: 167,186,166,255 128: 82,111,80,255 129: 58,74,52,255 130: 193,216,184,255 131: 200,232,184,255 132: 118,137,103,255 133: 115,193,44,255 134: 75,88,64,255 135: 200,232,168,255 136: 216,231,200,255 137: 232,248,216,255 138: 194,216,166,255 139: 173,210,120,255 140: 216,231,184,255 141: 162,173,136,255 142: 232,248,184,255 143: 216,232,159,255 144: 146,153,119,255 145: 232,248,163,255 146: 184,188,166,255 147: 181,214,11,255 148: 218,231,129,255 149: 232,236,200,255 150: 217,230,75,255 151: 232,248,8,255 152: 216,232,8,255 153: 232,248,27,255 154: 220,231,31,255 155: 162,170,50,255 156: 211,217,109,255 157: 248,247,8,255 158: 232,232,8,255 159: 206,205,9,255 160: 248,248,33,255 161: 213,213,53,255 162: 248,246,63,255 163: 247,245,110,255 164: 248,247,146,255 165: 248,248,168,255 166:
[mapguide-users] Can you connect to mapguide across a network?
Hi, I have set up and been using Mapguide for a few months now using: MG2, Studio09, Xp, ASP.NET, IIS 5 The computer is on a small local network. Is it possible to view my Mapguide application and map admin from a different computer on the network? I have tried using the computers name and ip address as follows: http://192.168.1.3/mapguide/mapadmin/login.php http://dell3100/mapguide/mapadmin/login.php Both of these give the same error: Internet Explorer cannot display the webpage Most likely causes: You are not connected to the Internet. The website is encountering problems. There might be a typing error in the address. Is there something I need to do in IIS? Or is this just not possible? Any help, advice or comments are welcomed. Regards JD - http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Can-you-connect-to-mapguide-across-a-network--tp3212174p3212174.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