Re: [mapguide-users] Oracle XE with ODBC?

2008-10-17 Thread GordonL
Thanks for the feedback. Yes, my data is only numeric - meaning I am trying to draw points (X column and Y column) using the ODBC FDO Connector. I have used Uppercase USER. I have tried two connectors (both XE Client and XE Quick Client). I have tried users that are DBA (including system). When

RE: [mapguide-users] SPAM-LOW: Re: Oracle XE with ODBC?

2008-10-17 Thread GordonL
loaded, modified and uploaded. > > Doing this would probably be a work-around for the enumeration problem in > Studio. > > Andy Morsell, P.E. > Spatial Integrators, Inc. > www.SpatialGIS.com > > > -Original Message- > From: [EMAIL PROTECTED] >

RE: [mapguide-users] SPAM-LOW: Re: Oracle XE with ODBC?

2008-10-17 Thread GordonL
move my database out of Oracle... gordon Andy Morsell wrote: > > Might be a parser problem? How about using " for double-quotes > instead? > > Andy > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of

[mapguide-users] External SHP file Refresh?

2008-12-17 Thread GordonL
Hi all, I know that one has to restart the server to see the new External File Alias, but is this true for additional files added to that folder? How does one refresh the Data Connection to that folder to see the new file? My workflow: 1. User uploads a SHP/DBF/PRJ file into the Aliased fold

RE: [mapguide-users] External SHP file Refresh?

2008-12-17 Thread GordonL
e- > From: mapguide-users-boun...@lists.osgeo.org > [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL > Sent: Wednesday, December 17, 2008 2:25 PM > To: mapguide-users@lists.osgeo.org > Subject: [mapguide-users] External SHP file Refresh? > > > Hi all, > I know th

Re: [mapguide-users] External SHP file Refresh?

2008-12-18 Thread GordonL
e() then SetResource() > call sequence. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > GordonL skrev: >> Thanks Dave, >> that is true, the SHP does appear when refreshing within Studio Preview >> window, but it is still not available to the code. I wo

[mapguide-users] Maximum number of Coordinate Pairs?

2009-01-05 Thread GordonL
Hi, has anyone has issues with a maximum number of coordinate pairs in a feature? For example, I have a feature with 1,400 coordinate pairs and I can see it with FME Universal Viewer but that particular object won't appear in mapguide... the rest appear from the same dataset but not the one wit

Re: [mapguide-users] invokeurl

2009-01-23 Thread GordonL
Did you figure this out with Flexible Web Layouts? This fix works great for Simple Web Layouts but how do we turn on Scrolling/Toolbars in the InvokeURL for Fusion? Is it part of the InvokeURL.js file in the /fusion/wigets/ folder? thanks gordon Andrew DeMerchant wrote: > > Is there a way t

Re: [mapguide-users] invokeurl

2009-01-29 Thread GordonL
ars - but I can't recall how at the > momentdo a search on Nabble, and you should find the answer. > > Andrew > > > GordonL wrote: >> Did you figure this out with Flexible Web Layouts? This fix works great >> for >> Simple Web Layouts but how do we t

Re: [mapguide-users] invokeurl

2009-01-29 Thread GordonL
ile for > that widget...sorry I'm no more help than that! > > On 1/29/2009 11:44 AM, GordonL wrote: >> Hi Andrew, >> I am having trouble finding the entry in Nabble. Do you have an example? >> I >> am sure I did this a couple of years ago, but I can

RE: [mapguide-users] invokeurl

2009-01-29 Thread GordonL
Message- > From: mapguide-users-boun...@lists.osgeo.org > [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL > Sent: Thursday, January 29, 2009 12:26 PM > To: mapguide-users@lists.osgeo.org > Subject: Re: [mapguide-users] invokeurl > > > Hi Andrew, >

RE: [mapguide-users] Fusion and Digitizing

2009-01-29 Thread GordonL
You know, you really do not need to reinvent the wheel, if you have already built a lot of code with the Basic Web Layouts. Did you know that Fusion supports some retro digitizing methods? For example, I put the following in an INVOKESCRIPT in the Flexible Web Layout: top.parent.DigitizePoint(to

RE: [mapguide-users] Fusion and Digitizing

2009-01-29 Thread GordonL
ailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL > Sent: Thursday, January 29, 2009 1:20 PM > To: mapguide-users@lists.osgeo.org > Subject: RE: [mapguide-users] Fusion and Digitizing > > > You know, you really do not need to reinvent the wheel, if you have >

Re: [mapguide-users] MapGuide REST Extension

2009-02-04 Thread GordonL
Hi Jason, the REST extension looks really promising. I particularly like the "code-free" aspect to extract attributes and coordinates of the features. Have you found it limiting due to the GET limitations. For example, I often have features with thousands of vertices, and it would be difficult

Re: [mapguide-users] MapGuide REST Extension

2009-02-04 Thread GordonL
Hi Jason, the REST extension looks really promising. I particularly like the "code-free" aspect to extract attributes and coordinates of the features. Have you found it limiting due to the GET limitations. For example, I often have features with thousands of vertices, and it would be difficult

[mapguide-users] Bookmarking

2009-03-14 Thread GordonL
Hi All, I was wondering, has anyone seen a bookmarking tool (either FUSION or Basic Web Layout)? I think there are different ways of doing this. 1. I saw one solution that grabbed the URL of the web layout (including sessionid) but this expires... 2. I thought I could capture the map name, c

Re: [mapguide-users] Bookmarking

2009-03-17 Thread GordonL
e-users-boun...@lists.osgeo.org >> [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL >> Sent: Saturday, March 14, 2009 2:56 PM >> To: mapguide-users@lists.osgeo.org >> Subject: [mapguide-users] Bookmarking >> >> >> Hi All, >> I was

Re: [mapguide-users] invokeurl

2009-03-17 Thread GordonL
studio. The invokeurl.js should be > involved. > > Appreciate if you reply. > > Thanks > > > GordonL wrote: >> >> Hi Andrew, >> ok I figured it out. It is the InvokeURL.js file. >> This file is found in the follow

Re: [mapguide-users] Bookmarking

2009-04-09 Thread GordonL
, it initializes the map from the MapGuide resource ID, rather than mapname and session. Mike GordonL wrote: > Hi Mike, > Does it capture current Map Scale and Layer State? > > Also, does it cupture current SESSIONID? > > thanks > gordon > > > > Mike Adair wr

Re: [mapguide-users] Bookmarking

2009-04-09 Thread GordonL
ntry for it and an entry in the toolbar in the AppDef. Mike GordonL wrote: > Hi Mike, > I am playing with the "Link to View" widget. What is required to add it to > the toolbar? Is there some documentation for it's use? > > thanks > gordon > > > I

Re: [mapguide-users] Bookmarking

2009-04-10 Thread GordonL
it to the toolbar: Toolbar Toolbar Widget LinkToView .. There should be some way for Studio to put that in, but I'm not sure how. You probably also need a label or icon for it in the element. Mike GordonL wrote: > Thanks Mike, > her

Re: [mapguide-users] Converter sdf to *.sql

2009-04-14 Thread GordonL
How about Oracle's shp2sdo.exe? regards gordon Thanx Guyz.. but still no solve my problem.. anytin i'll tell u.. thanx -- View this message in context: http://n2.nabble.com/Converter-sdf-to-*.sql-tp2603465p2634698.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

Re: [mapguide-users] Adding map layers to a map by clients

2009-04-17 Thread GordonL
I think it would be very cool to be able to pull out the functionality from Maestro for creating Layers from existing data on the server (SHP, SDF, Oracle, etc) - from within the Map interface - there is a lot of work involved otherwise. Is there a way to let clients using fusion, ajax or f

Re: [mapguide-users] Oracle FDO and View

2009-05-19 Thread GordonL
Hi David, did you ever solve this problem? I am having trouble that features drawn from VIEWS in Oracle are not selectable (FDO 4.3). This is true for both the Autodesk Oracle Provider AND the KING one.. thanks gordon David Hequet wrote: > > Hello, > > About this case i'm using Autodesk Map

Re: [mapguide-users] Oracle FDO and View

2009-05-20 Thread GordonL
ew (MapGuide > need Primary key on all feature to be selectable). > > David > > > GordonL wrote: >> >> Hi David, did you ever solve this problem? >> >> I am having trouble that features drawn from VIEWS in Oracle are not >> selectable (FDO 4.3). T

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread GordonL
>> KingFdoClass metadata table to tell provider which column will be used >> as primary key. >> >> Haris >> >> -Original Message- >> From: mapguide-users-boun...@lists.osgeo.org >> [mailto:mapguide-users-boun...@lists.osgeo.org

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread GordonL
t; basically a table. > > Dave > > -Original Message- > From: mapguide-users-boun...@lists.osgeo.org > [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL > Sent: Tuesday, May 26, 2009 2:37 PM > To: mapguide-users@lists.osgeo.org > Subject:

RE: [mapguide-users] Oracle FDO and View

2009-05-26 Thread GordonL
Ok, finnally, I created a new column called GISKEY based on the ROWNUM and made that the primary key in the Materialize View..and it works great now. Thanks! gordon GordonL wrote: > > Yep, the materialized view has its own key - but still the individual > objects cannot be select

RE: [mapguide-users] Add a layer from a shape file (.shp) - MapGuide

2009-05-28 Thread GordonL
Hi Andy, that is exactly what I suggested to a customer - try Maestro. What I had to do if enable people to upload SHP files into a folder, then I use the API to look into the directly and harvest the spatial/attribute data and put in into Oracle XE - I require some standards in the DBF column n

RE: [mapguide-users] Oracle FDO and View

2009-05-29 Thread GordonL
Thanks Bruno! I added that contraint to the VIEW and voila! MVIEWS might be faster, but the VIEWS are "real-time". Bruno Scott wrote: > > This is the SQL syntax to add a primary key on an Oracle View > > alter view add constraint primary key > () disable novalidate; > > Once the view has

RE: re: [mapguide-users] flexible web layouts

2009-06-01 Thread GordonL
HI Jason, I did tweak the coordinate system here and have it working. Look at: http://squamish2010.ca/mapguide2010/contaminants/main_fusion.php However, I am not sure how to convert such client-side javascript to produce a printable map with the OpenLayers? Any hints? thanks gordon Jason

[mapguide-users] ALIAS keeping old path in Package

2009-06-02 Thread GordonL
I was wondering if anyone has come across this one: I have a MGP that has some data sources that point to some TIF files that use an ALIAS (i.e. "GIS_DATA" points to E:\GIS ) My other server the same GIS_DATA points to C:\GIS, but for some reason, my data sources all still point to the old locati

Re: [mapguide-users] ALIAS keeping old path in Package

2009-06-02 Thread GordonL
Thanks guys. I was wondering what is going on. Yes, the XML does show the old path hard coded in. I am extracting the mgp now and seach and replacing in Notepad++ thanks for your help! gordon James Card wrote: > > On Tue, 02 Jun 2009 09:23:53 -0700, Chris Claydon > wrote: > >> I think

Re: re: [mapguide-users] google mapintegration with mapguide

2009-06-19 Thread GordonL
Were you ever able to solve this one? I can put the google maps over my map using the Spherical Mercator projection, but my Overview map in FUSION does not appear. I think the custom coordinate system is causing the overview map to hang? I have set my overview map to the same map (spherical M

Re: [mapguide-users] Bookmarking

2009-06-22 Thread GordonL
on.Label[0] : (this.domObj.innerHTML ? this.domObj.innerHTML : 'Link to View'); GordonL wrote: > > Hi Mike, > I have added the following to the right-click menu: > > Widget > LinkToView > > > Now I get a javascript error: > > Error: 'this.domObj.nnerH

Re: [mapguide-users] MGE 2010: fusion pre-authentication (autologin) no longer works

2009-06-22 Thread GordonL
Hi, I am having the same problem: http://squamish2010.ca/mapguide2010/fusion/templates/mapguide/googleaqua/index.html?APPLICATIONDEFINITION=Library://Contaminants/Layouts/Contaminants_Flexible_Layout.ApplicationDefinition&SESSION=10d6c434-4199-102c-8000-00505600_en_7F010AF20AF10AF0 this

Re: [mapguide-users] MGE 2010: fusion pre-authentication (autologin) no longer works

2009-06-25 Thread GordonL
gt; > Andy Morsell, P.E. > Spatial Integrators, Inc. > 47° 46' N 116° 49' W > www.SpatialGIS.com > > > -Original Message- > From: mapguide-users-boun...@lists.osgeo.org > [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of GordonL > Sent

RE: [mapguide-users] 2.1 Beta (Fusion) Problems

2009-07-07 Thread GordonL
Awesome fix! Thanks for that. I now have Firefox working without prompting for a password! thanks again gordon Benoit Begin wrote: > > The Firefox issue is fairly straightforward to fix, except for my lack of > understanding of the actual cause of the issue. > > In ApplicationDefinition.js

Re: [mapguide-users] Case Statement in Tool tip field

2009-07-07 Thread GordonL
Hi, there are a few workarounds for this one: 1. Create a thematic layers based on TYPE_POLUTION and hard-code text into the labels. 2. Create multiple layers filtered on TYPE_POLUTION 3. Create a lookup table in a database (i.e. Access) and join it to your data for tooltips based on TYPE_POLUTION

RE: re: [mapguide-users] flexible web layouts

2009-08-05 Thread GordonL
"controls: [new OpenLayers.Control.KeyboardDefaults()]" 3. I use OpenLayers to add the google layer 3. I use OpenLayers to add the MapGuide layer 4. Onload I trigger a print() that's it. It's fun using the OpenLayers map as a print for MapGuide... gordon GordonL wrote: &g

Re: [mapguide-users] Referencing frames

2009-08-05 Thread GordonL
Hi Alex, try top.top. reportFrame Glad to see you're still around! gordon Alex Fordyce wrote: > > Hi, > > I have the following framesets: > > > > >src="../mapviewernet/ajaxviewer.aspx?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>"> > > > > > > > > I al

Re: [mapguide-users] google mgp

2009-08-07 Thread GordonL
Yes, I loaded it with mg2010. The key to this package really is just ensuring you have a map with the Sperical Mercator projection: PROJCS["Popular Visualisation CRS / Mercator", GEOGCS["Popular Visualisation CRS", DATUM["Popular Visualisation Datum", SPHEROID["Popular Visualisation Sphere", 63

[mapguide-users] Virtual Earth and Firefox with FUSION?

2009-08-11 Thread GordonL
Hi All, I have a strange issue. For some reason the Virtual Earth OpenLayers overlay only seems to work with Internet Explorer (Windows) and Safari (Windows and MacBook Pro), but no Firefox (any OS). I am not sure what the issue is, but I checked out the openlayers demo (http://openlayers.org/de

Re: [mapguide-users] Need Highlighting Sample

2009-10-01 Thread GordonL
Hi Matt, the one item I want to mention here is the Load Procedure for DWG. Although you can load DWG files, you cannot get OBJECT DATA, BLOCK ATTRIBUTES or LINK TEMPLATES. This is a huge chasm between DWG and FDO and its has been a hole in AutoCAD Map to MapGuide since the early days of FDO.

[mapguide-users] Bookmarking Revisited - LINKTOVIEW

2009-10-05 Thread GordonL
Hi All, I was wondering if anyone has ever tried the LINKTOVIEW widget in Fusion? If so, how did you get it to work? example? version? MGOS 2.0.2 or beta etc? thanks! gordon -- View this message in context: http://n2.nabble.com/Bookmarking-Revisited-LINKTOVIEW-tp3771957p3771957.html Sent

Re: [mapguide-users] Bookmarking Revisited - LINKTOVIEW

2009-10-07 Thread GordonL
ear to be working currently; hmm). > I'm not 100% sure how it works though, so you'd have to reverse engineer > it > or hope that Mike or Paul steps in here :) > > Jason > > 2009/10/5 GordonL > >> >> Hi All, >> I was wondering if anyone has eve

Re: [mapguide-users] Bookmarking Revisited - LINKTOVIEW

2009-10-07 Thread GordonL
folder. Everything else > should be in the html and nanaimo.js (or something like that). Be > aware that some extensions (redlining at least) are proprietary. > > On 2009-10-07, GordonL wrote: >> >> Thanks Jason, >> I just saw this on your site. What version are you u

Re: [mapguide-users] Virtual Earth and Firefox with FUSION?

2009-10-08 Thread GordonL
using > the > SVN trunk version and hit the same snag. > > > > Cheers, > > > Kori Maleski > > > > On Tue, Aug 11, 2009 at 11:47 AM, GordonL > > wrote: > >> >> Hi All, I have a strange issue. For some reason the Virtual Earth >

Re: [mapguide-users] Virtual Earth and Firefox with FUSION?

2009-10-08 Thread GordonL
27;t. > > I don't really know what to think about this. Not sure if it is due > to being in an iframe, a timing issue loading the ms maps api or > something else > > Can you try with firebug and see if you get the same thing (with break > on all errors on) >

Re: [mapguide-users] Virtual Earth Zoom Levels

2009-10-15 Thread GordonL
I haven't been able to go below either limit (even after experimenting with the ranges). I have to turn off Google below the 1:1128 and the VE below the 1:4500 - unfortunately that leaves a very boring map. regards gordon Fraser Burgess wrote: > > Hi List > > > > Has anyone been able to

Re: [mapguide-users] FOSS4G 2009 roll-call

2009-10-19 Thread GordonL
Hi Jackie, that sounds great. I will be attending your session. regards gordon Jackie Ng wrote: > > Hi Everyone, > As most of you know, FOSS4G 2009 in Sydney is just around the corner, so > who's gonna be attending? > > I'll be personally presenting at the event (about my FDO Toolbox > appli

RE: [mapguide-users] Passing username and password into url with fusion

2009-10-21 Thread GordonL
You can fix it with that fix that was listed on an earlier post: In ApplicationDefinition.js, the method getAppDef(xhr) needs to be changed to be like this: getAppDef: function(xhr){ if (xhr && typeof(xhr) == "object" && xhr.responseText) { this.sessionId = xhr.responseText;

Re: [mapguide-users] Label Expressions - replaceall

2009-11-12 Thread GordonL
Hi Zac, where you replaced the linefeeds, did you do something like this? Translate(MYFIELD, chr(12), '\n') Do you know how to pass ASCII in the Expression for the tool tip? thanks gordon zspitzer wrote: > > that's really terribly explained, when I first saw "from-characterset" > with trans

Re: [mapguide-users] How to get selected area information in mapguide

2009-11-12 Thread GordonL
Hi, I think the issue is with MgServiceType::ResourceService replace the line: $resourceService = $siteConnection->CreateService(MgServiceType::ResourceService); with $resourceService = $siteConnection->CreateService(0); regards gordon nekad wrote: > > Hey guys.. > I'm newbie in GIS wor

Re: [mapguide-users] Label Expressions - replaceall

2009-11-13 Thread GordonL
> > i did the actual string manipulation outside FDO and thenrun every time. > saved it again, rather than as an expression which gets > > > if that didn't work, maybe try double quotes? > > z > > On Fri, Nov 13, 2009 at 2:34 AM, GordonL > wrote: >>

Re: [mapguide-users] Problem with the MG 2.0 on IIS 5.0 ...

2008-03-17 Thread GordonL
Hi, there is a funny PHP issue I have been finding in IIS. You have to drop the Quotes around the path to the php5isapi.dll and use the 8.3 DOS method for php registration. C:\PROGRA~1\MAPGUI~1\WEBSER~1\Php\php5is~1.dll I found this fixed all the issues I was having with the Module Not Found er

Re: [mapguide-users] Problem with the MG 2.0 on IIS 5.0 ...

2008-03-19 Thread GordonL
the >> error >> "dllregisterserver entry point was not found" >> >> any workaround ? >> >> >> thanks again.. >> >> shail... >> >> >> >> GordonL wrote: >> > >> > Hi, there is a funny PHP issue I h

Re: [mapguide-users] MGOS 2.0.0 Beta 2 loadfile error

2008-05-03 Thread GordonL
Hi Jim, Did you ever solve this one. I am having this trouble on one server and getting the same response. I comment out that load for that file in the CONF and it errors on the next MG dll thanks gordon Jim O'Leary wrote: > > I have installed MapGuide Open Source 2.0.0 Beta 2 on Window

Re: [mapguide-users] MGOS 2.0.0 Beta 2 loadfile error

2008-05-04 Thread GordonL
Just to follow up. The install did not have any issues with XP, but with Windows 2003 Server its not working with Apache... thanks gordon Jim O'Leary wrote: > > I have installed MapGuide Open Source 2.0.0 Beta 2 on Windows Server 2003. > We also have MGE 2008 running on this machine. > >

Re: [mapguide-users] Internet Guest Account Question

2009-12-09 Thread GordonL
Hi, often I need to set up mapguide to alias folders across the network. I have created a network user (i.e. MapGuideUser2010) that has local admin rights on the server but read-only to a share on the network. To do this, just go into the Control Panel>Administrative Tools>Services and change

Re: [mapguide-users] Search multiple features

2009-12-29 Thread GordonL
Why not use "IN"? $opts->SetFilter("(NO_LOT in ('0124','0023'))"); ehsan wrote: > > Hi, i would like to ask..i want to make searching for multiple features > and select it on the map... > to be clear this is what i want to do.. > before this i search on the map by using this code > >

Re: [mapguide-users] Virtual Earth Zoom Levels

2009-12-31 Thread GordonL
7;,openLayersMap.maxExtent,new OpenLayers.Size(1,1)); openLayersMap.addLayer(blankLayer); openLayersMap.setBaseLayer(blankLayer); window.top.iFrameMap.Fusion.getWidgetById('Map').redraw(); pcardinal wrote: > > Hi gordon > > How did you turn off Google below 1:1128 ? &

Re: [mapguide-users] mapguide

2010-01-01 Thread GordonL
Hi Naseeb, I would recommend creating an alias to a folder on your server using the MapGuide Administrator. 1. click Configure External Files. 2. Click Add Alias 3. Type the Alias Name (i.e. MY_SHP_FILES) 4. Type the full path to your SHP files (i.e. C:\DATA\SHP\) 5. Click Save Now using MapGuid

RE: [mapguide-users] 2.1 Beta (Fusion) Problems

2010-01-04 Thread GordonL
Oops. The BETA 1b for Autodesk MapGuide Enterprise 2010 Webextension breaks this fix.. now FireFox is prompting again for password, even with this fix. Does this occur in MGOS too? thanks gordon GordonL wrote: > > Awesome fix! Thanks for that. I now have Firefox working w

Re: [mapguide-users] King Oracle provider use in MapGuide Studio 2009

2010-01-12 Thread GordonL
Hi Jackie, have your tried the ToString with KING and FDO 3.4? I don't think the ToString works there.. any ideas? thanks gordon Jackie Ng wrote: > > If you can't use numbers with Concat() then use ToString() to convert it > to a string > > eg. Concat('Value: ', ToString(MYNUMBERPROPERTY)) >

[mapguide-users] Fusion.Event.MAP_EXTENTS_CHANGED throws error

2010-01-13 Thread GordonL
Hi, I am just trying to grab the current scale when the user zooms in and out - but after the code runs once, successfully, to throws the following error: Message: 'this.events[...][...]' is null or not an object Line: 110 Char: 13 Code: 0 URI: http://localhost/mapguide2010/fusion/lib/EventMgr.js

Re: [mapguide-users] Fusion.Event.MAP_EXTENTS_CHANGED throws error

2010-01-13 Thread GordonL
mapWidget object changes in between > calls. > > Mike > > GordonL wrote: >> Hi, I am just trying to grab the current scale when the user zooms in and >> out >> - but after the code runs once, successfully, to throws the following >> error: >> >> Mes

Re: [mapguide-users] Fusion.Event.MAP_EXTENTS_CHANGED throws error

2010-01-13 Thread GordonL
Thanks Mike, I figured it out. The registerForEvent does not like the brackets such as alert("hi there) or the function with parameters... registerForEvent(Fusion.Event.MAP_EXTENTS_CHANGED, alert(Fusion.getWidgetById('Map').getScale())); What I had to do was: registerForEvent(Fusion.Event.MAP_

Re: [mapguide-users] Can you help with set zoom levels from toolbar?

2010-01-14 Thread GordonL
Hi JD, first you have to know what Frame or iFrame your map is in - second, this example is for BASIC web layout: var myMap=parent.parent.mapFrame; var X =myMap.GetCenter().X; var Y =myMap.GetCenter().Y; I think if you are using FUSION, you can try var center = parent.parent.Fusion.getWidget

Re: [mapguide-users] Fusion link to view not working

2010-01-15 Thread GordonL
Hi Brad, Jason had just pointed out that the recent version of the LinkToView.js file now has the parameters for -showlayers -hidelayers -showgroups -hidegroups but can these parameters be passed to the index.htm within the Templates for MapGuide? And how do we harvest these parameters? It w

Re: [mapguide-users] Fusion link to view not working

2010-01-15 Thread GordonL
Thanks Jason, I am trying the new LinkToView.js, but I get an error at the line 90 in the file: var queryStr = this.getMap().getLinkParams(); Is the getLinkParams() a new method that is not available in older builds of the fusion.js? thanks gordon -- View this message in context: http://n2.

[mapguide-users] Re: Mapguide HOSTING

2010-01-29 Thread GordonL
Hi, I like using VPSLand. A little slow, but you can upgrade. I only pay $29 a month for my current mapguide site: http://www.mapguide.ca I use the windows plan, but it would probably run faster on the Linux plan. You have to do everything yourself, unlike the Hosted site. gordon -- View t

[mapguide-users] Re: Mapguide HOSTING

2010-02-01 Thread GordonL
Hi Rodolfo, yes, I installed MapGuide myself on there. They are just a VPS site, not a mapguide site. -- View this message in context: http://n2.nabble.com/Mapguide-HOSTING-tp4479629p4494960.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

[mapguide-users] CONFIG.XML EDIT DYNAMICALLY?

2010-02-16 Thread GordonL
Hi All, I have a layer that points to a folder of rasters. I want to filter that layer based on the filename of the raster (dynamically). Do I need to dynamically alter the config.xml? If so, how would I do it? Some thing like this? 1. Get Raster Datasource. 2. Get Config.xml of datasource. 3. Mo

[mapguide-users] Re: CONFIG.XML EDIT DYNAMICALLY?

2010-02-17 Thread GordonL
Well, the 14,000 images do overlap a little (black lines), so I want the user to pick the images they want to see from the folder of 14,000 I managed to create a dynamic datasource that filters the file by using the template Jason had created at: http://www.jasonbirch.com/fdogdal/rasterconfig.phps

[mapguide-users] Syntax of MgResourceIdentifier

2010-02-17 Thread GordonL
Hi, I have a new temporary layer I want to add, but I can't name it dynamically. For example: $layerName = "DQN20042"; $tempID = "Session:" . $mgSessionId . '//' . $layerName . ".LayerDefinition"; $tempLayerResId = new MgResourceIdentifier($tempID); does not work, but... $tempID = "Session:" .

[mapguide-users] RE: Syntax of MgResourceIdentifier

2010-02-17 Thread GordonL
Hi Steve, it just fails, I can't get an error. It is strange I can't concatenate the variable though.. gordon -- View this message in context: http://n2.nabble.com/Syntax-of-MgResourceIdentifier-tp4588434p4588549.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

[mapguide-users] RE: Syntax of MgResourceIdentifier

2010-02-17 Thread GordonL
Hi Steve, I knew it failed because I had an echo immediately after the new MgResourceIdentifier creation and it didn't show. I seemed to have fixed it with the following: $layerName = "DQN20042"; $layerName = rtrim($layerName); $tempID = "Session:" . $mgSessionId . '//' . $layerName . ".Layer

[mapguide-users] Re: How to expand legend programatically in Fusion

2010-02-25 Thread GordonL
Hi Mike, I have been searching for a definitive list of Fusion API calls. For example, only through some hacking and searhing have I found some of the methods and properties for some of the widgets, such as: Fusion.getWidgetById('Legend').renderer.expandAll(); or Fusion.getWidgetById('TaskFra

[mapguide-users] Re: How to expand legend programatically in Fusion

2010-02-26 Thread GordonL
de+4637303-2026854035-113...@n2.nabble.com Date: Thu, 25 Feb 2010 21:20:56 -0800 To: GordonL gordon.luck...@arrowgeomatics.com Subject: Re: How to expand legend programatically in Fusion > > > > I think it is easy enough to review the widget javascript to determine the > Fusion API ca

[mapguide-users] Re: wfs-t

2010-03-01 Thread GordonL
That is really too bad about WFS-T. The "T" is key for posting back to the data (transaction). It would be dead-easy to implement a live editing application with OPENLAYERS - you would just have to have WFS-T to post back the edits... check out http://openlayers.org/dev/examples/wfs-protocol-t

[mapguide-users] Re: GetSessionID with Fusion

2010-03-22 Thread GordonL
This is how I get the map name and session id using JavaScript with FUSION: NOTE: I embed my template path in an iFrame called "iFrameMap" var mapWidget = window.top.iFrameMap.Fusion.getWidgetById('Map'); SESSION = mapWidget.getSessionID(); MAPNAME = mapWidget.getMapName(); regards

[mapguide-users] Re: re: google mapintegration with mapguide

2010-03-30 Thread GordonL
Sweet fix Kori. Works for MapGuide Enterprise 2010. -- View this message in context: http://n2.nabble.com/re-google-mapintegration-with-mapguide-tp3049773p4826477.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users

[mapguide-users] Internet Explorer likes localhost but not servername

2010-04-20 Thread GordonL
Hi All, I am using the release version of MapGuide 2.1 on IIS 7. I am having trouble that when I use Internet Explorer 8 I get a Syntax Error in ApplicaitonDefinition.js (Line 163) It works with IE8 with LOCALHOST but not SERVERNAME It works with FireFox and Chrome for both LOCALHOST and SERVER

[mapguide-users] Re: Internet Explorer likes localhost but not servername

2010-04-21 Thread GordonL
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Wed, 21 Apr 2010 13:11:11 UTC Message: Syntax error Line: 163 Char: 9 Code: 0 URI: http://nwmappub2/map

[mapguide-users] Re: Internet Explorer likes localhost but not servername

2010-04-21 Thread GordonL
thanks, I wish I could use FireBug, but it works great in FireFox, the issue is solely with Internet Exporer..developer tools are really weak compared to FireBug. -- View this message in context: http://n2.nabble.com/Internet-Explorer-likes-localhost-but-not-servername-tp4931528p4937230.html Sen

[mapguide-users] Re: Internet Explorer likes localhost but not servername

2010-04-21 Thread GordonL
I think its around line 1199 in fusion.js: if(appDefUrl){ var xhr = new XMLHttpRequest(); var mapAgentUrl = getAgentUrl(); xhr.open("GET", mapAgentUrl + "?OPERATION=GETRESOURCECONTENT&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=" + appDefUrl + "&FO

[mapguide-users] RE: Maroon Theme and tooltips doesn't show

2010-04-22 Thread GordonL
This is True for SLATE too. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maroon-Theme-and-tooltips-doesn-t-show-tp3828284p4942858.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users maili

[mapguide-users] MapTip only without SessionID?

2010-04-22 Thread GordonL
Here is a weird one - I have MapTips with this URL launched from Studio 2010 (with MGOS 2.1): http://localhost/mapguide/fusion/templates/mapguide/google_slate/index.html?APPLICATIONDEFINITION=Library%3a%2f%2fWEB_LAYOUT%2ftest.ApplicationDefinition but not this one: http://localhost/mapguide/fus

[mapguide-users] Re: MapTip only without SessionID?

2010-04-22 Thread GordonL
Here is what solved it: The APPLICATIONDEFITION was originally created with Maestro and I couldn't view MapTips with GOOGLE in the background. I completely recreated the definition using MapGuide Studio 2010 and voila, it was corrected. I am not sure of the difference between the XML created fr

[mapguide-users] Re: Here's your chance to choose what's going to be presented at FOSS4G 2010 in Barcelona

2010-05-13 Thread GordonL
Hi Jason, I will be presenting a 90 minute tutorial on the fundamentals of MapGuide in Barcelona. I will cover: - Install (Both Server and Web Extensions) - Configuration of Server (http://localhost/mapguide/mapadmin/login.php) - Using Maestro (maybe Studio too) - Publishing to the web (fusion

[mapguide-users] RE: re: flexible web layouts

2010-06-04 Thread GordonL
The google stuff function just sets the default base layer (in this case google streets) when the map loads.. (I place it in the INDEX.htm page of one of the Fusion Templates ( var addGoogleStuff = function() { var mapWidget = Fusion.getWidgetById('Map'); var map = mapWidget.oMapOL; mapWidget.fr

[mapguide-users] RE: re: flexible web layouts

2010-06-07 Thread GordonL
No, you just need to add that code (and ensure you have links to OpenLayers.js and Google Maps API) in your Index.htm of the Template. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/re-flexible-web-layouts-tp2660073p5148948.html Sent from the MapGuide Users mailing lis

[mapguide-users] Re: GetSessionID with Fusion

2010-06-08 Thread GordonL
Try: window.onload = function() { Fusion.initialize(); var mapWidget = window.top.iFrameMap.Fusion.getWidgetById('Map'); SESSION = mapWidget.getSessionID(); MAPNAME = mapWidget.getMapName(); alert(SESSION); alert(MAPNAME); http://squamish2010.ca//mapguide2010/fusion_viewer.php?A

[mapguide-users] Re: Maestro users on Linux/Mac via Mono

2010-06-17 Thread GordonL
Hi Jackie, I meant to figure out how to run Maestro on my Mac Book for a while now and I figured it out. I put the steps on my blog at http://www.mapguide.ca I have noticed that the Previews do not work (usually they load a browser) but they don't launch a browser (except for Fusion Layout).. H

[mapguide-users] Re: Maestro users on Linux/Mac via Mono

2010-06-18 Thread GordonL
Yes, this fella seems to have a similar problem with MONO on the Mac: http://www.theautomatedtester.co.uk/blog/2010/mono-mac-process-start-issues.html Perhaps a tweak to Maestro is in order? I don't know if anyone else is using Maestro on the mac...it is handy to not open VMWARE FUSION each time

[mapguide-users] Re: Tool

2010-06-18 Thread GordonL
Would it work to create a Calculated Field (Area) and then view it in Properties? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Tool-tp5196407p5197490.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ m

[mapguide-users] Re: How to rotate the map??

2010-06-22 Thread GordonL
Hi, about 12 years or so ago, I came up with a trick for the old MapGuide..I would create a coordinate system using the Oblique Sterographic with OSTEROUS coordinates with WGS84. "Gord's Coords" they called it. You can set the parameters such as: 49.212405556 -122.917

[mapguide-users] Re: How to rotate the map??

2010-06-22 Thread GordonL
Hmm, if I had the PROJ definition for this coordinate system, I would: 1. Load the MapDefintion into DOMDocument in XML. 2. Modify the PROJ string to rotation to the P1 value in the Coordinate System. 3. Add this modified coordinate system to the XML version of the Map. 4. Save the MapDefinition.

[mapguide-users] RE: WMS and Mapguide with AutoCAD - at wits end...

2010-06-23 Thread GordonL
Hi, in your server name, take out the "http://"; Change to: 142.142.41.157:8008 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-and-Mapguide-with-AutoCAD-at-wits-end-tp5208784p5213521.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

  1   2   3   4   5   6   7   8   >