Re: [mapguide-users] MGOS 2.1 tooltips in Fusion

2009-12-03 Thread gingerbbm
Yes, I did see that but discounted it because it was about .NET specifically. My installation is PHP. Having re-read it and the corresponding links I'm still at a loss: the event is not firing. I have raised this over on the Fusion-Users mailing list: http://n2.nabble.com/Maptip-not-working-td390

[mapguide-users] MGOS 2.1 tooltips in Fusion

2009-12-02 Thread gingerbbm
Dear all I have just installed 2.1 on Windows/IIS and set up a quick Fusion application (LimeGold, out of the box) on a simple map containing one layer from a SHP file. The problem is that I'm not seeing any tooltips, and in Firebug there's evidently no request being fired. (Looking at one of m

Re: [mapguide-users] Two performance questions

2009-02-22 Thread gingerbbm
BTW, Jason, that is the problem I was experiencing with MgCooker, but if I leave the base group checked and check the one zoom scale I'm interested in, it appears always to generate the tiles in S0 folder. And perhaps I'm doing something wrong, but all my tiles are blank... -- View this message

Re: [mapguide-users] Two performance questions

2009-02-22 Thread gingerbbm
Heh. This thread is starting to digress. I'm interested in speeding up the seeding. Zac, thanks for your comments. I fully intend to take MapGuide out of the picture once the tiles have been generated. You started by saying "i have to stress the concept of testing out the concepts yourself" whic

RE: [mapguide-users] Two performance questions

2009-02-21 Thread gingerbbm
How simple is simple? One tile at a time? I'd be interested to see it in any case. Thanks! -- View this message in context: http://n2.nabble.com/Two-performance-questions-tp2358277p2364807.html Sent from the MapGuide Users mailing list archive at Nabble.com.

RE: [mapguide-users] Two performance questions

2009-02-21 Thread gingerbbm
Thanks for all your thoughts. Removing unnecessary attributes from the SDFs is something we can definitely do. My set-up is MGE2009 on Windows under IIS6 and my questions are really about how best to configure MapGuide for this environment. I'm running through various tests but thought it best to

[mapguide-users] Two performance questions

2009-02-20 Thread gingerbbm
Dear all I've spent a while looking at the documentation, white papers, blogs and mailing lists in order to try and get a bit more performance out of our MGE2009 Windows installation using SDFs. We need to seed a tile cache with many tiles and the predicted execution times are very large. I have

Re: [mapguide-users] mapguide, google maps and open layers

2009-02-07 Thread gingerbbm
Is this not a projection issue? The projection of your overlay data from MapGuide needs to match that used by Google Maps. -- View this message in context: http://n2.nabble.com/mapguide%2C-google-maps-and-open-layers-tp2286353p2288981.html Sent from the MapGuide Users mailing list archive at Nab

Re: [mapguide-users] Create map in the session

2009-01-16 Thread gingerbbm
Hi Kenneth I added the [PHP equivalent of the] following, but it didn't appear to make any difference to my request. MgSelection sel = new MgSelection(map); sel.Save(resourceSrvc, mapName); I may revisit this in time, but I discovered another method that I have now used successfully, d

Re: [mapguide-users] Create map in the session

2009-01-15 Thread gingerbbm
Thinking again about your reply, it occurred to me that perhaps the QUERYMAPFEATURES call will never work if the map hasn't been created by a Viewer. Is this the case? And if so, how might I go about querying a map that hasn't been created by a Viewer? -- View this message in context: http://n2

Re: [mapguide-users] Create map in the session

2009-01-15 Thread gingerbbm
Hi Kenneth If I issue GetResourceContent on Session:..//mapname.Map (as opposed to .MapDefinition) I don't get an error. I get simply "". I'm not interested in the viewer - I simply want to issue the HTTP query and do something with the XML that (hopefully) is returned. If I in fact try the quer

[mapguide-users] Create map in the session

2009-01-15 Thread gingerbbm
Dear all I want to be able to issue the following kind of query from a web application: http://.../mapguide2009/mapagent/mapagent.fcgi?GEOMETRY=POLYGON((3 2,4 2,4 3,3 3,3 2))&MAXFEATURES=1&OPERATION=QUERYMAPFEATURES&PERSIST=0&SELECTIONVARIANT=INTERSECTS&MAPNAME=...&SESSION=...&VERSION=1.0.0 For

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread gingerbbm
OK... any idea how I should configure the extension? Does MapGuide assume a particular extension name for primary keys? -- View this message in context: http://n2.nabble.com/FeatureSet-XML-returned-by-QUERYMAPFEATURES-for-WFS-layer-tp1614063p1633862.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-09 Thread gingerbbm
Hi Kenneth Kenneth Skovhede, GEOGRAF A/S wrote: > > You cannot select items from FeatureSources, if the FeatureSource has no > primary key. > Could you elaborate on this a bit? If I look in Maestro at the XML for a WFS connector, or an SDF connector, or an Oracle connector, there's nothing t

[mapguide-users] FeatureSet XML returned by QUERYMAPFEATURES for WFS layer

2008-12-04 Thread gingerbbm
Dear all I've modified the PHP sample (Ajax viewer) to show an SDF layer and a WFS layer. If I drag-select in the SDF layer, objects are selected (highlighted) as you would expect, and the Properties pane is updated. But, if I drag-select in the WFS layer, nothing happens. The XML returned by

RE: [mapguide-users] How to check if session is expired?

2008-11-27 Thread gingerbbm
gingerbbm wrote: > > I thought I was losing the connection (hence my efforts). > My bad. I've left three sessions running all day and they're still connected. Thanks all! Stuart -- View this message in context: http://www.nabble.com/How-to-check-if

RE: [mapguide-users] How to check if session is expired?

2008-11-26 Thread gingerbbm
Hmm... I'll have to check this because I thought I was losing the connection (hence my efforts). -- View this message in context: http://www.nabble.com/How-to-check-if-session-is-expired--tp6146014p20706133.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

RE: [mapguide-users] How to check if session is expired?

2008-11-26 Thread gingerbbm
Thank you Martin. It's an important point. -- View this message in context: http://www.nabble.com/How-to-check-if-session-is-expired--tp6146014p20704800.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing

Re: [mapguide-users] How to check if session is expired?

2008-11-26 Thread gingerbbm
FYI I have implemented the following "keep alive" functionality in Fusion. This JavaScript excerpt uses the PeriodicalExecuter() class from Prototype. Place it in your "Fusion initialised" function. It will do a getScale() every 20 minutes and it appears to keep the map live all day :) /

RE: [mapguide-users] Installation mapguide 64bits

2008-11-20 Thread gingerbbm
That's good to hear. I uninstalled 64-bit Windows and replaced it with 32-bit, and got the same issues. Turns out that this was the problem all along: http://trac.osgeo.org/mapguide/ticket/378 So anyway I then discovered the patch for MGE2009 which fixes everything. Here if you need it: http:/

Re: [mapguide-users] Installation mapguide 64bits

2008-11-20 Thread gingerbbm
Just got official word from an Autodesk reseller that MGE2009 is not supported on 64-bit. -- View this message in context: http://n2.nabble.com/Installation-mapguide-64bits-tp1365405p1557041.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] Installation mapguide 64bits

2008-11-20 Thread gingerbbm
I've installed on Windows Server 2003 64-bit and it certainly doesn't seem to work. When I try the functionality in the PHP sample I end up with "Service Unavailable" and a bunch of messages like this in the event viewer: "A process serving application pool 'MapGuide' terminated unexpectedly. The

Re: [mapguide-users] Fusion custom widget: how to proceed

2008-11-10 Thread gingerbbm
Allen If it's not a stupid question, are you definitely refreshing/reloading the map? It strikes me that if you can see your new layers via the schema report interface then there's nothing left to check. Cheers Stuart -- View this message in context: http://n2.nabble.com/Re%3A-Fusion-custom-wi

[mapguide-users] Using GetFeatureInfo on MapGuide layers via WMS

2008-11-05 Thread gingerbbm
Dear all I am accessing MapGuide layers via WMS (in OpenLayers). I want to be able to click a point and see feature information (ultimately to create dynamic tooltips). I found the code to do this job (see below) which employs GetFeatureInfo. The thing is, it doesn't appear to work on point or l

[mapguide-users] OpenLayers and MapGuide: retrieving feature information

2008-11-04 Thread gingerbbm
Dear all I'm new to OpenLayers and I realise that many of you may have not used it, but I address this to those who have: I don't know how to retrieve feature information from a MapGuide layer. I've configured an OpenLayers map to show my tiled base layer using OpenLayers.Layer.MapGuide(). If I

Re: [mapguide-users] Does anybody know how to disable the map login?

2008-10-29 Thread gingerbbm
Well, adding "username=anonymous&password=" to the URL should do it. If you need to do this programmatically, check out the Developer's Guide which contains a code sample. http://mapguide.osgeo.org/sites/mapguide.osgeo.org/files/MgOpenSourceDevGuide.pdf -- View this message in context: http://

RE: [mapguide-users] PNG/PNG8 question regarding overlay transparency

2008-10-29 Thread gingerbbm
OK, I've raised my first ticket! http://trac.osgeo.org/mapguide/ticket/743 -- View this message in context: http://n2.nabble.com/PNG-PNG8-question-regarding-overlay-transparency-tp1381702p1393049.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

Re: [mapguide-users] Watermarking a Map

2008-10-28 Thread gingerbbm
Dear all Here's a revised JavaScript method for watermarking. This will only overlay the map. I've added a new parameter elName which is the DIV which contains the map image. In the Ajax viewer the required value is "mapSpace", so it could be hard-coded if desired. /** * Place a

Re: [mapguide-users] TileCache, dynamic layers, and the Session

2008-10-28 Thread gingerbbm
Thanks Kenneth. Sounds like a lot of extra effort... -- View this message in context: http://n2.nabble.com/TileCache%2C-dynamic-layers%2C-and-the-Session-tp1386552p1386682.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapg

[mapguide-users] TileCache, dynamic layers, and the Session

2008-10-28 Thread gingerbbm
Dear all If I'm dynamically adding a session-specific layer to a map that employs base layer groups (i.e. tiles), is there any way to avoid having a session-specific tile cache generated? The dynamic layer is served via a separate request (GETDYNAMICMAPOVERLAYIMAGE) as a separate image - so in t

Re: [mapguide-users] PNG/PNG8 question regarding overlay transparency

2008-10-28 Thread gingerbbm
Kenneth Skovhede, GEOGRAF A/S wrote: > > You should create an enhancement ticket for it. > I found this... http://trac.osgeo.org/mapguide/wiki/MapGuideRfc38 ...which includes the following line: Include support for "PNG8" in the FORMAT parameter of GETDYNAMICMAPOVERLAYIMAGE. So, I'm resis

Re: [mapguide-users] PNG/PNG8 question regarding overlay transparency

2008-10-27 Thread gingerbbm
I was using Firefox exclusively. But I just checked IE and there's no difference. It's easy to see the differences by finding the GETDYNAMICMAPOVERLAYIMAGE in Firebug and browsing that URL directly. Swap PNG to PNG8 to see how it changes. http://.../mapguide/mapagent/mapagent.fcgi?OPERATION=GETD

Re: [mapguide-users] PNG/PNG8 question regarding overlay transparency

2008-10-27 Thread gingerbbm
zspitzer wrote: > > tiles are a server wide setting, for overlays it's per request > Well [unless I'm misunderstanding something] that's what I put in the opening post of this thread. What I want to know is why using PNG8 for both causes the latter to lose transparency. ? -- View this messa

Re: [mapguide-users] PNG/PNG8 question regarding overlay transparency

2008-10-27 Thread gingerbbm
OK... if I use PNG8 for the tiles and PNG for the overlay it looks good, but I'm still concerned about the file size and would prefer to use PNG8 for both. Is it possible? -- View this message in context: http://n2.nabble.com/PNG-PNG8-question-regarding-overlay-transparency-tp1381702p1382296.htm

[mapguide-users] PNG/PNG8 question regarding overlay transparency

2008-10-27 Thread gingerbbm
Dear all A while back I saw a tip that suggested changing from PNG to PNG8, so I updated serverconfig.ini accordingly. That resulted in smaller file sizes for my tiles but they were being overlaid with one big white image, i.e. not a very useful map! So I changed the line in ajaxmappane.templ so

Re: [mapguide-users] Zac's tile seeder with British National Grid

2008-10-22 Thread gingerbbm
zspitzer wrote: > > the way the tiler shows the scales in the drop down isn't correct BTW > Yeah, it doesn't look right ;) Thanks Zac: for the tool itself and the subsequent support. -- View this message in context: http://n2.nabble.com/Zac%27s-tile-seeder-with-British-National-Grid-tp1360

Re: [mapguide-users] Zac's tile seeder with British National Grid

2008-10-22 Thread gingerbbm
Well on the one hand I think I've been the victim of caching issues (oh, the irony) but also I needed to ensure that the bounds set in the following line match the ones in the MapDefinition. extent = new OpenLayers.Bounds(...); Seems obvious now. I still don't understand what the deal is w

Re: [mapguide-users] Zac's tile seeder with British National Grid

2008-10-22 Thread gingerbbm
zspitzer wrote: > > you need to change the settings for the extents, the tempScales and under > params both the mapdefinition, basemaplayergroupname > Check, check and check. However I don't understand what's needed regarding the tempScales: whatever values I use to populate this array bears

RE: [mapguide-users] error 1053

2008-10-21 Thread gingerbbm
Just a thought: is the mgserver.exe process still running? Check via Task Manager and kill if so. -- View this message in context: http://n2.nabble.com/error-1053-tp1360586p1361737.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Zac's tile seeder with British National Grid

2008-10-21 Thread gingerbbm
Dear all I got Zac's tile seeder working with Sheboygan using both of the following: http://trac.osgeo.org/mapguide/attachment/wiki/CodeSamples/Tiles/TileCacheSeeding/mapguide_tile_seeder.html http://trac.osgeo.org/mapguide/attachment/wiki/CodeSamples/Tiles/TileCacheSeeding/mapguide_tile_seeder.

RE: [mapguide-users] MapGuide Oracle FDO provider: Autodesk vs.King.Oracle

2008-10-17 Thread gingerbbm
Brent Robinson wrote: > The extra one to copy is OracleOverrides.dll. Ah, that's OK then. I thought that was Number 3 but it already existed in the MGOS bin/FDO folder. Thanks for confirming. -- View this message in context: http://n2.nabble.com/MapGuide-Oracle-FDO-provider%3A-Autodesk-vs.-Ki

RE: [mapguide-users] MapGuide Oracle FDO provider: Autodesk vs.King.Oracle

2008-10-17 Thread gingerbbm
- the Autodesk Oracle provider DLLs (there should be at least three of them) Any idea which ones? I copied the following: 1. Autodesk.Gis.Fdo.Providers.Oracle.Overrides.dll 2. FdoRdbms.dll ...and it seems to work. What else? -- View this message in context: http://n2.nabble.com/MapGuide-Orac

RE: [mapguide-users] Please help! Has anybody used King.Oracleinrealconditions?

2008-10-17 Thread gingerbbm
Here are my details: MapGuide Server Version 2.0.0.2716 King.Oracle FDO 0.7.4 Windows Server 2003 R2 Service Pack 2 and IIS V6.0 Oracle Client 10.2.0.1.0 Haris Kurtagic wrote: > If you can test your data and memory issues with Fdo2Fdo that could help. Not sure what Fdo2Fdo is... I'll have a l

[mapguide-users] MapGuide Oracle FDO provider: Autodesk vs. King.Oracle

2008-10-16 Thread gingerbbm
Dear all [This was originally posted to FDO Users.] We have bought and paid for an MGE2009 licence but have been working with MGOS in order to be up-to-date with the latest and greatest enhancements. But the King.Oracle FDO provider has memory leak issues ( http://n2.nabble.com/Please-help%21-Ha

Re: [mapguide-users] Generate map tiles from Oracle data

2008-10-16 Thread gingerbbm
gingerbbm wrote: > > My next question is whether MapGuide will use the same set of tiles for > base layers that are referenced in several different map definitions. I > assume it will... can somebody confirm this? > Well I've had a look in the Repositories/TileCache fol

Re: [mapguide-users] Generate map tiles from Oracle data

2008-10-16 Thread gingerbbm
This is really excellent information. So as I understand it if I convert my Oracle tables to SDF, and use the SDFs as layers in a Base Layer group, then seed the tile cache using Zac's tool, it'll fly. My next question is whether MapGuide will use the same set of tiles for base layers that are r

RE: [mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
Hmm. Is there a way to configure MapGuide to exclusively use a tile cache? The reason I ask is that the initial enumeration of spatial objects in the Oracle schema is really slow. Jason states that: using the Base Layer Group functionality in MapGuide would mean that requests beyond the initial

RE: [mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
I'm amazed that I've been goofing around with MapGuide for months and yet I've only just discovered Base Layers. Thank you all so much for continuing to say "use base layers". I just tried it and the tiling is great, even on our crummy development box. I've got a few more things to try... but tha

RE: [mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
Jason Birch wrote: > > It may be that I am missing something vital from your initial requirements > :) > OK, let me try and explain our predicament in a bit more detail. We have MapGuide serving maps using data held in Oracle spatial tables. So for example we have one table holding all the ro

RE: [mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
Thanks, but as I understand, for Zac's tool to work, the tiles need to exist first. I need to create tiles for non-tiled data held in Oracle. -- View this message in context: http://n2.nabble.com/Generate-map-tiles-from-Oracle-data-tp1336571p1337398.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
Hi George Yes, I downloaded it, but it looks out of date to my eye. One of the instructions is to replace the DLLs it comes with, with those from the Enterprise bin folder. But the names of these files are mostly different so I assumed it just doesn't work with the latest software. I sent Websof

Re: [mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
zspitzer wrote: > > have you tried using base layer groups rather than layer groups? > Forgive my ignorance. Use the base layer groups to generate tiles? Or improve performance? -- View this message in context: http://n2.nabble.com/Generate-map-tiles-from-Oracle-data-tp1336571p1336681.html S

[mapguide-users] Generate map tiles from Oracle data

2008-10-15 Thread gingerbbm
Dear all Does anyone have any ideas on how to do this? Given the troubles we've had getting MapGuide to generate maps on-the-fly from our Oracle data, and given the fact that we've spent considerable time doing getting the theming right, perhaps there's something that plugs into or uses MapGuide

RE: [mapguide-users] Please help! Has anybody used King.Oracle inreal conditions?

2008-10-13 Thread gingerbbm
Hi Haris Haris Kurtagic wrote: > > Seriously, I will have some news by start of next week. > Sorry to chase you. Were you able to make any progress? -- View this message in context: http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real-conditions--tp1140937p1328900.html S

RE: [mapguide-users] Please help! Has anybody used King.Oracle inreal conditions?

2008-10-08 Thread gingerbbm
Haris Kurtagic wrote: > > Seriously, I will have some news by start of next week. > Really appreciate it. Thanks! -- View this message in context: http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real-conditions--tp1140937p1306959.html Sent from the MapGuide Users mailing

Re: [mapguide-users] Please help! Has anybody used King.Oracle in real conditions?

2008-10-08 Thread gingerbbm
Hi Haris shreepad Ranadive wrote: > > did you get time to look into this. please let us know > Or, if possible, do you at least have a timescale for looking into it? :-) Thanks Stuart -- View this message in context: http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real

RE: [mapguide-users] Please help! Has anybody used King.Oracleinreal conditions?

2008-10-06 Thread gingerbbm
Hi Haris Haris Kurtagic wrote: > > How many spatial tables you have? > How many tables you use in a MapGuide? > It varies. Current set-up is around 150 Oracle schemas, each containing at most 100 spatial tables (actually, they're views into a different schema). The data covers the whole of th

RE: [mapguide-users] Please help! Has anybody used King.Oracle inreal conditions?

2008-10-05 Thread gingerbbm
I really appreciate your responses. We went from having one Oracle schema containing all our spatial tables, to many schemas containing a few, but still the initial hit/enumeration is unacceptable. I'm now considering one Oracle schema per table, but this really concerns me from an administrative

Re: [mapguide-users] Please help! Has anybody used King.Oracle in real conditions?

2008-10-03 Thread gingerbbm
I am facing the same problems. MapGuide Open Source running on Windows Server 2003 and IIS6, using King.Oracle to connect to an Oracle 10g database. Everything's working pretty well except for the fact the memory gets gobbled at an alarming rate, and it doesn't ever seem to be freed. As an aside

Re: [mapguide-users] Watermarking a Map

2008-09-24 Thread gingerbbm
Yes, sorry, I should've probably put a disclaimer on the solution I posted up. I arrived at this solution for the project I'm currently working on which has an extremely simple interface: it's just the map and the scale slider. So I hadn't tried it with more elements of the Ajax viewer. Still, it

RE: [mapguide-users] Watermarking a Map

2008-09-24 Thread gingerbbm
Andy Morsell wrote: > > Does the map print with the watermark or is it only for screen viewing? > Assuming that you're talking about using the "Get printable page" button on the standard toolbar, no. It's only for screen viewing. -- View this message in context: http://n2.nabble.com/Watermar

Re: [mapguide-users] Adding a watermark (Ajax viewer)

2008-09-23 Thread gingerbbm
OK, I have a solution. See the aforementioned thread. -- View this message in context: http://n2.nabble.com/Adding-a-watermark-%28Ajax-viewer%29-tp1096871p1112330.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users

Re: [mapguide-users] Watermarking a Map

2008-09-23 Thread gingerbbm
>> Here is Fridays problem - Watermarking a map. Not in Fusion, just on a >> basic layout. > Here's what I came up with (for the Ajax viewer). The expected parameters to this JavaScript method are: doc: The document object, such as that returned by "frames['mapFrame'].document" imageUrl: The

Re: [mapguide-users] Adding a watermark (Ajax viewer)

2008-09-17 Thread gingerbbm
Apologies. I've just seen this recent thread: http://n2.nabble.com/Watermarking-a-Map-td1085166.html http://n2.nabble.com/Watermarking-a-Map-td1085166.html I'm still interested to know if anyone's achieved this... -- View this message in context: http://n2.nabble.com/Adding-a-watermark-%28Aj

[mapguide-users] Adding a watermark (Ajax viewer)

2008-09-17 Thread gingerbbm
Hi folks According to my Googling this subject has come up a few times in the past though I've not seen any definitive answers. My preferred option is to place a transparent image over the map but I'm wondering what'll happen to the mouse events. If anyone has successfully used this overlay meth

Re: [mapguide-users] Extending the functionality of built-in commands (Ajax viewer)

2008-09-15 Thread gingerbbm
Kenneth, you are a star. I tweaked your code as follows to prove the visibility toggling: $map = new MgMap(); $map->Open($resourceService, $mapName); $map->GetLayers()->GetItem(0)->SetVisible(true); $resId = new MgResourceIdentifier("Session:$sessionID//$mapName.Map"); $res

Re: [mapguide-users] Extending the functionality of built-in commands (Ajax viewer)

2008-09-11 Thread gingerbbm
[This question is off the back of http://n2.nabble.com/RE%3A-Bypassing-initial-view-at-startup-td790257.html this thread .] I have successfully intercepted the call to mapagent.fcgi with a call to my own PHP page (let's call it "bespoke.php"). I build a querystring of all the POST or GET paramet

Re: [mapguide-users] Adjusting subsequent views

2008-09-05 Thread gingerbbm
This belongs in a http://n2.nabble.com/Extending-the-functionality-of-built-in-commands-%28Ajax-viewer%29-td841643.html new thread . -- View this message in context: http://n2.nabble.com/RE%3A-Bypassing-initial-view-at-startup-tp790257p841646.html Sent from the MapGuide Users mailing list archi

[mapguide-users] Extending the functionality of built-in commands (Ajax viewer)

2008-09-05 Thread gingerbbm
This is my challenge: as the user pans the map (using the Ajax viewer) I need to update the feature class of one of the layers. (Based upon the coordinates I can work out which database table the feature class must be changed to.) My current idea is to put a synchronous call to a bespoke PHP dur

Re: [mapguide-users] Adjusting subsequent views

2008-09-05 Thread gingerbbm
OK, I understand that I can grab the runtime map and use the API to alter it. The question is, where do I put the code to do this? For the Ajax viewer I've traced the code to JavaScript in ajaxmappane.templ, where functions like Pan() end up calling RequestMap(). But RequestMap() posts to mapagent

Re: [mapguide-users] Adjusting subsequent views

2008-09-05 Thread gingerbbm
I don't mind at all; thanks for doing it. Just as an addendum to this discussion about adjusting map configuration dynamically, my next challenge is to update the feature class of a layer based upon the current map centre point. In other words, as the user drags the map around, at certain positio

Re: [mapguide-users] Bypassing initial view at startup - and adding a layer

2008-09-04 Thread gingerbbm
Well, hooray, and thanks for all your help. I'd like to buy you a beer ;) Here's a snippet that might be useful for others: // Build a string pointing to the new layer in the Session $rlLayerResourceId = "Session:$sessionId//$layerName.LayerDefinition"; // Read the XML of the Library Map Defin

Re: [mapguide-users] Bypassing initial view at startup - and adding a layer

2008-09-04 Thread gingerbbm
Kenneth, thankyou for your continued help (and patience)! The key point I was missing is: Kenneth Skovhede, GEOGRAF A/S wrote: > > 2. Insert the polygon layer into the Xml > I guess I can do a GetResourceContent() on my polygon layer and insert its XML into my Map Definition XML. But the poly

Re: [mapguide-users] Bypassing initial view at startup - and adding a layer

2008-09-04 Thread gingerbbm
Kenneth Skovhede, GEOGRAF A/S wrote: > > You must add your layer to the MapDefinition in step 1. > OK. I changed my code to do a $map->Create() based upon the Library Map Definition, whereupon I create the polygon and layer and add it successfully to $map. I save that to an MgResourceIdentifi

Re: [mapguide-users] Bypassing initial view at startup - and adding a layer

2008-09-04 Thread gingerbbm
Having solved the first issue of altering the web layout, I now need a polygon to appear in the initial view. I have working code to create a polygon based on a passed-in WKT string but again am struggling conceptually with how to integrate this into the initial view code. At the moment this is

RE: [mapguide-users] Google Chrome

2008-09-03 Thread gingerbbm
Jackie C. Ng wrote: > > The mousewheel zoom in the AJAX viewer (MGOS 2.0.1) is a bit buggered in > Chrome. Anyone else notice? > Yup, first thing I witnessed. In both FF2 and IE7 one notch on my mousewheel takes my map from 1:15 to 1:10. In the other direction it takes me to 1:225000.

Re: [mapguide-users] Bypassing initial view at startup

2008-09-02 Thread gingerbbm
As promised, I've added the code to the wiki: http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/InitialMapView http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/InitialMapView -- View this message in context: http://n2.nabble.com/RE%3A-Bypassing-initial-view-at-startup-tp790257p833784.htm

Re: [mapguide-users] Bypassing initial view at startup

2008-09-02 Thread gingerbbm
Thanks Kenneth. That line was already in my code, albeit commented out. Previously I had had success with it in IE, only to try it in Firefox whereupon I'd get a PHP access violation, which would then require me to restart IIS. Now that I think about it, this was probably because I was running th

Re: [mapguide-users] Bypassing initial view at startup

2008-09-02 Thread gingerbbm
Well, I'm almost there. The only problem is that I'm being prompted to log in, despite successfully creating a session for the anonymous user. I'd appreciate any advice. Here's the code: http://n2.nabble.com/file/n833593/set_initial_view.php set_initial_view.php Thanks Stuart -- View this mess

Re: [mapguide-users] Bypassing initial view at startup

2008-08-29 Thread gingerbbm
First of all, thanks for the speedy responses! Glad to know I was on the right track. As a bit of bed-time reading last night I revisited the Developer's Guide and it also confirmed the way to go. RTFM, eh?! I need the map to go straight to the coords/scale passed in via a URL's querystring, so t

RE: [mapguide-users] Bypassing initial view at startup

2008-08-28 Thread gingerbbm
This is an old thread but very important for me right now. I want to set the initial view (coords and scale) of a map and have been struggling conceptually with how to implement this. I have a page containing an iframe. The iframe's src attribute is the path to a MapGuide web layout, e.g. /mapgu

Re: [mapguide-users] Mapguide Enterprise 2009 and Oracle View

2008-08-26 Thread gingerbbm
Francesco Check out the open source FDO provider King.Oracle: http://www.sl-king.com/fdooracle/fdooracle.html http://www.sl-king.com/fdooracle/fdooracle.html Installation instructions: http://www.sl-king.com/fdooracle/download/README.txt http://www.sl-king.com/fdooracle/download/README.txt "H

[mapguide-users] Custom command button behaviour (Ajax viewer)

2008-08-22 Thread gingerbbm
Dear all I've successfully added a custom command to a toolbar in the Ajax Viewer using MapGuide Studio 2009. The tool is a polygon redline tool that performs an "Invoke Script" action: the user plots their polygon using DigitizePolygon() and in the callback I send the points to a server script.

Re: [mapguide-users] Fusion + Oracle datasource problem

2008-08-21 Thread gingerbbm
We're using IIS6. Are you using Fusion to render Oracle spatial objects in MapGuide? I'll take a look at that link! -- View this message in context: http://www.nabble.com/Fusion-%2B-Oracle-datasource-problem-tp17884373p19092627.html Sent from the MapGuide Users mailing list archive at Nabble.co

Re: [mapguide-users] Fusion + Oracle datasource problem

2008-08-21 Thread gingerbbm
Thanks Paul :) -- View this message in context: http://www.nabble.com/Fusion-%2B-Oracle-datasource-problem-tp17884373p19092411.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.o

Re: [mapguide-users] Fusion + Oracle datasource problem

2008-08-21 Thread gingerbbm
Rock Beans wrote: > > To be honest how does the data source type affect one viewer over the > other > It's simply the problem that startup takes an age - if it works at all. And with more than ten or so layers it simply doesn't work. But it's true that if and when the initial load is done it al

Re: [mapguide-users] Fusion + Oracle datasource problem

2008-08-20 Thread gingerbbm
That all sounds really promising but unfortunately I'm working to an aggressive deadline, and having paid money for the Autodesk MapGuide product I sort of assumed it would operate consistently regardless of my choice of viewer. So what's the best way of keeping track of these new developments? D

Re: [mapguide-users] Fusion + Oracle datasource problem

2008-08-20 Thread gingerbbm
I'm pretty disappointed. I've invested a lot of time learning Fusion and now I discover that as far as Oracle is concerned it's not fit for purpose. It takes an age on initial load, and has a limit of around ten layers maximum. :( -- View this message in context: http://www.nabble.com/Fusion-%

Re: [mapguide-users] Fusion + Oracle datasource problem

2008-08-20 Thread gingerbbm
I wish I hadn't just discovered this issue. Paul Spencer-5 wrote: > > I hope that this will be part of the next Fusion release. > Is Oracle + Fusion speed going to be improved in the next release? And when is the next release? -- View this message in context: http://www.nabble.com/Fusion-

Re: [mapguide-users] Fusion custom widget: Add polygon to layer

2008-08-04 Thread gingerbbm
gingerbbm wrote: > > How can I check that the layer I've generated really does contain the > polygon that I think (and hope) it does? > To answer my own question, you need to use the SchemaReport feature of the MapAgent, available at: http://{server}/{mapguide2009}/schemarepo

Re: [mapguide-users] Fusion custom widget: how to proceed

2008-07-28 Thread gingerbbm
I have now replaced "this.drawMap()" with "this.reloadMap()" in the JavaScript and my new layer is now present in the aLayers collection. But it still doesn't show on the map. How can I check that the layer I've generated really does contain the polygon that I think (and hope) it does? -- View t

Re: [mapguide-users] Fusion custom widget: how to proceed

2008-07-28 Thread gingerbbm
I've now taken the SelectPolygon widget as the basis for my new DrawPolygon tool. I have created duplicates of the functions in fusion\MapGuide\MapGuide.js such as query(), processQueryResults() and so on and tweaked them to call my PHP function. The whole process completes without error: I draw

Re: [mapguide-users] Fusion custom widget: how to proceed

2008-07-25 Thread gingerbbm
I'm struggling with this. I think part of the problem is that I've been trying to use the redlining example (PHPSAMPLES/DIGITIZING_FEATURES/draw_line.php) in the creation of a Fusion widget. Not to mention the fact that this is my first time with the MapGuide API and I'm not sure conceptually what

Re: [mapguide-users] Fusion custom widget: how to proceed

2008-07-24 Thread gingerbbm
Mike Adair wrote: > > Examples of calling server-side PHP can be found in > MapGuide/MapGuide.js. Look for 'Fusion.ajaxRequest' Thanks Mike. Ended up using measureSegment() from the Measure widget as my basis. -- View this message in context: http://www.nabble.com/Fusion-custom-widget%3A-ho

[mapguide-users] Fusion custom widget: how to proceed

2008-07-23 Thread gingerbbm
Dear all I'm new to MapGuide and Fusion. We have an Enterprise 2009 (Windows, IIS) set-up here and I've successfully created a simple page showing a map and toolbar. I now want to create a custom widget that allows the user to define a polygon which is then converted to a redline object on the ma

Re: [mapguide-users] MapGuide studio expired

2008-05-07 Thread gingerbbm
Thanks Zac. Just to be clear, is it only the "Repositories" folder (and all its contents) I need to copy? -- View this message in context: http://www.nabble.com/MapGuide-studio-expired-tp17078652p17100193.html Sent from the MapGuide Users mailing list archive at Nabble.com.

Re: [mapguide-users] MapGuide studio expired

2008-05-07 Thread gingerbbm
Hijacking the thread a little bit: I was using the evaluation version of MapGuide Studio and Enterprise. They've both now expired and I'm looking for advice on how to migrate the work I've done to the open source MapGuide server. I'd appreciate a few tips! Thanks Stuart -- View this message in

Re: [mapguide-users] Newbie: Tutorial on setting up the server

2007-11-02 Thread gingerbbm
I guess I'll give Autodesk MapGuide Studio a try then. Is the configuration too hairy to do manually though? I'd still like to see it described in a step-by-step guide. What did people do before MapGuide Studio came along?! -- View this message in context: http://www.nabble.com/Newbie%3A-Tutor

[mapguide-users] Newbie: Tutorial on setting up the server

2007-11-02 Thread gingerbbm
Hi all Downloaded and configured everything from http://mapguide.osgeo.org/ to get the ASP.NET sample up and running. Got my spatial tables in my Oracle database all set to go. Downloaded King Oracle and am now at the point where I need to create a connection from the MapGuide server to the Oracl