[mapguide-users] Re: built in search tool question

2010-09-09 Thread Jackie Ng
The "No response from feature selection request" message you get is when a call to getselectedfeatures.aspx is empty. Generally speaking this should not be happening. Try using the viewer with Firefox (with the firebug extension enabled), run your search command and look at the requests made to g

[mapguide-users] Re: initial task in taskpane

2010-09-09 Thread Jackie Ng
I've put a code sample up that can do this: http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/InvokeCommandOnStartup - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/initial-task-in-taskpane-tp5517001p5517078.html Sent from the MapGuide Users mailing li

[mapguide-users] Re: maestro expression editor syntax

2010-09-15 Thread Jackie Ng
The grammar for filters is here (BNF notation): http://www.osgeo.org/files/fdo/docs/FDG_FDODevGuide/files/WS73099cc142f487555e01641096cb1c9da-7c09.htm A spatial filter is of the form: is any geometric property in your feature class is any of the following: CONTAINS | CROSSES | DISJOINT |

[mapguide-users] Re: Local Link Question

2010-09-16 Thread Jackie Ng
What is this error message? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Local-Link-Question-tp5539936p5540974.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list ma

[mapguide-users] Re: Troubles on exporting dwf

2010-09-20 Thread Jackie Ng
I believe you need Autodesk Design Review, and that even if you have DWG TrueView, it will delegate the DWF functionality to components found in Design Review. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Troubles-on-exporting-dwf-tp5549852p5550181.html Sent

[mapguide-users] MapGuide Maestro 2.1.3 released

2010-09-20 Thread Jackie Ng
Hi All, I have put up a new release of Maestro (2.1.3). This release adds support for Web Layout (v1.1.0) resources and has some improvements in executing Load Procedures. Download here: http://trac.osgeo.org/mapguide/wiki/maestro/Downloads - Jackie -- View this message in context: http:

[mapguide-users] Re: Sign MapGuideDotNetApi.dll from Mapguide server 2011 to use with MaestroAPI.

2010-09-22 Thread Jackie Ng
MapGuideDotNetApi.dll in MGE 2011 (and MGOS 2.2) is nothing but a stub that type forwards to: - OSGeo.MapGuide.Foundation.dll - OSGeo.MapGuide.PlatformBase.dll - OSGeo.MapGuide.Geometry.dll - OSGeo.MapGuide.MapGuideCommon.dll - OSGeo.MapGuide.Web.dll This was done as part of RFC68, to compo

[mapguide-users] Re: How to Retrieve data in Multiple Databases

2010-09-23 Thread Jackie Ng
Your feature sources are just links to the Oracle databases (like ODBC DSNs). If you package these resources up, as long as your deployment MapGuide server can see the same databases, you don't have to modify anything. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble

[mapguide-users] Re: Sign MapGuideDotNetApi.dll from Mapguide server 2011 to use with MaestroAPI.

2010-09-27 Thread Jackie Ng
Did you to the correct version of MapGuideDotNetApi.dll in MGE2011? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Sign-MapGuideDotNetApi-dll-from-Mapguide-server-2011-to-use-with-MaestroAPI-tp5558959p5573995.html Sent from the MapGuide Users mailing list archive at Nab

[mapguide-users] Re: Native methods, problem with mapguidedotnetapi.dll

2010-09-28 Thread Jackie Ng
I never seen this namespace before in any of the MapGuide API assemblies MapGuide2007Wrapper.MapGuideInterface What dll is this from? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Native-methods-problem-with-mapguidedotnetapi-dll-tp5578488p5578589.html Sent

[mapguide-users] Re: Native methods, problem with mapguidedotnetapi.dll

2010-09-28 Thread Jackie Ng
For each OSGeo.MapGuide.* dll there is a corresponding *UnmanagedApi.dll glue library Do you have these dlls? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Native-methods-problem-with-mapguidedotnetapi-dll-tp5578488p5578792.html Sent from the MapGuide Users

[mapguide-users] Re: Native methods, problem with mapguidedotnetapi.dll

2010-09-28 Thread Jackie Ng
Was your wrapper library built with reference option "Specific Version" set to True? It may be hunting for that version regardless of binding redirection - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Native-methods-problem-with-mapguidedotnetapi-dll-tp5578488p

[mapguide-users] Re: smooth redline like fusion in Ajax viewer??

2010-09-29 Thread Jackie Ng
Fusion uses OpenLayers, which provides that smooth digitization capabilities. The AJAX viewer doesn't use this library. On another note, using .net should not automatically exclude you from being able to use Fusion. Invoke URL commands work in Fusion just like in the AJAX viewer. You'll only just

[mapguide-users] Re: PDF Report with image from mapguide

2010-09-30 Thread Jackie Ng
WebClient has an OpenRead() method that gives you a streamed response. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/PDF-Report-with-image-from-mapguide-tp5589714p5589914.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

[mapguide-users] Re: Improving Mapguide performance - ASP.NET

2010-10-01 Thread Jackie Ng
Improving performance is always good. Can you put this in a trac ticket? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Improving-Mapguide-performance-ASP-NET-tp5590800p5591819.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

[mapguide-users] Maestro 2.1.4 released

2010-10-04 Thread Jackie Ng
Hi All, Maestro 2.1.4 is now available for download. This release includes the following changes: - Added an experimental server status monitoring window in the "Tools" menu - Added a shortcut to the MapGuide Site Administrator from the "Tools" menu - Update MoveResource http call to use RFC

[mapguide-users] Re: Maestro 2.1.4 released

2010-10-05 Thread Jackie Ng
That's why I said it's "experimental" ;-) The values are being polled from the GETSITEINFO mapagent call every 5 seconds. Do you get 0s in the XML response if you invoke this call manually through the HTML mapagent interface? - Jackie -- View this message in context: http://osgeo-org.1803224.n

[mapguide-users] Re: Maestro 2.1.4 released

2010-10-05 Thread Jackie Ng
So I guess it's just a bug in the linux implementation of GETSITEINFO - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maestro-2-1-4-released-tp5602034p5602294.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

[mapguide-users] Re: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

2010-10-05 Thread Jackie Ng
Could the MgSiteConnection has been Dispose()'d of prematurely? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Attempted-to-read-or-write-protected-memory-This-is-often-an-indication-that-other-memory-is-corrupt-tp5603440p5605298.html Sent from the MapGuide Use

[mapguide-users] Re: Map3D 2011 publish to MGOS 2.1.0

2010-10-05 Thread Jackie Ng
I can confirm this does work. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Map3D-2011-publish-to-MGOS-2-1-0-tp5594022p5605450.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users

[mapguide-users] Re: Anyone know anything about this FDO expression editor in maestro

2010-10-06 Thread Jackie Ng
You use the magic $USER_VARIABLE token which will be substituted for user input in the search command. So a matching FeatId filter would look like: FeatId = $USER_VARIABLE if it is numeric OR FeatId = '$USER_VARIABLE' if it is a string (note single quotes for string literals) Also note that

[mapguide-users] Re: Expression Editor in Maestro

2010-10-06 Thread Jackie Ng
Take a look at the docs on the Expression Builder for AutoCAD Map. http://docs.autodesk.com/MAP/2011/ENU/AutoCAD%20Map%203D%202011%20Help/Map3D_2011_HTML_Help/filesExpressionBuilder/WS73099cc142f48755-e1f2279115824679ea-7f1d.htm Both are editors for the same expression language. - Jackie -- Vi

[mapguide-users] Re: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

2010-10-06 Thread Jackie Ng
Here's a dirty hack: have you tried injecting the bin path into the PATH environment variable as part of your web application's Application_Start() method? The PATH environment variable is used for searching dlls. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com

[mapguide-users] Re: Mapguide OpenSource and DWF files

2010-10-07 Thread Jackie Ng
DWF-based layers are fixed in terms of stylization. What was originally plotted is what gets rendered. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapguide-OpenSource-and-DWF-files-tp2247625p5611265.html Sent from the MapGuide Users mailing list archive at N

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-07 Thread Jackie Ng
Is it possible to make a package of this data to see if other can reproduce the error? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-to-show-properties-in-Ajax-viewer-with-ver-2-2-0-5197-tp5611272p5611470.html Sent from the MapGuide Users mailing list

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-07 Thread Jackie Ng
I just tried your package on an earlier 2.2 build running on windows 7 / IIS. I couldn't find any problems with selection, everything selects fine. The only thing I can think of is that some error occurred server-side during selection (getselectedfeatures.aspx) and the error response is malformed

[mapguide-users] Re: Anyone know anything about this FDO expression editor in maestro

2010-10-07 Thread Jackie Ng
Assuming ADD_NUMBER is numeric then the filter string for your search command would be: ADD_NUMBER = $USER_VARIABLE - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Anyone-know-anything-about-this-FDO-expression-editor-in-maestro-tp5607915p5613421.html Sent from

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-08 Thread Jackie Ng
IIS >= 6.0 is a supported configuration, but you mentioned Windows XP, so unless your running the 64-bit edition of XP, that version of IIS is actually 5.1 and I haven't touched or tested on that version of IIS for a while now nor do I know if that version is still even supported. - Jackie -- Vi

[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

2010-10-11 Thread Jackie Ng
The purpose of RFC68 is that if you're developing a new MapGuide application, you only need to reference the specific OSGeo.MapGuide.*.dll assemblies you actually need. You do not need to reference MapGuideDotNetApi.dll For existing applications that reference the old MapGuideDotNetApi.dll, the n

[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

2010-10-13 Thread Jackie Ng
I believe I have found a solution for this. The short story is that signer.exe doesn't handle the unique scenario imposed by the MGOS2.2/MGE2011 assemblies being split up. It involves using ildasm.exe and ilasm.exe to manually sign these assemblies, and a little IL hackery is required to ensure th

[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

2010-10-13 Thread Jackie Ng
Here's how you do it for MGOS2.2/MGE2011 http://themapguyde.blogspot.com/2010/10/using-maestro-in-native-mode-with.html - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Again-strong-naming-of-MapGuideDotNetApi-dll-tp5622823p5633523.html Sent from the MapGuide Us

[mapguide-users] Re: Problem connecting initialize WebTier in MGOS 2.2 RC1

2010-10-14 Thread Jackie Ng
Hi Gunter, Could this be relevant to your case? http://forums.asp.net/t/1252371.aspx - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-connecting-initialize-WebTier-in-MGOS-2-2-RC1-tp5636582p5637145.html Sent from the MapGuide Users mailing list archive

[mapguide-users] Re: How to include properties pane in print layout?

2010-10-17 Thread Jackie Ng
The built-in print layout does not support displaying selected feature properties. You'll have to implement a custom PHP/Java/.net page that does this. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-include-properties-pane-in-print-layout-tp5645677p56457

[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

2010-10-18 Thread Jackie Ng
The OSGeo.MapGuide assemblies also reference each other (except for Foundation which references nothing). Did you make sure you also updated these references with the public key token in the respective IL of these assemblies before rebuilding with ilasm.exe? - Jackie -- View this message in cont

[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

2010-10-18 Thread Jackie Ng
That looks like Microsoft's public key, evidenced by a Google search on this key returning references to System.* assemblies. When in doubt, look at your signed assemblies in reflector. Make sure MapGuideDotNetApi, OSGeo.MapGuide assemblies, and the references between them are using the same pub

[mapguide-users] Re: Set NULL value

2010-10-18 Thread Jackie Ng
All property values inherit from MgNullableProperty. So calling SetNull(true) will set your property to be NULL. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Set-NULL-value-tp5646753p5646824.html Sent from the MapGuide Users mailing list archive at Nabble.com

[mapguide-users] Re: Inserting features in PostGIS fails

2010-10-18 Thread Jackie Ng
Are you using the old OSGeo.PostGIS provider or are you using the new OSGeo.PostgreSQL provider? Note that the OSGeo.PostGIS provider is very buggy and is no longer maintained. For all intents and purposes you should be using the OSGeo.PostgreSQL provider going forward. Also note that the OSGeo.

[mapguide-users] Re: Set NULL value

2010-10-18 Thread Jackie Ng
If you want to write the value back into the data store (MgInsertFeatures/MgUpdateFeatures), you will need to use MgNullableProperty objects anyway. If you are wanting to handle null values as you are reading them from the MgFeatureReader, just call IsNull(propertyName). If it returns true, then

[mapguide-users] Re: in fusion, after select features at server, i cann't do delete operation!

2010-10-18 Thread Jackie Ng
If you want to use MgLayer.UpdateFeatures, *DO NOT* call the empty MgMap constructor. You have to call the MgMap constructor that takes a MgSiteConnection instance. Info: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc9 - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nab

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-18 Thread Jackie Ng
Hi Gunter, Thanks for the heads up. This is obviously a hole in the localization of the X and Y component of the json response. Now I'm not quite sure of the solution here because of my somewhat limited knowledge of localization in the javascript space. Bascially can viewer APIs like ZoomToView(

[mapguide-users] Re: Inserting features in PostGIS fails

2010-10-18 Thread Jackie Ng
You should try the following: 1. Inspect the return value from MgFeatureService.UpdateFeatures, a MgDeleteFeatures will return a MgFeatureReader with a int32 value (the number of features deleted). Check if this value is greater than 0. 2. You have no exception handling in the code. MgFeatureSe

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-19 Thread Jackie Ng
I share your sentiments, so I made this ticket a blocker. Fortunately I think I know the solution, just have to switch my test machine language to German to find out :-) - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-to-show-properties-in-Ajax-viewer-wi

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-19 Thread Jackie Ng
Hi Gunter, I seem to have trouble reproducing this issue. I thought changing the regional settings to German would've been enough, but firebug still shows my X/Y values as they have always been (with dots not commas for decimal separators). Would you know of any other settings that may need to

[mapguide-users] Re: Does mapguidedotnetapi enable backward compatibility?

2010-10-19 Thread Jackie Ng
The only thing that can be considered backwards compatible is the mapagent http interface, this is evidenced by the fact that Maestro can work with releases of MapGuide as old as 1.2.0 (probably even older, but I don't think anybody would run such an old version in production these days). The off

[mapguide-users] Seeking testers for Maestro 3.0

2010-10-20 Thread Jackie Ng
Hi All, I am seeking interest from anyone willing to test the next version of MapGuide Maestro (3.0) Maestro 3.0 has been mostly rebuilt from the ground up taking lots of API design notes from MapGuide/FDO and UI/UX inspiration from my other little project (FDO Toolbox). I'd say around 60% of th

[mapguide-users] RE: Seeking testers for Maestro 3.0

2010-10-20 Thread Jackie Ng
It's probably the same amount of work. Haven't verified if the existing translation process can still be used here though. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Seeking-testers-for-Maestro-3-0-tp5653936p5654087.html Sent from the MapGuide Users mailing

[mapguide-users] Re: Seeking testers for Maestro 3.0

2010-10-20 Thread Jackie Ng
Most of what's thrown out was the UI code, the backend stuff has been re-organised to be more cleaner and clearer. The main changes you'll see API-wise are: * No giant, monolithic ServerConnectionI (now called IServerConnection) interface. Methods that were in this interface are now broken up a

[mapguide-users] Re: What I think is a JAVA Error>>>

2010-10-20 Thread Jackie Ng
This sounds like your web browser denying javascript access because of the same-origin policy http://en.wikipedia.org/wiki/Same_origin_policy The same origin policy denies javascript on http://domain1 from being able to access content and functions on http://domain2 You say this did not happen

[mapguide-users] Re: MapGuide ver. 2.2.0.5197 stop responding

2010-10-20 Thread Jackie Ng
How many vertices does this polygon have? - getselectedfeatures.aspx/php/jsp stalls on MgGeometry.GetCentroid() - FDO Toolbox fails to get the WKT of this polygon - AutoCAD Map takes several mins just to draw all the snap points, with heavy concentrations of vertices on the "curves" of this p

[mapguide-users] Re: MapGuide ver. 2.2.0.5197 stop responding

2010-10-20 Thread Jackie Ng
I've made a ticket for this problem: http://trac.osgeo.org/mapguide/ticket/1481 The proposed solution cuts processing time for this geometry from approx 5mins to around (180ms-240ms) while producing similar zoom results. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.na

[mapguide-users] Maestro 3.0 test build #1

2010-10-20 Thread Jackie Ng
Hi All, I've put up the first test build of Maestro 3.0 for download http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5311%20test1.zip I'll preface all of this with your standard warning: HERE BE DRAGONS! THIS BUILD SHOULD BE CONSIDERED ALPHA-QUALITY AND SHOULD ONLY BE USE

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-21 Thread Jackie Ng
I for the life of me just cannot reproduce this problem, I have tried your suggestion with the regional settings yet my zoom values are still using dot decimal separators! I'll post a patch of my theoretical solution. If you could try this patch and let me know if it works or not, that would be m

[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-21 Thread Jackie Ng
The current drag and drop support is just the tip of the iceberg. I have more droppables to consider: - MGP packages - AutoCAD Map .layer files - Dragged items from another Maestro instance - others? The "New Item" dialog is modeled after the same one in Microsoft Visual Studio. I use Visual

[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-21 Thread Jackie Ng
It's a game of balance and compromise. I wanted to make sure that anything that is saved to the library passes a resource validation check first. That's why *all* new resources start life in the session repository first by current design. I guess we could pass a "hint" to the editor of the new r

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-21 Thread Jackie Ng
Hi Gunter, This looks good. My patch looked similar, but I'll submit your version since you've verified it. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-to-show-properties-in-Ajax-viewer-with-ver-2-2-0-5197-tp5611272p5658885.html Sent from the MapGui

[mapguide-users] Re: Mesure area functionality - solution

2010-10-21 Thread Jackie Ng
If you have an osgeo login, you can contribute to our community code samples: http://trac.osgeo.org/mapguide/wiki/CodeSamples - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mesure-area-functionality-solution-tp5657970p5658891.html Sent from the MapGuide Users

[mapguide-users] Re: Problem to show properties in Ajax viewer with ver. 2.2.0.5197

2010-10-21 Thread Jackie Ng
Yes the 200 zoom level may not be appropriate for some cases, it was just some number I pulled that would work 90% of the time. A more ideal solution would be to return an envelope instead of returning x/y as part of the response from getselectedfeatures, and have it re-use the same code as the

[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-22 Thread Jackie Ng
Another note I'd like to add: Of all the resource editors, the Layer Definition editor is the one which requires the most attention from a testing perspective due to the large number of options provided by the Layer Definition schema. If something's missing (other than what's already stated) or b

[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-22 Thread Jackie Ng
.net Framework 2.0 SP1 If you have .net Framework 3.5 installed, this is included as part of the installation. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-1-tp5657585p5662089.html Sent from the MapGuide Users mailing list archive at N

[mapguide-users] Re: PostGIS dataconnection problem

2010-10-24 Thread Jackie Ng
The PostGIS 3.4 provider requires additional dlls like libpq.dll, which can be found in the bin directory of your postgresql installation. If you add this directory to the PATH environment variable on your MapGuide Server, this provider should load without issues. - Jackie -- View this message i

[mapguide-users] Re: PostGIS dataconnection problem

2010-10-25 Thread Jackie Ng
This should be a public service announcement :) I think most PostGIS-related problems would be solved by using the new PostgreSQL provider in MapGuide Open Source 2.2 - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/PostGIS-dataconnection-problem-tp5667129p56733

[mapguide-users] Re: passing data using invoeurl

2010-10-25 Thread Jackie Ng
Invoke URL commands automatically include the session id as part of the url parameters. The key is 'SESSION' - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/passing-data-using-invoeurl-tp1817443p5673329.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Re: Polygon fill foreground color from FDO property problem

2010-10-25 Thread Jackie Ng
Maybe this is intentional? As your color is now dynamically evaluated. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Re-Polygon-fill-foreground-color-from-FDO-property-problem-tp5662517p5673335.html Sent from the MapGuide Users mailing list archive at Nabble.c

[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-26 Thread Jackie Ng
I've modified the resource picker to allow specifying a custom starting point, which is used by the new resource command. When you right click and choose "New Resource", it will remember the folder you right click and pass that on to the resource editor as a suggested starting point when you save

[mapguide-users] Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng
Hi All, I've put up the 2nd test build of Maestro 3.0 for download. This is the first Maestro 3.0 test build that should work on Mono. http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5334%20Test2.zip Once again, I'll preface all of this with your standard warning: HERE

[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng
Are you using the RTM version of .net Framework 2.0? It must be SP-level (1 or 2). MaestroFsPreview.exe, when run on its own (and not from Tools menu in Maestro) requires you to browse to the feature source you wish to preview. - Jackie -- View this message in context: http://osgeo-org.1803224

[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-26 Thread Jackie Ng
The templates have a min supported site version property. What you see is the filtered result based on the site version of the current connection. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-1-tp5657585p5676760.html Sent from the MapGu

[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng
Well I either have no life, or I've refactored Maestro's infrastructure to the point where adding new features is a simple as connecting new lego blocks ;-) I'd like to think it's the latter (maybe a bit of the former) - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabbl

[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng
How locked down security-wise is the environment? It seems the error is the result of running Maestro with insufficient privileges (in this case, the ability to do reflection). Are you possibly running this from a shared network drive? It could also be that Maestro (and its assemblies) are not

[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng
Migration doesn't check saving a resource into a server that doesn't recognise this resource type or version (yet). - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-2-tp5674364p5676855.html Sent from the MapGuide Users mailing list archive

[mapguide-users] Re: Maestro Layout Task frame menu search filter syntax?

2010-10-28 Thread Jackie Ng
This error can be the result of duplicate mapped properties in the search results section of your search command. If you are testing the latest builds of Maestro 3.0, it has enhanced Web Layout validation rules to detect: - Duplicate command names - Orphaned menu entries - Duplicate property m

[mapguide-users] Re: the search cannot be done with «%»

2010-11-01 Thread Jackie Ng
Have you tried: (NAME LIKE '%$USER_VARIABLE') OR (NAME LIKE '$USER_VARIABLE%') ? Also what is the underlying FDO provider for this layer you are searching? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/the-search-cannot-be-done-with-tp5695730p5695766.html Se

[mapguide-users] Re: the search cannot be done with «%»

2010-11-02 Thread Jackie Ng
I guess I should re-phrase my question as: What is the FDO provider of the Feature Source used by the Layer you are searching on? Did you actually try the full expression? My previous example was one full filter - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/t

[mapguide-users] Re: OSGeo.MapGuide.MgNullPropertyValueException

2010-11-03 Thread Jackie Ng
Calling IsNull(propertyName) on the MgFeatureReader will tell you if it is a null value. MgFeatureReader never returns null or System.DBNull.Value for GetXXX() methods, it will always throw MgNullPropertyValueException - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabb

[mapguide-users] Re: Basic Layout and GoogleMap layer

2010-11-03 Thread Jackie Ng
The reason there's no Google Maps support in the AJAX viewer is because it doesn't use the OpenLayers library, and to even try to integrate OpenLayers into the AJAX viewer is just an exercise in futility IMO. The basic AJAX viewer is a framework of its own. - Jackie -- View this message in co

[mapguide-users] Re: pregenerate tiles

2010-11-03 Thread Jackie Ng
You could try overriding the bounds of the tiled map to focus tile generation to that specific area. It requires you needing to use the "official method" of tile generation and specifying a "meters per unit" value - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.co

[mapguide-users] Re: Using DigitizePoint(handler) Errors

2010-11-04 Thread Jackie Ng
Sorry, that should be. p.X and p.Y note upper case property name, that's now the point being sent to the handler is defined. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Using-DigitizePoint-handler-Errors-tp5704197p5707240.html Sent from the MapGuide Users

[mapguide-users] Calculating map meters per unit without MgCoordinateSystem

2010-11-05 Thread Jackie Ng
Hi All, I've been playing around with the Maestro 3.0 API backend trying to port over the existing Runtime Map functionality. In particular, I've been trying to see if I can use existing Rendering Service APIs with my purely-client-side-created runtime map. The results were a bit strange: A 1024

[mapguide-users] Re: pregenerate tiles

2010-11-05 Thread Jackie Ng
Hmmm, I just had an interesting problem involving meters-per-unit, basically this value should be the value of: MgCoordinateSystem.ConvertCoordinateSystemUnitsToMeters(1.0) But because MgCooker.exe is a fully managed application using the HTTP API, there is no way (currently that I know of) to c

[mapguide-users] Re: Can I use a local language to display in the properties box?

2010-11-08 Thread Jackie Ng
To localize the flexible layout, you have to edit the raw XML document. Locate all instances in the document, and look for the and elements. Replace this text in these elements with your translated text and repeat for all the widgets. There may be a way to do this in MapGuide Studio, but I'm no

[mapguide-users] Re: Calculating map meters per unit without MgCoordinateSystem

2010-11-08 Thread Jackie Ng
Well that makes the Rendering Service API mostly useless for client-side created runtime maps :( The workaround is of course knowing the actual meters-per-unit value beforehand when creating the runtime map client-side, but "workaround" is a far too generous a word to describe that! - Jackie --

[mapguide-users] Re: SESSION() in layer filter

2010-11-08 Thread Jackie Ng
I think you might have exposed a limitation of FDO filters. These filters are ultimately translated into something the underlying datastore can understand (eg. A SQL where clause). As such, I think at least one side of the filter has to contain an identifier of some sort. How about this filter:

[mapguide-users] Re: OSGeo.MapGuide.MgNullPropertyValueException

2010-11-10 Thread Jackie Ng
1) This is probably because in the Sheboygan Map Definition, only the Parcels layer has been set to selectable. For 2.1 and newer releases, selectable layers are indicated in the legend with the mouse pointer icon. Also for the soon-to-be-final 2.2 release, I have enhanced the Property Pane to sup

[mapguide-users] Re: Dynamic caching in MapGuide Maestro

2010-11-14 Thread Jackie Ng
I don't quite understand your question. Could you elaborate? Tile generation is a naturally lengthy process. There is no way to increase the speed other than cranking up the thread count in MgCooker, and that only works if your hardware has enough CPU cores to handle the workload. - Jackie --

[mapguide-users] Re: quickplot for Ajax

2010-11-15 Thread Jackie Ng
Did you have to edit the php.ini from a *default* mapguide installation? If so, then we need to update the installer's php.ini so that this extension is enabled by default. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/quickplot-for-Ajax-tp5740809p5742632.html

[mapguide-users] Re: Coordinate system problem validating a map

2010-11-18 Thread Jackie Ng
Are the WKT strings the same? This is what Maestro is comparing, and what it is raising a warning about - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Coordinate-system-problem-validating-a-map-tp5751547p5751595.html Sent from the MapGuide Users mailing list ar

[mapguide-users] Re: How correctly pass

2010-11-18 Thread Jackie Ng
How are you calling this jsp page? If this jsp page is called as part of an InvokeURL command, the MAPNAME and SESSION parameters are automatically passed. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-correctly-pass-MAPNAME-in-Ajax-tp5752239p5754192.html

[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

2010-11-19 Thread Jackie Ng
How big is the map we're talking here (groups and layers)? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-GetRuntimeMap-takes-a-long-time-to-return-the-RuntimeMap-tp5755341p5755413.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

2010-11-19 Thread Jackie Ng
Are you using the http or local implementation of ServerConnectionI? Shouldn't be much difference since the method implementation is the same for both. Did you get the 1 second result by profiling the call to GetRuntimeMap() (measure the time before and after the call, and get the difference)?

[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

2010-11-19 Thread Jackie Ng
The local implementation doesn't use MgMap, the packing and unpacking of the internal runtime state is all done through managed code. It could well be that our way of doing it is not as efficient as the way it is done in MgMap. Gunter Becker wrote: > > Is there a chance for me to debug the Maes

[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

2010-11-22 Thread Jackie Ng
Hmmm, I can see how this could be a potential bottleneck for large MgByteReaders. The origin of this method (according to source code commentary) was to workaround the issue of MgByteReader not being directly usable as a .net Stream and because MgByteReaders cannot be passed as parameters (I thin

[mapguide-users] Re: Is it possible to pass data from the map to the printable page?

2010-11-22 Thread Jackie Ng
You can take the existing printablepage and printablepageui files in your AJAX viewer (used by the print command), modify them to suit your needs. Then create a new InvokeURL command that links to your modified printablepageui file. - Jackie -- View this message in context: http://osgeo-org.1

[mapguide-users] Re: Valid wkt coordinate system

2010-11-22 Thread Jackie Ng
The coordinate system validation is probably CS-Map just saying that a CS definition matching the specified WKT could not be found. I don't think there is a CS registration mechanism in MapGuide. I do recall there being such functionality with AutoCAD Map - Jackie -- View this message in contex

[mapguide-users] Re: SQL Server data visibility is intermittent

2010-11-23 Thread Jackie Ng
Could it be the initial view of the map is outside the [-90, 90] latitude range? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/SQL-Server-data-visibility-is-intermittent-tp5767786p5768623.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

[mapguide-users] Re: Create feature source

2010-11-23 Thread Jackie Ng
Assuming your Oracle database is already set up. Then you should already have an Oracle Feature Source in your Site Repository. Replace sdfResId with the resource id of your Oracle Feature Source. This assumes your Oracle database is structurally the same as the previous SDF file. - Jackie --

[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

2010-11-24 Thread Jackie Ng
Would it be possible for you to email me a package of this data for benchmarking? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-GetRuntimeMap-takes-a-long-time-to-return-the-RuntimeMap-tp5755341p5770010.html Sent from the MapGuide Users mailing lis

[mapguide-users] Re: Directory structure and performance

2010-11-25 Thread Jackie Ng
Performance is only a problem if you need to do a full listing of the repository. Maestro only request listings one level deep as you expand each folder node for the first time. Direct resource access by resource id lookup should not be affected by folder structure. Resource access by resource i

[mapguide-users] Re: Insert a Point in MapGuide map

2010-11-28 Thread Jackie Ng
MgFeatureService.UpdateFeatures can throw exceptions (which may explain why it failed). You should wrap that call in a try/catch block, and inspect the caught exception. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Insert-a-Point-in-MapGuide-map-tp5777309p578

[mapguide-users] Re: Insert a Point in MapGuide map

2010-11-29 Thread Jackie Ng
Maestro does not offer SDF conversion services with SHP load procedures. The Load Procedure UI should've made this clear. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Insert-a-Point-in-MapGuide-map-tp5777309p5786245.html Sent from the MapGuide Users mailing l

[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

2010-12-01 Thread Jackie Ng
Both if possible. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-GetRuntimeMap-takes-a-long-time-to-return-the-RuntimeMap-tp5755341p5791883.html Sent from the MapGuide Users mailing list archive at Nabble.com.

<    1   2   3   4   5   6   7   8   9   10   >