[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

[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

[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:

[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

[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.

[mapguide-users] Re: mapguide maestro sqlite connection

2010-12-02 Thread Jackie Ng
Yes, a specialized SQLite feature source editor should be a high-priority item given its importance. However, this would only make it into Maestro 3.0 as that is where my development efforts are focused on. - Jackie -- View this message in context:

[mapguide-users] Re: MGOS 2.2 Beta with .net Problems

2010-12-02 Thread Jackie Ng
Your sessionId variable is only applicable in the scope of that try/catch block because that's where you declared it. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MGOS-2-2-Beta-with-net-Problems-tp5797915p5798243.html Sent from the MapGuide Users mailing

[mapguide-users] Re: MapGuide OS support for PostGIS (through FDO)

2010-12-03 Thread Jackie Ng
Hi Rob, Some of the pages / docs are a bit old. But the answer to your question is: Yes! MapGuide Open Source 2.1 and 2.2 (and future releases) support PostGIS. However the support is more solid in the 2.2 release as it uses an Autodesk-developed PostGIS provider (OSGeo.PostgreSQL) where the

[mapguide-users] Re: MaestroAPI in php: Class 'HttpServerConnection' not found

2010-12-06 Thread Jackie Ng
Maestro API is only available for .net If you use Java or PHP, you're out of luck -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-in-php-Class-HttpServerConnection-not-found-tp5807470p5810609.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Re: At a loss MGOS 2.2 beta

2010-12-06 Thread Jackie Ng
Frameset tags cannot be inside body tags. They must replace the body tag as the top level content tag -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/At-a-loss-MGOS-2-2-beta-tp5809647p5810612.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Executing SQL queries with SqlCommand parameters

2010-12-08 Thread Jackie Ng
The MgFeatureService in MGOS 2.2 offers variants of ExecuteSQL that support parameters and transactions http://trac.osgeo.org/mapguide/wiki/MapGuideRfc80 - Jackie -- View this message in context:

[mapguide-users] Maestro code samples

2010-12-08 Thread Jackie Ng
Hi All, As part of the next release of Maestro (3.0). I intend to release a separate SDK distribution, which includes just the main Maestro libraries, docs and code samples of various flavours (Console, WinForms, ASP.net) using the Maestro API. So my question is, what kind of examples would you

[mapguide-users] Re: Creating an ODBC feature source dynamically

2010-12-10 Thread Jackie Ng
The X/Y column configuration specified in a FDO XML configuration document. Just use MgResourceService.SetResourceData to upload your XML configuration and have this data name referenced as the configuration stream in your feature source - Jackie -- View this message in context:

[mapguide-users] Maestro 3.0 Test Build #4

2010-12-13 Thread Jackie Ng
Hi All, Here's the 4th test build of Maestro 3.0: http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5457%20Test%204.zip Some of the new stuff includes: - Implemented re-pointer function as suggested by Jason (#606) - Added warnings about tile cache invalidation (with

[mapguide-users] Re: Features Sometimes Disappear When Zoomed To

2010-12-28 Thread Jackie Ng
Your shape files could have a corrupted spatial index Here's a thread on fdo-users on the problem: http://osgeo-org.1803224.n2.nabble.com/Disappearing-Shape-File-Objects-td4113490.html - Jackie -- View this message in context:

[mapguide-users] Re: HELP ASAP!!

2010-12-28 Thread Jackie Ng
What is the version of your MapGuide Server? If version = 2.1, do you have the MENTOR_DICTIONARY_PATH environment variable, and does it point to the correct directory (which would be by default: C:\Program Files\OSGeo\MapGuide\CS-Map\Dictionaries) - Jackie -- View this message in context:

[mapguide-users] Re: coordinates of layer extent mapguide

2011-01-06 Thread Jackie Ng
Spatial contexts are not a reliable way to get the true extents of a given layer especially for RDBMS providers like SQL Server, as the extents will be static. Instead, you should use the SpatialExtents(geometry property) aggregate function. Most providers support this function. - Jackie --

[mapguide-users] Re: Mapguide 2011 Printing

2011-01-07 Thread Jackie Ng
This is probably because the Get Printable Page command in your web layout document has been set to open in the task pane. In MapGuide Studio or Maestro you should be able to change the command settings to have it open in a new window. - Jackie -- View this message in context:

[mapguide-users] Re: help listing items selected, not just saying Items Selected : xx

2011-01-07 Thread Jackie Ng
This was an annoying shortcoming of the AJAX viewer which I had addressed in RFC71. Details here: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc71 MapGuide OS 2.2 has this feature built in and the next enterprise release (2012) should have this too. That's just logical assumption on my part

[mapguide-users] Re: help listing items selected, not just saying Items Selected : xx

2011-01-07 Thread Jackie Ng
You can try this submission as a guide: http://trac.osgeo.org/mapguide/changeset/4676 Purple files were the newly added ones, so they can be dropped in straight away. Orange files were the modified ones. The SVN diffs show what parts of those files were modified. - Jackie -- View this message

[mapguide-users] Re: help! how to change language widget?

2011-01-16 Thread Jackie Ng
You have to edit the XML of your Application Definition. For each Widget element, translate the text between the Label child element. Do the same for any StatusItem and Tooltip child elements. - Jackie -- View this message in context:

[mapguide-users] Reducing CS-Map dictionary footprint

2011-01-17 Thread Jackie Ng
Hi All, I am currently using the MgCoordinateSystem API to do processing of GPS data. Since I am primarily working with Australian spatial data, I do not have a need for *all* the coordinate systems of the world, just the ones in Australia. I was wondering what files under CS-Map dictionaries

[mapguide-users] Re: help! how to change language widget?

2011-01-17 Thread Jackie Ng
There are also string bundles in the fusion\text directory that need translating as well. At a glance, I did notice several strings in there relating to the buffer function. - Jackie -- View this message in context:

[mapguide-users] Re: Error: Resource was not found:.

2011-01-18 Thread Jackie Ng
You can't open a map that has not been saved first. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Resource-was-not-found-tp5936109p5937653.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Error: Resource was not found:.

2011-01-19 Thread Jackie Ng
Your code is calling Open() on the map before calling Save(). The order should be reversed. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-Resource-was-not-found-tp5936109p5941747.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Error: Resource was not found:.

2011-01-20 Thread Jackie Ng
It could very well be that your function Selecao() is being called when the viewer frame 'quadras' has not been fully initialized. You should do something like this code sample http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking To ensure you are calling viewer

[mapguide-users] Re: Help regarding to set filter for a layer programmatically using Java

2011-01-27 Thread Jackie Ng
Unfortunately, MaestroAPI is a .net library and is only available for .net. If you use PHP or Java, you are out of luck. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Help-regarding-to-set-filter-for-a-layer-programmatically-using-Java-tp3343625p5966610.html

[mapguide-users] Re: Help regarding to set filter for a layer programmatically using Java

2011-01-27 Thread Jackie Ng
You have to understand that each language has its own unique set of libraries and APIs for dealing with and processing XML data. What is shown in the PHP examples for dealing with XML data does not translate 1:1 directly to .net or java. You need to find an equivalent library in java for

[mapguide-users] Re: Task Pane Error - Http Error 400.0

2011-01-31 Thread Jackie Ng
There has been some task-pane related url fixes which I believe should be in the latest release of MGOS 2.2 (RC2) http://trac.osgeo.org/mapguide/ticket/1227 Perhaps this is the problem you're having? - Jackie -- View this message in context:

[mapguide-users] Re: Exporting KML in MAPGuide OpenSource 2.1

2011-02-01 Thread Jackie Ng
Maybe try appending USERNAME=Anonymous to the url? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Exporting-KML-in-MAPGuide-OpenSource-2-1-tp5981092p5983885.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] RE: Alias to external DWF files

2011-02-09 Thread Jackie Ng
You need to make a Drawing Source, not a Feature Source DWF files have their own mapguide resource type separate from FDO connections - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Alias-to-external-DWF-files-tp5992002p6010012.html Sent from the MapGuide

[mapguide-users] Re: Can't select features using commercial overlays

2011-02-14 Thread Jackie Ng
Have you checked that the layer definition in question has any feature attributes checked when selected? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Can-t-select-features-using-commercial-overlays-tp6023133p6025795.html Sent from the MapGuide Users mailing

[mapguide-users] Re: Raster provider

2011-02-21 Thread Jackie Ng
Run a depends.exe check on that dll. You're probably missing some extra dependencies. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Raster-provider-tp6047818p6047919.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: newbie ... following the tutorial ...

2011-02-21 Thread Jackie Ng
You have to make that file yourself. The video shows the contents of the file in notepad. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/newbie-following-the-tutorial-tp6048178p6048274.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: help with Getmapimage

2011-02-21 Thread Jackie Ng
The MgSelection class representing your selection has a GetExtents() method. This returns the bounding box of your selection. Do some math involving the width/height of this bbox with your MgMap's display parameters (sorry the math to convert map space to screen space escapes me at the moment.

[mapguide-users] Re: Mapguide and web services

2011-02-22 Thread Jackie Ng
Could you possibly expand with more information? What language are you using or intend to use (.net? PHP? Java?) What type of web service are you calling? Or are you trying to build a web service around the MapGuide Server? - Jackie -- View this message in context:

[mapguide-users] Re: Mapguide and web services

2011-02-22 Thread Jackie Ng
Unfortunately, I don't use java so whatever advice I can give is limited. What I can do however is point you to some of the possibly relevant classes in the MapGuide API: - MgMap (holds the state of the map you are currently looking at) - MgRenderingService (used to render images of the MgMap)

[mapguide-users] Re: Legend Doesn't Refresh

2011-03-01 Thread Jackie Ng
Does the Layer Definition have a scale range? Maybe you're refreshing at a scale where this layer is not visible? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Legend-Doesn-t-Refresh-tp6079198p6079231.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Re: Legend Doesn't Refresh

2011-03-02 Thread Jackie Ng
It was never made a public API: http://trac.osgeo.org/mapguide/ticket/655 - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Legend-Doesn-t-Refresh-tp6079198p6083621.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Add geometry to feature source

2011-03-06 Thread Jackie Ng
2 Things. 1) You haven't actually created a feature source. You have defined the schema/structure of the feature source, but you haven't called MgFeatureService::CreateFeatureSource() to create it. (See: Temporary Feature Sources in Chapter Analyzing Features of the MapGuide Developer's Guide)

[mapguide-users] Re: How to connect Mapguide maestro and MySQL database?

2011-03-06 Thread Jackie Ng
Try using the ODBC provider to connect to your MySQL database. The ODBC provider lets you declare the LATITUDE/LONGITUDE columns of your table as point geometry in a feature class. - Jackie -- View this message in context:

[mapguide-users] Re: from where i can get administrator ID and password ..

2011-03-08 Thread Jackie Ng
The default administrator login is: Username: Administrator Password: admin - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/from-where-i-can-get-administrator-ID-and-password-tp6117878p6117971.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] MapGuide Maestro 3.0 beta 1 now available

2011-03-08 Thread Jackie Ng
Hi All, After 10 months of on/off development, I am happy to announce the 1st beta release of MapGuide Maestro 3.0: NSIS installer: http://download.osgeo.org/mapguide/maestro/MapGuideMaestro-Release-3.0b1-Setup.exe Zip package:

[mapguide-users] Re: Add geometry to feature source

2011-03-08 Thread Jackie Ng
Your MgInsertFeatures is inserting data into a feature class curveInsert which is different from the class that you have created truck_route Secondly everytime your script is run, it will trample over your previously created feature source and create another layer of the same name. There may be

[mapguide-users] Re: Add geometry to feature source

2011-03-09 Thread Jackie Ng
MgByteSource takes a path to an xml file, not the xml content itself - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Add-geometry-to-feature-source-tp6082938p6156122.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Compile Error: An attempt was made to load a program with an incorrect format.

2011-03-09 Thread Jackie Ng
It is definitely a 32/64 bit mismatch. Check the following: - The bitness of the MapGuideDotNetApi and OSGeo.MapGuide dlls using corflags.exe (this should be 64-bit already for the x64 installer) - The bitness of any third party .net libraries - The bitness of the mapguide virtual directory

[mapguide-users] Re: help for AutoDesk MapGuide activex Control

2011-03-11 Thread Jackie Ng
Use the official Autodesk discussion forums. This mailing list is for the discussion of MapGuide Open Source (and sometimes Enterprise) which are newer and fundamentally different products from MapGuide 6.x - Jackie -- View this message in context:

[mapguide-users] Re: Map Projection

2011-03-11 Thread Jackie Ng
MapGuide will automatically re-project any layers whose coordinate system doesn't match the one defined in your Map Definition when being displayed. So you shouldn't need to do anything :) - Jackie -- View this message in context:

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-03-12 Thread Jackie Ng
The AJAX viewer was designed at a time before modern touch-enabled devices like the iPhone/iPad/Android had arrived on the scene so there is a very likely chance that things work as expected on a touch-enabled device (as you have undoubtedly found out) Take a look at OpenLayers (of which MapGuide

[mapguide-users] Re: FDO Provider

2011-03-13 Thread Jackie Ng
I'm not sure the version of MySQL (v5.5.8) in that XAMPP distribution is compatible the MySQL FDO provider in that release of MapGuide - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/FDO-Provider-tp6166291p6166312.html Sent from the MapGuide Users mailing list

[mapguide-users] Re: Selection By Location

2011-03-15 Thread Jackie Ng
Create an MgSelection from your MgMap Get the selected feature from this MgSelection (an MgFeatureReader) Get the geometry component of this selected feature (MgGeometry created via MgAgfReaderWriter) Use this MgGeometry as part of the spatial filter for a second feature query against your

[mapguide-users] Re: Layer does not appear in legend

2011-03-15 Thread Jackie Ng
What is the visible scale range of your layer definition? It probably won't show if the layer is not visible in your current view - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Layer-does-not-appear-in-legend-tp6174605p6174754.html Sent from the MapGuide Users

[mapguide-users] Re: Network TileCachePath ?

2011-03-15 Thread Jackie Ng
Has the share been given the right permissions? The MapGuide Server service runs under a specific account, and if said account does not have write permission to that share then that would explain the problem you are having. - Jackie -- View this message in context:

[mapguide-users] Re: [2.2 Rc2, Rc3]Failed while processing WebVirtualDIr -2147024894

2011-03-16 Thread Jackie Ng
The installer is a 7zip archive. Extract out the internal msi and run: msiexec /l*v install.log /i Then look for any reported errors in the install.log (warning: the file will be quite huge) - Jackie -- View this message in context:

[mapguide-users] Re: [2.2 Rc2, Rc3]Failed while processing WebVirtualDIr -2147024894

2011-03-16 Thread Jackie Ng
In case nabble screwed up my previous post, it is: msiexec /l*v install.log /i [path to your extracted msi file] - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/2-2-Rc2-Rc3-Failed-while-processing-WebVirtualDIr-2147024894-tp6178304p6179742.html Sent from the

[mapguide-users] Re: External Providers

2011-03-21 Thread Jackie Ng
Google and Yahoo maps require API keys. The Studio interface may be disabling these options until you've input the relevant API key - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/External-Providers-tp6192059p6192106.html Sent from the MapGuide Users mailing

Re: R: [mapguide-users] Re: External Providers

2011-03-21 Thread Jackie Ng
Sorry, this feature is only available for Fusion. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/External-Providers-tp6192059p6194429.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

[mapguide-users] Re: Php_Postgres_Mapaguide

2011-03-21 Thread Jackie Ng
The PHP that is bundled with MapGuide has many extensions disabled by default. Postgres is probably one such extension. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Php-Postgres-Mapaguide-tp6192957p6194431.html Sent from the MapGuide Users mailing list

[mapguide-users] Re: MGOS 2.2 RC4 64bit - problem with references

2011-03-21 Thread Jackie Ng
Try setting your build platform to x64. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MGOS-2-2-RC4-64bit-problem-with-references-tp6193359p6194442.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Php_Postgres_Mapaguide

2011-03-22 Thread Jackie Ng
Off the top of my head, Apache and/or PHP has no idea where to look for libpq.dll (The postgres client library) You should do a comparison of the php.ini and httpd.conf of the MapGuide and WAMP installs. That will give you a better idea of what is missing from your MapGuide bundled Apache/PHP -

[mapguide-users] MapGuide Maestro 3.0 beta 2 now available

2011-03-22 Thread Jackie Ng
Hi All, I am happy to announce the 2nd beta release of MapGuide Maestro 3.0 is now available for download: NSIS installer: http://download.osgeo.org/mapguide/maestro/MapGuideMaestro-Release-3.0b2-Setup.exe Zip package:

[mapguide-users] Re: Mapguide Maestro 3 beta 2 - Expressions

2011-03-23 Thread Jackie Ng
If something worked in a previous version of Maestro, but doesn't in this one it is a bug. Please file a ticket and provide as much information as possible. Screenshots would help too. - Jackie -- View this message in context:

[mapguide-users] Re: WMS GetLegendGraphics

2011-03-23 Thread Jackie Ng
MGOS only currently supports the following WMS requests: - GetCapabilities - GetMap - GetFeatureInfo - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-GetLegendGraphics-tp6182023p6199774.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Re: how to use the street name search engine

2011-03-23 Thread Jackie Ng
Create a Search Command in your Web Layout or Search widget in your Application Definition. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-use-the-street-name-search-engine-tp6186748p6199776.html Sent from the MapGuide Users mailing list archive at

[mapguide-users] Re: Custom php search tool with Mapguide API

2011-03-23 Thread Jackie Ng
Check out the Find Features in buffer sample, which is under Analyzing Features section of the MapGuide Developer's Guide PHP samples. Just take that example, replace with and/or - Jackie -- View this message in context:

[mapguide-users] Re: GoogleMap image on savemap o print map fusion viewer?

2011-03-24 Thread Jackie Ng
I'm pretty sure that this would be a violation of the Terms of Service in using the Google Maps API - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/GoogleMap-image-on-savemap-o-print-map-fusion-viewer-tp6201696p6206386.html Sent from the MapGuide Users mailing

[mapguide-users] Re: problem with tiled map - shown only in overview window !!!

2011-03-28 Thread Jackie Ng
In your Application Definition xml, do you have more than one Map Definition reference in your Map Group? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/problem-with-tiled-map-shown-only-in-overview-window-tp6214081p6214087.html Sent from the MapGuide Users

[mapguide-users] Re: problem with tiled map - shown only in overview window !!!

2011-03-28 Thread Jackie Ng
What does your MapGroup section of your Application Definition xml look like? Secondly, does this Map Definition contain any non-tiled layers? Or is it exclusively tiled layers? - Jackie -- View this message in context:

[mapguide-users] Re: problem with tiled map - shown only in overview window !!!

2011-03-28 Thread Jackie Ng
What widgets are supposed to be in the status bar? From your image, it's hard to really tell. On a different subject, please sign up on the mailing list if you haven't done so already. Registering on nabble != registering for the mailing list. Some non-nabble users will probably be seeing me

[mapguide-users] Re: problem with tiled map - shown only in overview window !!!

2011-03-28 Thread Jackie Ng
Does your widget set contain a CursorPosition widget named CursorPosition and a ViewSize widget name ViewSize? Each widget referenced in a container (toolbar, menu, context menu, etc) must point to a widget of that name in the widget set. A common symptom of broken widget references is them not

[mapguide-users] Re: sum of a field on selected items

2011-03-28 Thread Jackie Ng
A high-level overview: In a PHP script, create a MgSelection from your MgMap. Call GetLayers on the MgSelection For each MgLayer in this result, if the layer's name matches the one you're interested in (Agencies), call GetSelectedFeatures on MgSelection using this layer Loop through the

[mapguide-users] Re: sum of a field on selected items

2011-03-28 Thread Jackie Ng
There is a Listing Selected Parcels example in the MapGuide Developer's Guide. What I've just outline is a variant of that example, except instead of printing out properties of each selected feature, we are totaling a certain numerical property of each selected feature. - Jackie -- View this

[mapguide-users] Re: regarding coordinate system

2011-03-28 Thread Jackie Ng
Do you have any layers pointing to a feature source with no coordinate systems defined? This is what the buffer tool is raising a warning about. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/regarding-coordinate-system-tp6217265p6217353.html Sent from the

[mapguide-users] Re: regarding coordinate system

2011-03-28 Thread Jackie Ng
It could be that there is no prj file that's part of the shape file (deceptive name. A shape file has multiple files!) or the prj file could not be parsed into a valid coordinate system. If there's no prj file, you could open the offending Feature Source in Maestro or MG Studio and upload the

[mapguide-users] Re: Invoke AJAX viewer map functions in Fusion viewer

2011-03-29 Thread Jackie Ng
The closest approximation would probably be. Fusion.getWidgetById().activate() Note that activate() may not do anything for some widgets because they're not menu or toolbar resident widgets. - Jackie -- View this message in context:

[mapguide-users] Re: How to open a new window through dropdownlist in the taskplane?

2011-03-30 Thread Jackie Ng
In javascript: window.open() - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-open-a-new-window-through-dropdownlist-in-the-taskplane-tp6225176p6225769.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Invkoe URL with parameters

2011-03-30 Thread Jackie Ng
Feed the XML selection string into a MgSelection object. From there you can interrogate the layers in the selection and the actual selected features. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Invkoe-URL-with-parameters-tp6222045p6225884.html Sent from the

[mapguide-users] Re: Invkoe URL with parameters

2011-03-31 Thread Jackie Ng
Open your runtime map: MgMap map = new MgMap(siteConnection); map.Open(Request.Form.Get(MAPNAME)); Then create a MgSelection from it and the selection string MgSelection selection = new MgSelection(map, selString); From here look at the API documentation for MgSelection to see what you can do

[mapguide-users] Re: Mapguide OS 2.2 With Google

2011-03-31 Thread Jackie Ng
argy wrote: how to integrate 2.2 with google maps MGOS ​​v3 appreciate your help how to integrate. Integrate what? In what way do you want for MapGuide and Google Maps to talk to each other? We are not psychic here! We do not know of your intentions or requirements! How can you expect

[mapguide-users] Re: google map integrated but need to on off the legend to put layer on original location

2011-04-03 Thread Jackie Ng
As a general rule, please *always* state the version of MapGuide you are using (and the installation environment/configuration if applicable) Now this is relevant to your question because commercial layer support varies depending on the version of MapGuide you are running. We need to know the

[mapguide-users] Re: google map integrated but need to on off the legend to put layer on original location

2011-04-04 Thread Jackie Ng
Hmm, With MapGuide Open Source 2.2, this commercial layer stuff is built-in to fusion. You shouldn't need to modify the index.html in any way. You only need to modify the ApplicationDefinition Note that with MapGuide Maestro 3.0 (currently beta 2), the fusion editor has an easy UI to enable

[mapguide-users] Re: What's the best method to show a pushpin with Fusion?

2011-04-04 Thread Jackie Ng
If it's only temporary, a styled OpenLayers.Feature.Vector object is sufficient. Just make a OpenLayers.Layer.Vector layer and add it as the topmost layer on your OpenLayers map (the oMapOL property). Vectors you add to it will be immediately visible. - Jackie -- View this message in context:

[mapguide-users] MapGuide Maestro 3.0 beta 3 now available

2011-04-04 Thread Jackie Ng
Hi All, I am happy to announce the 3rd beta release of MapGuide Maestro 3.0 is now available for download: NSIS installer: http://download.osgeo.org/mapguide/maestro/MapGuideMaestro-Release-3.0b3-Setup.exe Zip package:

[mapguide-users] Re: MapGuide Maestro 3.0 beta 3 now available

2011-04-04 Thread Jackie Ng
Please note, if you downloaded this release before this post (ie. In the last 30mins since my announcement email), please re-download again. There were some showstopper bugs in the Fusion editor that somehow slipped through. A new beta 3 release has been uploaded with these fixes rolled in. To

[mapguide-users] Re: set the hyperlink in Mapguide Meastro 3.0 b1

2011-04-05 Thread Jackie Ng
If the layer has the hyperlink set, you should see some indicator on the tooltip that it is a linked layer, and you would use CTRL+click to open the linked url. Is this not the case? - Jackie -- View this message in context:

[mapguide-users] Re: What's the best method to show a pushpin with Fusion?

2011-04-05 Thread Jackie Ng
As a fellow OpenLayers newcomer, I've been told that OpenLayers.Layer.Markers is deprecated and the proper way to use OpenLayers.Layer.Vector, with a image symbol style attached. - Jackie -- View this message in context:

[mapguide-users] Re: What's the best method to show a pushpin with Fusion?

2011-04-05 Thread Jackie Ng
Yes. Something similar to the 3rd point vector in that example (the one with the style_mark style) is close to what I'm getting at. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/What-s-the-best-method-to-show-a-pushpin-with-Fusion-tp6238400p6241670.html Sent

[mapguide-users] Re: Where is Mapguide OS 2.2 Final?

2011-04-05 Thread Jackie Ng
The 0.8.28 release of the King.Oracle provider resolves this blocker. So it's a matter of bundling this particular version of the provider into the 2.2 installer and we're home free! - Jackie -- View this message in context:

[mapguide-users] RE: RDBMS connection performance in Mapguide

2011-04-06 Thread Jackie Ng
Agreed. You shouldn't automatically dismiss SQL Server's performance (or any other RDBMS) just because MapGuide may give a very bad impression of it. There are entire books written and tons of Google results about this particular subject (DB design and optimisation). All MapGuide does is issue

[mapguide-users] Re: SOS Value for Geometry property is null.

2011-04-07 Thread Jackie Ng
You should not blindly call the GetXXX() methods from the MgFeatureReader Call IsNull() on the reader first to determine if the property of the current feature being read is null - Jackie -- View this message in context:

[mapguide-users] Re: An exception occurred in FDO component.Property 'featid' is not found

2011-04-07 Thread Jackie Ng
Use the Feature Source preview functionality to inspect the Class Definition of your feature source. Verify that a property named featid exists and is of the same case (ie. Not featID, FEATID, etc) - Jackie -- View this message in context:

[mapguide-users] Re: regarding url

2011-04-07 Thread Jackie Ng
No just open the application definition as-is. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/regarding-url-tp6248773p6248932.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users

[mapguide-users] Re: An exception occurred in FDO component.Property 'featid' is not found

2011-04-07 Thread Jackie Ng
It may be named featid in the table, but MapGuide may be interpreting the table structure differently. That's why I said to preview the feature source, you can see how MapGuide is seeing this table. - Jackie -- View this message in context:

[mapguide-users] Re: SOS Value for Geometry property is null.

2011-04-07 Thread Jackie Ng
What is the FDO provider of your feature source? Is it: Autodesk.SqlServer? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/SOS-Value-for-Geometry-property-is-null-tp6248735p6248947.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: SOS Value for Geometry property is null.

2011-04-07 Thread Jackie Ng
Try this before you loop the feature reader: MgClassDefinition clsDef = AFeatureReader.GetClassDefinition(); string geomPropName = clsDef.GetDefaultGeometryPropertyName(); The use the geomPropName instead of geometry in your GetGeometry() call - Jackie -- View this message in context:

[mapguide-users] Re: Problems with print layout in DWFviewer

2011-04-09 Thread Jackie Ng
The DWF viewer print command in the Web Layout has a list of PrintLayout resource ids which need to be specified. Have you done this? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-with-print-layout-in-DWFviewer-tp6258216p6258267.html Sent from the

[mapguide-users] Re: hyperlink not working with mozilla firefox

2011-04-10 Thread Jackie Ng
For firefox, do you get the CTRL+click prompt in your tooltip when you hover your mouse over the affected feature? - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/hyperlink-not-working-with-mozilla-firefox-tp6260008p6260136.html Sent from the MapGuide Users

[mapguide-users] Re: hyperlink not working with mozilla firefox

2011-04-11 Thread Jackie Ng
Is the generated URL something like: http://localhost/.../... ? Is the machine where this is happening not the one running the apache server? If so, you should change 'localhost' to the hostname of the machine that is running the Apache server. - Jackie -- View this message in context:

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