Re: [ZS2] [mapguide-users] Java Script - Invoke Script Refresh

2009-04-16 Thread Kenneth Skovhede, GEOGRAF A/S

Can you clarify?
"That not function" indicates that the call does not work, but
"and open mypages.aspx" indicates that it does work?

The call should be "window.open('mypage.aspx');"
, if that is the problem.

Regards, Kenneth Skovhede, GEOGRAF A/S



ajid skrev:

{
if (window.refreshTimerId == null)
 window.refreshTimerId = window.setInterval('GetMapFrame().Refresh()', 
1);
 window.open "mypage.aspx"; >> That not function
else
   alert('Already refreshing!');
}

When i click refresh button.. my map refresh and open mypages.aspx .. can 
anybody help me?

-
http://n2.nabble.com/file/u115131/avatar_1500.gif 
  

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


Re: [mapguide-users] Legend and runtime Layer filter

2009-04-16 Thread Kenneth Skovhede, GEOGRAF A/S

That would suggest that the data in the resource is invalid xml?
Have you tried to examine the layerDefString variable before the crash?

Regards, Kenneth Skovhede, GEOGRAF A/S



Matteo skrev:

Hi Kenneth,
  I have found the bug. The problem is on BuildLayerDefinitionData sub of 
Legend.aspx file. When the sub process a runtime layer the line 
doc.LoadXml(layerDefString) get a error. I solve the problem saving the xml 
definition of layer in a file and load it

The same problem there is in MapGuide Enterprise 2010 so I think also in 
MapGuide Open Source 2.1

Regards
Matteo


Have you tried with a subset of the filter? eg: only: callStatus like 
'Completed'.
I have had trouble with composite filters on OGR datasources, but single 
filters work fine.
The "valid = 01" part looks a little suspicious to me, is "valid" a 
numeric or text column?


Regards, Kenneth Skovhede, GEOGRAF A/S


___
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] Select points problem

2009-04-16 Thread Jackie Ng

Have you defined a primary key for that point table?

- Jackie



Check that the datasource has a X, Y and Z value even if it only requires an X, 
Y just assign one of the X, Y columns to the Z and retry, had this problem a 
while ago and this seemed to fix it.

Good luck


I try this:
MDSYS.SDO_GEOMETRY(
2001,
NULL,
MDSYS.SDO_POINT_TYPE(ARE_LONGITUDE, ARE_LATITUDE, ARE_LATITUDE),
NULL,
NULL)

and this:
MDSYS.SDO_GEOMETRY(
2001,
NULL,
MDSYS.SDO_POINT_TYPE(ARE_LONGITUDE, ARE_LATITUDE, ARE_LONGITUDE),
NULL,
NULL)


but nothing happens



-- 
View this message in context: 
http://n2.nabble.com/Select-points-problem-tp2640686p2644265.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] Opening different weblayouts in one session

2009-04-16 Thread Jackie Ng

How do your tabs look like in HTML terms? It could be screwing up the 
javascript of the second viewer.

- Jackie

It could be that the AJAX viewer


I have two tabs in one of my application pages. I am trying to open 2 different 
layouts in each tab so the user can switch between tabs for the different maps.
When I load the page the map in the currently selected tab loads well but the 
map in the second tab does not display correctly i.e the legend and tool bar is 
loaded but the map extents and zoom is not correct.
Also this map does not respond to any toolbar actions. 

Is there a reason why it is doing this? Any solutions/workarounds? Thanks.



-- 
View this message in context: 
http://n2.nabble.com/Opening-different-weblayouts-in-one-session-tp2643323p2644256.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 points problem

2009-04-16 Thread Big Tom


Check that the datasource has a X, Y and Z value even if it only requires an X, 
Y just assign one of the X, Y columns to the Z and retry, had this problem a 
while ago and this seemed to fix it.

Good luck


I try this:
MDSYS.SDO_GEOMETRY(
2001,
NULL,
MDSYS.SDO_POINT_TYPE(ARE_LONGITUDE, ARE_LATITUDE, ARE_LATITUDE),
NULL,
NULL)

and this:
MDSYS.SDO_GEOMETRY(
2001,
NULL,
MDSYS.SDO_POINT_TYPE(ARE_LONGITUDE, ARE_LATITUDE, ARE_LONGITUDE),
NULL,
NULL)


but nothing happens

-- 
View this message in context: 
http://n2.nabble.com/Select-points-problem-tp2640686p2643486.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] Opening different weblayouts in one session

2009-04-16 Thread clarkie342

I have two tabs in one of my application pages. I am trying to open 2 different 
layouts in each tab so the user can switch between tabs for the different maps.
When I load the page the map in the currently selected tab loads well but the 
map in the second tab does not display correctly i.e the legend and tool bar is 
loaded but the map extents and zoom is not correct.
Also this map does not respond to any toolbar actions. 

Is there a reason why it is doing this? Any solutions/workarounds? Thanks.

-- 
View this message in context: 
http://n2.nabble.com/Opening-different-weblayouts-in-one-session-tp2643323p2643323.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] Legend and runtime Layer filter

2009-04-16 Thread Matteo

Hi Kenneth,
  I have found the bug. The problem is on BuildLayerDefinitionData sub of 
Legend.aspx file. When the sub process a runtime layer the line 
doc.LoadXml(layerDefString) get a error. I solve the problem saving the xml 
definition of layer in a file and load it

The same problem there is in MapGuide Enterprise 2010 so I think also in 
MapGuide Open Source 2.1

Regards
Matteo


Have you tried with a subset of the filter? eg: only: callStatus like 
'Completed'.
I have had trouble with composite filters on OGR datasources, but single 
filters work fine.
The "valid = 01" part looks a little suspicious to me, is "valid" a 
numeric or text column?

Regards, Kenneth Skovhede, GEOGRAF A/S


___
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/Legend-and-runtime-Layer-filter-tp2249502p2643254.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 points problem

2009-04-16 Thread Big Tom



Check that the datasource has a X, Y and Z value even if it only requires an X, 
Y just assign one of the X, Y columns to the Z and retry, had this problem a 
while ago and this seemed to fix it.

Good luck



Trying this:
MDSYS.SDO_GEOMETRY(
2001,
NULL,
MDSYS.SDO_POINT_TYPE(ARE_LONGITUDE, ARE_LATITUDE, ARE_LATITUDE),
NULL,
NULL)

and this:
MDSYS.SDO_GEOMETRY(
2001,
NULL,
MDSYS.SDO_POINT_TYPE(ARE_LONGITUDE, ARE_LATITUDE, ARE_LONGITUDE),
NULL,
NULL)


nothing



-- 
View this message in context: 
http://n2.nabble.com/Select-points-problem-tp2640686p2643179.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 2.1 Release date

2009-04-16 Thread Jason Birch
Yeah, 

I've got the IIS7 installation logic working, but on a machine with UAC enabled 
the uninstall fails to remove the website configuration from IIS unless the 
user launches "Programs and Features" elevated or uninstalls using msiexec from 
an elevated command line.  Neither of these is really acceptable.

I believe that we're also waiting for submission of a comprehensive fix to the 
connection manager problems that were manifesting most spectacularly in the 
GDAL provider, but also caused instability in other providers.

Jason

-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: April-16-09 5:50 AM
To: mapguide-users@lists.osgeo.org
Subject: Re: [mapguide-users] Mapguide Opensource 2.1 Release date


It's not going to be released on that date.

There is usually beta and RC releases before the final release, and we even 
haven't hit beta yet.

>From my point of view, it is because the new installer that Jason, Kenneth and 
>myself wrote is not ready for prime time. Proper IIS7 support is still sorely 
>lacking and it is what's preventing us from having a fully functional 
>installer, which can then pave the way for the beta, RC and final release.

- Jackie


Hi All

I am closely following the release schedule for the next version of MGOS, I 
will appreciate it if someone can give me clarity. 
On the Mapguide Opensource website under the roadmap page, it states that the 
next version is due on the 16th of April (in 16 hours time). But it also states 
that there are still 43 active tickets left, from this info it looks to me like 
it will not be released on the date scheduled.

Can anyone please let me know if it perhaps will be released on schedule?

Kind Regards,

Marius


-- 
View this message in context: 
http://n2.nabble.com/Mapguide-Opensource-2.1-Release-date-tp2642606p2642642.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] Performance: Single vs Multi-class SDF

2009-04-16 Thread Traian Stanev

There shouldn't be a big difference... I guess if there was massive 
fragmentation of the tables in the database it might affect things but not too 
much. If performance is a problem you could try using SQLite data sources.

Traian


-Original Message-
From: mapguide-users-boun...@lists.osgeo.org 
[mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Thursday, April 16, 2009 5:13 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Performance: Single vs Multi-class SDF


Hi All,

Is there any noticeable performance difference when using a multi-class SDF as 
opposed to a single-class SDF?

- Jackie
-- 
View this message in context: 
http://n2.nabble.com/Performance%3A-Single-vs-Multi-class-SDF-tp2642299p2642299.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] Mapguide Opensource 2.1 Release date

2009-04-16 Thread Jackie Ng

It's not going to be released on that date.

There is usually beta and RC releases before the final release, and we even 
haven't hit beta yet.

>From my point of view, it is because the new installer that Jason, Kenneth and 
>myself wrote is not ready for prime time. Proper IIS7 support is still sorely 
>lacking and it is what's preventing us from having a fully functional 
>installer, which can then pave the way for the beta, RC and final release.

- Jackie


Hi All

I am closely following the release schedule for the next version of MGOS, I 
will appreciate it if someone can give me clarity. 
On the Mapguide Opensource website under the roadmap page, it states that the 
next version is due on the 16th of April (in 16 hours time). But it also states 
that there are still 43 active tickets left, from this info it looks to me like 
it will not be released on the date scheduled.

Can anyone please let me know if it perhaps will be released on schedule?

Kind Regards,

Marius


-- 
View this message in context: 
http://n2.nabble.com/Mapguide-Opensource-2.1-Release-date-tp2642606p2642642.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] Mapguide Opensource 2.1 Release date

2009-04-16 Thread marius.360

Hi All

I am closely following the release schedule for the next version of MGOS, I 
will appreciate it if someone can give me clarity. 
On the Mapguide Opensource website under the roadmap page, it states that the 
next version is due on the 16th of April (in 16 hours time). But it also states 
that there are still 43 active tickets left, from this info it looks to me like 
it will not be released on the date scheduled.

Can anyone please let me know if it perhaps will be released on schedule?

Kind Regards,

Marius
-- 
View this message in context: 
http://n2.nabble.com/Mapguide-Opensource-2.1-Release-date-tp2642606p2642606.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] Can't create layer using MySQL feature source

2009-04-16 Thread Kenneth Skovhede, GEOGRAF A/S

This was fixed in revision 3821, and will be in the next release.

Regards, Kenneth Skovhede, GEOGRAF A/S



Manel Gimeno skrev:

Thanks Stefan.
 
I copy and paste directly your XML (changing name, password,...) in 
Mapguide Maestro XML editor and it works fine.
 
But as you said the server name appears under "Database" while 
"server" and "port" fields remain empty in Mapguide Maestro.
 
Using directly Mapguide Maestro the XML generated is:
 

http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">

  OSGeo.MySQL
  
Username
root
  
  
Password
password
  
  
Service
datab...@localhost:3306
  
  
DataStore

  
 
 
It is quite different as your and it doesn't work. Maybe there is a 
bug in Maestro or I need to upgrade my version, I'm using Mapguide 
Maestro version 1.0.9.15919
 
Regards

Manel Gimeno

- Original Message -
*From:* Stefan Dalakov 
*To:* MapGuide Users Mail List

*Sent:* Monday, April 06, 2009 8:03 PM
*Subject:* Re: [mapguide-users] Can't create layer using MySQL
feature source

Here is the FeatureSource

I find interesting thing here.
When I open this FeatureSource in MG Studio I see
my server name appearing under "Service"
In Maestro the same server name appears under "Database", while
"server"
and "port" fields remain empty.
Do you have MG Studio ?
How did your data get in MySQL format ?
If you don't manage, mail me directly, not thru the list and I
will send
you the pwd.

Stefan Dalakov


http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  OSGeo.MySQL
  
Username
%MG_USERNAME%
  
  
Password
%MG_PASSWORD%
  
  
Service
mysql2.winhostingcenter.com
  
  
DataStore
technop_mg
  
  
Default
LOCAL_CS["Non-Earth (Meter)",LOCAL_DATUM["Local
Datum",0],UNIT["Meter",
1],AXIS["X",EAST],AXIS["Y",NORTH]]
  
  config.xml



Manel Gimeno wrote:
> Thanks Stefan.
> 
> I think the main problem is in the connection to MySQL. Even

Mapguide
> Maestro says that there is no error reported I've tried to use the
> FeatureSource  to connect using MapAgent/Test connection and the
test
> doesn't work (it return false).
> 
> Could you send me your FeatureSource XML to try to find where the

> problem is?
> 
> Thanks in advance

> Manel Gimeno
> 
> - Original Message -

>
> *From:* Stefan Dalakov 
> *To:* MapGuide Users Mail List
> 
> *Sent:* Monday, April 06, 2009 4:48 PM
> *Subject:* Re: [mapguide-users] Can't create layer using MySQL
> feature source
>
> Hi Manel,
> Here is a layerDefinition that works for me.
> Have you specified Coordinate-System-Overrides ?
>
> Stefan Dalakov
>
> 
> - <#>  xmlns:xsi="*http://www.w3.org/2001/XMLSchema-instance*";
> xsi:noNamespaceSchemaLocation="*LayerDefinition-1.1.0.xsd*"
> version="*1.1.0*">
> - <#> 
>   Library://mysql_ds.FeatureSource
>   Fdotechnop_mg:links
>   FeatureClass
> - <#> 
>   LAYER
>   LAYER
>   
> - <#> 
>   LENGTH
>   LENGTH
>   
>   ogc_geom
> - <#> 
> - <#> 
>   false
>   false
> - <#> 
>   
>   
>   
> - <#> 
> - <#> 
>   'Main Pipe'
>   "LAYER" = 'Main Pipe'
> - <#> 
>   Solid
>   2
>   FF00
>   Points
>   DeviceUnits
>   
>   
> - <#> 
>   'Pipeline'
>   "LAYER" = 'Pipeline'
> - <#> 
>   Solid
>   2
>   FF80
>   Points
>   DeviceUnits
>   
>   
> - <#> 
>   
> - <#> 
>   Solid
>   0.0
>   ff00
>   Centimeters
>   DeviceUnits
>   
>   
>   
> - <#> 
> - <#> 
>   
> - <#> 
> - <#> 
>   Solid
>   
>   ff00
>   
> - <#> 
>   Solid
>   0.0
>   ff00
>   Centimeters
>   DeviceUnits
>   
>   
>   
>   
>   
>   
>   
>
>
> Manel Gimeno wrote:
>> Hi all,
>> 
>> I've created a MySQL FeatureSource 

[mapguide-users] Performance: Single vs Multi-class SDF

2009-04-16 Thread Jackie Ng

Hi All,

Is there any noticeable performance difference when using a multi-class SDF as 
opposed to a single-class SDF?

- Jackie
-- 
View this message in context: 
http://n2.nabble.com/Performance%3A-Single-vs-Multi-class-SDF-tp2642299p2642299.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] Java Script - Invoke Script Refresh

2009-04-16 Thread ajid

{
if (window.refreshTimerId == null)
 window.refreshTimerId = window.setInterval('GetMapFrame().Refresh()', 
1);
 window.open "mypage.aspx"; >> That not function
else
   alert('Already refreshing!');
}

When i click refresh button.. my map refresh and open mypages.aspx .. can 
anybody help me?

-
http://n2.nabble.com/file/u115131/avatar_1500.gif 
-- 
View this message in context: 
http://n2.nabble.com/Java-Script---Invoke-Script-Refresh-tp2642220p2642220.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