RE: [mapguide-users] build mapguide with VS2010

2010-11-22 Thread Bruce Dechant
It can be built with VS2010 if you use the VS2008 compiler - I have tried this.
We have not added updated VS2010 project files to SVN yet.

It has not been fully updated to VS2010 - ie: VS2010 compiler.

Thanks,
Bruce


From: mapguide-users-boun...@lists.osgeo.org 
[mapguide-users-boun...@lists.osgeo.org] on behalf of jtby 
[jbrosow...@geo-comm.com]
Sent: Monday, November 22, 2010 9:07 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] build mapguide with VS2010

Can mapguide be built with VS2010 or is VS2008 required?
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/build-mapguide-with-VS2010-tp5763177p5763177.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MgFeatureReader.Close() doesnt close postgis connections

2010-07-13 Thread Bruce Dechant
James,

Closing the reader doesn't close the connection on the server side - this is 
due to the connection pooling.

If you want to ensure that it does get closed you could add the postgis 
provider to the list of excluded providers. Doing so will have a negative 
impact on performance though. The server will automatically release the 
connection after a period of inactivity (Another serverconfig.ini setting. ie: 
DataConnectionTimeout).

The excluded provider setting is in the serverconfig.ini file:
[FeatureServiceProperties]
DataConnectionPoolExcludedProviders = OSGeo.PostGIS

The change will take effect when you restart the server.

Thanks,
Bruce


From: mapguide-users-boun...@lists.osgeo.org 
[mapguide-users-boun...@lists.osgeo.org] On Behalf Of doggybs 
[james.sla...@keynetix.com]
Sent: Tuesday, July 13, 2010 10:59 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] MgFeatureReader.Close() doesnt close postgis  
connections

Hi All

I am using the following code in the Mapguide API to return a
MgFeatureReader to my postgis data source.

featureService.SelectFeatures(featureSourceId, classId.QualifiedClassName,
queryOptions);

I am using Mapguide2011 with FDO 3.5

When this command is executed I can see from postgis that a new connection
is opened. Running the following query in postgres show me the open
connections :

select * from pg_stat_activity;

Once i have finished. I call MgFeatureReader.Close(), but the connection to
postgis do not reduce?

Is this possible something to do with Connection  Pooling? or is there a
problem with my code, or Close function.

Many Thanks
James


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MgFeatureReader-Close-doesnt-close-postgis-connections-tp5288437p5288437.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Problems/Questions with the ArcSDE 3.5 Provider

2010-06-18 Thread Bruce Dechant
Bill,

This is normal behavior. The MapGuide server caches the FDO connection so that 
it can be reused later - this is for performance reasons.

All of the changes mentioned below are done inside the serverconfig.ini file.
If you need to drop these cached connections sooner you can do the following:

[FeatureServiceProperties]
DataConnectionTimeout = 3600

The above value 3600 would be 1 hour (the value is entered in seconds). The 
default is one day.

Or if you can live with a performance slowdown you could tell the server to 
NEVER cache a particular provider connection (ArcSDE in this case).
To that you would do the following:

[FeatureServiceProperties]
DataConnectionPoolExcludedProviders= OSGeo.ArcSDE


Be warned that this will have an impact on performance.

Thanks,
Bruce

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of BTenBroeck
Sent: Friday, June 18, 2010 3:21 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Problems/Questions with the ArcSDE 3.5 Provider


Hello. 

I have a few questions regarding the 3.5 provider in MGE 2011. (I posted
this first on FDO, and it was suggested to cross-post here)

When Mapguide first connects, it spawns 3 gsrvr processes on the SDE Server.
Then for every browser session that opens, another one is spawned. AND, they
don't close when the browser closes. The Mapguide service has to be
recycled.

Is this normal behavior? If so, is there any way to make the connection
close when the browser closes, or perhaps set something in the
serverconfig.ini to shorten the time till it expires naturally?

We also tried the direct connect method. This is baffling to me, because we
get the exact same behavior as before. Shouldn't the browser spawn gsrvr
processes on the Mapguide Server? Not the SDE server?

BTW, the ArcSDE version is 9.3.1 running on Oracle 10gR2

Any insight or direction would be greatly appreciated.

Thanks,

Bill Ten Broeck
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Problems-Questions-with-the-ArcSDE-3-5-Provider-tp5194611p5194611.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] error out of memory

2010-01-21 Thread Bruce Dechant
Is it possible to move to the 2.1 release as there have been numerous memory 
leak fixes done?

Thanks,
Bruce

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of CroNicoRn
Sent: Wednesday, January 20, 2010 12:42 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] error out of memory


im running about 11hours then crash out of memory refresh timer every 5
seconds ..
how to solve this problem?
Thanx..

http://n2.nabble.com/file/n4425171/ERROR_GIS1.jpg 
http://n2.nabble.com/file/n4425171/ERROR_GIS2.jpg 

-
http://www.myguidepages.com  http://n2.nabble.com/file/u115131/ajid.jpg  
-- 
View this message in context: 
http://n2.nabble.com/error-out-of-memory-tp4425171p4425171.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] RE: MG Security question

2009-08-26 Thread Bruce Dechant
Tom,

I don't know of any document describing the security of MGOS.

In regards to your concern over serveradminhelper it is hard coded to use the 
default administrator user name and password - so credentials are still 
required just no dialog. If you plan on using MGOS or any other system that 
uses logon credentials it is always recommended that you change the default 
administrator credentials. However, I do think that the serveradminhelper pages 
need to be updated so that credentials are asked in a dialog instead of being 
hard coded.

Thanks,
Bruce

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Homan, Thomas
Sent: Wednesday, August 26, 2009 11:23 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] MG Security question


Hello,

Does there happen to be a doc/wiki relating to security on MGOS?

I'm hoping to find something that details the obvious security holes like where 
the 'serveradminhelper.(php/aspx/jsp) is called from mapagent/index.html --- 
Server Admin and allows someone to take the MG server offline without having to 
enter any credentials. By default install that tidbit is exposed to the public 
for their entertainment.

I'd like to know any of the other suprises that I don't yet know about as well.

Thanks in advance

Tom
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] QUERYMAPFEATURES

2009-06-22 Thread Bruce Dechant
Hi,

You are seeing the error because there are several SELECTIONVARIANT values 
missing from the source code. I believe the reason they are missing is that 
only the most common ones have been added as not all providers support all of 
the ones allowed by FDO.

The code that controls this is located in the HttpQueryFeatures.cpp file. Here 
is the code snippet of what is supported currently:

// Create the selection variant
INT32 selectionVariant = 0;
if(m_selectionVariant.length()  0)
{
if (m_selectionVariant == LTOUCHES)
selectionVariant = MgFeatureSpatialOperations::Touches;
else if (m_selectionVariant == LINTERSECTS)
selectionVariant = MgFeatureSpatialOperations::Intersects;
else if (m_selectionVariant == LWITHIN)
selectionVariant = MgFeatureSpatialOperations::Within;
else if (m_selectionVariant == LENVELOPEINTERSECTS)
selectionVariant = MgFeatureSpatialOperations::EnvelopeIntersects;
else// add more values if necessary
{
MgStringCollection arguments;
arguments.Add(L0);
arguments.Add(m_selectionVariant);

throw new 
MgInvalidArgumentException(LMgHttpQueryMapFeatures.Execute,
__LINE__, __WFILE__, arguments, 
LMgInvalidFeatureSpatialOperation, NULL);
}
}

As you can see INSIDE is missing - along with others.

Please create a trac ticket for this issue as the missing ones should be added. 
If a particular provider doesn't support the specified SELECTIONVARIANT then 
it will throw an exception and the client will know that it is a provider 
limitation instead of what is happening now.

Thanks,
Bruce

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of lgoubet
Sent: Friday, June 19, 2009 6:06 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] QUERYMAPFEATURES


Hi,


I use
/mapguide2009/mapagent/mapagent.fcgi?OPERATION=QUERYMAPFEATURESVERSION=1.0.0PERSIST=1MAPNAME=MACARTESESSION=e4433420---8000-005056c1_fr_7F010AF20AF10AF0SEQ=0.5438243192685027LAYERNAMES=LAYER1GEOMETRY=CURVEPOLYGON
((985200.554430509 111930.547565891 (CIRCULARARCSEGMENT (990200.554430509
106930.547565891, 995200.554430509 111930.547565891), CIRCULARARCSEGMENT
(990200.554430509 116930.547565891, 985200.554430509
111930.547565891SELECTIONVARIANT=INTERSECTSCLIENTAGENT=Ajax%20Viewer

and I get a response that I work with ajax/javascript.

But if I change SELECTIONVARIANT=INTERSECTS and SELECTIONVARIANT= INSIDE
it doesn't work because the 

Argument(s) incorrect(s): [0] = INSIDE L'opération spatiale de l'objet est
incorrecte car elle n'est pas reconnue.
Argument(s) incorrect(s): [0] = INSIDE L'opération spatiale de l'objet est
incorrecte car elle n'est pas reconnue. Une exception s'est produite dans la
méthode MgHttpQueryMapFeatures.Execute à la ligne 115 dans le fichier
d:\build\carrera_nightly\build_34.2\ent\os\web\src\httphandler\HttpQueryMapFeatures.cpp
 
Do you have a solution ? 
Must I write a another page (aspx for me) to make this thing ?
Where find documentation on QUERYMAPFEATURES ?

Thanks you very much








-- 
View this message in context: 
http://n2.nabble.com/QUERYMAPFEATURES-tp3119257p3119257.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Why MgMap::Create is so slow

2009-04-28 Thread Bruce Dechant
Bruno,

It is slow because for every layer in the map the web tier sends 2 requests 
(Authenticate + GetResourceContent) to the server. So in your map case there 
would be a minimum of 400 requests to the server. This is something we are 
aware of and would like to change. We have some test maps with over 700 layers. 
Ideally, we would like to change this down to about 2 requests regardless of 
the # of layers- ie: Authenticate + CreateMap. In order to do this we need to 
move the map creation to the server side and then serialize back to the web the 
created map object.

Thanks,
Bruce

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Bruno Scott
Sent: Tuesday, April 28, 2009 9:51 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Why MgMap::Create is so slow


I have a quite big MapDefinition with about 200 layers.
When a use the MgMap API Create it takes about 20 seconds
But if i use the GetResourceContent it almost instantly.

I wonder why this function is so slow.

The only thing i'm trying to do is to read this MapDefinition to retreive
information about a layer
  his resource Id
  his group hierarchy
  and his display order.

Bruno
-- 
View this message in context: 
http://n2.nabble.com/Why-MgMap%3A%3ACreate-is-so-slow-tp2734318p2734318.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Lack of Coordinate Systems

2009-03-24 Thread Bruce Dechant
Ryan,

Is your PROJ_LIB environment setting pointing to the nad directory?
Is your GDAL_DATA environment setting pointing to the data directory?

If you are running the MapGuide server from a script ensure that it is not 
altering the above environment settings.

The categories.txt file needs to be in the nad directory pointed to by the 
PROJ_LIB environment setting.

Thanks,
Bruce

From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Ryan Foster
Sent: Monday, March 23, 2009 10:40 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Lack of Coordinate Systems

Hello,

I have installed Mapguide 2.0.2 with FDO 3.3.1 (SDF, SHP, WFS, WMS, GDAL, OGR, 
PostGIS) on an Ubuntu server (8.04); however, I am having a problem with the 
coordinate systems.  Specifically, 'enumerating categories' only shows 
arbitrary x-y coordinate systems.  I've looked through the mailing list 
archives and it would seem that the problem is that the application is not 
picking up 'categories.txt'.  I have placed this file in both the 'data' and 
'nad' directories and restarted both Apache and the Mapguide daemon without 
success...any pointers on how to solve this problem would be greatly 
appreciated.

==
Ryan Foster
Associate Planner / IT Technician
City of Arroyo Grande
(805) 473-5420

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Server Admin Service

2009-03-24 Thread Bruce Dechant
Sandra,

Have a look at the ServerAdmin.h file is gives a list of the APIs.

Here is a snippet from the header file that mentions what the service does:
/// This class contains methods to allow MapGuide clients to perform 
administration related
/// operations:
/// - Server Configuration
/// - Logging
/// - Online/Offline
/// - Server Health

Thanks,
Bruce


-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of SandraH
Sent: Tuesday, March 24, 2009 12:51 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Server Admin Service


Hello,

the Server Admin Service is on of the MapGuide Services. What are the main 
functions of this service?

Thanks,

Sandra
-- 
View this message in context: 
http://n2.nabble.com/Server-Admin-Service-tp2528351p2528351.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Maintaining MapGuide Session during Restart

2009-01-29 Thread Bruce Dechant
Bruce,

You can keep move some of the session data to the library - ie: resources that 
you have created in the session.
What you are asking is for the session state information to be maintained - 
that information cannot be replicated in the library.

I'm not a web developer, but what about using cookies with your custom web 
application to reestablish the MapGuide session how it was last left. Perhaps 
someone with experience with this could chime in.

Thanks,
Bruce

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of bruce_weston
Sent: Thursday, January 29, 2009 8:54 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Maintaining MapGuide Session during Restart


Bruce D,

Are you suggesting that this can be done? Does anyone have a script or a
method of copying the session repository into a library object? Is there
even a way of creating a copy of the session as XML?

thanks,

Bruce W



Bruce Dechant wrote:

 Bruce,

 What you are doing by trying to replace the session repository of a
 running server is problematic and could lead to server instability. You
 really shouldn't do this.

 The session repository is meant for temporary runtime data only and not
 for persistent data. If you want any of your session repository data to
 survive a restart you need to use the library repository instead.

 Thanks,
 Bruce

 -Original Message-
 From: mapguide-users-boun...@lists.osgeo.org
 [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of bruce_weston
 Sent: Wednesday, January 28, 2009 2:34 AM
 To: mapguide-users@lists.osgeo.org
 Subject: [mapguide-users] Maintaining MapGuide Session during Restart


 I'm just wondering if anyone has managed to do this yet? This is my
 attempted
 MapGuide restart script to keep the contents of the session folder backed
 up, but it doesn't work:

 echo MapGuide Scheduler Task Starting
 taskkill /F /FI SERVICES eq MapGuideServer2.0
 net stop MapGuideServer2.0
 REM xcopy c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\*
 c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\ /E /Y
 net start MapGuideServer2.0
 REM xcopy c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\*
 c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\ /E /Y
 echo MapGuide Scheduler Task Completed
 pause

 Is there session data stored anywhere else? I really want to make the
 process seamless for my users.

 Bruce


 --
 View this message in context:
 http://n2.nabble.com/Maintaining-MapGuide-Session-during-Restart-tp2231199p2231199.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
View this message in context: 
http://n2.nabble.com/Maintaining-MapGuide-Session-during-Restart-tp2231199p2239668.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Maintaining MapGuide Session during Restart

2009-01-28 Thread Bruce Dechant
Bruce,

What you are doing by trying to replace the session repository of a running 
server is problematic and could lead to server instability. You really 
shouldn't do this.

The session repository is meant for temporary runtime data only and not for 
persistent data. If you want any of your session repository data to survive a 
restart you need to use the library repository instead.

Thanks,
Bruce

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of bruce_weston
Sent: Wednesday, January 28, 2009 2:34 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Maintaining MapGuide Session during Restart


I'm just wondering if anyone has managed to do this yet? This is my attempted
MapGuide restart script to keep the contents of the session folder backed
up, but it doesn't work:

echo MapGuide Scheduler Task Starting
taskkill /F /FI SERVICES eq MapGuideServer2.0
net stop MapGuideServer2.0
REM xcopy c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\*
c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\ /E /Y
net start MapGuideServer2.0
REM xcopy c:\Progra~1\MapGuideOpenSource2.0\SessionBackup\*
c:\Progra~1\MapGuideOpenSource2.0\Server\Repositories\Session\ /E /Y
echo MapGuide Scheduler Task Completed
pause

Is there session data stored anywhere else? I really want to make the
process seamless for my users.

Bruce


--
View this message in context: 
http://n2.nabble.com/Maintaining-MapGuide-Session-during-Restart-tp2231199p2231199.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MS SQL and SDF Join Problem

2008-09-17 Thread Bruce Dechant
Hi,

So just to clarify:

You are joining:
SDF - Primary
MS SQL - Secondary
Inner join 1 to 1

When join key has a space as in ID 001 you only get 1st record of join, but 
if you change it to ID001 then it works.

Have you created a MapGuide trac ticket for this (bug tracker)? 
http://trac.osgeo.org/mapguide/

I would like to follow up with this as I am working on some performance tuning 
for the join engine.

Thanks,
Bruce


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of anakando
Sent: Monday, September 15, 2008 8:24 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] MS SQL and SDF Join Problem


This is the last week before my presentation about the capablity of MGOS to
my client. This is the only issue that i stucked on,at least for now.
Unfortunately i stucked on the very basic but important task! So if anyone's
of you really have some time to spend to figure out my problem, i really
appreciate it. TQ

--
View this message in context: 
http://www.nabble.com/MS-SQL-and-SDF-Join-Problem-tp19448719p19504266.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Calculating a Euclidean Distance in Javascript

2008-05-21 Thread Bruce Dechant
This is the exact code that is being executed by the MeasureEuclideanDistance 
API:

double CCoordinateSystem::MeasureEuclideanDistance(double x1, double y1, double 
x2, double y2)
{
double distance = 0.0;

MG_TRY()
distance = ::sqrt(::pow(x1 - x2, 2.0) + ::pow(y1 - y2, 2.0));
MG_CATCH_AND_THROW(LMgCoordinateSystem.MeasureEuclideanDistance)

return distance;
}

Hope this helps.

Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nclayton
Sent: Tuesday, May 20, 2008 1:27 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Calculating a Euclidean Distance in Javascript


I'm trying to reproduce the function being called in php to measure the
distance between the two points of the measure tool in javascript so that I
can display the current distance while a user is picking a second point on
the map. So far the formula I have tried is not producing the same result as
the result of
$srsMap-MeasureEuclideanDistance($x1,$y1,$x2,$y2) in measure.php

the formula I am trying is:
distance = sqrt(abs(x2 - x1)^2 + abs(y2-y1)^2)

then to convert to miles:
miles = distance * 0.000621371192

Thanks in advance for any input.
--
View this message in context: 
http://www.nabble.com/Calculating-a-Euclidean-Distance-in-Javascript-tp17348713p17348713.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] SDF UnManaged?

2008-05-20 Thread Bruce Dechant
What version of MGOS are you using?
The latest MGOS and MGE2009 Studio still allow alias folders for SDF.

Thanks,
Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rock Beans
Sent: Tuesday, May 20, 2008 9:23 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] SDF UnManaged?

When you setup a data connection for SHP there are options to choose aliased 
folder why is this not an option for SDF anymore? I know this is more of a 
Studio question but I am just making sure this is not some limitation.

The Rock
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Please try your operation later as the resource was busy

2008-05-16 Thread Bruce Dechant
Mark,

The error you see below is typically a result of the resource still being used 
by someone else. However, if a feature reader is not closed and you try to do 
something with the same resource (update) it can report that it is in use still 
and therefore busy.

Since you are closing your feature reader I suspect the problem is most likely 
a defect if you are the only one that is using it.

What provider is this happening with? Is this easily reproduced?
If you could create a track ticket for this and include as much information as 
possible for someone to investigate the issue that would be great.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pendergraft
Sent: Friday, May 16, 2008 11:44 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Please try your operation later as the resource 
was busy


I am getting this message too.  I am closing my feature reader and disposing
of it.
The problem happens when the user adds features to one of the feature
sources named Jobs.  We use our map primarily to track where we have
worked, and users need to be able to add jobs to the map.  Sometimes it
works, other times it harrasses me about the resource being busy.  I would
have to use the library resource because the changes need to show up in
everyones map.

Am i missing something here?  is there a way to possibly check if the
resource is busy and force it to not be?


zspitzer wrote:

 Are you closing your featureReader? show us some more code :)

 Also, you probably want to be using session resources rather than
 library resources



--
View this message in context: 
http://www.nabble.com/Please-try-your-operation-later-as-the-resource-was-busy-tp16392736p17280519.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Please try your operation later as the resource was busy

2008-05-16 Thread Bruce Dechant
Mark,

The access is similar to a database, except is dependent on what the underlying 
provider supports. In the SDF case I believe this is multiple reads and single 
write is supported.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pendergraft
Sent: Friday, May 16, 2008 1:03 PM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Please try your operation later as the resource 
was busy


I'm a little confused here.
You make it sound as if only one person can update the library resource (in
this case a .sdf file) at a time.  I thought that multiple people could
interact with the file making changes at the same time more like a database.
I get this error about every other time i try to add a feature to my feature
source.  There is a lot of code that could be suspect, i will try to isolate
the error this weekend and if it's not my code i will submit a trac ticket.


Bruce Dechant wrote:

 Mark,

 The error you see below is typically a result of the resource still being
 used by someone else. However, if a feature reader is not closed and you
 try to do something with the same resource (update) it can report that it
 is in use still and therefore busy.

 Since you are closing your feature reader I suspect the problem is most
 likely a defect if you are the only one that is using it.

 What provider is this happening with? Is this easily reproduced?
 If you could create a track ticket for this and include as much
 information as possible for someone to investigate the issue that would be
 great.

 Thanks,
 Bruce

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Mark
 Pendergraft
 Sent: Friday, May 16, 2008 11:44 AM
 To: mapguide-users@lists.osgeo.org
 Subject: Re: [mapguide-users] Please try your operation later as the
 resource was busy


 I am getting this message too.  I am closing my feature reader and
 disposing
 of it.
 The problem happens when the user adds features to one of the feature
 sources named Jobs.  We use our map primarily to track where we have
 worked, and users need to be able to add jobs to the map.  Sometimes it
 works, other times it harrasses me about the resource being busy.  I would
 have to use the library resource because the changes need to show up in
 everyones map.

 Am i missing something here?  is there a way to possibly check if the
 resource is busy and force it to not be?


 zspitzer wrote:

 Are you closing your featureReader? show us some more code :)

 Also, you probably want to be using session resources rather than
 library resources



 --
 View this message in context:
 http://www.nabble.com/Please-try-your-operation-later-as-the-resource-was-busy-tp16392736p17280519.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
View this message in context: 
http://www.nabble.com/Please-try-your-operation-later-as-the-resource-was-busy-tp16392736p17282025.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Adding a new Coord Sys

2008-05-08 Thread Bruce Dechant
You are 1/2 way to having this setup. :)

The changes you have done below have updated the server to understand the 
coordinate system you have added, but you still need to update the web tier.

Make the exact same changes to the same files in the C:\Program 
Files\MapGuideOpenSource2.0\WebServerExtensions\www folder.

This is not obvious from the web tier test pages that you are using as the 
coordinate system APIs only hit the web tier API and don't actually round trip 
to the server.

After updating both locations with your changes I ran the test and it works as 
expected.

Coordinate System API: ConvertEpsgCodeToWkt

EPSG Code:
900913

OGC WKT:
PROJCS[Google Maps,GEOGCS[unnamed 
ellipse,DATUM[unknown,SPHEROID[unnamed,6378137,0]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Mercator_2SP],PARAMETER[standard_parallel_1,0],PARAMETER[central_meridian,0],PARAMETER[false_easting,0],PARAMETER[false_northing,0],UNIT[Meter,1],EXTENSION[PROJ4,+proj=merc
 +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 ++units=m 
[EMAIL PROTECTED] +wktext +no_defs]]

Status:
Pass

Thanks,
Bruce


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BenoitBegin
Sent: Thursday, May 08, 2008 10:48 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Adding a new Coord Sys


I'm trying to add a new coordinate system to MGOS 1.2 (or 2.0, haven't been
able to do it in either one). I tried to do every logical operations I could
think of.

First I go in C:\Program Files\MapGuideOpenSource\Server\nad and open the
EPSG file in Wordpad. I add the following 2 lines at the very end:

# Google Maps
900913 +proj=tmerc +lat_0=0 +lon_0=36 +k=0.999600 +x_0=50
+y_0=1000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs  

Second, I go in C:\Program Files\MapGuideOpenSource\Server\data and open
epsg.wkt in Wordpad. I add the following line at the very end as well:

900913,PROJCS[Google Maps,GEOGCS[unnamed
ellipse,DATUM[unknown,SPHEROID[unnamed,6378137,0]],PRIMEM[Greenwich,0],UNIT[degree,0.0174532925199433]],PROJECTION[Mercator_2SP],PARAMETER[standard_parallel_1,0],PARAMETER[central_meridian,0],PARAMETER[false_easting,0],PARAMETER[false_northing,0],UNIT[Meter,1],EXTENSION[PROJ4,+proj=merc
+a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m
[EMAIL PROTECTED] +wktext  +no_defs]]


After doing that I restart the service, then I go in the MapAgent test page
(mapguide/mapagent/index.html) and I attempt to see if this new code is
available through the Coordinate System calls. If I try to do the
ConvertEpsgCodeToWkt with the code 900913, I get an error message:

The coordinate system conversion failed. Failed to convert EPSG code
900913 to WKT. EPSG PCS/GCS code 900913 not found in EPSG support files.
Is this a valid EPSG coordinate system?

If I try to list all of the EPSG coordinate systems using
EnumerateCoordinateSystems, the code I added is not listed. I'm certain
that the WKT is valid, as I tested it using the IsValid command and it
returns true. I'm also sure it's not a problem with the PROJ4 definition, as
I have tried to use an existing, working coordinate system and just make my
900913 system be that definition, and it didn't work.

So simply put, is it even doable to add a coordinate system to MGOS?
--
View this message in context: 
http://www.nabble.com/Adding-a-new-Coord-Sys-tp17129098p17129098.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] MgCoordinateSystemMeasure problem in MGE 2009

2008-05-05 Thread Bruce Dechant
Jim,

For the 2.0 release the coordinate system API had 2 changes.
Please see http://trac.osgeo.org/mapguide/wiki/MapGuideRfc35

The above RFC removed the constructors for creating MgCoordinateSystemTransform 
and MgCoordinateSystemMeasure directly. For your case you can now create the 
measure object directly from the coordinate system itself.

Change this:
$srsMeasure = new MgCoordinateSystemMeasure($srs);
$srsXform = new MgCoordinateSystemTransform($srsDs, $srsMap);

To this:
$srsMeasure = $srs-GetMeasure();
$srsXform = $srsFactory-GetTransform($srsDs, $srsMap);

Unfortunately, it looks the sample code was not updated with the changes in 
RFC35.

Thanks,
Bruce


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim O'Leary
Sent: Saturday, May 03, 2008 9:55 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] MgCoordinateSystemMeasure problem in MGE 2009


When I make a buffer in MGE 2009, this line:

$srsMeasure = new MgCoordinateSystemMeasure($srs);

now generates this message:

Cannot create swig object type: MgCoordinateSystemMeasure as the underlying
object is abstract in ...

I get the same error in the phpsamples for MGOS 2.0.0, which do not appear
to be updated. This is where I got the code above. Does anyone have a
solution?

Thanks.



-
nbsp;


Jim O#8217;Leary Bachelor of Technology


Technical Consultant


Pacific Alliance Technologies

TEL 604.676.6000 EXT 110 TOL 877.691.9171
FAX 604.682.0962


WEB  http://www.pat.ca/ www.pat.ca


nbsp;


nbsp;#8220;A Member
ofnbsp;StarDyne Technologies#8221;
nbsp;nbsp; http://www.stardynetech.com/ www.stardynetech.com


The information contained
in this message may be privileged and confidential and protected from
disclosure. If the reader of this message is not the intended recipient, or
an
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this message is strictly prohibited. If you have received this
message in error, please notify us immediately by replying to this message
and
deleting it from your system without making a copy.nbsp; Internet
communications cannot be guaranteed to be secure or error-free as
information
could be intercepted, corrupted, lost, arrive late or contain viruses.nbsp;
We
are not liable for the timely, proper or complete transmission of the
information contained in such communications.nbsp; We are also not liable
for
the loss of confidentiality of information contained in such communications.


nbsp;


--
View this message in context: 
http://www.nabble.com/MgCoordinateSystemMeasure-problem-in-MGE-2009-tp17042564p17042564.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] SDF 3 and MGOS 2.0

2008-04-01 Thread Bruce Dechant
Yannick,

Can you describe the join you are using?
Ie: Outer, Inner, 1-1, 1-many.

Could it be a case issue between the primary and secondary keys? Ie: CA != ca, 
but CA = CA (Join is case sensitive)
Are you using multiple join keys?
Is the SDF the primary and the Access database the secondary? (Most likely, but 
just want to confirm)

Any information you can provide would help.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yannick Veillet
Sent: Tuesday, April 01, 2008 2:27 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] SDF 3 and MGOS 2.0

No, nothing!

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Zac Spitzer
Envoyé : mardi 1 avril 2008 09:52
À : MapGuide Users Mail List
Objet : Re: [mapguide-users] SDF 3 and MGOS 2.0

is there anything in the server error.log?

On Tue, Apr 1, 2008 at 6:47 PM, Yannick Veillet
[EMAIL PROTECTED] wrote:




 Hi,

 I just have a problem when I want to read an SDF3 layer (FDO3.3) with MGOS
 2.0. When I use join between SDF3 and ODBC Access table. It doesn't
display
 my layer...

 Is it normal?

 SDF3 without join is OK, what's wrong!

 Thanks for help!



 Yannick


 ___
  mapguide-users mailing list
  mapguide-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapguide-users





--
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-03-26 Thread Bruce Dechant
Hi,

The problem is that this error message is returned for any problem which 
includes when the server is not running. The current message isn't very helpful 
in the case where the server isn't actually running.

Can you please create a trac ticket for this defect so that it can be looked at?
Please see http://trac.osgeo.org/mapguide/

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christy Nieman
Sent: Wednesday, March 26, 2008 10:42 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Getting Started Site Admin Problem

Have you checked to make sure that the MapGuide service is running? I
encountered this problem frequently under Windows 2000 - the service
wouldn't get started automatically on reboot.

Christy

Bob Weerts wrote:

 When I get to the 4^th step in the Getting Started instructions the
 MapGuide Site Administrator Login won't accept the default user id
 Administrator and password admin. I get an *Authentication
 failed. Please enter a valid username and password. *message*.***

 * ***

 I've removed and reinstalled the application, but the problem
 persists. Does anyone have a suggestion about how to get around this
 problem?

 

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Finding out if a server is Open Source or Enterprise

2008-03-25 Thread Bruce Dechant
The only way to do this now is to check the underlying coordinate system 
library (PROJ4 or Mentor) as mentioned by Kenneth.

Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Hameister
Sent: Tuesday, March 25, 2008 10:18 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Finding out if a server is Open Source or Enterprise


Is there a neat and simple way to query a Mapguide server to find out if its
an open Source Server vs. an Enterprise Server?

I know I can do a mapagent.fcgi?OPERATION=GETSITEVERSION call but short of
creating a look up table of which release is which assuming they never
duplicate im lost.
:confused:
--
View this message in context: 
http://www.nabble.com/Finding-out-if-a-server-is-Open-Source-or-Enterprise-tp16277528s16610p16277528.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] SelectFeatures and Joins

2008-03-12 Thread Bruce Dechant
Greg,

I verified your issue and have found the problem in the 2.0 code.
I will create a trac ticket for this.
The fix for this issue is a simple code fix and I will submit my code fix for 
it to the Trunk 2.0 code tomorrow.

Thanks,
Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Linforth
Sent: Wednesday, March 12, 2008 8:03 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] SelectFeatures and Joins

The SelectFeatures function of FeatureService seems to be broken for any joined 
features.  I can put in filters which should return no features but at least 
one is returned.  I am using the 2.0 release.  Is anyone else seeing this 
issue?  As it stands it breaks Fusion selections and disallows custom queries.

-Greg

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2008-03-11 Thread Bruce Dechant
Jackie,

If you want to disable FDO caching for a specific provider you can do the 
following:

In the serverconfig.ini file edit the DataConnectionPoolExcludedProviders 
parameter. Example below: (disables it for ODBC and MySql)

DataConnectionPoolExcludedProviders = OSGeo.ODBC,OSGeo.MySQL

If you want to disable it for all providers you can do the following:

DataConnectionPoolEnabled = 0

Warning: Doing this does impact performance, especially for RDBMS (Oracle, 
etc...)

Note: The SDF and SHP providers are already excluded from the data connection 
pooling because of a FDO defect, but even though they are excluded they are 
still fast.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
Sent: Monday, March 10, 2008 10:40 PM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Problems with SDF/Database Joins (Oracle)


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,

 This is related to the caching done by the MapGuide server, but is not a
 defect.
 The problem is that the MapGuide server has no idea that the underlying
 feature source schema changed. There is no callback from Oracle (or any
 other provider) to FDO and then finally to the MapGuide server to inform
 about any schema changes.

 If you are going to be making schema changes while you are developing your
 site then you could temporarily disable the caching of the specific FDO
 provider you are using. This will also disable the caching of the
 underlying schemas and classes. Then turn it back on once your schema
 changes are done.

 Alternatively, you can disable the caching of all schemas and classes by
 setting the CacheSize parameter in the serverconfig.ini file to 0. Be
 warned that by doing this the MapGuide server will be MUCH slower because
 it will have to get this information from the underlying FDO providers for
 everything it does.

 I can see adding an API to MapGuide that you can call to clear the FDO
 schema/classes cache being useful in this case. The WebAdmin could be
 updated to call this to clear the cache without stopping the MapGuide
 server whenever you made changes to your schemas.

 Thanks,
 Bruce


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob Cassarly
 Sent: Sunday, March 09, 2008 3:06 PM
 To: mapguide-users@lists.osgeo.org
 Subject: Re: [mapguide-users] Problems with SDF/Database Joins (Oracle)


 Max,

 That is the driver I was using from my DSN.
 My problem appears to be a problem is with the way MapGuide OS is caching
 the database table/columns

 If you first create a new Data Connection that uses a DSN (that uses the
 Oracle Instant Client 10.2.0.3) it does indeed work and the tables
 enumerate.  The problem I noticed with this is that if you change a table
 or
 view definition to add a table/view column the new column does not appear
 in
 the label/theme list.  This seems like a bug to me (especially considering
 there does not seem to be a mechanism to update the cache).

 If create a Data Source that uses the FDO ODBC Microsoft for Oracle driver
 it connect sucessfully to the database but the tables do not enumerate.
 If
 I save that Data Connection as then later change Data Connection to use a
 DSN the tables do not enumerate.  This also seems like a bug to me.

 So the question is where are the database tables/columns cached too and is
 it possible to refresh the cache.  Personally I would prefer that the
 table/column NOT be cached at all but maybe I am asking too much.

 Bob



 Hi,
 I think you try to connect Oracle Database  with Oracle Instant
 Client 10.2.0.3 and  oracle odbc driver-win32 10.2.0.3 .

 Try ODBC FDO Connect via a Data Source Name (DSN) set up on this server
 and use the above DSN which you created using the oracle odbc driver-win32
 10.2.0.3 .


 Max !!


 --
 View this message in context:
 http://www.nabble.com/Problems-with-SDF-Database-Joins-%28Oracle%29-tp15906732s16610p15946485.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
View this message in context: 
http://www.nabble.com/Problems-with-SDF-Database-Joins-%28Oracle%29-tp15906732s16610p15974750.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman

RE: [mapguide-users] Feature Joins

2008-03-10 Thread Bruce Dechant
Chris,

MGOS 1.2 did have some join issues and I believe you might be encountering one 
of them. Are you doing an inner or outer join?
With MGOS 2.0 I have joined SDFs with Access many times in the following cases:

Inner 1-1
Inner 1-Many
Outer 1-1
Outer 1-Many

The above worked for my use cases with MGOS 2.0. Would you be able to try MGOS 
2.0?

Thanks,
Bruce


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Tallman
Sent: Monday, March 10, 2008 7:28 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Feature Joins

Morning all.

Is anyone seeing issues with joins, using one-to-many?  I have an sdf feature 
joined to a MSAccess file.  I'm only seeing the first join per feature, the 
second, third and on are ignored.

I'm on MGOS 1.2 IIS 6 .net install.

I've created the same join in autocad and I don't have a problem.

More detail:  I have a sdf feature source that is buildings.  My database has a 
list of majors.  Both have a Building ID.  One id per building. Multiple majors 
per building.  I'm trying to create layers based on the join that displays 
buildings based on majors.  If a building has multiple majors it only shows up 
once and it seems to only be the first match it comes across.  So I guess it's 
acting more like a one-to-one join.

I hope this enough explanation someone will be able to help me out.  If not let 
me know and I can try and explain more.

Chris Tallman
Director of GIS Operations
Innovation Mapping, LLC
260-356-9074

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Initial Map-Load Time

2008-03-06 Thread Bruce Dechant
Denis,

That is the only setting you need to change. What feature sources are you 
hitting? SDF? SHP?
Is it possible for you to cut-n-paste the contents of your serverconfig.ini 
file so that I can see all of your settings?

Thanks,
Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Denis Lalonde
Sent: Thursday, March 06, 2008 11:24 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Initial Map-Load Time


I've made the changes the the DataConnetionTimeout as shown by Bruce (and 
restarted the service  server) but I'm still having the initial delay after 
about 10 minutes of non-activity. Are there other settings to change?



Thanks,

Denis



- Original Message 
From: Bruce Dechant [EMAIL PROTECTED]
To: MapGuide Users Mail List mapguide-users@lists.osgeo.org
Sent: Tuesday, January 29, 2008 11:45:22 AM
Subject: RE: [mapguide-users] Initial Map-Load Time
The initial map loading delay is because none of the data needed  by the server 
is cached, ie: FDO connection, schema, class, spatial context information, 
etc...
Once the map has been loaded this information is cached by the server and makes 
returning it very quick for subsequent users.

The server eventually clears this cache after the information has not been used 
for a set period of time (default is about 10 minutes). You can adjust the 
amount of time before the server clears this information by changing the 
following parameters in the serverconfig.ini.

The following will set the FDO connection timeout to 1 day instead of the 
default of 10 minutes.
DataConnectionTimeout = 86400

Thanks,
Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Denis Lalonde
Sent: Tuesday, January 29, 2008 8:20 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Initial Map-Load Time


The first user of the day to hit my MG site (MGE 2008) always has to wait 
about 20 seconds for the initial map to load. Once the map is loaded, 
subsequent map actions take a very acceptable 2 seconds or even less. Also, 
other users who log onto the site at about the same time as user1 do not see 
this initial delay. If however, there is extended period of server inactivity, 
this initial map delay returns. (I assume once all session have expired)

Is there a way to avoid this initial map loading delay?


Never miss a thing. Make Yahoo your 
homepage.http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs


-Inline Attachment Follows-

___
mapguide-users mailing list
mapguide-users@lists.osgeo.orgmailto:mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it 
now.http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1

2008-02-12 Thread Bruce Dechant
Jackie,

Can you provide additional information as the issue with ticket 429 was easy 
for me to reproduce and then fix?

What OS you are running? Apache or IIS web tier?
Did you update both server and web tier?

Does this same issue happen on a completely new server install with a fresh 
unused repository?
Perhaps it is related to the migration of your repository as I verified this 
defect with a brand new install of RC2.

Can you send me your feature source and layer definition XML files so that I 
can examine them?

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
Sent: Tuesday, February 12, 2008 11:56 PM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1


3rd time does not seem to be the charm :(

RC3 still fails to render my test joined layers correctly (re: ticket 429)
or at all :(

- Jackie


Bruce Dechant wrote:

 This issue was also in RC2.
 I have tracked down the issue and fixed it.
 See trac ticket http://trac.osgeo.org/mapguide/ticket/429

 Thanks,
 Bruce

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Dechant
 Sent: Monday, February 11, 2008 2:24 PM
 To: MapGuide Users Mail List
 Subject: RE: [mapguide-users] Feature Joins absolutely broken in MGOS
 2.0.0 RC1

 There is a known issue with feature joins in RC1.
 It is being looked at.

 Thanks,
 Bruce

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jon Rizzo
 Sent: Monday, February 11, 2008 9:58 AM
 To: mapguide-users@lists.osgeo.org
 Subject: Re: [mapguide-users] Feature Joins absolutely broken in MGOS
 2.0.0 RC1


 Restarting the server doesn't seem to help for me.  I agree w/you: I hope
 this is resolved in the final version - joins are critical to my sites and
 I
 can't upgrade if it breaks my existing sites.
 --
 View this message in context:
 http://www.nabble.com/Feature-Joins-absolutely-broken-in-MGOS-2.0.0-RC1-tp15152062s16610p15414807.html
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
View this message in context: 
http://www.nabble.com/Feature-Joins-absolutely-broken-in-MGOS-2.0.0-RC1-tp15152062s16610p15450571.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1

2008-02-11 Thread Bruce Dechant
There is a known issue with feature joins in RC1.
It is being looked at.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Rizzo
Sent: Monday, February 11, 2008 9:58 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1


Restarting the server doesn't seem to help for me.  I agree w/you: I hope
this is resolved in the final version - joins are critical to my sites and I
can't upgrade if it breaks my existing sites.
--
View this message in context: 
http://www.nabble.com/Feature-Joins-absolutely-broken-in-MGOS-2.0.0-RC1-tp15152062s16610p15414807.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1

2008-02-11 Thread Bruce Dechant
This issue was also in RC2.
I have tracked down the issue and fixed it.
See trac ticket http://trac.osgeo.org/mapguide/ticket/429

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Dechant
Sent: Monday, February 11, 2008 2:24 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1

There is a known issue with feature joins in RC1.
It is being looked at.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Rizzo
Sent: Monday, February 11, 2008 9:58 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1


Restarting the server doesn't seem to help for me.  I agree w/you: I hope
this is resolved in the final version - joins are critical to my sites and I
can't upgrade if it breaks my existing sites.
--
View this message in context: 
http://www.nabble.com/Feature-Joins-absolutely-broken-in-MGOS-2.0.0-RC1-tp15152062s16610p15414807.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Initial Map-Load Time

2008-01-29 Thread Bruce Dechant
The initial map loading delay is because none of the data needed  by the server 
is cached, ie: FDO connection, schema, class, spatial context information, 
etc...
Once the map has been loaded this information is cached by the server and makes 
returning it very quick for subsequent users.

The server eventually clears this cache after the information has not been used 
for a set period of time (default is about 10 minutes). You can adjust the 
amount of time before the server clears this information by changing the 
following parameters in the serverconfig.ini.

The following will set the FDO connection timeout to 1 day instead of the 
default of 10 minutes.
DataConnectionTimeout = 86400

Thanks,
Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Denis Lalonde
Sent: Tuesday, January 29, 2008 8:20 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Initial Map-Load Time


The first user of the day to hit my MG site (MGE 2008) always has to wait 
about 20 seconds for the initial map to load. Once the map is loaded, 
subsequent map actions take a very acceptable 2 seconds or even less. Also, 
other users who log onto the site at about the same time as user1 do not see 
this initial delay. If however, there is extended period of server inactivity, 
this initial map delay returns. (I assume once all session have expired)

Is there a way to avoid this initial map loading delay?


Never miss a thing. Make Yahoo your 
homepage.http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Oracle Max 10 Connections

2008-01-29 Thread Bruce Dechant
The connection limit for specific providers is specified in the 
serverconfig.ini file.
Please check this setting:

DataConnectionPoolSizeCustom

Example of the above:
DataConnectionPoolSizeCustom = Autodesk.Oracle:10

If the above setting is not limiting the # of Oracle connections then the 
connection limit is controlled at the Oracle DB side.

Note: Changing the setting in the serverconfig.ini file DOES NOT override what 
was set by the Oracle DBA. The setting in Oracle itself is what ultimately 
limits the # of concurrent connections.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Coulon
Sent: Tuesday, January 29, 2008 1:01 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Oracle Max 10 Connections


Hi There,

We have a system based on MapGuide Enterprise, the Autodesk.Oracle provider
and an Oracle 10G R2. I have built a load test using Visual Studio 2008.
Every 5 seconds 60 new simultaneous users request a map.

I noticed that whatever the number of users, I still have a maximum of 10
active connections to the Oracle Instance. I believe that MapGuide must have
a pool of connections to Oracle; which are recycled regularly. The issue is
that if the number of users increases dramatically, the all system will be
badly slow. Can somebody advise on the maximum numbers of connection we can
hope with the Autodesk.Oracle provider. Can somebody also advise on a
possible tuning?

Any help would be appreciated.

regards,

Pascal
--
View this message in context: 
http://www.nabble.com/Oracle-Max-10-Connections-tp15169231s16610p15169231.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1

2008-01-28 Thread Bruce Dechant
This is a known issue I will be looking at next week.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng
Sent: Monday, January 28, 2008 8:25 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1


Hi List,

Has anyone been able to get feature joins to work at all in MGOS 2.0.0 RC1?

None of the datasets I have migrated across have working feature joins,
where previously they worked in 1.2.0

- Jackie
--
View this message in context: 
http://www.nabble.com/Feature-Joins-absolutely-broken-in-MGOS-2.0.0-RC1-tp15152062s16610p15152062.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Vista IIS7

2007-12-20 Thread Bruce Dechant
MapGuide Enterprise is not officially supported on Vista. I know that the 
installer does not support Vista's IIS and so the install will fail.
Did you try installing on Vista as Apache as that should have worked?
For MapGuide Open Source Beta 2 I installed it manually for Apache as I was 
already building the source on my machine.

Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Milicevic
Sent: Thursday, December 20, 2007 6:53 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Vista IIS7

I was trying to setup MG on vista but... The whole operation failed.

I Autodesk, they told me that MG is not supported in Vista. I gave up, 
installed virtual pc and config xp on it.


From: [EMAIL PROTECTED] on behalf of Scott Hameister
Sent: čet 20.12.2007 4:16
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Vista IIS7

The old vista involveds some tweeks but worked don't know about beta...let me 
know...I'm outta town can help if needed for anyone else.se

-Original Message-
From: Bruce Dechant [EMAIL PROTECTED]
To: MapGuide Users Mail List mapguide-users@lists.osgeo.org
Sent: 12/19/07 3:53 PM
Subject: RE: [mapguide-users] Vista IIS7

I have been using the upcoming 2.0 beta on Vista without any issues using 
Apache. I have not tried IIS yet.

Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Wednesday, December 19, 2007 2:41 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Vista IIS7

Is mapguide compatible with vista / IIS7.

Keep getting errors when trying to view the login.php page...

Wondering if this is a known issue before I start investigating the
errors.

Thanks,

Brian  Berdel
McMahon Associates, Inc.
p: 215.283.9444
www.mcmtrans.com


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Vista IIS7

2007-12-19 Thread Bruce Dechant
I have been using the upcoming 2.0 beta on Vista without any issues using 
Apache. I have not tried IIS yet.

Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Wednesday, December 19, 2007 2:41 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Vista IIS7

Is mapguide compatible with vista / IIS7.

Keep getting errors when trying to view the login.php page...

Wondering if this is a known issue before I start investigating the
errors.

Thanks,

Brian  Berdel
McMahon Associates, Inc.
p: 215.283.9444
www.mcmtrans.com


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS

2007-12-14 Thread Bruce Dechant
Once Mentor is open sourced you will be able to use the MapGuide API directly 
to add/modify/delete coordinate system definitions.
The API is already in open source 2.0 right now it is just not hooked up to 
PROJ4.

Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Morsell
Sent: Friday, December 14, 2007 9:52 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS

If anyone has  any insight into how this might be done using MGOS with the
PROJ4 libraries, I would be interested in any details.  I had a recent
inquiry from someone needing to build a coordinate system definition on the
fly and then use that as the basis for a coordinate transformation.  This
would be a regular operation in their application.

And, once the Mentor libraries are officially open source as Autodesk has
announced they will be and slated for inclusion in MGOS 2.1, how will new
definitions be added?  Obviously the constraint of  having to use Autodesk
Map and the old update procedure is not going to be viable.  Perhaps we will
need RFC's for API methods for adding, changing and deleting coordinate
system definitions.

Thanks.


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic
Sent: Friday, December 14, 2007 1:24 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS


Hi Bruce,

I was hoping that MG had some mistery :-) mechanism of adding new CRSs to
it's common definitions. So, I guess the only procedure to add new CRS to MG
goes like:

1) On a client machine, run Map 3D and add new CRS (Map - Tools - Define
Global Coordinate System...)
2) Open folder ...\Program Files\Common Files\Autodesk Shared\GIS\CoordSys
to see definition files
3) On MG server machine, open folder ...\Program
Files\Autodesk\MapGuideEnterprise2008\Server
4) Run csupdate.exe
5) Source folder = the one described in step 2)
6) Destination folder = ...\Program Files\Common Files\Autodesk
Shared\GIS\CoordSys on MG server

I just need to check out if MG Studio shares common CRS definitions with Map
(I guess it does), and if it sees a newly added one when creating a new
MapDefinition. That's how it should work for the MGE. I don't know if Mentor
and Proj4 share common CRS/Datum/etc. definition files (for this to work on
MGOS).

BTW, I have no idea why Map and some other GIS applications use obscure
formats for persisting coordinate system related data. Isn't XML on OGC
standards enough? Is there something to hide? :-) I guess not (
http://www.epsg.org/CurrentDB.html EPSG Geodetic Parameter Dataset ).

Regards,
Maksim Sestic



Bruce Dechant wrote:

 MGE keeps the coordinate system definitions inside the installed
 Mentor dictionary files which is not stored as OGC WKT.
 Map is typically the tool used to add new coordinate systems to Mentor
 dictionary files.

 MGOS uses PROJ4 and I'm not familiar with adding new coordinate
 systems to it. However, it is open source so you have full access to
 it for modifying.

 MapGuide Studio cannot add new coordinate systems to either MGOS or MGE.

 Bruce

--
View this message in context:
http://www.nabble.com/Adding-a-Coordinate-System-to-MGE-MGOS-tp14316325s1661
0p14332372.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Adding a Coordinate System to MGE/MGOS

2007-12-13 Thread Bruce Dechant
MGE keeps the coordinate system definitions inside the installed Mentor 
dictionary files which is not stored as OGC WKT.
Map is typically the tool used to add new coordinate systems to Mentor 
dictionary files.

MGOS uses PROJ4 and I'm not familiar with adding new coordinate systems to it. 
However, it is open source so you have full access to it for modifying.

MapGuide Studio cannot add new coordinate systems to either MGOS or MGE.

Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maksim Sestic
Sent: Thursday, December 13, 2007 6:47 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Adding a Coordinate System to MGE/MGOS


Hi all,

Does anybody know where MGE/MGOS keeps CRS definitions and is it possible to
add a new one (as WKT, for example)? If it's possible to add it, what about
MapGuide Studio 2008 then, does it recognize a newly added CRS by default?

Regards,
Maksim Sestic
--
View this message in context: 
http://www.nabble.com/Adding-a-Coordinate-System-to-MGE-MGOS-tp14316325s16610p14316325.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] FeatureReader

2007-12-11 Thread Bruce Dechant
There is no limit. Is an exception being thrown? If so that would give you a 
clue as to why it is not working as expected.

Thanks,
Bruce


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ary sucaya
Sent: Monday, December 10, 2007 9:20 AM
To: Mapguide User
Subject: [mapguide-users] FeatureReader

Hii group,

I have a problem with feature reader. I have a sdf layer joined with external 
table and i can't make a looping for all of this records. It's always jump out 
the loop after 100 records. I tried the same code with different sdf layer 
without join to external layer, it's work well.
Is there any limitation of joined layer in MapGuide 1.2?  Anyone can help me?


regards,

Ary Sucaya


Looking for last minute shopping deals? Find them fast with Yahoo! 
Search.http://us.rd.yahoo.com/evt=51734/*http:/tools.search.yahoo.com/newsearch/category.php?category=shopping
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] ArcSDE 9.2 and MapGuide 1.2

2007-11-30 Thread Bruce Dechant
Hi,

The following steps should help:


1)  Stop the MGE2008 server service by opening the Services applet from 
the Administration tools and stopping the service named MapGuide Enterprise 
2008 Server

2)  Make a backup copy of the C:\Program 
Files\Autodesk\MapGuideEnterprise2008\Server\Bin\Fdo directory in case you need 
to revert the FDO update.

3)  Install the updated FDO 3.2.3 in the C:\Program 
Files\Autodesk\MapGuideEnterprise2008\Server\Bin\Fdo directory

4)  Restart the service named MapGuide Enterprise 2008 Server from the 
same Services applet mentioned above.

5)  The MapGuide server will now be using the updated FDO.

Thanks,
Bruce

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Remigijus Brazys
Sent: Friday, November 30, 2007 5:18 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] ArcSDE 9.2 and MapGuide 1.2

Hi all,

I have a user who uses ArcSDE 9.2 server to store his data, and also he has 
AutoCAD Map 2008 and Autodesk MapGuide Studio 2008 with our solution based on 
MapGuide 1.2. When I'm trying to connect to there's data store with Autodesk 
MapGuideStudio 2008 i'v got en error 
I see that new opensource FDO (http://fdo.osgeo.org/downloads.html)3.2.3 
version can support ArcSDE 9.2, I dawnloded it but how to use it with Autodesk 
MapGuide Studio 2008  ? Or maybe you can point me how to connect to9.2 
ArcSDE database

Thanks.

Best regards,
Remigijus Brazys
GIS analyst, InfoEra
__

Phone.: +370 5 2788456
Fax.: +370 5 2784723
Mobile.: +370 656 10089
S.Zukausko str. 17
LT-08234, Vilnius, Lithuania
E-mail: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
www.infoera.lthttp://www.infoera.lt/; www.gps.lthttp://www.gps.lt/

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Mapguide 2.0 Beta1 vs 1.2 performance

2007-11-21 Thread Bruce Dechant
The performance difference can be attributed to the fact that this is a Beta 
version being compared to a Release version.

Some things to consider:
- 1.2 used the GD renderer, whereas, 2.0 is using the new AGG renderer (looks 
much better)
- there are several places in the code that have not been optimized yet 
(algorithms, memory usage, thread usage, etc...)
- Fusion is a brand new feature of the 2.0 release and has not been optimized 
either
- this is a Beta and doesn't necessarily reflect the final release code. :)

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer
Sent: November 21, 2007 10:04 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Mapguide 2.0 Beta1 vs 1.2 performance

It uses the mapdefinition that is set in the application definition,
if its a tiled map then it should be tiled in the client, otherwise it
should be a regular old map draw.

Has anyone else got feedback on this?  I saw fusion running on a
laptop yesterday, not tiled, full screen, and it was milliseconds
(500ms) to pan/zoom (didn't look at select).

Paul

On 21-Nov-07, at 3:22 AM, Zac Spitzer wrote:

 sounds like fusion ain't hitting the tile cache???

 On Nov 21, 2007 6:44 PM, Bruno Scott [EMAIL PROTECTED] wrote:

 I have 2 identical vm-ware with windows 2003 running on the same
 machine
 I start one of the vm-ware, I do the testing, I stop it and then
 start the
 other to do the other bench Bench is done on the sheboygan sample
 at 1:5000
 scale

MG 2.0 with fusion  Mg 2.0 without
 fusion   Mg 1.2

 pan 29 sec  12 sec  2 sec

 select  28 sec  12 sec  2 sec


 I know it's only a beta but why is that slow?

 Bruno Scott

 --
 View this message in context: 
 http://www.nabble.com/Mapguide-2.0-Beta1-vs-1.2-performance-tf4848550s16610.html#a13872479
 Sent from the MapGuide Users mailing list archive at Nabble.com.

 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users




 --
 Zac Spitzer
 http://zacster.blogspot.com/
 +61 405 847 168 (aussie moible)
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Error.log of MapGuide Enterprise

2007-11-06 Thread Bruce Dechant
MGE 2008 installer should have installed the FDO providers.xml file.

Did you try reinstalling the MGE 2008 server?

Here is a copy of what the providers.xml file should look like.

?xml version=1.0 encoding=UTF-8 standalone=no ?
FeatureProviderRegistry

  FeatureProvider
NameOSGeo.ArcSDE.3.2/Name
DisplayNameOSGeo FDO Provider for ArcSDE/DisplayName
DescriptionRead/write access to an ESRI ArcSDE-based data store, using 
Oracle and SQL Server./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libArcSDEProvider.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameOSGeo.MySQL.3.2/Name
DisplayNameOSGeo FDO Provider for MySQL/DisplayName
DescriptionRead/write access to MySQL-based data store. Supports spatial 
data types and spatial query operations./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libFdoMySQL.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameOSGeo.ODBC.3.2/Name
DisplayNameOSGeo FDO Provider for ODBC/DisplayName
DescriptionRead/write access to ODBC-based data store. Supports XYZ point 
features./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libFdoODBC.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameAutodesk.Oracle.3.2/Name
DisplayNameAutodesk FDO Provider for Oracle/DisplayName
DescriptionRead/write access to feature data in an Oracle-based data 
store. Supports spatial indexing, long transactions, and persistent 
locking./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libFdoRdbms.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameAutodesk.Raster.3.2/Name
DisplayNameAutodesk FDO Provider for Raster/DisplayName
DescriptionRead access to various raster-based file formats. Supports 
georeferenced file-based raster images, DEM files and 3D grid 
surfaces./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libRFPProvider.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameOSGeo.SHP.3.2/Name
DisplayNameOSGeo FDO Provider for SHP/DisplayName
DescriptionRead/write access to spatial and attribute data in an ESRI SHP 
file./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libSHPProvider.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameOSGeo.SDF.3.2/Name
DisplayNameOSGeo FDO Provider for SDF/DisplayName
DescriptionRead/write access to Autodesk's spatial database format, a 
file-based personal geodatabase that supports multiple features/attributes, 
spatial indexing, and file-locking./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libSDFProvider.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameOSGeo.WFS.3.2/Name
DisplayNameOSGeo FDO Provider for WFS/DisplayName
DescriptionRead access to OGC WFS-based data store./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libWFSProvider.so/LibraryPath
  /FeatureProvider

  FeatureProvider
NameOSGeo.WMS.3.2/Name
DisplayNameOSGeo FDO Provider for WMS/DisplayName
DescriptionRead access to OGC WMS-based data store./Description
IsManagedFalse/IsManaged
Version3.2.2.0/Version
FeatureDataObjectsVersion3.2.2.0/FeatureDataObjectsVersion
LibraryPath/usr/local/fdo-3.2.2/lib/libWMSProvider.so/LibraryPath
  /FeatureProvider

/FeatureProviderRegistry


Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric123
Sent: November 4, 2007 8:47 AM
To: mapguide-users@lists.osgeo.org
Subject: RE: [mapguide-users] Error.log of MapGuide Enterprise


The MGE 2008 will also be installed the FDO 3.2.2 when to install the
MapGuide server.



Jack Lee-3 wrote:

 Hi,

 I am not familiar with the MGE2008 install. Does it come with a separate
 FDO install?


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Eric123
 Sent: Saturday, November 03, 2007 9:40 PM
 To: mapguide-users@lists.osgeo.org
 Subject: RE: [mapguide-users] Error.log of MapGuide Enterprise


 Hi Jack,

 Thanks.
 But under the fdo-3.2.2 directory, I cannot find the providers.xml file!

 [EMAIL PROTECTED] lib]# 

RE: [mapguide-users] EXTERNAL_API not documented in doxygen

2007-11-01 Thread Bruce Dechant
There are 3 defines that control what ends up in the API and what is documented.

1) PUBLISHED_API
   - These APIs are documented and officially supported.
2) EXTERNAL_API
   - These APIs are NOT documented because they are NOT officially supported 
and may be removed in a future release without warning.
   - Some of these APIs may end up as PUBLISHED_API and officially supported 
in a future release.
3) INTERNAL_API
   - These APIs are not exposed in the web tier.

Thanks,
Bruce

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim O'Leary
Sent: October 27, 2007 3:10 PM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] EXTERNAL_API not documented in doxygen


Is there a good reason why some public methods are not documented in the
doxygen output for MGOS? For example, in a typical code sample I see:

$site = new MgSite();
$site-Open($userInfo);

These methods are not documented in the doxygen output, which could be
confusing if you are trying to understand the code. However, in the source
code at:

Common\MapGuideCommon\Services.Site.h

I see:

EXTERNAL_API:


///
/// \brief
/// Construct an MgSite object and open a connection to the Site Server.
///
/// \return
/// Nothing
///
MgSite();


///
/// \brief
/// Opens a connection to the Site Server.
///
/// \param userInformation
/// User information to authenticate against
///
/// \return
/// Nothing
///
/// \exception MgNullArgumentException
/// \exception MgAuthenticationFailedException
/// \exception MgConnectionFailedException
///
void Open(MgUserInformation* userInformation);

...and other methods. So it appears that code that is under EXTERNAL_API
does not make it into doxygen.

Thanks.
--
View this message in context: 
http://www.nabble.com/EXTERNAL_API-not-documented-in-doxygen-tf4704536s16610.html#a13447448
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users