Re: [mapguide-users] invalid XML document

2009-01-12 Thread irwan
I have succesfully implement the code into my current mapguide exercise. Based on the code above, i filtered the layer based on the attribute contain at sdf file. How about filtering based on the database query? how to pass value from database to xml file? -- View this message in context: http:/

Re: [mapguide-users] invalid XML document

2009-01-12 Thread irwan
thanks for quick reply. i already fix that but another error comes. All building are highlighted even i set the filtering FeatId >10.. -- View this message in context: http://n2.nabble.com/invalid-XML-document-tp2149327p2149373.html Sent from the MapGuide Users mailing list archive at Nabble.com

Re: [mapguide-users] invalid XML document

2009-01-12 Thread Zac Spitzer
this looks wrong concat('http://128.88.31.35:8008/mapguide/UPM/phpscripts/bom/activeWR.php?bl_id=', "ID") On Tue, Jan 13, 2009 at 2:16 PM, irwan wrote: > > does anybody here know what is my xml problem? > > > > http://www.w3.org/2001/XMLSchema-instance"; > xsi:noNamespaceSchemaLocation="La

[mapguide-users] invalid XML document

2009-01-12 Thread irwan
does anybody here know what is my xml problem? http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd" version="1.1.0"> Library://UPM/Data/BUILD_BUILD_region.FeatureSource Default:BUILD_BUILD_region FeatureClass NAME NAME Geome

RE: [mapguide-users] Simple Query. How to.

2009-01-12 Thread irwan
this is what i'm looking for..but what if i used data from sql query? for example $result = 'select * from building where size > 120 '; from you code sample below , $_GET['afznr'] contain only 1 value. but $result may contain more than 1 values. So what should i do?can i do like this- $node->no

[mapguide-users] Apache crashing out

2009-01-12 Thread Zac Spitzer
I have been seeing apache crash out with the error message below, anyone else seeing this problem? http://trac.osgeo.org/mapguide/ticket/815 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. ting [Tue

Re: [mapguide-users] MapGuide and SOA

2009-01-12 Thread Zac Spitzer
MapGuide has an web api and supports lots of OGC standards anything in the SOA direction will need some custom dev using the API you can find lots of useful links here http://ennoble.dreamhosters.com/mapguide-central/ z On Tue, Jan 13, 2009 at 10:50 AM, Shomali Sengupta wrote: > All, > > I

[mapguide-users] MapGuide and SOA

2009-01-12 Thread Shomali Sengupta
All, I am new to MapGuide and I'm not sure if this is the correct listserv for this question, so I'm going to give it a shot. I have a high level question about MapGuides compatibility with Service Oriented Architecture. Does MapGuide have the functionality to publish web services th

RE: [mapguide-users] Problems with selection

2009-01-12 Thread Mark Pendergraft
What about zooming to the feature using the maps Zoom to selection method: ExecuteMapAction(10); Does the map zoom to the correct feature? Is it highlighted afterwards? -Mark P. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.o

Re: [mapguide-users] GT Markup sample problems

2009-01-12 Thread Kenneth Skovhede, GEOGRAF A/S
You can get a sort of corruption, if you manage to save xml with a byte encoding header into the repositories. The error below usually appears when you are using incompatible binaries, ea using MapGuide 2.0 binaries to communicate with a 2.0.2 server. Is it possible to render the map at all? If

Re: [mapguide-users] Adding a temporary Layer in MapGuide

2009-01-12 Thread Kenneth Skovhede, GEOGRAF A/S
I wrote: "You should instead get a reference to the runtime map, and then call layers.add() with an MgLayer object." Which of the mentioned actions are you unsure about? Regards, Kenneth Skovhede, GEOGRAF A/S Carmelo Saffioti skrev: Hi Kenneth, how would you fix that code? Please let me know

Re: [mapguide-users] Theme layer - error

2009-01-12 Thread Kenneth Skovhede, GEOGRAF A/S
The error message states: Error: XML Indexer: Parse error in document at line, 72, char 12. message: Not enough elements to match content model : '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)' The message is that the tag closing on line 72 should have the above tags (LineStyle,

RE: [mapguide-users] Problems with selection

2009-01-12 Thread clarkie342
Is there a solution to the initial issue here? I came across the same thing but I do not have any joins in the feature source. Here is the javascript that I have to update the selection. var selectionXml = document.getElementById("ctl00_ContentPlaceHolder1_hfSelectXml").getAt

Re: [mapguide-users] mapguide.osgeo.org

2009-01-12 Thread Moog
Frank, everything's fine now. thanks Frank Warmerdam wrote: > > Moog wrote: >> Hi, >> i just noticed that mapguide.osgeo.org page is temporaly? used for FOSS4G >> 2008. I wanted to download netviewersamples, i wonder if someone has a >> link >> to download it. >> >> thanks a lot >> >> pd: s

Re: [mapguide-users] mapguide.osgeo.org

2009-01-12 Thread ed57gmc-bus
That link works for me.   Ed Jobe From: Moog To: mapguide-users@lists.osgeo.org Sent: Monday, January 12, 2009 9:20:57 AM Subject: [mapguide-users] mapguide.osgeo.org Hi, i just noticed that mapguide.osgeo.org page is temporaly? used for FOSS4G 2008. I wanted

Re: [mapguide-users] mapguide.osgeo.org

2009-01-12 Thread Frank Warmerdam
Moog wrote: Hi, i just noticed that mapguide.osgeo.org page is temporaly? used for FOSS4G 2008. I wanted to download netviewersamples, i wonder if someone has a link to download it. thanks a lot pd: sorry for this, this might be an untopic issue Moog, Sorry for this. Tyler Mitchell has corr

[mapguide-users] mapguide.osgeo.org

2009-01-12 Thread Moog
Hi, i just noticed that mapguide.osgeo.org page is temporaly? used for FOSS4G 2008. I wanted to download netviewersamples, i wonder if someone has a link to download it. thanks a lot pd: sorry for this, this might be an untopic issue -- View this message in context: http://n2.nabble.com/mapgui

RE: [mapguide-users] Precision problem viewing map

2009-01-12 Thread Chris Claydon
I tried digitizing a rectangle, and the result was that it was offset only in the y axis. I believe this corresponds to the small space that you have between the top of the map frame and the top of the map itself. I've seen bugs reported about this gap before, but I'm not sure if they've been re

RE: [mapguide-users] RE: Theme layer application - point feature layers

2009-01-12 Thread Chris Claydon
I suspect that the cause of the problem is that the Sheboygan sample layer uses a 1.0.0 layer definition and your own layer uses a 1.1.0 layer definition. The SizeContext element was added to the StrokeType element in the later version of the schema, thus if you want to use the Theme code with a

[mapguide-users] GT Markup sample problems

2009-01-12 Thread Warren Medernach
This is extremely frustrating... I setup the GT sample app and was testing the markup functionality. (WinXP, IIS, MGE 2009) Everything was working great with creating lines and points. Then MG 'hiccups' and freezes up... so I have to reset IIS, restart the MG service to get MG back up and r

RE: [mapguide-users] Microsoft Access DB in Mapguide 1.2 on Linux

2009-01-12 Thread ray
Thanks Ken and Frank.  After some more research, I found this A2M tool from Bullzip and used it to move access to mysql.  We will be moving forward with that,  and using Access as a front end to use Forms and other reports for the data on mysql that mapguide can also attach to.Now to get Mapguide t

RE: [mapguide-users] Adding a temporary Layer in MapGuide

2009-01-12 Thread Arnaud De Groof
The first code : Open($userInfo); $resourceService = $siteConnection->CreateService(MgServiceType::ResourceService); // Read the MapDefinition into an XML DOM document object. $md = " Library://XXX/$mapName.MapDefinition "; // TODO Constant! $mdResourceId = new MgResourceIdentifier($md); $m

RE: [mapguide-users] Theme layer - error

2009-01-12 Thread Arnaud De Groof
The same error is always present. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Zac Spitzer Sent: lundi 12 janvier 2009 15:31 To: MapGuide Users Mail List Subject: Re: [mapguide-users] Theme layer - error quick

[mapguide-users] FLoat data with King.Oracle

2009-01-12 Thread euskalmap
Hi, why the column data FLOAT do not appear in my ressource layer in Mapguide Studio ? Thanks NB:King.oracle 0.7.4 with Oracle 10.2g -- View this message in context: http://n2.nabble.com/FLoat-data-with-King.Oracle-tp2145901p2145901.html Sent from the MapGuide Users mailing list archive at Nabb

Re: [mapguide-users] Theme layer - error

2009-01-12 Thread Zac Spitzer
quick guessFF808080 On Tue, Jan 13, 2009 at 1:16 AM, Arnaud De Groof wrote: > Here the LayerDefinition: > > > http://www.w3.org/2001/XMLSchema-instance"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; > xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd" > version="1.1.0"> > >Li

RE: [mapguide-users] RE: Theme layer application - point feature layers

2009-01-12 Thread Arnaud De Groof
Thanks for this information; I have modified the file (../phpviewersample/theme/classes/theme.php) according your remarks. Now, I have the possibility to select the point layers. I changed also the different reference to the by . I do not know if these changes are correct because I have a problem

Re: [mapguide-users] Adding a temporary Layer in MapGuide

2009-01-12 Thread Carmelo Saffioti
Hi Kenneth, how would you fix that code? Please let me know how. But is it everything I need for the steps you talked me about? Thank you very much in advance Cheers Carmelo - Original Message - From: Kenneth Skovhede, GEOGRAF A/S To: MapGuide Users Mail List Sent: Friday,

RE: [mapguide-users] Theme layer - error

2009-01-12 Thread Arnaud De Groof
Here the LayerDefinition: http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd" version="1.1.0"> Library://Test/testpoly.FeatureSource Default:New_Shapefile FeatureClass T

Re: [mapguide-users] Theme layer - error

2009-01-12 Thread Zac Spitzer
can you post your layer xml? On Tue, Jan 13, 2009 at 1:02 AM, Arnaud De Groof wrote: > Hi, > > > > I have a problem with the function "Theme layer". With the Sheboygan example > (district layer), the function is successful used but when I try to use this > function with my different polygon layer

[mapguide-users] Theme layer - error

2009-01-12 Thread Arnaud De Groof
Hi, I have a problem with the function "Theme layer". With the Sheboygan example (district layer), the function is successful used but when I try to use this function with my different polygon layers, the following error is encountered during the process: Error: An exception occurred in DB

Re: [mapguide-users] Precision problem viewing map

2009-01-12 Thread Stefan Dalakov
Thank you! And also, if it is interesting for someone, when I "iframe" this page, there is no problem Stefan Gunter Becker wrote: Hi Stefan, it is a bug in AjaxViewer. You have a weblayout with properties pane disabled. Enable it and the map is at the right position. There is also a ticket o

Re: [mapguide-users] Precision problem viewing map

2009-01-12 Thread Gunter Becker
Hi Stefan, it is a bug in AjaxViewer. You have a weblayout with properties pane disabled. Enable it and the map is at the right position. There is also a ticket on track: http://trac.osgeo.org/mapguide/ticket/593 http://trac.osgeo.org/mapguide/ticket/593 Gunter -- View this message in context

RE: [mapguide-users] Fusion Selection value interpretation of url

2009-01-12 Thread Jason Birch
I believe that this was solved for Fusion 1.1: http://trac.osgeo.org/mapguide/ticket/658 If you are still using Fusion 1.0.x (that ships with MGOS 2.0.2) then you'll want to look into upgrading: http://trac.osgeo.org/fusion/wiki/GetIt I posted some instructions on how to upgrade Map

Re: [mapguide-users] RE: MapGuide API Intellisense in Visual Studio

2009-01-12 Thread Kenneth Skovhede, GEOGRAF A/S
AFAIK, the only difference between using codebehind and the "old-style" asp tags, is that the codebehind is precompiled, whereas the "old-style" tags are compiled on the first access. AFAIK, Microsoft recommends using codebehind, but the ASPX example was meant to be easy to look at and experim

[mapguide-users] Precision problem viewing map

2009-01-12 Thread Stefan Dalakov
Hi all, I am facing a strange and unexpected problem regarding precision of map and coordinates display. I see that my data is not displayed on the exact place - there is a shift in Y coordinate. I have a raster layer with bounding rectangle Xmin=..., Ymin=7070400, Xmax= Ymax=7071600. But w

RE: [mapguide-users] RE: Fusion Selection value interpretation of url

2009-01-12 Thread Arnaud De Groof
I have only inserted the value "Click here" in the attribute table of the layers. Example: FeatId Id URL 1 0 Click here Regards, Arnaud From: mapguide-users-boun...@lists.o