Re: [mapguide-users] FDO toolbox help

2009-04-07 Thread Jackie Ng
Out of the box, joins on attributes are supported, joining on spatial predicates however is not. It is something I have in my todo list though. I don't believe MapGuide supports joins on spatial predicates either. - Jackie I finally got round to giving FDO toolbox a go. Looks very

Re: [mapguide-users] No viewer access

2009-04-08 Thread Jackie Ng
I don't think frames are accessible if you didn't supply the name attribute for them as well. - Jackie Hello, I embedd MapGuide in my own application, like this: frameset rows=30,* frameborder=no framespacing=0 frame id=titleFrame frameborder=no marginwidth=0 marginheight=0 scrolling=no

Re: [mapguide-users] Mapguide without Apache

2009-04-08 Thread Jackie Ng
Is this actually a feasible solution that is usable in a production environment? If so, I am willing to make a pure, tomcat-only configuration for the installer (but if so, this configuration won't make it for 2.1) - Jackie Hello, Yes, you can but you need to do some steps. 1. Modify

Re: [mapguide-users] FDO toolbox help

2009-04-13 Thread Jackie Ng
This is a defect with the Generic control that makes it unusable with RDBMS-based providers or any providers that have connection properties which are only available when connected. This will be fixed for the next release. The workaround in the meantime, would be to use the express connection

Re: [mapguide-users] FDO 3.4.0 RC 3

2009-04-13 Thread Jackie Ng
I don't think so. 1. FDO 3.3.1 was built with Visual C++ 2005 2. FDO 3.4.0 is built with Visual C++ 2008 3. FDO 3.4.0 has newer APIs Even if you have the required runtime libraries installed, I doubt a 2005-built MapGuide can use 2008-built FDO binaries. - Jackie Howdy, I'm re-installing

Re: [mapguide-users] Mapguide 2.1 installer

2009-04-13 Thread Jackie Ng
What is your environment? (Operating System / 32 or 64-bit). Can we get more detailed (error) information? The installer has a Visual C++ 2008 Runtime installer built-in, and it will install that if it could not find said library on your machine. - Jackie Howdy, Just downloaded and

Re: [mapguide-users] Mapguide Opensource 2.1 Release date

2009-04-16 Thread Jackie Ng
It's not going to be released on that date. There is usually beta and RC releases before the final release, and we even haven't hit beta yet. From my point of view, it is because the new installer that Jason, Kenneth and myself wrote is not ready for prime time. Proper IIS7 support is still

Re: [mapguide-users] Opening different weblayouts in one session

2009-04-16 Thread Jackie Ng
How do your tabs look like in HTML terms? It could be screwing up the javascript of the second viewer. - Jackie It could be that the AJAX viewer I have two tabs in one of my application pages. I am trying to open 2 different layouts in each tab so the user can switch between tabs for the

Re: [mapguide-users] Select points problem

2009-04-16 Thread Jackie Ng
Have you defined a primary key for that point table? - Jackie Check that the datasource has a X, Y and Z value even if it only requires an X, Y just assign one of the X, Y columns to the Z and retry, had this problem a while ago and this seemed to fix it. Good luck I try this:

Re: [mapguide-users] Select points problem

2009-04-17 Thread Jackie Ng
In Maestro, does this PK show up as the key column? If not have you set it? - Jackie Have you defined a primary key for that point table? - Jackie Check that the datasource has a X, Y and Z value even if it only requires an X, Y just assign one of the X, Y columns to the Z and retry,

Re: [mapguide-users] FDO toolbox help

2009-04-17 Thread Jackie Ng
I've made a new release of FDO Toolbox that not only fixes the Generic control for RDBMS providers, but also provides an express SQL Server 2008 spatial connection option. Cheers, - Jackie This is a defect with the Generic control that makes it unusable with RDBMS-based providers or any

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-21 Thread Jackie Ng
Go to the mapagent interface: http://yourmapguideserver:port/mapguide/mapagent/index.html Click Feature under Services API Click GetSchemas Enter the resource id of the feature source and click Submit If you get xml content, then click DescribeSchema and enter the same resource id and enter

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread Jackie Ng
\ServerDescribeSchema.cpp Cannot establish connection. Jackie Ng wrote: Go to the mapagent interface: http://yourmapguideserver:port/mapguide/mapagent/index.html Click Feature under Services API Click GetSchemas Enter the resource id of the feature source and click Submit

RE: [mapguide-users] Query on Mapguide

2009-04-24 Thread Jackie Ng
You don't have to go that far anymore, if you're using the current version (2.0.2) changing one of the templates is enough. http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/ - Jackie Ivan Milicevic wrote: Selection color is hard coded, so you

Re: [mapguide-users] Store point geom: ODBC or Native

2009-04-24 Thread Jackie Ng
There's probably some conversion overhead involved with ODBC points, that you won't have with native storage. Unless you need to have your SQL Server 2008 database interop with other systems (that can't understand SQL Server 2008 spatial data types), you should go native where possible. Also

Re: [mapguide-users] select the location on map

2009-04-24 Thread Jackie Ng
I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript {

Re: [mapguide-users] SetFilter IN

2009-04-27 Thread Jackie Ng
What if you single-quoted the values in the IN filter list? - Jackie KOBAH wrote: Hello, I hope users might have undergone this basic query filter in past. districtQuery.SetFilter(Autogenerated_SDF_ID = + district); I just want to alter this filter to include multiple

Re: [mapguide-users] SetFilter IN

2009-04-27 Thread Jackie Ng
Another question I should've asked: Are district1, distrct2 the actual values you are after or are they variable names? - Jackie KOBAH wrote: Hello, I hope users might have undergone this basic query filter in past. districtQuery.SetFilter(Autogenerated_SDF_ID = +

Re: [mapguide-users] New Enterprise Mapguide Samples unable to download.

2009-04-27 Thread Jackie Ng
IANAL, but is this legal under Google's terms of usage? I remember this legal minefield with regards to the usage of Google Maps data. - Jackie Jonathan W wrote: i recently saw that the Enterprise Mapguide site has been updated with brand new samples!!

Re: [mapguide-users] Trying to create an ajax search thingo

2009-04-27 Thread Jackie Ng
Perhaps you may have used the wrong MgSelection constructor? The API docs says that MgSelection() is a dummy constructor. - Jackie Jamo wrote: I'm trying to populate an Ajax TabContainer with a tab for each search. I'm getting an error for line 94: The map definition is invalid.

Re: [mapguide-users] Trying to create an ajax search thingo

2009-04-27 Thread Jackie Ng
, layerClassName, queryOptions); Response.Write(featureReader.GetClassDefinition().GetProperties().Count); I'm not too sure on why or how but I'm not too fussed unless this extra creation of a MgSelection Set will cause twice as much waiting Jackie Ng wrote: Perhaps you may have used

Re: [mapguide-users] SetFilter IN

2009-04-27 Thread Jackie Ng
. KOBAH Jackie Ng wrote: Another question I should've asked: Are district1, distrct2 the actual values you are after or are they variable names? - Jackie KOBAH wrote: Hello, I hope users might have undergone this basic query filter in past

Re: [mapguide-users] Trying to create an ajax search thingo

2009-04-28 Thread Jackie Ng
That would be the Layer Definition. You would have to get the resource id of the layer definition from the MgLayer and get the resource content, looking for the PropertyMapping elements (I believe). - Jackie Jamo wrote: I can remember seeing somewhere something taht returns all the mapped

Re: [mapguide-users] SDE Data

2009-04-28 Thread Jackie Ng
How big are these nvarchar fields? There were known problems with large nvarchar fields? http://trac.osgeo.org/fdo/ticket/471 - Jackie Daniel, Scott wrote: I have created a layer from an SDE data source. However, Studio is not displaying any fields that are nvarchar field type. Is there a

Re: [mapguide-users] Can you group features?

2009-04-30 Thread Jackie Ng
You have to use a MultiXXX geometry type. (MultiPoint, MultiLineString, etc) To make these types in AutoCAD Map (2009 onwards AFAIK), right click your FDO layer in your Display Manager, and choose New Feature from Geometry, then you can select all your disconnected (AutoCAD) lines, and they

Re: [mapguide-users] freeBSD install

2009-04-30 Thread Jackie Ng
Fusion runs on top of MapGuide, which uses FDO. So yes you need to compile both. You're probably the first one to try compiling on BSD. So you're probably on your own here. Do let us know if you have success :-) - Jackie Marco Battistella wrote: Hi, I am attempting to create a install of

Re: [mapguide-users] Creating a temporary feature source that is not an SDF file

2009-05-07 Thread Jackie Ng
If you understand that feature sources are just xml documents that describe a FDO connection to a particular data store, then CreateFeatureSource()/MgCreateSdfParams is just a convenience method that does the following: 1) Create the SDF file, with the specified schema 2) Create an XML feature

Re: [mapguide-users] migrating resources from 2009 server to 2010

2009-05-11 Thread Jackie Ng
The simplest way to migrate data is to use the mapguide site administrator to create a data package (mgp), this can also serve as your 2009 backup that you can roll back if things go wrong. Copy this package to your 2010 installation (MapGuideEnterprise2010\Server\Packages). Run its site

Re: [mapguide-users] King.Oracle and King.Informix for FDO 3.4

2009-05-12 Thread Jackie Ng
Hi Haris, Will we see a 3.4 port of the KML provider anytime soon? - Jackie Haris Kurtagic wrote: Hi, I have build latest King.Oracle and King.Informix FDO providers for FDO 3.4. You can download them from http://www.sl-king.com/fdooracle/download/download.html and

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread Jackie Ng
Are you using the latest release of MapGuide? Also, do your maps/layers/feature sources have defined coordinate systems? - Jackie nasp wrote: Hi, I downloaded .NET sample application. Everything works fine but not the query tool. In query\classes\query.aspx, Execute() procedure, I got

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-12 Thread Jackie Ng
If you look at the server error logs, do they reveal any more information at the time of failure? - Jackie nasp wrote: Thank you for your answer. Mapguide version is 2.0.2 with FDO 3.4 The map has EPSG=3003 Any ideas? Jackie Ng wrote: Are you using the latest release

Re: [mapguide-users] Gdal and php

2009-05-12 Thread Jackie Ng
Are you talking about the GDAL provider or using the GDAL library directly in PHP? If you are talking about the provider, GDAL is encapsulated in the form of a FDO provider and that is further encapsulated as MapGuide's Feature Service API. MapGuide has no direct knowledge about GDAL. If you

Re: [mapguide-users] Mapguide 2.1 Fusion 2 - Measure tool

2009-05-13 Thread Jackie Ng
Fusion has a MapGuide 2.1 specific branch, the beta may have stuff that has not made it into this branch? Speaking of the Measure Tool, have they addressed this problem yet? http://trac.osgeo.org/mapguide/ticket/325 (and closely related: http://trac.osgeo.org/mapguide/ticket/333) These tickets

Re: [mapguide-users] Modifying SymbolDefinition programmatically

2009-05-13 Thread Jackie Ng
I don't know much about Symbol Definitions, but all resources in mapguide (including Symbol Definitions) are XML data. So you could use the Resource Service APIs to get the resource content, edit the xml content (with your XML access library/api of choice) and save back the changes. This can be

Re: [mapguide-users] WebServerExtensions Installation

2009-05-13 Thread Jackie Ng
The installer is doing the following: 1) Installing to C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions - If Apache, configures httpd.conf based on your installer preferences. - If IIS, creates the virtual directories and sets up the script mappings (php, aspx, jsp, fcgi) based on your

Re: [mapguide-users] .NET viewer sample: query tool

2009-05-13 Thread Jackie Ng
layers. OSGeo.ODBC data connection has no spatial context information (SDF layer connection has it!). Do you know how can I provide spatial context information for ODBC geometry? Regards, Naspi Jackie Ng wrote: If you look at the server error logs, do they reveal any more

Re: [mapguide-users] is it true?: ODBC data source should be in Lat/Lon coordinates

2009-05-14 Thread Jackie Ng
No :-) It just needs to have a coordinate system defined or mapguide won't know how to interpret the points. - Jackie nasp wrote: Please, I hope someone can answer my question and I hope the answer is NO. Is it true: ODBC data source should be in Lat/Lon coordinates? Thank you

Re: [mapguide-users] Assistance showing spatial data in selection pane

2009-05-20 Thread Jackie Ng
You have to specify in the layer definition what properties of the feature source it's using will be displayed when selected. - Jackie shepwaydistrictcouncil wrote: Hi Over the last week we've managed to go from MGOS newbies to having a fairly good demonstration server and php/fusion

Re: [mapguide-users] Trying to add another class definition to a SDF

2009-05-21 Thread Jackie Ng
MapGuide does not expose FDO's IApplySchema command. You will have to use the FDO API directly if you want to modify existing schemas. - Jackie Jamo wrote: I've been trying this code to add another class definition to a SDF, it only adds a new classDefinition when the users SDF already

Re: [mapguide-users] Trouble Adding Existing Layers Programmatically

2009-05-25 Thread Jackie Ng
The duplicate object is most likely caused by the line: map.GetLayers().Add(listLayer) If there is a possibility of this code path being executed more than once, you should check for the existence of the layer (by name) before adding it to the map. - Jackie Jamo wrote: Anyone able to tell

Re: [mapguide-users] Maestro Issues

2009-05-25 Thread Jackie Ng
1) I get this problem too. I have folders that contain dots and Maestro will just choke when it encounters one. 2) I do believe that this has been addressed: http://trac.osgeo.org/mapguide/ticket/811 - Jackie Dave Wilson wrote: When trying to use the 1.0.9 build of Maestro I have

RE: [mapguide-users] Tooltip on MapGuide Web API

2009-05-27 Thread Jackie Ng
Which constructor for MgMap did you use and which overload of Create()/Open()/Save() did you use? - Jackie gatopardo wrote: I've tried to open the map with MgMap.Create() and with MgMap.Open() I've tried to call Save(), but doesnt' work. It could be a bug? Or I am doing something wrong?

RE: [mapguide-users] Tooltip on MapGuide Web API

2009-05-27 Thread Jackie Ng
(mapGuideResourceService); //this throws Null reference exception //If i use this other overload mapGuideMap.Save(mapGuideResourceService,new MgResourceIdentifier(resourceId)); //this throws An exception occurred in the XML parser exception Jackie Ng wrote: Which constructor for MgMap did you use

Re: [mapguide-users] 2.1 installation problem

2009-06-01 Thread Jackie Ng
If you search msdn for this GetModuleHandleEx function, it will indicate that the minimum supported client is *Windows XP*, so this API was first introduced in Windows XP. In short, Windows 2000 is not supported. - Jackie Andrew DeMerchant wrote: I did a search in httpd.conf, but didn't

Re: [mapguide-users] Zoom selection problem in MGOS 2.1

2009-06-01 Thread Jackie Ng
Do you have the PostGIS provider with logging enabled? It may be able to shed more information in its logs - Jackie ary_s wrote: ary_s wrote: Hii all, I was wondering if i'm the only one who face the error about executeMapAction(10)? My IE 7 gave me debug window after invoke that

Re: [mapguide-users] 2.1 installation problem

2009-06-01 Thread Jackie Ng
Not quite, from your observations it seems the main offender is the php_MapGuideApiEnvConfig.dll Looking at the source-code, you'll see the GetModuleHandleEx() API I mentioned being used.

Re: [mapguide-users] 2.1 installation problem

2009-06-02 Thread Jackie Ng
other factor at play here. Have you tried running both the MapGuide Server and/or Apache interactively? Please note that I also installed the Windows 2000 Update Rollup package as well. I don't know if this makes a difference. - Jackie Jackie Ng wrote: Not quite, from your observations it seems

[mapguide-users] Calculated Geometry Properties possible?

2009-06-02 Thread Jackie Ng
Hi All, Is it possible to have a feature source with an extended feature class containing calculated properties (with these expressions): - X ( [The geometry property] ) - Y ( [The geometry property] ) Be used as a feature source for a point layer? - Jackie -- View this message in context:

[mapguide-users] Re: FDO Toolbox 0.7.8 (now x64 compatible, hopefully)

2009-06-09 Thread Jackie Ng
Download link for those who don't know: http://fdotoolbox.googlecode.com - Jackie 2009/6/10 Jackie Ng jumpinjac...@gmail.com Hi All, I have posted a new release of FDO Toolbox (0.7.8) which should now finally work on x64 platforms. I have tested this in Windows XP x64 and it works. If you

[mapguide-users] FDO Toolbox 0.7.8 (now x64 compatible, hopefully)

2009-06-09 Thread Jackie Ng
Hi All, I have posted a new release of FDO Toolbox (0.7.8) which should now finally work on x64 platforms. I have tested this in Windows XP x64 and it works. If you have a 64-bit windows box, give this release a spin and let me know how it goes. Nothing has changed functionality-wise. This is

Re: [mapguide-users] 2.1 installation problem

2009-06-11 Thread Jackie Ng
I'll gladly try it with instructions). Also, this w2k installation is totally up to date with WindowsUpdate. Andrew On 6/2/2009 10:07 AM, Jackie Ng wrote: Ok I've just done a clean install on a Windows 2000 VM with a trunk build installer (roughly the same as the 2.1 beta) using Apache/PHP

Re: [mapguide-users] FDO Toolbox - MapView

2009-06-14 Thread Jackie Ng
1. Was your SDF produced by AutoCAD Map 2010? Map 2010 makes SDFs containing 3-dimensional geometries, that the map preview can't handle. 2. There should be an Add button below the computed properties. This will bring up the expression editor where you can enter the required expression. -

RE: [mapguide-users] develping whit mapguid's api

2009-06-24 Thread Jackie Ng
FYI, I do not believe this (important) document is currently in the beta installer. - Jackie Martin Morrison wrote: The devguide.pdf is usually located in your webserverextensions\help directory. This will get you started... Martin From: mapguide-users-boun...@lists.osgeo.org

Re: [mapguide-users] MapGuide Open Sourc 2.0.2 how can use Mentor?

2009-06-25 Thread Jackie Ng
Are you sure you weren't using the mapguide enterprise mapagent? - Jackie Gyufi wrote: Hi. I installed MapGuide Open Source 2.0.2 to a server, where already installed Autocad Map 3D 2009, Topobase Web 2009 (MapGuide Enterprise and Studio in it), MapGuide 6.5 and Raster Design 2009.

Re: [mapguide-users] problems with maestro r3911 in fdo's

2009-06-25 Thread Jackie Ng
Maestro isn't directly using FDO. All it is doing behind the scenes, is relaying these requests to the MapGuide Server, which does all the heavy lifting. Just for a test, use the raw mapagent interface, and test the GetSchemas and GetSpatialContext methods. Do they report the same problems? -

Re: [mapguide-users] problems with maestro r3911 in fdo's

2009-06-26 Thread Jackie Ng
Providers are named Company.Provider.X.Y And are versioned x.y.z.0 Basically, change name to: OSGeo.KingOracle.3.2 And change all other versions to: 3.2.2.0 - Jackie sathishpsk9 wrote: Hi jackie Nag I formatte my pc and installed 1.Mapguide 2.01 2.maestro r3911

Re: [mapguide-users] problems with maestro r3911 in fdo's

2009-06-26 Thread Jackie Ng
Use a FDO 3.3 version of that provider. - Jackie sathishpsk9 wrote: Hi Jackie Nag thank you.I changed provider.xml as per your instructions . but of no use .. can you please tell should change some other files also thanks satish -- View this message in context:

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

2009-06-29 Thread Jackie Ng
and then you can start to think about retiring Ajax. Martin From: mapguide-users-boun...@lists.osgeo.org [mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng [jumpinjac...@gmail.com] Sent: Monday, June 29, 2009 8:50 PM To: mapguide-users

Re: [mapguide-users] Geometric join without spatial support

2009-07-06 Thread Jackie Ng
MapGuide does not support feature joins on geometric components. - Jackie dorshemer wrote: Hello, I'm trying to perform a geometric join between two tables without using any spatial DB support. I have an oracle table representing points on a map with X and Y fields, and a polygon SHP

Re: [mapguide-users] Feature Vertices

2009-07-06 Thread Jackie Ng
Given a MgFeatureReader that contains your feature(s): - Call its GetGeometry() method to get a byte reader - Convert this byte reader to a MgGeometry object by using a MgAgfReaderWriter object. - Call GetGeometryType() on the MgGeometry to determine what type of geometry it actually is. -

Re: [mapguide-users] Generalize the data by percentage. How does it work?

2009-07-06 Thread Jackie Ng
You are pretty much correct, the load procedure will reduce the vertex count by the specified percentage. How it does the generalization I have no idea. Though I believe that number is the percentage you want to reduce, not the total percentage you are after. So if you had 5 points along the

Re: [mapguide-users] Feature Vertices

2009-07-07 Thread Jackie Ng
function. But i dunno how, i've looked everywhere without luck. Plz help. Thanks Tom / Stygy Jackie Ng wrote: Given a MgFeatureReader that contains your feature(s): - Call its GetGeometry() method to get a byte reader - Convert this byte reader to a MgGeometry object by using

Re: [mapguide-users] Geometric join without spatial support

2009-07-07 Thread Jackie Ng
In terms of creating a layer definition based on an extended feature class that is a feature join on geometric properties, that is not possible. But doing it at runtime join using spatial query operators, it is possible. - Jackie Jamo wrote: Can't a spatial operator on the MgFilter be

Re: [mapguide-users] MapGuide crashes

2009-07-10 Thread Jackie Ng
This looks really useful. Would you be willing to contribute the source code for this tool to the mapguide-contrib project? http://code.google.com/p/mapguide-contrib - Jackie Jsm wrote: I know this isn't a real solution, but it helps alot on my client's site. Just to share :

Re: [mapguide-users] Transparency on IE6 for Selection

2009-07-14 Thread Jackie Ng
Hi Dave, I think it's this one: http://trac.osgeo.org/fusion/changeset/1810 - Jackie Dave Wilson wrote: It appears with the introduction of the RENDERDYNAMICOVERLAY for selection we aren't calling the alpha transparency check on the image being generated. I can't find in the code how

Re: [mapguide-users] MgServerAdmin class documentation?

2009-07-14 Thread Jackie Ng
MgServerAdmin is a public, but not supported API. Here's the header for MgServerAdmin, with all the methods. Anything under EXTERNAL_API is callable: http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/MapGuideCommon/Services/ServerAdmin.h - Jackie manafi wrote: I have recently

Re: [mapguide-users] Mapguide OSE API or Mapguide Maestro API ?

2009-07-15 Thread Jackie Ng
Maestro API is definitely more flexible. It can wrapper both the official API and the mapagent. Also it has a bunch of classes generated from the XML schemas so that you don't have to work with raw XML. - Jackie euskalmap wrote: Hi , 1 - what method to use to modify dynamiclly

[mapguide-users] MapGuide dev tools of choice?

2009-07-22 Thread Jackie Ng
Hi All, I was wondering what editors / tools you use (pref. free or open source) for MapGuide Application Development? In particular, what tools do you use for PHP / Java APIs? For me .net is easy (Visual Studio / Web Developer Express), but for the other languages I have to resort to (notepad

Re: [mapguide-users] Problems iwith swig in build_oem ubuntu 8.04

2009-07-28 Thread Jackie Ng
That should be a part of the headers installed with the FDO sdk. Given the FDO sdk is installed at %FDO% Then it's trying to look for %FDO%\Inc\SDF\IScrollableFeatureReader.h - Jackie Takashige wrote: Hi Zac and everyone, Thanks to the mailing list archives, OEM was built successfully.

[mapguide-users] Layer selectability in MGOS 2.1 beta

2009-07-30 Thread Jackie Ng
Hi All, This is a poll for all the users using the current MGOS 2.1 beta. You may have noticed in your maps that there is now a new arrow pointer icon beside each layer in the legend, that indicates whether that layer is selectable or not. What we would like to know is whether this pointer

Re: [mapguide-users] Unable load PostGisProvider on Ubuntu 8.04

2009-08-03 Thread Jackie Ng
The PostGIS provider on Windows requires libpq.dll (The PostgreSQL library) either in the same directory as the provider dlls or in a directory specified in the PATH environment variable. I would imagine the same scenario in Linux. Do you have the directory containing libpq.so in PATH or

Re: [mapguide-users] view feature from .mdb in mapguide studio

2009-08-04 Thread Jackie Ng
MapGuide can only recognise points in .mdb files. This is intentional. - Jackie adrian_kent wrote: hi list, i'm begginer in using mapguide opensource. i have problem when upload *.mdb file. polygon layer changes become point in the mapguide studio. how to solve it? i'm very thankfull

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

2009-08-04 Thread Jackie Ng
If you can't use numbers with Concat() then use ToString() to convert it to a string eg. Concat('Value: ', ToString(MYNUMBERPROPERTY)) The expression editor in MapGuide Studio is probably interrogating the capabilities of the current provider to determine what expression functions are available

Re: [mapguide-users] mysql data connection error

2009-08-07 Thread Jackie Ng
You need to either copy libmysql.dll into MapGuide's FDO directory or make sure that dll exists in a directory that is part of your PATH environment variable. - Jackie chrismvn wrote: i want to display data from a mysql databse in my browser using mapguide and maestro. i am trying to

Re: [mapguide-users] Next beta release date?

2009-08-11 Thread Jackie Ng
Based on past discussions, it seems the main roadblock to a 2.1 release now is a stable release of Fusion that just works. I haven't been quite up to date on Fusion development. - Jackie Andrew DeMerchant wrote: Any idea when the next beta for v2.1 will be released? The current one has

Re: [mapguide-users] change selection color

2009-08-11 Thread Jackie Ng
You shouldn't have to go that far. Changing templates requires at the most: a web server restart, and at the least: a refresh of the web browser. - Jackie northtron wrote: You always need to stop/restart the MapGuide Service when you change a template file to see the results. saloua

Re: [mapguide-users] Change order of fields displayed in properties pane?

2009-08-14 Thread Jackie Ng
The properties are sorted before being displayed in the properties pane. You could try commenting out or removing the following line of code to see how things go. http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ#L2837 - Jackie Jo Cook wrote: Dear

Re: [mapguide-users] Selection opacity

2009-09-02 Thread Jackie Ng
At the function RequestSelectionImage() in ajaxmappane.templ it makes a call to GETDYNAMICMAPOVERLAYIMAGE passing in the selection color. That selection color is an ARGB (RGBA?) hex value. You should be able to control the selection opacity by tweaking the alpha component of that hex value. -

Re: [mapguide-users] deactivate mousewheel for mapframe

2009-09-21 Thread Jackie Ng
You could try replacing the function in that handles mouse scrolling with a do nothing function. eg. kartenframe.OnMouseWheel = function() {}; - Jackie Bernd Kamjunke wrote: Hello Everybody! Does anybody know how to deactivate the mousewheel? I had no luck trying the unbind method of

Re: [mapguide-users] Failed to read schema from data source: MySQL

2009-09-29 Thread Jackie Ng
The problem here could be the MySQL version. MapGuide 2.0.x uses FDO 3.3.x and the MySQL FDO provider there is only known to work for MySQL 5.0.x series. If possible, try using the latest 5.0 release instead. - Jackie Raghu.indigo wrote: I created a data connection through the provider

Re: [mapguide-users] Create Featuresource

2009-09-29 Thread Jackie Ng
FDO is the way to go. As Kenneth already mentioned, this approach won't be portable unless you want to dive into the native C++ API. The Managed FDO API is only available for Windows. To do this, you will have to do the following: FDO side: 1. Create a FDO connection to the desired provider 2.

Re: [mapguide-users] Create Featuresource

2009-09-29 Thread Jackie Ng
if I miss something? Gunter Jackie Ng wrote: FDO is the way to go. As Kenneth already mentioned, this approach won't be portable unless you want to dive into the native C++ API. The Managed FDO API is only available for Windows. To do this, you will have to do the following: FDO

Re: [mapguide-users] Create Featuresource

2009-09-29 Thread Jackie Ng
: The specified module could not be found Any ideas? Gunter Gunter Becker wrote: No, these files are from FDO API and Common Binaries under Windows Binaries. Does it make a difference? I'll download the SDK files an give this a try! Gunter Jackie Ng wrote: These dlls are from

Re: [mapguide-users] Create Featuresource

2009-09-29 Thread Jackie Ng
Jackie Ng wrote: Do you have the Visual C++ 2008 runtime library installed? If so, I wonder then if it is because you are using this in an ASP.net environment and that is somehow messing with the paths? - Jackie Gunter Becker wrote: OK, I tried it with the SDK files and know I

RE: [mapguide-users] Need Highlighting Sample

2009-10-01 Thread Jackie Ng
Autodesk replaced DETE with RealDWG in Studio 2009 thus explaining the different behaviour. - Jackie Andy Morsell wrote: Quote Gordon: Although you can load DWG files, you cannot get OBJECT DATA, BLOCK ATTRIBUTES or LINK TEMPLATES. You used to be able to with Autodesk MapGuide Studio

Re: [mapguide-users] Fusion Error (Object Doesn't Supported)

2009-10-01 Thread Jackie Ng
Are you using the compressed or non-compressed version? Do you get the same result when you switch? - Jackie ary_s wrote: Hii group, I'm having with fusion 1.0/2.0 with MGOS 2.1. FusionSF keep on saying object doesn't supported when i tried to view it on my browser. I would like to

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

2009-10-20 Thread Jackie Ng
The simplest method is to make a server-side wrapper, where you generate the MapGuide session id. Then redirect to the index.html passing an additional parameter: Session=your generated session id - Jackie Fraser Burgess wrote: Is there a trick to passing username and password into a URL

Re: [mapguide-users] Does MG support doing object snap?

2009-10-28 Thread Jackie Ng
Take a look at OpenLayers, it can do object snapping (example: http://openlayers.org/dev/examples/snapping.html) and can consume MapGuide layers. - Jackie achectl wrote: I would like to know does the mapguide or mapguide enterprise can be supporting doing object snap? This is some kind

Re: [mapguide-users] Add geometry to SHP

2009-11-05 Thread Jackie Ng
What does your ReleaseReader() look like? If it's from the samples, it's supposed to close any open MgFeatureReaders that may exist in the result returned from MgFeatureService.UpdateFeatures() - Jackie sekko970 wrote: I tryng to add a point to an existing SHP data connection in ASP.Net

[mapguide-users] My FDO Toolbox presentation from FOSS4G online

2009-11-08 Thread Jackie Ng
Hi All, For those of you who could not attend FOSS4G 2009, my presentation on FDO Toolbox is now online. http://themapguyde.blogspot.com/2009/11/my-foss4g-presentation-recorded-and.html Many thanks to the folks from FOSSLC for recording this (and many other presentations) at the event. -

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

2009-11-12 Thread Jackie Ng
PHP does not support enums, so all the mapguide constants like MgServiceType, MgResourceType, etc are stored and defined in the constants.php file in your mapviewerphp directory. Have you included this file? - Jackie nekad wrote: Hey guys.. I'm newbie in GIS world I'm using Mapguide and

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

2009-11-12 Thread Jackie Ng
MgSelection($map, $_POST['SELECTION']); $layers = $selection-GetLayers(); it returns nothing, seems like i don't select any area on the map? can you help me? Jackie Ng wrote: PHP does not support enums, so all the mapguide constants like MgServiceType, MgResourceType, etc are stored

Re: [mapguide-users] Can you help with connection properties for OSGeo.SQLServerSpatial?

2009-11-13 Thread Jackie Ng
Service is the named SQL Server instance DataStore is the name of the database - Jackie JamesDudden wrote: Hi, Can anybody help with the connection properties for OSGeo.SQLServerSpatial? What do I need to put in the following fields: Service Datastore Any help is welcomed

Re: [mapguide-users] SelectFeatures and string ID fields

2009-12-08 Thread Jackie Ng
Have you tried those filters with the same SDF file in FDO Toolbox? Filters in FDO are identical to filters in MapGuide. So you can use FDO Toolbox to test whether your filters produce the expected number of results. - Jackie Warren Medernach-2 wrote: Are there known problems using a

Re: [mapguide-users] Problem About load task pane before Map

2009-12-08 Thread Jackie Ng
What's probably happening is that your task pane code is interacting with the map before it has been fully initialized. What you need to do, is to listen for map initialization in the map frame. This code sample shows how to do this:

Re: [mapguide-users] Google Earth Imagery in MapGuide

2009-12-08 Thread Jackie Ng
To consume KML/satellite imagery from Google Earth, you must use the Google Earth client, so the answer is no. Fusion will have better out-of-the-box commercial map support (Google, Bing, Yahoo) in the next MGOS release (2.2). Right now it's a bit of a hack. - Jackie Amy Steiger wrote:

Re: [mapguide-users] cannot read coordinate system from mysql database

2009-12-08 Thread Jackie Ng
Does your mysql database have a series of f_ database tables? I believe the MySQL FDO provider requires these tables to exist, as these tables store required FDO metadata needed by the provider. These tables would exist if the MySQL data store was created via FDO. If these tables don't exist the

Re: [mapguide-users] Changing the status bar unit spelling

2009-12-14 Thread Jackie Ng
Hi Jo, All localisable UI text strings should be originating from the localized\en file - Jackie Jo Cook wrote: Dear All, Is it possible to change the spelling of METER in the ajax viewer status bar to the british Metre(s)? I have looked in the template files but can't seem to find

Re: [mapguide-users] Changing the status bar unit spelling

2009-12-14 Thread Jackie Ng
would seem to be the coordinate system of your map. - Jackie Jo Cook wrote: Hi Jackie, That allows me to change the strings in the viewer options in the task bar, but not the bottom status bar, as far as I can see- unless I'm missing something obvious! Thanks Jo Jackie Ng wrote

Re: [mapguide-users] MgLayer.SelectFeatures ..... am I missing something here?

2009-12-16 Thread Jackie Ng
I think that filter is for stylization/rendering purposes only. Someone can correct me if need be. - Jackie Jamo wrote: I'm sure I've been here before but here goes it again. I'm attempting to select a subset of data from a layer . MgFeatureReader myFeats =

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