Re: [mapguide-users] WMS GetFeatureInfo

2013-09-24 Thread GordonL
Thanks guys, it turns out you need to pass the parameter when you first add the WMS layer to the map, not during the definition of the getfeatureinfo() layer = new OpenLayers.Layer.WMS( "MapGuide WMS", "/mapguide/mapagent/mapagent.fcgi?SERVER=wms", {layers: 'layers/parcels',

[mapguide-users] WMS GetFeatureInfo

2013-09-24 Thread GordonL
Is there a way to return the GETFEATUREINFO from MapGuide as XML rather than HTML? What I am doing now: info = new OpenLayers.Control.WMSGetFeatureInfo({ url: '/mapguide/mapagent/mapagent.fcgi?FORMAT=image/png&TRANSPARENT=TRUE&SRS=EPSG:3857&service=WMS&VERSION=1.1.1', ti

Re: [mapguide-users] Skinny Menus in Fusion for MGOS 2.5

2013-09-22 Thread GordonL
The meta tag i'm using is. "X-UA-Compatible" content="IE=9" Now I have to get the document height and set the iframe to that since 100% doesn't work with height and that meta tag. Gordon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Skinny-Menus-in-Fusion-for-MGOS-2-5-

Re: [mapguide-users] Fwd: [OSGeo-Discuss] Why does OSGeo FDO Provider for SQL Server Spatial try to access the wrong database?

2013-09-22 Thread GordonL
Just to confirm, I cannot use SQL Server provider for FDO if the user cannot connect to all databases on the server. Total pain, and sometimes, depending on IT department, a 'show stopper'. Expected behavior, only need to give access to the database the FDO is using. Gordon -- View this messag

Re: [mapguide-users] Skinny Menus in Fusion for MGOS 2.5

2013-09-20 Thread GordonL
Yes, as soon as I do that, FUSION scrambles and my iFrames think 100% is 100px. I am with Jackie, I wonder what the fix-all is? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Skinny-Menus-in-Fusion-for-MGOS-2-5-tp5078758p5078902.html Sent from the MapGuide Users mailin

[mapguide-users] Skinny Menus in Fusion for MGOS 2.5

2013-09-19 Thread GordonL
Hi All, In Internet Explorer (versions 8,9,10) my menus in Fusion are squishy (see image). Fine in Firefox and Chrome etc. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Skinny

Re: [mapguide-users] BASEMAPSWTICHER

2013-09-12 Thread GordonL
That works great if you put it in the initPanelHandler - thanks Andy! var initPanelHandler = function() { var basemapSwitcherWidget = Fusion.getWidgetsByType("BasemapSwitcher")[0]; var menuItems = basemapSwitcherWidget.menuItems; basemapSwitcherWidget.setBasemap('

Re: [mapguide-users] BASEMAPSWTICHER

2013-09-06 Thread GordonL
Thanks Jackie, nice job. Turns off the external provider layer but does not trigger the drop down event to put the selected icon on "None" I wonder how to refresh that gordon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/BASEMAPSWTICHER-tp5018001p5076533.html S

Re: [mapguide-users] BASEMAPSWTICHER

2013-09-06 Thread GordonL
Still trying to figure this out. I would love to have "None" by default, but the rest available to the user. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/BASEMAPSWTICHER-tp5018001p

Re: [mapguide-users] GeoRest Configuration

2013-08-06 Thread GordonL
ReadOnly=FALSE; ensures that the user must have write rights. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoRest-Configuration-tp5070575p5071145.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapgui

Re: [mapguide-users] GeoRest Configuration

2013-08-02 Thread GordonL
This might be causing the trouble.. In C:\GeoREST\conf\Sheboygan\Property\restcfg.xml C:\GeoREST\data\Sheboygan\Parcels.sdf;ReadOnly=FALSE; And you have to give windows permissions tho the sdf file too... -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoRest-Configura

Re: [mapguide-users] Map Menu, i can't pan after select an another map

2013-08-02 Thread GordonL
Two things to watch for 1 both maps have the same coordinate system 2 both maps Havre the same extents -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Map-Menu-i-can-t-pan-after-select-an-another-map-tp5070445p5070574.html Sent from the MapGuide Users mailing list archive

Re: [mapguide-users] Acres in the Fusion Measure Tools?

2013-08-02 Thread GordonL
Ah, you may have to use the FusionSF.js rather than the FusionSF-compressed.js in your index.htm page - to test this. The line is around 106548 if (this.isArea) { sq = '2'; } -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Acres-in-the-Fusion-Measure-To

Re: [mapguide-users] GeoREST Builds

2013-08-02 Thread GordonL
Ah. Thanks Jackie. I do love GeoRest - it is the best way to stream MapGuide into Leaflet (GeoJSON). -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoREST-Builds-tp5070344p5070499.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] Acres in the Fusion Measure Tools?

2013-08-01 Thread GordonL
I just tweaked /fusion/widgets/Measure/Measure.php page to do that.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Acres-in-the-Fusion-Measure-Tools-tp4481821p5070345.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

[mapguide-users] GeoREST Builds

2013-08-01 Thread GordonL
Hi All, does anyone know where the latest georest builds are: https://code.google.com/p/georest/downloads/list This only shows up to 2011? I have been using the ones bundled with AIMS 2014 lately but don't know where the Open Source ones are... -- View this message in context: http://osgeo

Re: [mapguide-users] getSessionID() Error in Mapguide Fusion (Version 2.5.0.7749)

2013-07-30 Thread GordonL
Yes, if you paste the following script in INVOKESCRIPT widget, it should alert the Session and MapName: -- View this message in context: http://osgeo

Re: [mapguide-users] VB.NET and map guide OS

2013-07-29 Thread GordonL
Check out Darrin's Blog for some vb.net examples: (http://www.geospecialling.com/index.php/2008/07/mapguide-2009-os-2-0-get-selected-key-values-vb-net-example-and-the-dreaded-mgselection-generatefilter-issue/) There are a couple examples on mine too: http://mapguide.wordpress.com/2010/07/09/migra

Re: [mapguide-users] SQL Server Spatial and SRS for geometry data type

2013-07-17 Thread GordonL
Hi I got around this issue by filtering the GEOM (is not NULL) in a view in SQL Server. But then I had to use SCHEMA OVERRIDES to ensure mapguide new what the Primary Key was. *sigh* -- View this message in context: http://osgeo-org.1560.x6.nabble.com/SQL-Server-Spatial-and-SRS-for-geometry-d

Re: [mapguide-users] getSessionID() Error in Mapguide Fusion (Version 2.5.0.7749)

2013-07-17 Thread GordonL
Since you are running this "onload" I bet the FUSION library is not loaded yet (or the map). Put that code in an "Invoke Script" and see if it works in Fusion. gordon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/getSessionID-Error-in-Mapguide-Fusion-Version-2-5-0-7749

[mapguide-users] Imperial Map reverts to Metric after "Search Widget" is used.

2013-07-17 Thread GordonL
Hi All, MGOS 2.5 - Windows Server - 64 bit (PHP Web Extensions) Issue: when user runs a Search widget in Fusion (Aqua), the map, which originally is set to Feet, reverts to Meters after the search is performed. The map is in Spherical Mercator, but the Options are set to Imperial. I can hack th

Re: [mapguide-users] Fusion Viewer External Providers Default Selection

2013-07-11 Thread GordonL
Hi, I've used the openlayers api to do this, but the menu still show the default in the dropdown. This would be a great feature to set the Commercial Layers to NONE as an option… -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-Viewer-External-Providers-Default-S

Re: [mapguide-users] Get coords from Database with PHP then zoom to location in iFrame

2013-07-04 Thread GordonL
The GETSELECTIONXML.php needs 6 things: SESSION MAPNAME KEYNAME like ID LAYERNAME like Roads ISSTRING like 1 or 0 KEY like 112345 You should have all 6 in the javascript: var mapWidget = Fusion.getMapById('Map'); var SESSION =mapWidget.aMaps[0].getSessionID(); var MAPNAME = mapWidget.aMaps[0].

Re: [mapguide-users] MapGuide Maestro 5.0 RC2 available

2013-07-03 Thread GordonL
Steps to reproduce: 1. Open the "Building" layer from the Sheboygan sample dataset. 2. For feature source, browse to Library://Samples/Sheboygan/Data/Parcels.FeatureSource 3. Error appears: (see below) I would do this, and cha

Re: [mapguide-users] Remove Overview Map from Map Widget

2013-07-03 Thread GordonL
Is the Folder supposed to list available maps for the MapMenu? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Remove-Overview-Map-from-Map-Widget-tp5062685p5063876.html Sent from the MapGuide Users

Re: [mapguide-users] MapGuide Maestro 5.0 RC2 available

2013-07-02 Thread GordonL
HI Jackie, one thing I have noticed. I use Maestro even when connecting to AIMS because it allows me to change the Feature Source of a layer without resetting all the styles. Lately, with the latest release, Maestro does not allow me to do this. I have to tweak it with the XML editor now rathe

Re: [mapguide-users] Remove Overview Map from Map Widget

2013-06-28 Thread GordonL
I still want the overview map. I just want better control of the mapmenu widget. I noticed in maestro a map path in the widget, what is it for? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Remove-Overview-Map-from-Map-Widget-tp5062685p5062980.html Sent from the MapGuid

[mapguide-users] Remove Overview Map from Map Widget

2013-06-27 Thread GordonL
Hi All, MGOS 2.4 and 2.5. I have a simple map that I use for an overview map. I want to share 5 maps for people to choose using the MapMenu widget, but want to omit the overview map. Is this possible? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Remove-Overview-Map-f

Re: [mapguide-users] MG 2.5: Fusion: Measure in Feet but show Lat Long in Status Bar

2013-06-26 Thread GordonL
Ah, I just have to tweak the StatusCoords The display projection fixes the map to show LL rather than Spherical Mercator. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MG-2-5-Fusion-Measure-in-Feet-but-show-Lat-Long-in-Status-Bar-tp5061683p5062457.html Sent from th

Re: [mapguide-users] MG 2.5: Fusion: Measure in Feet but show Lat Long in Status Bar

2013-06-22 Thread GordonL
Unfortunately the Measure and the Coordinate Systems are both tied to the same "Options" Widget (Imperial, Metric, Degrees) What I want is the Measure tool to use "Imperial" (Feet) and the Coordinate System at the Status Bar to show "Degrees" - if I could break this dual purpose for the Options, t

Re: [mapguide-users] Get coords from Database with PHP then zoom to location in iFrame

2013-06-21 Thread GordonL
Did that exact thing here (but for AIMS - easy fix for MGOS - just change paths and aliases from mapserver2014 to mapguide) http://mapguide.wordpress.com/2013/06/11/autodesk-infrastructure-map-server-auto-zoom-on-load/ -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-

[mapguide-users] MG 2.5: Fusion: Measure in Feet but show Lat Long in Status Bar

2013-06-21 Thread GordonL
I can't believe this is not obvious to me, but does anyone know to set the Measure Tool in Fusion to Feet, BUT have the display units in Degrees? My map is in Spherical Mercator. I am about a hair's breadth away from removing the coordinate display and putting in an OpenLayers one of my own….

Re: [mapguide-users] Partial Raster Transparency

2013-06-12 Thread GordonL
Hi Crispin, in order to do that, I had to use FUSION and OpenLayers. Check out image transparency over 3 years: https://www.youtube.com/v/j4-OLTRVvMg -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Partial-Raster-Transparency-tp5059085p5059748.html Sent from the MapGuide

Re: [mapguide-users] FOSS4G N.A. 2013 in Minneapolis

2013-06-12 Thread GordonL
Just heard back from FOSS4G 2013 (Nottingham) committee: No MapGuide Open Source at the FOSS4G conference this year. Disappointing. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/FOSS4G-N-A-2013-in-Minneapolis-tp5048634p5059719.html Sent from the MapGuide Users mailing l

Re: [mapguide-users] REST or SOAP services from an ArcGIS server.

2013-06-10 Thread GordonL
With AJAX (Basic Web Layout) you will have to stick with WMS. If you used fusion (http://openlayers.org/dev/examples/arcgis93rest.html) you could use the Rest API since it is based on OpenLayers. Gordon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/REST-or-SOAP-service

Re: [mapguide-users] Please help putting Ajax / Google discussion to rest

2013-06-10 Thread GordonL
You can't use Google as a background in the Basic Web Layout (aka AJAX). Now, if you find a Google Maps WMS Service (or Bing or OSM), you can add that layer as WMS... Google (ToS Breach?) http://sourceforge.net/projects/googlewms/ Or BING http://register.onterrasystems.com/wms.aspx Or OSM http

Re: [mapguide-users] Mapguide 2.4 Get Hyperlink all selected features

2013-06-06 Thread GordonL
That is great request. Enable Hyperlinks in the Basic and Fusion Properties Pane. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-2-4-Get-Hyperlink-all-selected-features-tp5058324p5058529.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] OpenLayers , MapGuide , GoogleMap together

2013-06-06 Thread GordonL
I think the mapagent defaults to version 1, try adding the version: var url = "http://localhost:8008/geoweb/mapagent/mapagent.fcgi?VERSION=2.0.0&USERNAME=Anonymous";; -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenLayers-MapGuide-GoogleMap-together-tp5058418p505

Re: [mapguide-users] Select specific layer and feature by passing value to flexible layout (AIMS2014)

2013-06-03 Thread GordonL
How you get the KEY, LAYERNAME, KEYNAME is up to you. You probably know that already. Just look at your SDF and your Layer Name. Yes, I use AJAX to call the PHP and get the XML. You can use this PHP...or tweak it a little and create your own. C:\Program Files\OSGeo\MapGuide\Web\www\fusion\wid

Re: [mapguide-users] Setting Maestro to move the application to a Web site

2013-06-03 Thread GordonL
In the image above, you can see that Maestro, or any web client (Chrome, IE) requires a URL to a web server. You have installed a web server and MapGuide Web Extensions and MapGuide Server on your local computer (that is why you ref

Re: [mapguide-users] How to generate the table

2013-06-03 Thread GordonL
FOSS4G Video: http://www.fosslc.org/drupal/content/tutorial-introduction-mapguide-open-source Also, in this example for FUSION: http://trac.osgeo.org/fusion/wiki/MapGuideTutorial you can open a HTML table with the selected features with the function displaySelection(selection) gordon -- Vie

Re: [mapguide-users] jxLib Overview Map onclose

2013-06-02 Thread GordonL
LOL, "the problem with your computer lies between the monitor and the chair". I just used the wrong quotes in the jxDialog definition. This does not work for the overview map. onClose: function(){alert('closed');} This does: onClose: function(){alert("closed");} Now I can capture

Re: [mapguide-users] Select specific layer and feature by passing value to flexible layout (AIMS2014)

2013-06-02 Thread GordonL
Hi all, I just use an onload function in Javascript and pass the MAPNAME, SESSION, LAYER, KEYNAME and KEY to a PHP page to get the selected XML, and then I just run a setselectionxml function in fusion, which will automatically zoom in. (Not for points - the Fusion API changed for points in the s

Re: [mapguide-users] GPX files?

2013-05-30 Thread GordonL
I don't think the OGR Provider was complied with GPX support. I had to build a tool to upload the GPX, convert into a SHP dynamically and add the SHP to the map for the user. It would be nice if we could connect directly to the uploaded GPX (Waypoints and Tracks) -- View this message in co

Re: [mapguide-users] jxLib Overview Map onclose

2013-05-17 Thread GordonL
Thanks Jackie, been digging and I can't find an alternative to the onclose event. It would be nice to capture the onclose event on the jxDialog. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/jxLib-Overview-Map-onclose-tp5052622p5054078.html Sent from the MapGuide Use

Re: [mapguide-users] Only portions of a layer appears at some scales

2013-05-10 Thread GordonL
I have noticed this happens if you map extents are not accurate. I.e. one of the Maximum Y are out to lunch (middle of Antarctica or something). Check your map extents or re-generate them with Maestro. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Only-portions-of-a-

[mapguide-users] jxLib Overview Map onclose

2013-05-10 Thread GordonL
Hi All, I just want to catch the event when the overview map closes. I have added this: dOverviewMap = new Jx.Dialog({ id: 'dialogOverviewMap', label: OpenLayers.i18n('ovmapTitle'), modal: false, resize: false, horizontal: 'right -10', vertical:

Re: [mapguide-users] Selection of Feature with Fusion in iFrame

2013-04-25 Thread GordonL
It would be really cool if this Fusion component was still implemented in MapGuide "Map.QUERY" http://trac.osgeo.org/fusion/wiki/Cookbook/Map/Query Using URL Parameters, you can turn on layers and zoom it (but not select) [note the documentation says "theme" but that is actually "map" http://trac

Re: [mapguide-users] FOSS4G N.A. 2013 in Minneapolis

2013-04-22 Thread GordonL
Hi Jackie, FOSS4G 2008 - Cape Town - Bob B. did a few MapGuide Classes, including Advanced Styling FOSS4G 2009 - Sydney - Harris K. and Geoff Z. did a GeoRest talk FOSS4G 2010 - Barcelona - I taught an Intro to MapGuide (only class on MapGuide) - Geoff did GeoRest FOSS4G 2011 - Denver - my intro to

[mapguide-users] FOSS4G N.A. 2013 in Minneapolis

2013-04-21 Thread GordonL
Anyone attending FOSS4G in Minneapolis? My Intro to MapGuide course (seen in Barcelona and Denver) was not accepted, but hoping to attend anyway. Gordon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/FOSS4G-N-A-2013-in-Minneapolis-tp5048634.html Sent from the MapGuide

[mapguide-users] Replace Duplicate Spaces

2013-04-16 Thread GordonL
Hi All, I am using TRANSLATE (weird name for replace) to remove extra spaces in my addresses. for example: 3550 Main Street North 3550 Main Street North Translate ( Translate (Translate(STADDR, ' ', '<>'), '><', ''), '<>', ' ') but I get a weird icon in my label:

Re: [mapguide-users] Google Maps API now expensive

2013-04-08 Thread GordonL
This is how we add OpenStreetMaps in Maestro 5 -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Google-Maps-API-now-expensive-tp4183319p5045318.html Sent from the MapGuide Users mailing list archive

Re: [mapguide-users] Displaying different images in tooltip function

2013-03-22 Thread GordonL
I would just create different layers, give them the same Legend Name, but change the scale of each one, to change the tooltips by scale. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Displaying-different-images-in-tooltip-function-tp5042105p5042371.html Sent from the Ma

[mapguide-users] Internet Explorer 10 with Basic Web Layout

2013-03-12 Thread GordonL
Hi All, this fix http://trac.osgeo.org/mapguide/ticket/2109/ is great if you are using the Basic Web Layout with IE 10. Replace the "browserdetect.js" in the folder C:\Program Files\OSGEO\MapGuide\Web\www\viewerfiles\ And your map will appear in Internet Explorer 10 with MGOS 2.4 or AIMS 2013.

Re: [mapguide-users] REST FDO provider

2013-02-28 Thread GordonL
Hi Jon, the GEOREST renders are: XML KML HTML ATOM JSON ODATA PNG The only one that you might get to be re-consumed by MapGuide would be the KML one using the SL-KING FDO Provider for KML...haven't tried it but it might work in a round-trip kind of way. gordon -- View this message in con

[mapguide-users] MapGuide 2.5 Beta 1

2013-02-16 Thread GordonL
Hi All, loving the Google Street View in MGOS 2.5 Beta 1! Also, the quick plot as PDF is very slick. There is a still a bug with overview map (not sure if I have rights to report the bug). Issue: In MGOS 2.5 Beta 1 windows, with a Spherical Mercator Map, use the sample data of Sheboygan, the ov

Re: [mapguide-users] How to use one Fusion template with differents maps and initial task panes ?

2013-02-14 Thread GordonL
perhaps you can try using MapGuide Maestro? that has all those tools... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-use-one-Fusion-template-with-differents-maps-and-initial-task-panes-tp5034424p5034449.html Sent from the MapGuide Users mailing list archive at Nab

Re: [mapguide-users] Mapguide training

2013-02-06 Thread GordonL
That is great news. If only we could get it into all the colleges! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Mapguide-training-tp5032563p5032566.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ ma

Re: [mapguide-users] Cannot connect to large SDF files anymore

2013-01-29 Thread GordonL
If you don't want to upgrade MGOS 2.4 (or AIMS 2013 for that matter) and you want to use large SDF files, I have found that this works for me: 1. Back up the following files on the server (C:\Program Files\OSGEO\MapGuide\Server\Fdo\ ) • SDFProvider.dll • SDFMessage.dll 2. Download the

Re: [mapguide-users] authentication II

2013-01-02 Thread GordonL
Are you using Microsoft IIS? If so, check permissions. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/authentication-II-tp5025338p5025340.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users

Re: [mapguide-users] Start up

2012-12-19 Thread GordonL
Zac, which flavour of Linux do you use for MapGuide 2.4 on Linode? Centos 5.6? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Start-up-tp5023341p5023958.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

Re: [mapguide-users] Start up

2012-12-18 Thread GordonL
Hi Felix, you will have to install MapGuide (both Server and Web Extensions) on your external site. If you don't have access to install software, you will have to find an external server (exposed to the web) where you can install the software. The cheapest solution is a Virtual Private Server (

Re: [mapguide-users] Errors on MG 2.4 Maestro 5b (IIS7 config from installer, with CGI), Fusion API

2012-12-18 Thread GordonL
You may have to log in the user with "Markup" "markup" if you are using the Generic Tasks. Otherwise, you may not have read-write to the SDF. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Errors-on-MG-2-4-Maestro-5b-IIS7-config-from-installer-with-CGI-Fusion-API-tp502322

[mapguide-users] Maestro 5.0 beta 5 on MAC

2012-12-12 Thread GordonL
Running Mac OS X - and have MONO etc. Keep getting following error. Details: System.NotImplementedException: The requested feature is not implemented. at System.Windows.Forms.XplatUICarbon.SetClipRegion (IntPtr hwnd, System.Drawing.Region region) [0x0] in Perhaps I am missing something?

Re: [mapguide-users] MS Access File Locked Exclusively

2012-12-11 Thread GordonL
Yes, adding the OSGeo.ODBC to the exception and that worked a treat. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MS-Access-File-Locked-Exclusively-tp5022085p5022236.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

[mapguide-users] MS Access File Locked Exclusively

2012-12-10 Thread GordonL
MGOS 2.4 - 64bit - FDO 3.7 Windows 2008R2 IIS For some reason MGOS 2.4 (ODBC with 64 bit) is locking the Access file (I know, I know - I hate Access too) To release the lock I have to stop MGOS Service and IIS to get it free again. If I open the PHP page before MGOS looks at the access file, I a

Re: [mapguide-users] Coordinate System Transformation in 2.4

2012-12-10 Thread GordonL
Cool, I downloaded the 3.8 64 bit build (http://download.osgeo.org/fdo/3.8.0/builds/K122/binaries/win64/fdosqlspatial-win64-3.8.0_12201.tar.gz) and it fixed the flipping of SQL Server Geometry with MGOS 2.4 Is that normal that it would be compatible, when the rest of the FDO Providers are 3.7?

Re: [mapguide-users] Fusion on public URL MG 2.4

2012-12-05 Thread GordonL
Is your current Server exposed to the web? If so, what is it's IP or URL? Then you change your link to: http:///mapguide/fusion/templates/aqua/index.html?ApplicationDefinition=Library://Layouts/kokocz.ApplicationDefinition&locale=en I would make this even smaller and put it in an iframe within

Re: [mapguide-users] Coordinate System Transformation in 2.4

2012-12-05 Thread GordonL
Hi, the only workaround is that rather than putting the data in GEOMETRY for LL put it in GEOGRAPHY for LL and it seems to fix it. gordon -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Coordinate-System-Transformation-in-2-4-tp5020984p5021010.html Sent from the MapGuide

Re: [mapguide-users] Coordinate System Transformation in 2.4

2012-12-05 Thread GordonL
Yes, I was just tweeting about this yesterday. The FDO 3.7 Flips the coordinates for any GEOMETRY data in SQL Server in Lat Long (EPSG:4326). This affects all products using FDO 3.7: MapGuide Open Source 2.4 Autodesk IMS 2013 AutoCAD Map 3D 2013 Autodesk Infrastructure Modeler 2013 etc -

Re: [mapguide-users] Funny Bug with URL Parameter ?theme=Library://map.mapdefinition

2012-11-30 Thread GordonL
Ok, I thought this bug looked familiar. the issue, if your maps have different coordinate systems or extents the theme= parameter still works, but the selectability suffers. the only workaround is this: 1 set all the maps to same coordinate system 2 set the extents of the map the same in all maps

[mapguide-users] Funny Bug with URL Parameter ?theme=Library://map.mapdefinition

2012-11-26 Thread GordonL
IN FUSION there is a handy URL parameter called THEME You can override the map that you created your ApplicationDefinition with. I use it all the time. Weird bug with 2.4, the map selection colour reverts to white or clear when switching the map using theme= Not sure if its my map definition o

[mapguide-users] BASEMAPSWTICHER

2012-11-21 Thread GordonL
Hi All, does anyone know a shortcut (in javascript) to programmatically enable the "NONE" in the BASEMAPSWITCHER widget? I can manually get the oLMap and to turn off all the basemap layers easily: *map.setBaseLayer(mapWidget.aMaps[0].oLayerOL, false);* but then the BASEMAPSWITCHER still shows

Re: [mapguide-users] Fusion broken.

2012-11-19 Thread GordonL
why not work through my videos and see if your questions are answered? http://www.youtube.com/watch?v=tf9idv0pimk&feature=youtube_gdata_player there are 11 created for FOSS4G 2011 -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-broken-tp5016340p5017473.html Sent

Re: [mapguide-users] Fusion - how to set the hyperlink to open in the taskpane?

2012-11-17 Thread GordonL
I usually put my fusion template in an iframe called 'iFrameMap' so to target it with Javascript top.iFrameMap.taskPane.openURL('something.htm'); -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-how-to-set-the-hyperlink-to-open-in-the-taskpane-tp5014070p5017112.ht

Re: [mapguide-users] Stop fusion map with commercial layer flashing the USA?

2012-11-06 Thread GordonL
Really, you don't want to see the USA prior to seeing the UK? Since the OpenLayers loads the background layer first and then sets the map extent second, this is hard to avoid. You could hide the entire map area behind a div until the map loads completely using the FUSION api. (maybe the Fusion.E

Re: [mapguide-users] Fusion - how to set the hyperlink to open in the taskpane?

2012-11-06 Thread GordonL
In your Fusion Flexible Web Layout, you need to create a InvokeURL widget (from within Maestro) Here is an example of one loading the http://mapguide.osgeo.org page into the task pane: -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-how-to-set-the-hyperlink-to-ope

[mapguide-users] Fusion Measure Tool Colour

2012-11-06 Thread GordonL
Hi All, in Maestro, there are parameters for adjusting the Measure widgets: I wonder, are these implemented? They seem not to be active. gordon -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-Measure-Tool-Colour-tp5014415.html Sent from the MapGuide Users m

Re: [mapguide-users] getSessionID Fusion in MGOS 2.4

2012-10-24 Thread GordonL
Thanks Jackie, I will have to make a similar JS function for getMapName too. This change affect users going from AIMS 2012 to AIMS 2013 and MGOS 2.2 to MGOS 2.4. gordon -- View this message in context: http://osgeo-org.1560.n6.nabble.com/getSessionID-Fusion-in-MGOS-2-4-tp5010520p5010822.html

[mapguide-users] getSessionID Fusion in MGOS 2.4

2012-10-23 Thread GordonL
Alright, I noticed that the AIMS2012 to AIMS2013 issue is the same as moving from MGOS 2.2 to MGOS 2.4 With MG 2.2 you get the session id with Fusion like this: var mapWidget =Fusion.getWidgetById('Map'); var SESSION = mapWidget.getSessionID(); var MAPNAME = mapWidget

Re: [mapguide-users] Thousands of DWFs!

2012-10-19 Thread GordonL
Too bad, I would love to have DWF as an unmanaged datasource. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Thousands-of-DWFs-tp5008533p5009995.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-u

Re: [mapguide-users] Map3D compatibility - "document no saved" warning

2012-10-19 Thread GordonL
Yes, you need to save the DWG prior to exporting to MapGuide. Also, you find that any layers that use the "Autodesk FDO Provider for…" will not work. This included Raster since Open Source Raster uses GDAL not the Autodesk on. So when publishing to MG2.4 from Map 3D, only publish maps where the

Re: [mapguide-users] http://localhost/Default.aspx/localized/en.json when trying to add asp.net to mobileviewer

2012-10-19 Thread GordonL
The getQueryParam is a custom function in the mobileviewer that parses the GET statement and checks for &map= or &baselayers= In the your Default.aspx rather than baseLayers = mobileViewer.getQueryParam('baselayers'); why not hard code baseLayers = "google"; Also, for: var mapDef = mobileView

Re: [mapguide-users] FDO SHP connection error.

2012-10-18 Thread GordonL
I would be tempted to log mapguide's service (in Control Panel) in as a user who can see that UNC Path. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/FDO-SHP-connection-error-tp5009721p5009739.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

Re: [mapguide-users] FDO SHP connection error.

2012-10-18 Thread GordonL
Hi, I just tried ALIASES for SHPs on 64bit MGOS 2.4. At first I was getting this error, but then you have to watch for the Radio button in Maestro. The Radio button is "Unmanaged File" - you need to check this. gordon -- View this message in context: http://osgeo-org.1560.n6.nabble.com/F

Re: [mapguide-users] Thousands of DWFs!

2012-10-16 Thread GordonL
I know and i loathe to recommend shp files, but there it is. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Thousands-of-DWFs-tp5008533p5009167.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-

Re: [mapguide-users] Thousands of DWFs!

2012-10-16 Thread GordonL
Sure, SDF is a little database, but often disparate departments want to push up their sdf, and it would be nice to have a datasource folder-based to iterate the sdfs like shp, on those occasions. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Thousands-of-DWFs-tp5008533p

Re: [mapguide-users] Thousands of DWFs!

2012-10-16 Thread GordonL
SDF can be managed as a feature source one file at a time, unlike SHP files, which can be multiple files. DWF - no aliases -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Thousands-of-DWFs-tp5008533p5009163.html Sent from the MapGuide Users mailing list archive at Nabble.c

[mapguide-users] Thousands of DWFs!

2012-10-14 Thread GordonL
Hi All, I have thousands of DWFs. I can use a load procedure. I would rather use an ALIAS, but, alas, this is not available for DWFs - what a graceful solution that would be, eh? They change daily, if not hourly (team of 50+ AutoCAD users [not Map 3D]) Other than searching and replacing thous

Re: [mapguide-users] during executing ZoomToView(x, y, scale, true) scale gate changes.

2012-09-18 Thread GordonL
try alerting the pScale alert(pScale); to see what you are getting. Also, if you are using the Base Maps (OSM, Google, etc) the scale will only match the commercial sites, not your own. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/during-executing-ZoomToView-x-y-sca

Re: [mapguide-users] ZoomToView

2012-09-10 Thread GordonL
Since you are using the AJAX version its a little harder to zoom in on load since there is not a URL Parameter like the Fusion site (extent=) So you will have to do a little work: 1. First catch the X and Y you are passing for example X=-115.443&Y=45.8789 2. Then set up EVENT HOOKING to call yo

Re: [mapguide-users] Creation of a FeatureSource

2012-09-10 Thread GordonL
I tend to create permanent Library connections and layers when debugging, so i can debug them in Maestro. change your lines where you have 'Session' to Library string resourceId = string.Format("Session:{0}//{ 1}" ,sessionId, name); string resourceId = string.Format("Library://{0}", name); f

Re: [mapguide-users] API Change in MG 2.4 also Affects PUT in GeoRest?

2012-08-29 Thread GordonL
The funny thing is, the georest 'PUT' worked fine in MGOS2.2 and MG2011. The update 'PUT' is just updating the sample Parcels.sdf from the Sheboygan data set. The Ajax feedback from GeoRest says Feature updated but does not actually update the SDF GeoRest may need a proper build for mgos 2.4 I don

Re: [mapguide-users] MGOS - DWG / DXF

2012-08-28 Thread GordonL
According the OGR/GDAL site (http://www.gdal.org/ogr/ogr_formats.html) DWG is supported (but I would definitely say that Object Data and Link Templates aren't), although I haven't tried the OGR for DWG yet. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/MGOS-DWG-DXF-tp

Re: [mapguide-users] API Change in MG 2.4?

2012-08-22 Thread GordonL
No, this is a clean install on a new VM Image (32 bit and Apache) gordon -- View this message in context: http://osgeo-org.1560.n6.nabble.com/API-Change-in-MG-2-4-tp4996684p4997146.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] API Change in MG 2.4?

2012-08-22 Thread GordonL
Ah, solved it: There is a coordinate system definition change in MGOS 2.4 from MGOS 2.2 for the LL84 system. So if you want to use the Markup code you will have to change the markupmanager.php in the classes folder. Change line 7 from: const LL84WKT = 'GEOGCS["LL84",DATUM["WGS_1984",SPHEROID["WG

Re: [mapguide-users] API Change in MG 2.4?

2012-08-22 Thread GordonL
The error log: <2012-08-22T14:14:01> 3532Ajax Viewer 127.0.0.1 Markup Error: Failed to stylize layer: _gordon The coordinate system initialization failed. Could not initialize the geodetic transformation. StackTrace: - MgMappingUtil.StylizeLayers() line 881 file

Re: [mapguide-users] API Change in MG 2.4 also Affects PUT in GeoRest?

2012-08-22 Thread GordonL
Hmm, I don't actually see a build for GeoRest on http://code.google.com/p/georest/downloads/list I decided to try using the AIMS 2013 GeoRest and the same result. gordon ps. testing procedure: 1. Modify C:\GeoREST\conf\Sheboygan\Property\restcfg.xml with XML PUT/DELETE/POST options and point

[mapguide-users] API Change in MG 2.4 also Affects PUT in GeoRest?

2012-08-21 Thread GordonL
My previous post (http://osgeo-org.1560.n6.nabble.com/API-Change-in-MG-2-4-tt4996684.html) shows that I was unable to update data with the Markup tool in MGOS 2.4 Beta 1 (32 bit). Also, I have noticed that the PUT command for XML in GeoRest also does not seem to work, perhaps it's the same bug i

[mapguide-users] API Change in MG 2.4?

2012-08-21 Thread GordonL
Hi All, I have rolled out the MARKUP component from the Generic Tasks for Basic Web Layouts in 2.4 from here: http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/GeneralTasks Everything works using the Markup/markup user: 1. An SDF is created 2. A datasource connected to the SDF is created 3. A l

<    1   2   3   4   5   6   7   8   >