Re: [mapguide-users] Bad Gateway

2009-07-02 Thread SandraH

Hallo,

I can't get the proxy server settings, because they are set in an electronic
data processing center. However, I have done another test and found out that
if I use the url with http instead of https the error does not occur. That
means that our SSL settings are incorrect, or that a setting on the proxy
prevents the page to load correct?

Thank you in advance,

Sandra

-- 
View this message in context: 
http://n2.nabble.com/Bad-Gateway-tp3017109p3193874.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] Select features on map load

2009-07-02 Thread sathishpsk9



Hi  Paulo Veríssimo

 Ya .you can do that in a button click ... Please check 'Adding an initial
layer ' sample code in mapguide site 
I suggest following step 
1.You should your url should be of type 

../mapviewernet/ajaxviewer.aspx?SESSION=%=Session(sid)%WEBLAYOUT=%=Session(layout)
where you can have following code in onload method of that page 

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Try
Dim sessionId, th, tempid As String
Dim realPath As String =
Request.ServerVariables(APPL_PHYSICAL_PATH)
Dim configPath As String = realPath + ..\\webconfig.ini
MapGuideApi.MgInitializeWebTier(configPath)
Dim userInfo As MgUserInformation = New
MgUserInformation(Administrator, admin)
Dim site As MgSite = New MgSite()
site.Open(userInfo)
sessionId = site.CreateSession()
Dim host As Uri = New
Uri(http://localhost/mapguide/mapagent/mapagent.fcgi;)
Dim conn As HttpServerConnection = New
HttpServerConnection(host, Administrator, admin, en, True)
Dim layout As WebLayout
layout =
conn.GetWebLayout(Library://somefolder/somelayout.WebLayout)
'layout.TaskPane.InitialTask = ../some.aspx
th = New ResourceIdentifier(gg, ResourceTypes.WebLayout,
sessionId)
conn.SaveResourceAs(layout, th)
tempid = th
HttpContext.Current.Session(sid) = sessionId
HttpContext.Current.Session(layout) = th

Catch ex As Exception

End Try
End Sub 

Thanks  Regards
Satish
-- 
View this message in context: 
http://n2.nabble.com/Select-features-on-map-load-tp3174763p3194223.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] Here's some stress testing on Mapguide

2009-07-02 Thread Bruno Scott

I'm gone a try a more realistic test

  1) Create a session 
  2) Load the viewer + Sleep 2 sec 
  3) Loop 20 times
Zoom + Sleep 2 sec 
Select one feature ( polygon based ) + Sleep 2 sec 
Clear selection + Sleep 2 sec 
Pan 3 times + Sleep 2 sec 
Zoom out

A complete run for a single user take about 10 minutes, it's closer to a
real usage.
So there will be significantly less session created.
I will publish the result later on.
My intuition tell me that the user sessions are not well released and to
much sessions make MG unstable.
I have also a MG 2.1 debug version already compiled, i will check if i see
something.

Bruno
-- 
View this message in context: 
http://n2.nabble.com/Here%27s-some-stress-testing-on-Mapguide-tp3182666p3194319.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] Here's some stress testing on Mapguide

2009-07-02 Thread Schäffer Balázs
Thanks Bruno for posting this all, we'have gone through it and the
conclusion is about the same (user sessions are not well released).
The big problems come when you use Oracle FDO provider. Fortunately,
with real usage, using SDFs the MGE is stable enough to live until the
night's restart :)

Balazs


-Original Message-
From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Bruno
Scott
Sent: Thursday, July 02, 2009 12:20 PM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Here's some stress testing on Mapguide


I'm gone a try a more realistic test

  1) Create a session 
  2) Load the viewer + Sleep 2 sec 
  3) Loop 20 times
Zoom + Sleep 2 sec 
Select one feature ( polygon based ) + Sleep 2 sec 
Clear selection + Sleep 2 sec 
Pan 3 times + Sleep 2 sec 
Zoom out

A complete run for a single user take about 10 minutes, it's closer to
a
real usage.
So there will be significantly less session created.
I will publish the result later on.
My intuition tell me that the user sessions are not well released and
to
much sessions make MG unstable.
I have also a MG 2.1 debug version already compiled, i will check if i
see
something.

Bruno
-- 
View this message in context:
http://n2.nabble.com/Here%27s-some-stress-testing-on-Mapguide-tp318266
6p3194319.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] MGENT 2010: Fusion and digitize error

2009-07-02 Thread Matteo

Hi,
  I try to develop an application with Fusion for draw some object. When I
call the digitize function of MapGuideViewerApi.js (ex DigitizePolygon) I
get an error on activateCanvas function at this line
var C=this.getMap()
Can you help me?
Regards Matteo
-- 
View this message in context: 
http://n2.nabble.com/MGENT-2010%3A-Fusion-and-digitize-error-tp3194763p3194763.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] WMS

2009-07-02 Thread sathishpsk9

Hi Chris ,
  Forgive me for the delay .
I need : Obtain a list of layers available via WMS
Render a map via WMS
   to accomplish these i need to provide a interface in web page 
   

Thanks and Regards,
Satish Kumar

Chris Claydon wrote:
 
 I would try: http://localhost/mapguide/mapagent/mapagent.fcgi
 
  
 
 A simple test to see if any layers are available would be to open the
 following in a web browser, and see if you get an XML capabilities
 document back. If it works, the XML document should contain entries for
 the available layers.
 
  
 
 http://localhost/mapguide/mapagent/mapagent.fcgi?REQUEST=GetCapabilities
 SERVICE=WMSFORMAT=text/xml 
 
  
 
 Chris.

-- 
View this message in context: http://n2.nabble.com/WMS-tp1803379p3195025.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] MapGuide (OpenSource/Enterprise) crashes when using Oracle provider (King.Oracle)

2009-07-02 Thread sathishpsk9



Hi elkinsalcedo
 I too same error log . have resolve it The problem is with mapguide
or with oracle ?
Thanks  Regards,
satish
-- 
View this message in context: 
http://n2.nabble.com/MapGuide-%28OpenSource-Enterprise%29-crashes-when-using-Oracle-provider-%28King.Oracle%29-tp1819405p3195074.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] Here's some stress testing on Mapguide

2009-07-02 Thread Bruno Scott

Another interesting test
20 concurent user runnning this over and over

http://goudurix/mapguide2010/mapagent/mapagent.fcgi?OPERATION=CREATESESSION...
http://goudurix/mapguide2010/mapviewernet/mapframe.aspx?MAPDEFINITION=Library://Samples...
I choose mapFrame because it forces MgMap to save itself to user session

http://n2.nabble.com/file/n3195936/Image1.gif 

We can see that memory grows very fast in the 4 first minutes and stabilize
a bit after.
But still it keeps leaking.
But what is more interesting this time it's the mgServer that really leaks
The IIS(w3w) service looses 5 meg in 20 Minutes
While MG almost 10.
-- 
View this message in context: 
http://n2.nabble.com/Here%27s-some-stress-testing-on-Mapguide-tp3182666p3195936.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] MapGuide (OpenSource/Enterprise) crashes when using Oracle provider (King.Oracle)

2009-07-02 Thread Joel Carranza

I have a similar problem. MapGuide crashes sporadically on an layer being
rendered by King.Oracle. I was unable to repeat the problem. That is - I
restarted mapguide, deleted the tile that failed to render, and made the
request a second time. It succeeded without a problem. Thus I can only
assume it is not a problem with the source geometry or layer config, but
some problem with concurrent map requests, as that is when it seems most of
my problems occur.

For example, I haven't have problems when I generate tiles via the MgCooker,
but only when I am lazily rendering tiles as I am randomly view a map. Does
MgCooker request tiles single-threadedly?

Joel Carranza
Gatekeeper Systems

2009-07-02T09:40:01   5616JV-1097,674,0   207.168.238.188
Administrator
 Error: Failed to stylize layer: TIGERStreetByType
An unclassified exception occurred.
 StackTrace:
  - MgMappingUtil.StylizeLayers() line 776 file
c:\osgeo\mapguide_21\mgdev\serve
r\src\services\mapping\MappingUtil.cpp



sathishpsk9 wrote:
 
 
 
 Hi elkinsalcedo
  I too same error log . have resolve it The problem is with
 mapguide or with oracle ?
 Thanks  Regards,
 satish
 

-- 
View this message in context: 
http://n2.nabble.com/MapGuide-%28OpenSource-Enterprise%29-crashes-when-using-Oracle-provider-%28King.Oracle%29-tp1819405p3196272.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] Transparent Rasters in Mapguide Enterprise 2010

2009-07-02 Thread Johann Nothbauer
Hi all!

I'm trying to set up a map that contains GeoTIFF Images. Those images are
the result of a re-projection from WGS84 to some projected system. That's
why they have some Nodata strips on the edges (color info is paletted).

Unfortunately MapGuide seems to ignore the NoData values, so there are
overlaps between the images.

Has anyone solved a similar problem?

Any help appreciated,

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


RE: [mapguide-users] Transparent Rasters in Mapguide Enterprise 2010

2009-07-02 Thread Andy Morsell
It seems that the GDAL provider deals with transparency differently for
different image formats.  Others have mentioned this on this board as well.
There was a post in the last week or so about this and they solved it by
converting their imagery to transparent PNG’s.  Search the group for
“transparency” or “transparent” and see what you come up with.

Andy Morsell, P.E.
Spatial Integrators, Inc.
47° 46' N 116° 49' W
www.SpatialGIS.com

From: mapguide-users-boun...@lists.osgeo.org
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Johann
Nothbauer
Sent: Thursday, July 02, 2009 10:31 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Transparent Rasters in Mapguide Enterprise 2010

Hi all!
I'm trying to set up a map that contains GeoTIFF Images. Those images are
the result of a re-projection from WGS84 to some projected system. That's
why they have some Nodata strips on the edges (color info is paletted).
Unfortunately MapGuide seems to ignore the NoData values, so there are
overlaps between the images.
Has anyone solved a similar problem?
Any help appreciated,
nothi
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Transparent Rasters in Mapguide Enterprise 2010

2009-07-02 Thread Mark Nichols
Yes, last week I had problems with bi-tonal TIFF¹s.  I had a reply from a
member of the list instructing me to use Irfanview and convert the TIFF¹s
the PNG¹s.  It took a little work but yes, it did work.  I do now have
transparent images in MapGuide.  There were a few steps in Irfanview that
I¹m not remembering.  If you have problems, repost and I¹ll try to step
through the process again.

Mark
ma...@spicergroup.com
 


On 7/2/09 1:51 PM, Andy Morsell amors...@spatialgis.com wrote:

 It seems that the GDAL provider deals with transparency differently for
 different image formats.  Others have mentioned this on this board as well. 
 There was a post in the last week or so about this and they solved it by
 converting their imagery to transparent PNG¹s.  Search the group for
 ³transparency² or ³transparent² and see what you come up with.
  
 Andy Morsell, P.E.
 Spatial Integrators, Inc.
 47° 46' N 116° 49' W
 www.SpatialGIS.com
  
 
 From: mapguide-users-boun...@lists.osgeo.org
 [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Johann Nothbauer
 Sent: Thursday, July 02, 2009 10:31 AM
 To: mapguide-users@lists.osgeo.org
 Subject: [mapguide-users] Transparent Rasters in Mapguide Enterprise 2010
  
 Hi all! 
 
 I'm trying to set up a map that contains GeoTIFF Images. Those images are the
 result of a re-projection from WGS84 to some projected system. That's why they
 have some Nodata strips on the edges (color info is paletted).
 
 Unfortunately MapGuide seems to ignore the NoData values, so there are
 overlaps between the images.
 
 Has anyone solved a similar problem?
 
 Any help appreciated,
 
 nothi 
 
 
 ___
 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] 2.1 Beta (Fusion) Problems

2009-07-02 Thread Paul Spencer
This is very valid.  We have not been able to put any time into Fusion  
in the past little while, Mike will be able to work on cutting a new  
release in the near future with an emphasis on getting known issues  
fixed especially when there are tickets and patches provided.


Paul

On 29-Jun-09, at 3:26 PM, Rock Beans wrote:


If MapGuide is released with yet another failed attempt at Fusion
layouts, I feel this would be the end of the road for normal everyday
users for a long time. I agree make sure the viewers that are
advertised as included are working before the release so everyone is
100% happy.

On Fri, Jun 26, 2009 at 12:55 PM, Andy  
Morsellamors...@spatialgis.com wrote:

Hi all,

I installed MGOS 2.1 Beta yesterday and here are several Fusion  
problems

that I’m seeing:



· Firefox is still prompting for user authentication even  
when
SESSION is passed as a URL parameter.  It works ok in IE.  This has  
been

mentioned in other threads here.

· The Secondary and Main toolbars do not appear in all  
MapGuide
templates.  It looks like they may be covered by other divs.  I see  
this in

both FF and IE.

· Tooltip hyperlinks do not appear as clickable hyperlinks  
anymore.

The text of the hyperlink appears though.  Both FF and IE.

· Several tooltip problems that I have logged in Trac have  
not been
fixed.  Some of these I even included the code fixes for!  These  
include:




http://trac.osgeo.org/fusion/ticket/232

http://trac.osgeo.org/fusion/ticket/236

http://trac.osgeo.org/fusion/ticket/237



I will be voting -1 on releasing MGOS 2.1 until the above Fusion  
problems
are fixed and a newer release of Fusion is included.  I realize  
that most of
these problems are with Fusion, but as far as I am concerned Fusion  
and MGOS
are intertwined in terms of functionality.  I will add the new  
items to the
Fusion Trac in the next day or so.  My next step is to look at my  
ECW’s and

MrSID’s with 2.1 since others have reported problems with that.



Andy Morsell, P.E.

Spatial Integrators, Inc.

47° 46' N 116° 49' W

www.SpatialGIS.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] MapGuide (OpenSource/Enterprise) crashes when using Oracle provider (King.Oracle)

2009-07-02 Thread Zac Spitzer
yup that's my all time fav mapguide error An unclassified exception occurred.

On Fri, Jul 3, 2009 at 2:53 AM, Joel Carranzaj...@gatekeeper.com wrote:

 I have a similar problem. MapGuide crashes sporadically on an layer being
 rendered by King.Oracle. I was unable to repeat the problem. That is - I
 restarted mapguide, deleted the tile that failed to render, and made the
 request a second time. It succeeded without a problem. Thus I can only
 assume it is not a problem with the source geometry or layer config, but
 some problem with concurrent map requests, as that is when it seems most of
 my problems occur.

 For example, I haven't have problems when I generate tiles via the MgCooker,
 but only when I am lazily rendering tiles as I am randomly view a map. Does
 MgCooker request tiles single-threadedly?

 Joel Carranza
 Gatekeeper Systems

 2009-07-02T09:40:01   5616    JV-1097,674,0   207.168.238.188
 Administrator
  Error: Failed to stylize layer: TIGERStreetByType
        An unclassified exception occurred.
  StackTrace:
  - MgMappingUtil.StylizeLayers() line 776 file
 c:\osgeo\mapguide_21\mgdev\serve
 r\src\services\mapping\MappingUtil.cpp



 sathishpsk9 wrote:



 Hi elkinsalcedo
  I too same error log . have resolve it The problem is with
 mapguide or with oracle ?
 Thanks  Regards,
 satish


 --
 View this message in context: 
 http://n2.nabble.com/MapGuide-%28OpenSource-Enterprise%29-crashes-when-using-Oracle-provider-%28King.Oracle%29-tp1819405p3196272.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 -
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