Re: [mapguide-users] connection with oracle

2009-11-12 Thread Simon Pelicon
Yes, oracle provider support also 11g. Manav: I would like do know version of MapGuide Server and version of provider used? For FDO 3.3 there are two kind of providers, for instant oracle client and for oracle client. On Fri, Nov 13, 2009 at 8:27 AM, Zac Spitzer wrote: > Simon, > > does king

Re: [mapguide-users] connection with oracle

2009-11-12 Thread Zac Spitzer
Simon, does king oracle work with 11g client, or just 10g? z On Fri, Nov 13, 2009 at 6:25 PM, Simon Pelicon wrote: > Hi! > for SERVICE NAME enter: > 1. if you use Oracle instant client use (as Zac answered) oracle easy > connect syntax: //servername/orcl > 2. if you use Oracle client than ente

Re: [mapguide-users] connection with oracle

2009-11-12 Thread Simon Pelicon
Hi! for SERVICE NAME enter: 1. if you use Oracle instant client use (as Zac answered) oracle easy connect syntax: //servername/orcl 2. if you use Oracle client than enter your oracle Service name specified in client SCHEMA (optional parameter) "OracleSchema" determines if all raws from ALL_SDO_GEO

Re: [mapguide-users] connection with oracle

2009-11-12 Thread manav dayal
I am having oracle11g installed on my machine and trying to connect to the romote machine also having full oracle11g installation.   Problem persists. thanks zac. --- On Fri, 13/11/09, Zac Spitzer wrote: From: Zac Spitzer Subject: Re: [mapguide-users] connection with oracle To: "MapGuide Use

Re: [mapguide-users] connection with oracle

2009-11-12 Thread Zac Spitzer
are you using the instant client or a full oracle client? which version? z On Fri, Nov 13, 2009 at 6:00 PM, manav dayal wrote: > Error is still persisting. Is there any alternative way. > > Do we need to include any value in the King FDO class text box. > > > -- - On *Fri, 13/11/09, Zac Spitzer

Re: [mapguide-users] connection with oracle

2009-11-12 Thread manav dayal
Error is still persisting. Is there any alternative way.   Do we need to include any value in the King FDO class text box. -- - On Fri, 13/11/09, Zac Spitzer wrote: From: Zac Spitzer Subject: Re: [mapguide-users] connection with oracle To: "MapGuide Users Mail List" Date: Friday, 13 November,

RE: [mapguide-users] Highlighting selected features

2009-11-12 Thread sathishpsk9
Hi Gido Thanks for this. It helped me , but my map doest not have SRS . I do know how to add this ? Thanks Satish -- View this message in context: http://n2.nabble.com/Highlighting-selected-features-tp3901646p3997718.html Sent from the MapGuide Users mailing list

Re: [mapguide-users] connection with oracle

2009-11-12 Thread Zac Spitzer
try using the oracle easy connect syntax //BIGSERVER/DEV01 which in your case will be //servername/orcl z On Fri, Nov 13, 2009 at 3:06 PM, manav dayal wrote: > > When i opt for new dataconnection using oracle provider in maestro, a new > source window opens. On this window I opt for specifie

Re: [mapguide-users] connection with oracle

2009-11-12 Thread manav dayal
When i opt for new dataconnection using oracle provider in maestro, a new source window opens. On this window I opt for specified credentials and pass the username and password.   when i use sql prompt, it works fine with username/passw...@orcl.   I need to know what should be written inside the

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

2009-11-12 Thread Zac Spitzer
use fiddler and look at the http requests On Fri, Nov 13, 2009 at 3:03 PM, nekad wrote: > > hm, i don't know if there is selection xml in $_POST['SELECTION'] > > how can i check it? > > i just follow the tutorial by getting MgSelection with $_POST['SELECTION'] > parameter > to enable selection in

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

2009-11-12 Thread nekad
hm, i don't know if there is selection xml in $_POST['SELECTION'] how can i check it? i just follow the tutorial by getting MgSelection with $_POST['SELECTION'] parameter to enable selection in map area, i just checklist the options 'Features on Layer are selectable' in mapguide maestro... Ja

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

2009-11-12 Thread Jackie Ng
Are you sure there is selection xml in $_POST['SELECTION'] ? - Jackie nekad wrote: > > i have included constants.php > > and there is no problem with MgServiceType anymore... > > but, now i got the problem in finding the information of selected area... > > when i run this code > $selection

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

2009-11-12 Thread nekad
i have included constants.php and there is no problem with MgServiceType anymore... but, now i got the problem in finding the information of selected area... when i run this code $selection = new MgSelection($map, $_POST['SELECTION']); $layers = $selection->GetLayers(); it returns nothing, se

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

Re: [mapguide-users] Label Expressions - replaceall

2009-11-12 Thread Zac Spitzer
i did the actual string manipulation outside FDO and then saved it again, rather than as an expression which gets run every time. if that didn't work, maybe try double quotes? z On Fri, Nov 13, 2009 at 2:34 AM, GordonL wrote: > > Hi Zac, > where you replaced the linefeeds, did you do something

[mapguide-users] RE: Permissions for Administrator

2009-11-12 Thread Dave Wilson
Did you check the error logs and the system event log to see if something obvious is recorded? Sometimes on a server the advanced security configuration causes a problem. Have you checked in IIS to see if the Web Extensions for PHP, the MapAgent ISAPI and .NET are enabled ? Dave From: mapguide

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

2009-11-12 Thread GordonL
Hi, I think the issue is with MgServiceType::ResourceService replace the line: $resourceService = $siteConnection->CreateService(MgServiceType::ResourceService); with $resourceService = $siteConnection->CreateService(0); regards gordon nekad wrote: > > Hey guys.. > I'm newbie in GIS wor

RE: [mapguide-users] Need help with IF-statment in Tool Tip

2009-11-12 Thread Kratz
I cant understand how this If-statement works I thought the [condition] was integer based. ex Length(BYGGINV_1)>0 But obviously not... Could someone help explain how this If-statement work or better up how I can find out whether the atribute contains any text (string) or not! Ex of how

Re: [mapguide-users] Label Expressions - replaceall

2009-11-12 Thread GordonL
Hi Zac, where you replaced the linefeeds, did you do something like this? Translate(MYFIELD, chr(12), '\n') Do you know how to pass ASCII in the Expression for the tool tip? thanks gordon zspitzer wrote: > > that's really terribly explained, when I first saw "from-characterset" > with trans

[mapguide-users] Permissions for Administrator

2009-11-12 Thread Langen, Gido
I have installed and setup MapGuide Enterprise 2010 on my PC using IIS and PHP (localhost). It worked like a charm. I also tried to install the software on a server. But I cannot even login as an Administrator. Right after the LOGIN page, I get immediately an HTTP 500 error. I have installed th

Re: [mapguide-users] Determine supported geometry types

2009-11-12 Thread Gunter Becker
Yes, I've seen this method already. I thought there would be another method to do it without XML. But if it is the easiest way then I will use this one. zspitzer wrote: > > try MgFeatureService::GetCapabilities > > http://mapguide.osgeo.org/files/mapguide/docs/2.0/d5/d10/class_mg_feature_se

Re: [mapguide-users] Determine supported geometry types

2009-11-12 Thread Zac Spitzer
try MgFeatureService::GetCapabilities http://mapguide.osgeo.org/files/mapguide/docs/2.0/d5/d10/class_mg_feature_service_ebf15d908a4e43215f530cabb445fcd2.htm#ebf15d908a4e43215f530cabb445fcd2 On Fri, Nov 13, 2009 at 12:47 AM, Gunter Becker wrote: > > Hi all, > > what is the best way to determine

[mapguide-users] Determine supported geometry types

2009-11-12 Thread Gunter Becker
Hi all, what is the best way to determine the supported geometry types of a specific provider? I haven't found any methods in MapGuideAPI or MaestroAPI that return this information. Do I have to use WebTier - methods?? Thanks, Gunter -- View this message in context: http://n2.nabble.com/Determ

Re: [mapguide-users] connection with oracle

2009-11-12 Thread Zac Spitzer
it is purely a error with the service name ORA-12154: TNS:could not resolve the connect identifier specified is a native error code from oracle what are your connection settings? z On Thu, Nov 12, 2009 at 11:01 PM, Dejan Gregor wrote: > > Do you have an Oracle client installed from where yo

[mapguide-users] oracle connection

2009-11-12 Thread manav dayal
  I am using maestro1.0  and trying to  connect to the remote database server. When I choose to make a  new data connection with OSGeo.KingOracle.3.3 as the provider for oracle.   I have oracle 11g installed on my machine but i am  trying to connect to the remote machine also having 11g.   conne

Re: [mapguide-users] connection with oracle

2009-11-12 Thread Dejan Gregor
Do you have an Oracle client installed from where you are connecting? Dejan On Thu, Nov 12, 2009 at 12:58, manav dayal wrote: > > I am using maestro1.0 and trying to connect to the remote database > server. > When I choose to make a new data connection with OSGeo.KingOracle.3.3 as > the > pro

[mapguide-users] connection with oracle

2009-11-12 Thread manav dayal
  I am using maestro1.0  and trying to  connect to the remote database server. When I choose to make a  new data connection with OSGeo.KingOracle.3.3 as the provider for oracle.   Following error is being thrown when I try to test the connection.     The remote server returned an error: (559) MgFd

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

2009-11-12 Thread nekad
Thank Kenneth for the reply.. I've figured out that it is caused when InitializeWebTier and the included file location is wrong now, I can get the map and layer name to the screen, but, the problem is $_POST['SELECTION'] seems not be set when i run isset($_POST['SELECTION'] it return false