[mapguide-users] RE: MGOS 2.1 crashes with MrSID plugin on Windows 2008

2010-07-13 Thread isca

Thomas,

thanks for the hint, but as I am using MGOS 2.1 (which maps more or less to
MGE 2010) and it is working fine on a Windows 2003 server it should be
something different. 
Most annoying is the fact there is no error message indicating in what
direction I have to search (is it a problem with the dlls on Windows 2008,
permissions , something else ...).

Hopefully there are some other ideas which could help me to locate the cause
for the problem.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/MGOS-2-1-crashes-with-MrSID-plugin-on-Windows-2008-tp5282797p5286132.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: Help with sample application setup

2010-07-13 Thread Jackie Ng

It appears that stack trace comes from 2.0 web extension dlls. You should be
using dlls from your 2.1 installation. Or is this not the case?

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Help-with-sample-application-setup-tp5286721p5286970.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] MgFeatureReader.Close() doesnt close postgis connections

2010-07-13 Thread doggybs

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


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


[mapguide-users] RE: OnMouseWheel Zoom in and Zoom out

2010-07-13 Thread kmtnck

hi at all!

I read this thread and I'm very pleasure! 

I understand a problem about zoom wheel on firefox 3.6 and chrome 5.0

If I use zoom wheel on firefox or chrome my map on ajax viewer zoom it
wrong. I want zoom in a particular feature, but the result is a overflow
zoom in a another place of map and this is very fail :(

instead of I'm use IE8 this zoom wheel work fine and perfectly I can zoom it
in a particular feature that I target it with pointer mouse.

I realize that in HandleMouseWheelEvent there is a bool msie that change
input of constructor Point to calculate the pointer mouse coordinates.
Well.. if a disable this switch and I force the use of clientX clientY also
msie is set on true Firefox and Chrome zoom wheel is work fine!!

it's normal this? Maybe is good idea open a ticket and sign this as a bug?

if this is a bug, another bool swith msie style is wrong or not very well
right?

this anomaly is a knowledge during envelope of mapguide 2.1 and 2.2 beta?

My workaround will be and event mouse wheel with a completly custom function
located in another .js


thank in advance for your response

see U 

am
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/OnMouseWheel-Zoom-in-and-Zoom-out-tp4889474p5289985.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] Query mapagent.fcgi through HTTP

2010-07-13 Thread Jim O'Leary

I would like to query the mapagent.fcgi directly, that is through a GET query
string like this:

/mapguide/mapagent/mapagent.fcgi?OPERATION=QUERYMAPFEATURESVERSION=1.0.0.

I have been able to do this, but note that when multiple features are
selected on the map, the response XML shows the IDs of all the selected
features, but  only shows the properties of one feature, like this:

FeatureInformation
FeatureSet xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=FeatureSet-1.0.0.xsd Layer
id=f0063a46-70f4-102d-8008-001e3748f600  Class id=SHP_Schema:Parcels   
IDxRsAAA==/ID   
IDxhsAAA==/ID   
IDxxsAAA==/ID   
IDyBsAAA==/ID  
/Class /Layer/FeatureSetTooltipParcel\nName: RADTKE, MARK
R\nAddress: 1633 HURON AVE/Tooltip
Hyperlink /
Property name=Description1 value=ORIGINAL PLAT /
Property name=Zone value=RES /
Property name=Acreage value=0.09 /
Property name=Lot Dimensions value=50X77 /
Property name=Owner value=RADTKE, MARK R /
Property name=Description2 value=W 17apos; OF N 50apos; OF LOT 5 amp;
N /
Property name=Description3 value=50apos; OF LOT 6 BLK 52 /
Property name=Billing Address value=1633 HURON AVE /
Property name=Lot Size (SqFt) value=3850 /
Property name=Description4 value= /
/FeatureInformation

Is there a way to get QUERYMAPFEATURES to return the properties for ALL of
the selected features? I see that it is not documented in the Web API.

Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Query-mapagent-fcgi-through-HTTP-tp529p529.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] RE: OnMouseWheel Zoom in and Zoom out

2010-07-13 Thread Zac Spitzer
Good find!

both chrome 5 and firefox 3.6 where released during the period between
2.1 and 2.2

can you file a ticket and attach a patch?

http://trac.osgeo.org/mapguide/

Chrome has extremely high updates rates, circa 98% of users are on the latest,
firefox users do lag behind at times so we do need to test this against earlier
firefox versions. BTW Did you try Opera?

I just attached a patch for Opera support for a right clicking bug yesterday
http://trac.osgeo.org/mapguide/ticket/1274

z

On 14 July 2010 07:53, kmtnck alessandro.mod...@gmail.com wrote:

 hi at all!

 I read this thread and I'm very pleasure!

 I understand a problem about zoom wheel on firefox 3.6 and chrome 5.0

 If I use zoom wheel on firefox or chrome my map on ajax viewer zoom it
 wrong. I want zoom in a particular feature, but the result is a overflow
 zoom in a another place of map and this is very fail :(

 instead of I'm use IE8 this zoom wheel work fine and perfectly I can zoom it
 in a particular feature that I target it with pointer mouse.

 I realize that in HandleMouseWheelEvent there is a bool msie that change
 input of constructor Point to calculate the pointer mouse coordinates.
 Well.. if a disable this switch and I force the use of clientX clientY also
 msie is set on true Firefox and Chrome zoom wheel is work fine!!

 it's normal this? Maybe is good idea open a ticket and sign this as a bug?

 if this is a bug, another bool swith msie style is wrong or not very well
 right?

 this anomaly is a knowledge during envelope of mapguide 2.1 and 2.2 beta?

 My workaround will be and event mouse wheel with a completly custom function
 located in another .js


 thank in advance for your response

 see U

 am
 --
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/OnMouseWheel-Zoom-in-and-Zoom-out-tp4889474p5289985.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




-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: SQL Database Connect and Join

2010-07-13 Thread RDBauer

Update...

I have finally had time to get back on this issue. After much playing
around, I have found that the problem is not where I thought it was. By
using the separate fields and a double property join, I have found that by
previewing the joined data in Maestro that the columns from the DB appear
as they should (image 1). However, when I preview the layer that is created
with this data source, the data is no longer there, but the field is (image
2). I changed the viewer from Fusion to the regular viewer and was able to
see this.

Does anyone have any ideas where the disconnect might be or at least some
idea of where to look next?

Rich

Image 1:
http://osgeo-org.1803224.n2.nabble.com/file/n5290856/Data_Preview.jpg 

Image 2:
http://osgeo-org.1803224.n2.nabble.com/file/n5290856/Layer_Preview.jpg 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/SQL-Database-Connect-and-Join-tp5207107p5290856.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: SQL Database Connect and Join

2010-07-13 Thread Jackie Ng

Have you tried the 2.2 beta? I ask because the property pane has been
revamped to display properties of multiple selected features, and the
processing of selected features is done using standard MapGuide APIs.

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/SQL-Database-Connect-and-Join-tp5207107p5290959.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