[mapguide-users] Re: Maestro users on Linux/Mac via Mono

2010-06-18 Thread Jackie Ng

Don't have a mac so I can't verify. 

What I will say however is that browser previews are just simply passing
preview URLs to System.Diagnostics.Process.Start(), letting the underlying
OS determine how to handle this URL (which is normally to open it in the
default web browser)

Perhaps this method's implementation on Mac Mono is a bit buggy?

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-users-on-Linux-Mac-via-Mono-tp5063288p5194531.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] Problems/Questions with the ArcSDE 3.5 Provider

2010-06-18 Thread BTenBroeck

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] RE: re: flexible web layouts

2010-06-18 Thread belleP


Hi Gordon,

Thanks. I got it working.



-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/re-flexible-web-layouts-tp2660073p5194670.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] Switching between google layers in fusion

2010-06-18 Thread belleP

Hello guys,

Im trying to switch from four different mapgroups with the parameter theme.
The theme works in the default mapgroup but when i try to select the other
groups, it loads the original resource id i specified.

Any idea would be appreciated. Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Switching-between-google-layers-in-fusion-tp5194703p5194703.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] Re: Maestro users on Linux/Mac via Mono

2010-06-18 Thread GordonL

Yes, this fella seems to have a similar problem with MONO on the Mac:
http://www.theautomatedtester.co.uk/blog/2010/mono-mac-process-start-issues.html

Perhaps a tweak to Maestro is in order?  I don't know if anyone else is
using Maestro on the mac...it is handy to not open VMWARE FUSION each time I
want to run Maestro (or Studio for that matter).


-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-users-on-Linux-Mac-via-Mono-tp5063288p5195299.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] Base Layer in Maestro

2010-06-18 Thread Helcio M De Russi - Terrasatii

Hello,
I created a baselayer with a raster daa, but when viewing the page, the 
image appears only in the overview and not on the map, I'm using 
flexible layout.


Helcio


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


[mapguide-users] Fusion, Localize and Explorer

2010-06-18 Thread Martin Fafard

Hi

I have the following message with Explorer (Fusion Layout, Localized in 
french):


Could not find Fusion instance.

The error seem to be in index.html (in the Fusion template) line 48:

Fusion.initializeLocale(); //need to call this first if 
String.Translate is to be used in the onload



Any idea?

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


RE: [mapguide-users] RE: Highlighting selected features

2010-06-18 Thread Dave Wilson
I'm not doing much programming these days so I can't specifically answer your 
question, but I'm not sure I understand why you need to re-project the layer?

MapGuide will transform the data in Coordinate System A in your layer to 
Coordinate System B assigned to the map by default. What is the case where you 
need to re-project this?

Dave

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of navya024
Sent: Monday, June 14, 2010 12:52 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: Highlighting selected features


Hi,
i want to do layer reprojection on the fly.
i have written the code based on the sample code provided by you.

 MgInitializeWebTier($webconfigFilePath);
$args = ($_SERVER['REQUEST_METHOD'] == POST) ? $_POST : $_GET;
$sessionId = $args['SESSION'];

$mapName = $args['MAPNAME'];
$userInfo = new MgUserInformation($sessionId);
$siteConnection = new MgSiteConnection();
$siteConnection-Open($userInfo);
$resourceService =
$siteConnection-CreateService(MgServiceType::ResourceService);
$featureService =
$siteConnection-CreateService(MgServiceType::FeatureService);

$map = new MgMap();
$map-Open($resourceService, 'map');
 $mapWktSrs = $map-GetMapSRS();

 $resourceID = new MgResourceIdentifier('Library://new/dat.FeatureSource');

 $byteSource = new MgByteSource('C:/GFProp_Req.sdf');
 $data = $byteSource-GetReader();
 $resourceService-SetResourceData($resourceID, 'GFProp_Req', 'File',
$data);
  $newLayer=CreatLayer($resourceService,$resourceID,$sessionId);

$newLayer-SetVisible(true);
   $newLayer-ForceRefresh();
 $newLayer-SetDisplayInLegend(true);

$map-GetLayers()-Insert(0, $newLayer);
$map-Save($resourceService);

$layer=$map-GetLayers()-GetItem(1);
$featureSource = new MgResourceIdentifier($layer-GetFeatureSourceId()); 
$featureSC = $featureService-GetSpatialContexts($featureSource, true); 
$featureSC-ReadNext(); 
$featureSRS = $featureSC-GetCoordinateSystemWkt(); 
$coordSysFactory = new MgCoordinateSystemFactory(); 
$sourceSRS = $coordSysFactory-Create($featureSRS); 
$targetSRS = $coordSysFactory-Create($mapWktSrs); 
$LL2LamCC = $coordSysFactory-GetTransform($sourceSRS, $targetSRS); 
 $layerClassName = $layer-GetFeatureClassName();
 $queryOptions = new MgFeatureQueryOptions();
  $featureReader = $featureService-SelectFeatures($featureSource,
$layerClassName, $queryOptions);
$agfObj = $featureReader-GetGeometry(Geometry); 
$agfRW  = new MgAgfReaderWriter(); 
$geoObj = $agfRW-Read($agfObj); 
$wktRW  = new MgWktReaderWriter(); 
$wktObj = $wktRW-Write($geoObj);

i have transformed the featuresource srs to mapsrs but how to add it to
reproject the layer??can you please guide me.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Highlighting-selected-features-tp3901646p5176359.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] Tool

2010-06-18 Thread Helcio M De Russi - Terrasatii




Does
anyone know how do I get the tool to measure area in mapguide.

Helcio
-- 



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


Re: [mapguide-users] Fusion, Localize and Explorer

2010-06-18 Thread Mike Adair
Just a guess because you haven't provided much information, but the 
Fusion object will only be defined after all the script tags are 
loaded.  i.e. you need to call that method from a window.onload callback.


Mike

Martin Fafard wrote:

Hi

I have the following message with Explorer (Fusion Layout, Localized 
in french):


Could not find Fusion instance.

The error seem to be in index.html (in the Fusion template) line 48:

Fusion.initializeLocale(); //need to call this first if 
String.Translate is to be used in the onload



Any idea?

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



--
  Michael Adair
  Senior Software Architect
  DM Solutions Group Inc.

  Office: (613) 565-5056 x26
  mad...@dmsolutions.ca
  http://www.dmsolutions.ca
  http://research.dmsolutions.ca


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


[mapguide-users] 2.1 Image Format Quality Question

2010-06-18 Thread gom

I have tried PNG8 and JPG as possible substitutes for the default PNG.  In
each case it renders the images unacceptably.  Most notably smaller test
labels become unreadable and general linework resolution is not great.

Can I set the level of JPG compression to get a compromise between PNG24 and
JPG default quality.  I can't seem to find the setting for this?  I remember
reading before that this was set to 75 by default.  Is it adjustable?

I am using the AGG renderer and wonder if there are any other suggestions to
reduce image size and maintain better quality?

Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/2-1-Image-Format-Quality-Question-tp5196687p5196687.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


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


[mapguide-users] King.KML for FDO 3.4 and 3.5

2010-06-18 Thread Haris Kurtagic
Hi,

I have updated King.KML provider.
Added delete command and improvements for insert and update commands.

You can get binaries from: http://www.sl-king.com/FdoKML/FdoKML.html

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


[mapguide-users] MGOS v2.2 Beta ! and SQL 2008. Again...

2010-06-18 Thread miansi

Hello All,

Trying to use MGOS to pull data from SQL Server 2008. Using MS SQL Server
Spatial Provider.

Able to create Dataconnection, BUT:

1. On Local Preview tab in Maestro - attempt to run query results in error:

http://osgeo-org.1803224.n2.nabble.com/file/n5197257/2.png 

2. While saving this dataconnection (which took like 5 minutes to do) -
getting following error:

http://osgeo-org.1803224.n2.nabble.com/file/n5197257/1.png 

Erorr log has following records:
2010-06-18T16:35:29   2144
 Success: Server started.   
2010-06-18T16:38:10   932 Fusion Viewer   ::1 
 Error: Session has expired or is invalid. Please log in again.
 StackTrace:
  - MgSiteServiceHandler.ProcessOperation() line 83 file
c:\builds\mg22win32\mgdev\server\src\services\site\SiteServiceHandler.cpp
  - MgOpAuthenticate.Execute() line 107 file
c:\builds\mg22win32\mgdev\server\src\services\site\OpAuthenticate.cpp
  - MgServerSiteService.Authenticate() line 709 file
c:\builds\mg22win32\mgdev\server\src\services\site\ServerSiteService.cpp
  - MgSecurityManager.Authenticate() line 224 file
c:\builds\mg22win32\mgdev\server\src\common\manager\SecurityManager.cpp
  - MgSessionCache.GetSessionInfo() line 175 file
c:\builds\mg22win32\mgdev\server\src\common\manager\SessionCache.cpp

I am able to create layer against dataconnection I just saved, but preview
shows no data at all.


Any ideas? Any alpha SQL FDO 3.5.x available for test?


Thank you,

Andrei
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MGOS-v2-2-Beta-and-SQL-2008-Again-tp5197257p5197257.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] Re: Tool

2010-06-18 Thread GordonL

Would it work to create a Calculated Field (Area) and then view it in
Properties?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Tool-tp5196407p5197490.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