[mapguide-users] auto-computing map extents

2008-03-03 Thread Jackie Ng
Hi All, I am trying to bulk load a series of XML resources into MapGuide. Each Feature Source that gets loaded references a distinct SDF file stored in an externally aliased directory. All these SDF files share the same feature schema and classes. What I want to do is for each SDF file, is to l

Re: [mapguide-users] SQL Server is an Incompatible data resource

2008-03-04 Thread Jackie Ng
This is not really a problem, you get that message from studio if your layer is styled on properties (columns) that don't exist in the new Feature Class (table) that you have selected. - Jackie nadir elyass wrote: > > Dears, > > Have you come across this problem with SQL Server FDO? > > F

Re: [mapguide-users] How to load SHP file into map guide open source

2008-03-05 Thread Jackie Ng
If you want to load SHP files into MapGuide you have the following options: - Use webstudio, which comes bundled w/ the MapGuide Open Source installation (http://yourservername/mapguide/webstudio/index.html) - Purchase/Get a trial of Autodesk MapGuide Studio (http://www.autodesk.com/mapguidestudi

Re[mapguide-users] gistering new fusion templates

2008-03-05 Thread Jackie Ng
Hi All, I remember from the early betas of MGOS 2.0.0 that all I needed to do was copy/rename one of the existing template folders, copy/rename the corresponding xml file, change the path references in that xml file, and it would then get picked up as a new template when invoking EnumerateApplica

Re: [mapguide-users] Firefox 3.0b3 and MapGuide - BUG

2008-03-06 Thread Jackie Ng
I've documented my firefox 3 beta experience in these tickets: http://trac.osgeo.org/mapguide/ticket/378 http://trac.osgeo.org/mapguide/ticket/475 It would be good if you have anything extra information to contribute to these tickets. - Jackie macieksk wrote: > > Hi! > > I test new Firefox

RE: [mapguide-users] Firefox 3.0b3 and MapGuide - BUG

2008-03-06 Thread Jackie Ng
Hmm, I didn't think firebug was compatible w/ ff3, but it seems the latest beta does. Gotta do some investigating :) - Jackie Tom Fukushima wrote: > > If you (i.e., anyone in the MGOS community running FF 3.0b3) install the > Firebug FF addon, you should be able to debug and potentially fix th

RE: [mapguide-users] Firefox 3.0b3 and MapGuide - BUG

2008-03-06 Thread Jackie Ng
Help and Support Center at http://go.microsoft.com/fwlink/events.asp. - Jackie Jackie Ng wrote: > > Hmm, I didn't think firebug was compatible w/ ff3, but it seems the latest > beta does. Gotta do some investigating :) > > - Jackie > > > Tom Fukushima wrote: >&g

Re: [mapguide-users] How to load SHP file into map guide open source

2008-03-06 Thread Jackie Ng
You use the mapguide site administrator to create mgp packages. - Jackie Viva_Rose wrote: > > Hi again Jose, > > Seem the webstudio is an open source. then prefer to use this tool to > upload a MGP file but i dont know how to create a MGP file using this > tool. can u help me give some step?

Re: [mapguide-users] Dynamically Modify SDF Source at runtime problem

2008-03-06 Thread Jackie Ng
Session based resource ids are of the form Session:yourlongsessionid//TheNameOfYourResource.ResourceType If you want to be able to swap features sources of a layer on the fly, you are better off not having that layer definition in the site repository. Instead you would create the layer at runt

Re: [mapguide-users] [ZS0] marker on click function

2008-03-06 Thread Jackie Ng
Try this: http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking - Jackie Kencana wrote: > > Hi Kenneth, > > Thanks for the reply. Can you explain further on how to add a selection > handler, detect the selection and zoom. Any sample for that? > > Regards, > Kenca

Re: Re[mapguide-users] gistering new fusion templates

2008-03-06 Thread Jackie Ng
2.xml and a second copy of slate appeared in studio. > > Cheers > > Paul > > On 6-Mar-08, at 2:55 AM, Jackie Ng wrote: > >> >> Hi All, >> >> I remember from the early betas of MGOS 2.0.0 that all I needed to >> do was >> copy/rename

RE: [mapguide-users] Problems with SDF/Database Joins (Oracle)

2008-03-10 Thread Jackie Ng
Hi Bruce, I too find this "problem" annoying during the development/testing stages, as our db schemas are in flux. Having to restart mapguide everytime the db changes is time consuming. So how would I go about disabling caching on a per-provider level? - Jackie Bruce Dechant wrote: > > Max

[mapguide-users] fusion selection events

2008-03-11 Thread Jackie Ng
Hi All, In fusion, how can I listen for a selection on the map? I think it's something to do with Fusion.registerForEvent(), but I don't know what event to listen for. - Jackie -- View this message in context: http://www.nabble.com/fusion-selection-events-tp15996245s16610p15996245.html Sent fr

[mapguide-users] fusion task pane oddities

2008-03-12 Thread Jackie Ng
Hi All, I'm in the process of porting one of our existing mapguide applications to the fusion framework, and am having difficulties with the new task pane widget. Our application starts from a query panel, which then does a POST query to a query results page. Clicking on a query result then nav

Re: [mapguide-users] Problems using concat for URL Parsing

2008-03-13 Thread Jackie Ng
If you var_dump($_GET) in your php script, do you get anything w/ the string attribute? - Jackie mauro1970 wrote: > > I added to this code to a layer: > > concat('../central_plant/sensors/send_Id.php?DeviceID=', > concat("thermostat_id", concat('&DeviceType=', "coord_x"))) > > When Control c

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

2008-03-13 Thread Jackie Ng
Check the following. 1 - Does your "mapguide" virtual directory exist? 2 - If so, is the .php script extension mapped to [YOUR_MAPGUIDE_INSTALL_PATH]\WebServerExtensions\Php\php5isapi.dll ? - Jackie Shail_GIS wrote: > > I am a newbie to the Map Gguide. I have been trying to install / uninstal

Re: [mapguide-users] Problem with MG 2.0 installation on w2k3

2008-03-17 Thread Jackie Ng
Are you able to run MapGuide Server interactively (ie. not as a service) without problems? - Jackie NorTrond wrote: > > Hi, > > I have tried to install MG 2.0 on 2 different Windows 2003 SP2 machines > with the same problem. The installation process goes well, but when I look > in the service

Re: [mapguide-users] deleting feature source

2008-03-17 Thread Jackie Ng
Just to clarify, is this a shared feature source for temporary features? You want other user's to see temporary features inserted by all users? What you could try to do is alter the feature class to include an extra property: User When a user adds a temporary marker to the map, include that user

Re: [mapguide-users] Select To Features & Zoom

2008-03-17 Thread Jackie Ng
That's a piece of javascript code in a web page that resides on the Task Pane. - Jackie Ben_D wrote: > > This might seem like a really dumb question... > > But how does one add parent.parent.mapFrame.ExecuteMapAction(10); and > which file does it go in? > > Thanks! > > > -- View this me

Re: [mapguide-users] DB XML Component Error in Dynamic Theming

2008-03-18 Thread Jackie Ng
It sounds like the layer definition xml does not validate. Are you able to capture the xml output of the theme layer and see if it is a valid LayerDefinition document? Also, what version of MapGuide are you using? - Jackie max_samart wrote: > > Hi All, > I have some sdf files as Pol

Re: [mapguide-users] DB XML Component Error in Dynamic Theming

2008-03-18 Thread Jackie Ng
ment. > > Thks > Max > > > > ----- Original Message > From: Jackie Ng <[EMAIL PROTECTED]> > To: mapguide-users@lists.osgeo.org > Sent: Monday, March 17, 2008 10:25:43 PM > Subject: Re: [mapguide-users] DB XML Component Error in Dynamic Theming > > &g

Re: [mapguide-users] deleting feature source

2008-03-19 Thread Jackie Ng
e marker added by themselves not > other user's. > > Regards, > Kencana Kesuma > > > Jackie Ng wrote: >> >> Just to clarify, is this a shared feature source for temporary features? >> You want other user's to see temporary features inserted by all us

Re: [mapguide-users] It´s possible use go ogle maps as base map in a MG application

2008-03-19 Thread Jackie Ng
I do believe this would violate google's terms of service. If you want to incorporate google imagery, you would have to do it the other way round, with Google Maps/Earth as the "frontend" and MapGuide as the "backend". - Jackie bigtower wrote: > > Hi, > I need to use Tiled Maps from Google Ma

Re: [mapguide-users] deleting feature source

2008-03-20 Thread Jackie Ng
underlying resource data itself. - Jackie Kencana wrote: > > Hi Jacky, > > can I know how to store the feature source into session repository? > > Regards, > Kencana Kesuma > > > Jackie Ng wrote: >> >> I see, why don't you store the featur

Re: [mapguide-users] building LinuxApt fails

2008-03-24 Thread Jackie Ng
Try extracting the tarball into the "Oem" directory of the mapguide source directory, and run build_apt.sh from there. - Jackie sbarnes wrote: > > I just attempted to build LinuxApt from > http://download.osgeo.org/mapguide/releases/2.0.0/mapguideaptinstaller-2.0.0.1.tar.gz > > I get the foll

Re: [mapguide-users] Search Function

2008-03-25 Thread Jackie Ng
Have you tried creating built-in search commands? You can create a search command for a Web Layout in MapGuide Studio that specifies what layer to query, what filter condition to process, what property to display, and it will auto-zoom when you select a query result. - Jackie TimGER wrote: > >

Re: [mapguide-users] Fusion with jsp

2008-03-28 Thread Jackie Ng
The PHP part of Fusion is the server-side functionality required by some Fusion components/widgets. No JSP or .net implementation exists (yet) - Jackie abdrabba yassine wrote: > > Hi, > I'm developing a web application with mapguide using the JAVA Web > extensions > API, and for the viewer i w

Re: [mapguide-users] Getting Started Site Admin Problem

2008-03-28 Thread Jackie Ng
You can start/stop mgserver using the Services Applet in Administrative Tools. Or alternatively, you can run: net stop "MapGuide Server v2.0" net start "MapGuide Server v2.0" Re: Trac tickets. I'm of the belief you should file tickets regardless of how trivial they are. Worst case: it gets close

Re: [mapguide-users] Getting Started Site Admin Problem

2008-03-28 Thread Jackie Ng
I didn't ask what version of MGOS you were running, so depending on what version, the service names are: <= 1.1.0 - MapGuide Server 1.2.0 - MapGuide Server v1.2 2.0.0 - MapGuide Server v2.0 - Jackie Jackie Ng wrote: > > You can start/stop mgserver using the Services Applet in

Re: [mapguide-users] Studio Login Problem

2008-04-01 Thread Jackie Ng
What is your Web Extensions configuration/setup? - Jackie Gary Braun wrote: > > I'm no longer able to log into MG Studio 2008, I keep getting "User name > or password is invalid". I've gone into the site administrator, reset my > password and restarted the mapguide service afterward, but I st

Re: [mapguide-users] Make Selectable Layers

2008-04-03 Thread Jackie Ng
Did you refresh the map afterwards? Maybe a refresh (manual or programmatic) is required to force the new setting to kick in. - Jackie Johnba wrote: > > Hi List, > > How can change a selectable layer to no selectable layer on execution > time > in the viewer map, I need if it's possible, I t

Re: [mapguide-users] Studio Login Problem

2008-04-03 Thread Jackie Ng
Do you get invalid credential errors with your login if you invoke any method in the mapagent test pages? - Jackie Gary Braun wrote: > > Mapguide was installed using IIS Configuration, .NET development, Custom > Setup to include PHP. > > > > Jackie Ng wrote: &g

Re: [mapguide-users] Multiple text layers at the same time

2008-04-04 Thread Jackie Ng
Make sure that layers y and z are above x in the draw order. But there is a deeper issue at hand here, feature labels of polygons will be obscured by any objects above it, because unlike point styles, the polygon and line styles have no such option to prevent feature labels being obscured by feat

Re: [mapguide-users] TaskPane problems on Fusion

2008-04-04 Thread Jackie Ng
I've had issues with the Task Pane widget too. I've documented my experiences here: http://trac.osgeo.org/fusion/ticket/36 Perhaps you could add extra notes here? - Jackie Katsuaki Soizumi wrote: > > I found a problem how TaskPane works at Fusion; > [Home] button doesn't go back to the initi

[mapguide-users] FDO Toolbox

2008-07-22 Thread Jackie Ng
Hi everyone, This is something that I have been working on in my spare time, and now I think it is time to share it with you all. FDO Toolbox is a windows application to process, create and manage geospatial data. It is written in C# and uses the Feature Data Objects (FDO) API. You will need to

Re: [mapguide-users] upload a new template for flexible layout

2008-08-22 Thread Jackie Ng
MapGuide does not expose template uploading services. You will have to manually copy the template to the fusion template directory via ftp/shared network folders/etc. - Jackie Rodolfo Moreno wrote: > > Hi all, I have created a new flexible layout but and now I want to upload > into MAPGUIDE SE

Re: [mapguide-users] Lack of coordinate systems

2008-08-22 Thread Jackie Ng
Does that file have the correct r/w permissions? - Jackie Joanne Cook wrote: > > Hi All, > > I've just finished compiling the latest version of mapguide on Ubuntu > 8.04, and I (eventually) got through without any (obvious) failures or > errors. BUT, when I try and use coordinate systems in e

Re: [mapguide-users] SelectFeatures using SetFilter gives null exception

2008-08-22 Thread Jackie Ng
I see nothing indicating what feature class you are querying from. The fact that you are calling SelectFeatures() from the MgLayer instead of the MgFeatureService means that you need to new the MgMap object with the MgSiteConnection as indicated here: http://trac.osgeo.org/mapguide/wiki/MapGuideRf

Re: [mapguide-users] upload a new template for flexible layout

2008-08-22 Thread Jackie Ng
my template in MG STUDIO. > > Best Regards > > > Jackie Ng wrote: >> >> MapGuide does not expose template uploading services. You will have to >> manually copy the template to the fusion template directory via >> ftp/shared network folders/etc. >> >&g

Re: [mapguide-users] PostGIS binaries

2008-09-17 Thread Jackie Ng
2 things I notice: 1) MG 2009 uses FDO 3.3, yet your providers.xml entry uses 3.2 binaries. 2) I believe that PostGIS provider also needs to have PostGIS and PostgreSQL binaries in the same path as the provider. See: http://trac.osgeo.org/fdo/wiki/FdoPostGISNotes - Jackie Moog wrote: > > > H

Re: [mapguide-users] MgDateTimeException

2008-09-17 Thread Jackie Ng
It could be a bad filter string, what is the value of selectstring when you pass it to the MgFeatureQueryOptions object? - Jackie Suja Sudhan wrote: > > > Hello All, > > I am trying to get all the attributes of a layer and below is my code to > do > it. It works well for most of the layers b

Re: [mapguide-users] MgDateTimeException

2008-09-18 Thread Jackie Ng
You still could be onto something :-) I've been trying to query features via MaestroAPI (http connection) and I get random errors like the one you mentioned. I have a strong belief that some part of the MG code base is still calling MgFeatureReader::GetXXX() without checking for null values firs

Re: [mapguide-users] Problem with the example

2008-09-23 Thread Jackie Ng
What is your webserver? - Jackie Ahmed Ragab wrote: > > Dear All > > I have installed map guide server and web server according to the getting > started > File , i have tried to runthe php examples but without luck , my system is > 32 bit vista > > Appriciate any help > > Regards > > El ma

Re: [mapguide-users] show/hide TaskArea (right menu)

2008-09-23 Thread Jackie Ng
The url you posted goes nowhere. Anyways, you cannot actually toggle the visibility of the task area as there are actually two distinct viewer frames (one with the task pane (framesettaskbar.templ), and one without (framesetnotaskbar.templ)). Which one gets loaded depends on the settings in your

Re: [mapguide-users] MgUnlockFeatures

2008-10-01 Thread Jackie Ng
MgUnlockFeatures derives from MgFeatureCommand, thus it should be insertable into a MgFeatureCommandCollection. Can you be more specific? - Jackie Mbonnet wrote: > > > hi, > > Why i can't use MgUnlockFeatures as a feature command ? > -- > View this message in context: > http://www.nabble.co

Re: [mapguide-users] filter for features

2008-10-01 Thread Jackie Ng
What type of data is your parcels? SDF, SHP, Other? - Jackie Eva wrote: > > > Hi, > I am having problem with filter for features. > The code is working when I filter by “PROPADR” for the parcels layer, but > when I use the filter with the property “FeatId”, the result is empty. > Here is t

Re: [mapguide-users] filter for features

2008-10-01 Thread Jackie Ng
What version of MapGuide? - Jackie Eva wrote: > > > It is SHP type. > > > > -- > View this message in context: > http://www.nabble.com/filter-for-features-tp19761808p19768232.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > >

Re: [mapguide-users] Packaging MapGuide Site for Clients

2008-10-06 Thread Jackie Ng
Unfortunately MapGuide does not have application publishing capabilities at the moment, though that does sound like a very nice feature to have, and would make deployment even more simpler. A pseudo application publishing technique is possible if you use MapGuide's www root as the point of deploy

Re: [mapguide-users] POOL: Version, database, data files....

2007-05-31 Thread Jackie Ng
> 1. What is your mapguide server version? > Currently 1.1.0 switching to 1.2.0 as soon as it is released. > 2. What is your OS? > Windows Server 2003 > 3. Autodesk Mapguide Studio or Web Studio? > MapGuide Studio > 4. What is your preffered database? > SQL S

Re: [mapguide-users] Need help with one specific function

2007-06-04 Thread Jackie Ng
You use the DigitizePoint(func) function of the mapframe. For the "func" argument supply a reference to a handler function. The handler function will receive a point object from the user's input, which you can then invoke a server-side script passing in your digitized point as a parameter Then

Re: [mapguide-users] Several small lay-out questions

2007-06-07 Thread Jackie Ng
Regarding the decimals, try using 0+ as your expression. - Jackie martijni wrote: > > Hey, > > I'm facing some small lay-out problems that I want to get rid of. > > As you can see on the screenshot it shows for numbers, six decimals, but > ofcourse it should show none. Same for the date when

Re: [mapguide-users] creating points at runtime / display problem

2007-06-07 Thread Jackie Ng
Hi Hans, I had the same problem too, I submitted this problem ticket on Trac sometime ago and has been fixed. http://trac.osgeo.org/mapguide/ticket/53 The cause was the viewer sample. - Jackie Hans Mörschell wrote: > > Hallo, > > > > the problem I described can be seen also with the dot

Re: [mapguide-users] New user - mapagent not functioning

2007-06-07 Thread Jackie Ng
Are you just invoking mapagent as specified? (http://localhost/mapguide/mapagent/mapagent.fcgi?) or have you included parameters. I don't think mapagent does anything without some parameters. - Jackie Eric Bickle wrote: > > I tried installing and configuring MapGuide Open Source today on a Win

Re: [mapguide-users] GETMAPIMAGE and hide layers/groups

2007-06-07 Thread Jackie Ng
The HIDELAYERS and SHOWLAYERS parameter is a comma-separated list of layer object ids. You can retrieve an MgLayer's object id through its GetObjectId() method. - Jackie Adrià wrote: > > Does anybody know how to show/hide specific layers or groups when querying > an image with the GETMAPIMAGE

Re: [mapguide-users] About tooltip on marker

2007-06-07 Thread Jackie Ng
I think what you have to do is modify the underlying LayerDefinition xml of that push pin layer to incorporate your caption. (You want to seek out the portion of the xml, insert your caption there, and save the modified xml) - Jackie akj006 wrote: > > Hi Everybody, > > I have added push pin

Re: [mapguide-users] Mouse cursor in Ajax viewer

2007-06-11 Thread Jackie Ng
Try something like this: var map = document.getElementById("map"); switch(action) { //Zoom In case 7: //Zoom Rect case 9: map.style.cursor = msie ? '' : 'url("' : '

Re: [mapguide-users] Desktop implementation of MapGuide

2007-06-11 Thread Jackie Ng
Hi, What dll(s) would I need to reference for the dwfviewer api? Regards, - Jackie alucas wrote: > > Hello, > > It's is possible, I've implemented a viewer in c# based on DWF Viewer, it > works fine in the LAN but I've some problems connecting vía internet. > > You need: > > Include your

Re: [mapguide-users] Mouse cursor in Ajax viewer

2007-06-11 Thread Jackie Ng
No worries. This issue is now Trac'd http://trac.osgeo.org/mapguide/ticket/197 - Jackie macieksk wrote: > > > > thx Jackie! > > i works great! > > > Maciek > > ps. i thing in future (MG 1.3?) this can by do i main code. Jackie can > you add this to trac of MapGuide? > _

[mapguide-users] RE: How to enable markup using Design review

2007-06-19 Thread Jackie Ng
What walt meant, was to use the MapGuide RenderingService APIs to create your EPlot DWFs. - Jackie christophe_geomap wrote: > > I try to save a map with the IAdDwfViewer::SaveAs method, but it doesn't > work ! > With the IAdDwfViewer::ExecuteCommandEx("SAVEAS",0), i can save the DWF > but i do

Re: [mapguide-users] MAPNAME & Map.Open

2007-06-27 Thread Jackie Ng
Hi Mark, 1) I use the javascript method and store the map name in a hidden form field so it can be picked up in the Page's Request.Form collection 2) I see a few problems with this code, - You have two sessionid variables with lower and upper "s" casings. - You are new'ing a MgUserInformation o

[mapguide-users] RE: MAPNAME & Map.Open

2007-06-27 Thread Jackie Ng
e with javascript in general. > > Regarding number 2Thank you so much! I knew it was something > stupid, it never occurred to me that the username/password would crash > the map.open procedure. > > Thanks again for the help thus far. > > -Mark P. > > > ---

Re: [mapguide-users] 1.2 release date

2007-07-02 Thread Jackie Ng
Word is that RC2 is as good as final, pending a few raster provider fixes. Don't quote me though. - Jackie Ivan Milicevic-3 wrote: > > When we can except a release date of final version? > > > > ___ > > Ivan Miličević > voditelj Odjela za dokumentiranje > i projekt

[mapguide-users] RE: Setting Active Selection Using Web API

2007-07-02 Thread Jackie Ng
Hi Mark, It sounds like a cross-scripting problem. Are you sure that your javascript is running under the same hostname? Do you have any references to localhost in your javascript? - Jackie Mark Pendergraft wrote: > > Okay, I have done more testing And here is something weird. > > >

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 str

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: http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAX

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

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 t

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

2009-12-14 Thread Jackie Ng
s I'm > missing something obvious! > > Thanks > > Jo > > Jackie Ng wrote: >> >> Hi Jo, >> >> All localisable UI text strings should be originating from the >> localized\en file >> >> - Jackie >> >> >> Jo Cook

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 = srchLayer.SelectFeatu

RE: [mapguide-users] Mix of selectfeature and selectaggregate query

2009-12-18 Thread Jackie Ng
Two things I see: - It looks like 'Postcode' is not part of the properties to be returned. Only 'Postcodegroup' is there. - You're closing the $dataReader before you're iterating through your results, and that call is not correct PHP syntax ($dataReader->Close() instead of $dataReader.close()) H

Re: [mapguide-users] the coordinate points is shown in different locations when i use differnt map server??

2009-12-21 Thread Jackie Ng
Google/Bing/Yahoo maps use the same mercator projection. Your map needs to be in the same projection information. MapGuide can re-project your layers on the fly. You can find the WKT for the projection here: http://trac.osgeo.org/fusion/wiki/MapGuideCommercialOverlays - Jackie leena wrote: >

Re: [mapguide-users] Confused about config.json for Fusion

2009-12-29 Thread Jackie Ng
I would guess that they are mapserver settings. Fusion is also a framework for mapserver - Jackie GreenMapSanMiguel wrote: > > I have a couple of Fusion applications in production but realize (oops!) > that I have never updated the default config.json file. Everything seems > to be working f

Re: [mapguide-users] Markup perpendicular

2010-01-04 Thread Jackie Ng
I may be reading your question the wrong way, but anyway here's my attempt at an algorithm: Given a digitized point [PT]: 1. Create a [Test Geometry] of circular arcs [Test Distance] away from [PT] (ie. A circle centered on [PT] with radius [Test Distance]) 2. Query all roads where [Road Geometr

Re: [mapguide-users] Markup perpendicular

2010-01-05 Thread Jackie Ng
This ClosestVertex of the ClosestFeature with the smallest distance should the your point in question. Also I'm a bit fuzzy with my spatial operators: WITHIN, TOUCHES, CONTAINS, CROSSES (and possibly others) all seem to be legitimate operators for this scenario. - Jackie Jamo wrote: > > Thank

Re: [mapguide-users] Markup perpendicular

2010-01-05 Thread Jackie Ng
e("Within: " + closest.Within(myPoly)); > > all return false except for disjoint :( > > if i add a little to the radius I get two intersections where the circle > crosses the road. > > I thought a vertex was the point of linestring change ? > > Jackie Ng

Re: [mapguide-users] what dll should i add in asp.net's bin to integrating with mapguide?

2010-01-06 Thread Jackie Ng
You should have all the dlls from mapviewernet/bin in there. Having MapGuideDotNetApi.dll (that you reference in your web app) is not enough. - Jackie faye wng wrote: > > Hi all, > > can i know what dll should i add inside the asp.net's ben to allow the > mapguide2010 intergrate well in asp

Re: [mapguide-users] Topology.net and mapguide

2010-01-14 Thread Jackie Ng
A C# interface is just a collection of methods and properties that any extending class must implement. Think of it as a 100% abstract class. To use a relevant example, FDO is a bunch of interfaces. FDO providers implement these interfaces. The end result is that we (the client application) only

Re: [mapguide-users] get started using the Visual studio 2005

2010-01-18 Thread Jackie Ng
Also make sure your web application is using ASP.net 2.0 in IIS manager. - Jackie fayeZOEL wrote: > > Hi all, > > I am new to mapguide2010. I just want to confirm is it my steps are > correct when get started using the asp.net . > > 1. Open IIS create a virtual directory under the Default

[mapguide-users] Re: Start with a map coordinates passed by parameters in the URL

2010-01-20 Thread Jackie Ng
What you could do is on startup, to read the content of your WebLayout, modify it's initial view section to contain your coordinates, write the modified content to your session repository and point your AJAX viewer to load the session-based WebLayout. There's a PHP example here: http://trac.osgeo

[mapguide-users] Re: Error in code related to MapguideUnmanagedApi

2010-01-27 Thread Jackie Ng
Did you upgrade from a previous release? You must reference the *newer* MapGuideDotNetApi.dll and copy the *newer* dlls from mapviewernet/bin - Jackie -- View this message in context: http://n2.nabble.com/Error-in-code-related-to-MapguideUnmanagedApi-tp4471522p4471542.html Sent from the MapGui

[mapguide-users] Re: Error in code related to MapguideUnmanagedApi

2010-01-27 Thread Jackie Ng
Are those dlls from your new 2.1 installation? - Jackie -- View this message in context: http://n2.nabble.com/Error-in-code-related-to-MapguideUnmanagedApi-tp4471522p4471723.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ map

[mapguide-users] Re: Error in code related to MapguideUnmanagedApi

2010-01-27 Thread Jackie Ng
That can't be possible: Trac Ticket #817 (http://trac.osgeo.org/mapguide/ticket/817) means MgSite should now inherit from MgGuardDispsosable so I would've thought the .net assembly would've been looking for: CSharp_MgSiteToMgGuardDisposable instead of: CSharp_MgSiteToMgDisposable - Jackie -

[mapguide-users] Re: Error in code related to MapguideUnmanagedApi

2010-01-28 Thread Jackie Ng
Maybe your project has a reference to the old MapGuideDotNetApi.dll? Maybe delete the reference in your project and re-reference the new one? - Jackie -- View this message in context: http://n2.nabble.com/Error-in-code-related-to-MapguideUnmanagedApi-tp4471522p4472241.html Sent from the MapGuid

[mapguide-users] Re: code examples ?

2010-01-28 Thread Jackie Ng
Have you tried the wiki? http://trac.osgeo.org/mapguide/wiki/CodeSamples - Jackie -- View this message in context: http://n2.nabble.com/code-examples-tp4472214p4472284.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide

[mapguide-users] Re: FDO/SQL formating expressions

2010-02-10 Thread Jackie Ng
The GetCapabilities mapagent call returns a list of supported expression functions for a given provider. The Maestro Expression Editor uses this list to provide "intellisense" for your current expression. So if you don't see a function that does what you want to do, you probably can't do it. -

[mapguide-users] Re: Studio Load Procedure and Maestro File add with Shapefile gets a 404 not found

2010-02-10 Thread Jackie Ng
Have you tried running Fiddler to see what is exactly 404'ing? - Jackie -- View this message in context: http://n2.nabble.com/Studio-Load-Procedure-and-Maestro-File-add-with-Shapefile-gets-a-404-not-found-tp4544183p4553024.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

[mapguide-users] Re: FDO/SQL formating expressions

2010-02-11 Thread Jackie Ng
Go to your mapagent page Select "Feature" from "Services API" Click "GetCapabilities" Change the "Provider" field to the FDO provider you're interested in Hit submit and look at the functions in your resulting XML. - Jackie -- View this message in context: http://n2.nabble.com/FDO-SQL-forma

[mapguide-users] Re: PNG & colors

2010-02-22 Thread Jackie Ng
Are you using PNG or PNG8? PNG8 is significantly smaller than PNG without much sacrifice in the visual department. - Jackie -- View this message in context: http://n2.nabble.com/PNG-colors-tp4598640p4610814.html Sent from the MapGuide Users mailing list archive at Nabble.com. _

[mapguide-users] Re: Color code in layerdefinition file

2010-02-24 Thread Jackie Ng
They are hexadecimal numbers for the Alpha, Red, Green and Blue components of a color. These numbers range from 0 (00) to 255 (FF) HTML colors are usually prefixed with a hash (#) and usually don't have the alpha component, so to translate, strip the first 2 characters. eg. -> #FF

[mapguide-users] Re: EXAMPLE: Serving MapTiles directly

2010-02-24 Thread Jackie Ng
Very Nice! Perhaps you should put a new entry on the wiki. Re: installer The build.bat in the installer project has a "prepare" step which basically copies all the required files into a staging area. A zip distribution could just create a zip file of this staging area, and we're good to go. IIR

[mapguide-users] Re: Strange behaviour with labels in Mapguide. Help needed.

2010-03-04 Thread Jackie Ng
Is this SDF joined to something else? - Jackie -- View this message in context: http://n2.nabble.com/Strange-behaviour-with-labels-in-Mapguide-Help-needed-tp4673228p4673237.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapg

[mapguide-users] Re: Devguide sample buffer Error

2010-03-09 Thread Jackie Ng
What Zac means is to edit the php.ini file in: \WebServerExtensions\Php\php.ini (if using MGOS 2.0.2 or earlier) \Web\Php\php.ini (if using MGOS 2.1) Look for the line: display_errors = Off Change it to: display_errors = On Save the file and restart your web server for the changes to take ef

[mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project

2010-03-10 Thread Jackie Ng
Viewer files are global for a single mapguide installation. Since you're using .net, the easiest solution is to copy the www directory to a separate folder, and create a new virtual directory from that folder that is identical to your original /mapguide virtual directory. Then you can do all you

[mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project

2010-03-10 Thread Jackie Ng
Copy to any other path you like. Just be sure your 2nd virtual directory points to this path. - Jackie -- View this message in context: http://n2.nabble.com/Is-it-possible-to-maintain-a-separate-viewerfiles-for-a-project-tp4708311p4714101.html Sent from the MapGuide Users mailing list archive a

[mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project

2010-03-10 Thread Jackie Ng
You have a virtual directory called /mapguide This is created in IIS by the installer. This points to your physical path: E:\Program Files\OSGeo\MapGuide\Web\www What I'm saying is to copy this physical path to another directory of your choice. eg. E:\Program Files\OSGeo\MapGuide\Web\custom_ww

[mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project

2010-03-11 Thread Jackie Ng
Which version of IIS are you using? - Jackie -- View this message in context: http://n2.nabble.com/Is-it-possible-to-maintain-a-separate-viewerfiles-for-a-project-tp4708311p4715039.html Sent from the MapGuide Users mailing list archive at Nabble.com.

[mapguide-users] Re: Is it possible to maintain a separate viewerfiles for a project

2010-03-11 Thread Jackie Ng
Are your sub-virtual directories inside MG_Custom pointing to their respective sub folders in your copied physical path? ie. /MG_Custom/mapviewernet -> E:\Program Files\OSGeo\MapGuide\Web\MGCustom\mapviewernet Also is the ASP.net version set to 2.0.50727? - Jackie -- View this message in conte

[mapguide-users] RE: Simple OGR FDO question

2010-03-14 Thread Jackie Ng
>From my scarce knowledge of the provider: The King KML provider uses SDF provider code to provide an in-memory version of the KML file. I guess there must be some disconnect between you updating your "KML file" and the actual changes being committed to the KML file on disk. - Jackie -- View th

[mapguide-users] RE: Simple OGR FDO question

2010-03-14 Thread Jackie Ng
Looks unlikely given that FDO 3.5 is at RC stage and no work has been done to add the KML provider to the top-level build process. - Jackie -- View this message in context: http://n2.nabble.com/Simple-OGR-FDO-question-tp4714152p4734369.html Sent from the MapGuide Users mailing list archive at N

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