Re: [mapguide-users] speed issues

2007-09-24 Thread Maciej Skorczewski

Hi Vladimir!

i have this same problem try this:

1. Use Tile Base Layer
2. Use index in your database (it should be faster access to data)






Hello,

We have big problem in the performance of the Mapguide :

1.  When we add new layer via database connection its take forever.
2.  When we open the web layout also its take to match time to open.

 How can I solve this problem?

Regard,
Shahar Levy



--
pozdrawiam,

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


Re: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Maciej Skorczewski

hi Kori!

Can you send me this files (or put it into web to download)?

Maciek

Kori Maleski pisze:

Hi Maciej,

You will need the .NET MGO 1.2 DLLs and the 1.2 webconfig.ini in the Tiling
Engine Install directory for the PHP version to work.

The error is because the correct DLLs were not found.


Cheers,


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


RE: [mapguide-users] Help needed with MapGuide 1.2 Java samples

2007-09-24 Thread Jason Birch
The latest release actually has some samples in .Net and Java (and updated PHP 
samples).  They're located in the developer guide's own "samples" subdirectory, 
from here:
 
http://download.osgeo.org/mapguide/releases/1.2.0/docs/ 
 
 
Not sure if this directory is exposed/linked from the main website...
 
Jason



From: [EMAIL PROTECTED] on behalf of Zac Spitzer
Sent: Mon 2007-09-24 7:31 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Help needed with MapGuide 1.2 Java samples



I never found anything much in the way of java info

rememeber the web api is the same across all the platform api's..

just follow the php examples and translate the examples to java.. it's
pretty straight forward

z

On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm new to MapGuide and I'm trying to get Apache/Tomcat development
> environment running on Windows with java samples.
>
> I'm looking for the zip files referred to @
> http://download.osgeo.org/mapguide/releases/1.2.0/docs/InstallMapGuideOpenSourceSamples.pdf
>
> Found javaviewersample.zip. I cannot find the other 2 files referenced
> (javasamples.zip and javasamples.mpg).
>
> Thanks.
>
>
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>


--
Zac Spitzer
http://zacster.blogspot.com/
+61 3 9018 5778 (voip via my pc)
+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


Re: [mapguide-users] Help needed with MapGuide 1.2 Java samples

2007-09-24 Thread Zac Spitzer
I never found anything much in the way of java info

rememeber the web api is the same across all the platform api's..

just follow the php examples and translate the examples to java.. it's
pretty straight forward

z

On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm new to MapGuide and I'm trying to get Apache/Tomcat development
> environment running on Windows with java samples.
>
> I'm looking for the zip files referred to @
> http://download.osgeo.org/mapguide/releases/1.2.0/docs/InstallMapGuideOpenSourceSamples.pdf
>
> Found javaviewersample.zip. I cannot find the other 2 files referenced
> (javasamples.zip and javasamples.mpg).
>
> Thanks.
>
>
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>


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


Re: [mapguide-users] speed issues

2007-09-24 Thread Zac Spitzer
what kind of data are you using?

On 9/24/07, VladimirT <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> We have big problem in the performance of the Mapguide :
>
> 1.  When we add new layer via database connection its take forever.
> 2.  When we open the web layout also its take to match time to open.
>
>  How can I solve this problem?
>
> Regard,
> Shahar Levy
> --
> View this message in context: 
> http://www.nabble.com/speed-issues-tf4509234s16610.html#a12860072
> 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 3 9018 5778 (voip via my pc)
+61 405 847 168 (aussie moible)
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
Hi Maciej,

You will need the .NET MGO 1.2 DLLs and the 1.2 webconfig.ini in the Tiling
Engine Install directory for the PHP version to work.

The error is because the correct DLLs were not found.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maciej
Skorczewski
Sent: Monday, September 24, 2007 12:34 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Hi Kori !

did you will test it whit MG 1.2 PHP too? I try use it whit my MG 
instalattion i have this error.


http://img406.imageshack.us/img406/2803/bladue4.jpg
(Process id terminated due to StackOverflowException)


in error log i have this post.


Title: Error
Message: Failed to retrieve message for "MgFileNotFoundException".
StackTrace: Failed to retrieve message for "MgFileNotFoundException".
Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in 
file .\System\ByteSourceFileImpl.cpp

Date/Time: 2007-09-24 21:27:22



Kori Maleski pisze:
> It does, but there may be issues.  

-- 


Maciej Skórczewski
___
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] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
Yes it will.

The Tiling Engine just does the math and requests, MapGuide will do the
generation based on what you specify.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George McLean
Sent: Monday, September 24, 2007 12:36 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Hi Kori,

If I change the ImageFormat setting in serverconfig.ini from PNG to JPG 
will the tiling engine create JPG images?

Thanks

George McLean

Kori Maleski wrote:
> It does, but there may be issues.  
>
>
>
> 
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> [EMAIL PROTECTED]
> 
>
>  
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
> Sent: Monday, September 24, 2007 11:33 AM
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Tiling and other methods to improve
> performance
>
> Ok, Thanks. I thought I read in another thread that switching the DLL's
> and webconfig.ini would allow it to work with 1.2
>
> Brian  Berdel 
> McMahon Associates, Inc. 
> p: 215.283.9444
> www.mcmtrans.com 
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kori
> Maleski
> Sent: Monday, September 24, 2007 2:33 PM
> To: 'MapGuide Users Mail List'
> Subject: RE: [mapguide-users] Tiling and other methods to improve
> performance
>
> Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.
>
> 
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> [EMAIL PROTECTED]
> 
>
>  
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
> Brian
> Sent: Monday, September 24, 2007 10:55 AM
> To: MapGuide Users Mail List
> Subject: RE: [mapguide-users] Tiling and other methods to improve
> performance
>
> I have a repeating error when I try to use the tilingengine
>
> Title: Error
> Message: Resource data was not found: LayerGroupData
> StackTrace: Resource data was not found: LayerGroupData
> Exception occurred in method MgTagManager.GetTag at line 395 in file
> c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
> \services\resource\TagManager.cpp
>
> Date/Time: 9/24/2007 1:52:08 PM
> 
>
> I am using 1.2
>
>
>
> C:\Program Files\Websoft Developers\FacilitiesMap Tiling
> Engine>"C:\Program File
> s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe" -u
> Administ
> rator -p admin -m SoleburyTwp
>
>FacilitiesMap Tiling Engine
>  Release Version 1.0.0
>
>  -u user:Administrator
>  -p password:***
>  -m map:SoleburyTwp
>  -g groupnot specified
>  -s scalenot specified
>  -sx not specified
>  -sy not specified
>  -ex not specified
>  -ey not specified
>  -l log  not specified
>
>
>  Preparing to Tile 'SoleburyTwp' Map Definition...
>
>  Initializing Connection to MapGuide...Succeeded
>  Tiling 'Base Layer Group' Layer Group...
>
>  Scale: 1:98000   Finite Scale 1 of 12
>  Tiles: 20 ( 5 Columns x 4 Rows )
>  ...1...2...3
>
> Brian  Berdel 
> McMahon Associates, Inc. 
> p: 215.283.9444
> www.mcmtrans.com 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George
> McLean
> Sent: Thursday, September 20, 2007 11:26 AM
> To: MapGuide Users Mail List
> Subject: Re: [mapguide-users] Tiling and other methods to improve
> performance
>
> Thanks again Kori. I will be upgrading today and hopefully will see 
> beautiful panning maps!
>
> George
>
>
> Kori Maleski wrote:
>   
>> George,
>>
>> Upgrade to 1.2, since the tiled maping/base layer performance is much
>> better.
>>
>>
>> Then use the tiling engine to pre-tile just the area of interest at
>> 
> large
>   
>> scales.  Small scales you may tile the whole thing.
>>
>> This will reduce the number of tiles significantly.
>>
>>
>> The tiling engine allows you to specify a bounding box in tile
>> 
> row/columns.
>   
>> If you specify these bounds you can limit the tile generation to
>> 
> required
>   
>> areas only.  This will have to be done for each zoom threshold -
>> 
> easily done
>   
>> with a batch script.
>>
>> I generated a tiled base map for the entire state of California in
>> 
> this
>   
>> manner.  I tiled the entirety of all the small scale thresholds and
>> 
> then
>   
>> just specific are

Re: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread George McLean

Hi Kori,

If I change the ImageFormat setting in serverconfig.ini from PNG to JPG 
will the tiling engine create JPG images?


Thanks

George McLean

Kori Maleski wrote:
It does, but there may be issues.  









Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Monday, September 24, 2007 11:33 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Ok, Thanks. I thought I read in another thread that switching the DLL's
and webconfig.ini would allow it to work with 1.2

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


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Monday, September 24, 2007 2:33 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Monday, September 24, 2007 10:55 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

I have a repeating error when I try to use the tilingengine

Title: Error
Message: Resource data was not found: LayerGroupData
StackTrace: Resource data was not found: LayerGroupData
Exception occurred in method MgTagManager.GetTag at line 395 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\TagManager.cpp

Date/Time: 9/24/2007 1:52:08 PM


I am using 1.2



C:\Program Files\Websoft Developers\FacilitiesMap Tiling
Engine>"C:\Program File
s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe" -u
Administ
rator -p admin -m SoleburyTwp

   FacilitiesMap Tiling Engine
 Release Version 1.0.0

 -u user:Administrator
 -p password:***
 -m map:SoleburyTwp
 -g groupnot specified
 -s scalenot specified
 -sx not specified
 -sy not specified
 -ex not specified
 -ey not specified
 -l log  not specified


 Preparing to Tile 'SoleburyTwp' Map Definition...

 Initializing Connection to MapGuide...Succeeded
 Tiling 'Base Layer Group' Layer Group...

 Scale: 1:98000   Finite Scale 1 of 12
 Tiles: 20 ( 5 Columns x 4 Rows )
 ...1...2...3

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

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, September 20, 2007 11:26 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Thanks again Kori. I will be upgrading today and hopefully will see 
beautiful panning maps!


George


Kori Maleski wrote:
  

George,

Upgrade to 1.2, since the tiled maping/base layer performance is much
better.


Then use the tiling engine to pre-tile just the area of interest at


large
  

scales.  Small scales you may tile the whole thing.

This will reduce the number of tiles significantly.


The tiling engine allows you to specify a bounding box in tile


row/columns.
  

If you specify these bounds you can limit the tile generation to


required
  

areas only.  This will have to be done for each zoom threshold -


easily done
  

with a batch script.

I generated a tiled base map for the entire state of California in


this
  

manner.  I tiled the entirety of all the small scale thresholds and


then
  

just specific areas of interest (urban centres) at large scale


thresholds.
  

To reduce tiles (and the amount of space they require) - try to reduce


the
  

number of thresholds.  Some may be unnecessary.


Cheers,






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George


McLean
  

Sent: Wednesday, September 19, 2007 3:32 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] Tiling and other methods to improve


performance
  

Hello,

I have a large base map that covers an area for an electric utility.

The 
  
base map is in state plane grid coordinates and the map is about 100 
miles in both X and Y. Most of this map in this 100x100

Re: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Maciej Skorczewski

Hi Kori !

did you will test it whit MG 1.2 PHP too? I try use it whit my MG 
instalattion i have this error.



http://img406.imageshack.us/img406/2803/bladue4.jpg
(Process id terminated due to StackOverflowException)


in error log i have this post.


Title: Error
Message: Failed to retrieve message for "MgFileNotFoundException".
StackTrace: Failed to retrieve message for "MgFileNotFoundException".
Exception occured in method ByteSourceFileImpl.LoadFile at line 126 in 
file .\System\ByteSourceFileImpl.cpp


Date/Time: 2007-09-24 21:27:22



Kori Maleski pisze:
It does, but there may be issues.  


--


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


RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
It does, but there may be issues.  








Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Monday, September 24, 2007 11:33 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Ok, Thanks. I thought I read in another thread that switching the DLL's
and webconfig.ini would allow it to work with 1.2

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Monday, September 24, 2007 2:33 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Monday, September 24, 2007 10:55 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

I have a repeating error when I try to use the tilingengine

Title: Error
Message: Resource data was not found: LayerGroupData
StackTrace: Resource data was not found: LayerGroupData
Exception occurred in method MgTagManager.GetTag at line 395 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\TagManager.cpp

Date/Time: 9/24/2007 1:52:08 PM


I am using 1.2



C:\Program Files\Websoft Developers\FacilitiesMap Tiling
Engine>"C:\Program File
s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe" -u
Administ
rator -p admin -m SoleburyTwp

   FacilitiesMap Tiling Engine
 Release Version 1.0.0

 -u user:Administrator
 -p password:***
 -m map:SoleburyTwp
 -g groupnot specified
 -s scalenot specified
 -sx not specified
 -sy not specified
 -ex not specified
 -ey not specified
 -l log  not specified


 Preparing to Tile 'SoleburyTwp' Map Definition...

 Initializing Connection to MapGuide...Succeeded
 Tiling 'Base Layer Group' Layer Group...

 Scale: 1:98000   Finite Scale 1 of 12
 Tiles: 20 ( 5 Columns x 4 Rows )
 ...1...2...3

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, September 20, 2007 11:26 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Thanks again Kori. I will be upgrading today and hopefully will see 
beautiful panning maps!

George


Kori Maleski wrote:
> George,
>
> Upgrade to 1.2, since the tiled maping/base layer performance is much
> better.
>
>
> Then use the tiling engine to pre-tile just the area of interest at
large
> scales.  Small scales you may tile the whole thing.
>
> This will reduce the number of tiles significantly.
>
>
> The tiling engine allows you to specify a bounding box in tile
row/columns.
> If you specify these bounds you can limit the tile generation to
required
> areas only.  This will have to be done for each zoom threshold -
easily done
> with a batch script.
>
> I generated a tiled base map for the entire state of California in
this
> manner.  I tiled the entirety of all the small scale thresholds and
then
> just specific areas of interest (urban centres) at large scale
thresholds.
>
> To reduce tiles (and the amount of space they require) - try to reduce
the
> number of thresholds.  Some may be unnecessary.
>
>
> Cheers,
>
> 
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> [EMAIL PROTECTED]
> 
>
>  
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
> Sent: Wednesday, September 19, 2007 3:32 PM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Tiling and other methods to improve
performance
>
> Hello,
>
> I have a large base map that covers an area for an electric utility.
The 
> base map is in state plane grid coordinates and the map is about 100 
> miles in both X and Y. Most of this map in this 100x100 region is
blank 
> since we only have base information near where the utility's
facilities 
> are located. I am trying to improve performance by using tiles. I
would 
> like to have zoom levels in p

RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Berdel, Brian
Ok, Thanks. I thought I read in another thread that switching the DLL's
and webconfig.ini would allow it to work with 1.2

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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kori
Maleski
Sent: Monday, September 24, 2007 2:33 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel,
Brian
Sent: Monday, September 24, 2007 10:55 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

I have a repeating error when I try to use the tilingengine

Title: Error
Message: Resource data was not found: LayerGroupData
StackTrace: Resource data was not found: LayerGroupData
Exception occurred in method MgTagManager.GetTag at line 395 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\TagManager.cpp

Date/Time: 9/24/2007 1:52:08 PM


I am using 1.2



C:\Program Files\Websoft Developers\FacilitiesMap Tiling
Engine>"C:\Program File
s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe" -u
Administ
rator -p admin -m SoleburyTwp

   FacilitiesMap Tiling Engine
 Release Version 1.0.0

 -u user:Administrator
 -p password:***
 -m map:SoleburyTwp
 -g groupnot specified
 -s scalenot specified
 -sx not specified
 -sy not specified
 -ex not specified
 -ey not specified
 -l log  not specified


 Preparing to Tile 'SoleburyTwp' Map Definition...

 Initializing Connection to MapGuide...Succeeded
 Tiling 'Base Layer Group' Layer Group...

 Scale: 1:98000   Finite Scale 1 of 12
 Tiles: 20 ( 5 Columns x 4 Rows )
 ...1...2...3

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, September 20, 2007 11:26 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Thanks again Kori. I will be upgrading today and hopefully will see 
beautiful panning maps!

George


Kori Maleski wrote:
> George,
>
> Upgrade to 1.2, since the tiled maping/base layer performance is much
> better.
>
>
> Then use the tiling engine to pre-tile just the area of interest at
large
> scales.  Small scales you may tile the whole thing.
>
> This will reduce the number of tiles significantly.
>
>
> The tiling engine allows you to specify a bounding box in tile
row/columns.
> If you specify these bounds you can limit the tile generation to
required
> areas only.  This will have to be done for each zoom threshold -
easily done
> with a batch script.
>
> I generated a tiled base map for the entire state of California in
this
> manner.  I tiled the entirety of all the small scale thresholds and
then
> just specific areas of interest (urban centres) at large scale
thresholds.
>
> To reduce tiles (and the amount of space they require) - try to reduce
the
> number of thresholds.  Some may be unnecessary.
>
>
> Cheers,
>
> 
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> [EMAIL PROTECTED]
> 
>
>  
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
> Sent: Wednesday, September 19, 2007 3:32 PM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Tiling and other methods to improve
performance
>
> Hello,
>
> I have a large base map that covers an area for an electric utility.
The 
> base map is in state plane grid coordinates and the map is about 100 
> miles in both X and Y. Most of this map in this 100x100 region is
blank 
> since we only have base information near where the utility's
facilities 
> are located. I am trying to improve performance by using tiles. I
would 
> like to have zoom levels in pretty close, maybe on the order of 1:500
as 
> well as zoom levels that much farther out. If I set this up with Base 
> Layers in studio and then generate tiles using Websoft's tiling engine

> for each zoom level, I will get a huge number of tiles. If I do not 
> generate tiles then performance is perceived as poor.
>
> Are there any better strategies for dealing with large base maps that 
> must be viewed both at the detail level and high zoom scales? I m
still 
> using MGOS 1.1 (maybe I s

RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Kori Maleski
Working on MGO 1.2/ MGE2008 Release.  Will have it up shortly.






Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
[EMAIL PROTECTED]


 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian
Sent: Monday, September 24, 2007 10:55 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Tiling and other methods to improve
performance

I have a repeating error when I try to use the tilingengine

Title: Error
Message: Resource data was not found: LayerGroupData
StackTrace: Resource data was not found: LayerGroupData
Exception occurred in method MgTagManager.GetTag at line 395 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\TagManager.cpp

Date/Time: 9/24/2007 1:52:08 PM


I am using 1.2



C:\Program Files\Websoft Developers\FacilitiesMap Tiling
Engine>"C:\Program File
s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe" -u
Administ
rator -p admin -m SoleburyTwp

   FacilitiesMap Tiling Engine
 Release Version 1.0.0

 -u user:Administrator
 -p password:***
 -m map:SoleburyTwp
 -g groupnot specified
 -s scalenot specified
 -sx not specified
 -sy not specified
 -ex not specified
 -ey not specified
 -l log  not specified


 Preparing to Tile 'SoleburyTwp' Map Definition...

 Initializing Connection to MapGuide...Succeeded
 Tiling 'Base Layer Group' Layer Group...

 Scale: 1:98000   Finite Scale 1 of 12
 Tiles: 20 ( 5 Columns x 4 Rows )
 ...1...2...3

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, September 20, 2007 11:26 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Thanks again Kori. I will be upgrading today and hopefully will see 
beautiful panning maps!

George


Kori Maleski wrote:
> George,
>
> Upgrade to 1.2, since the tiled maping/base layer performance is much
> better.
>
>
> Then use the tiling engine to pre-tile just the area of interest at
large
> scales.  Small scales you may tile the whole thing.
>
> This will reduce the number of tiles significantly.
>
>
> The tiling engine allows you to specify a bounding box in tile
row/columns.
> If you specify these bounds you can limit the tile generation to
required
> areas only.  This will have to be done for each zoom threshold -
easily done
> with a batch script.
>
> I generated a tiled base map for the entire state of California in
this
> manner.  I tiled the entirety of all the small scale thresholds and
then
> just specific areas of interest (urban centres) at large scale
thresholds.
>
> To reduce tiles (and the amount of space they require) - try to reduce
the
> number of thresholds.  Some may be unnecessary.
>
>
> Cheers,
>
> 
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> [EMAIL PROTECTED]
> 
>
>  
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
> Sent: Wednesday, September 19, 2007 3:32 PM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Tiling and other methods to improve
performance
>
> Hello,
>
> I have a large base map that covers an area for an electric utility.
The 
> base map is in state plane grid coordinates and the map is about 100 
> miles in both X and Y. Most of this map in this 100x100 region is
blank 
> since we only have base information near where the utility's
facilities 
> are located. I am trying to improve performance by using tiles. I
would 
> like to have zoom levels in pretty close, maybe on the order of 1:500
as 
> well as zoom levels that much farther out. If I set this up with Base 
> Layers in studio and then generate tiles using Websoft's tiling engine

> for each zoom level, I will get a huge number of tiles. If I do not 
> generate tiles then performance is perceived as poor.
>
> Are there any better strategies for dealing with large base maps that 
> must be viewed both at the detail level and high zoom scales? I m
still 
> using MGOS 1.1 (maybe I should upgrade).
>
> Thanks,
>
> George McLean
>
>
>
> ___
> 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
>
>
>   

___
m

RE: [mapguide-users] Tiling and other methods to improve performance

2007-09-24 Thread Berdel, Brian
I have a repeating error when I try to use the tilingengine

Title: Error
Message: Resource data was not found: LayerGroupData
StackTrace: Resource data was not found: LayerGroupData
Exception occurred in method MgTagManager.GetTag at line 395 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\TagManager.cpp

Date/Time: 9/24/2007 1:52:08 PM


I am using 1.2



C:\Program Files\Websoft Developers\FacilitiesMap Tiling
Engine>"C:\Program File
s\Websoft Developers\FacilitiesMap Tiling Engine\FmTilingEngine.exe" -u
Administ
rator -p admin -m SoleburyTwp

   FacilitiesMap Tiling Engine
 Release Version 1.0.0

 -u user:Administrator
 -p password:***
 -m map:SoleburyTwp
 -g groupnot specified
 -s scalenot specified
 -sx not specified
 -sy not specified
 -ex not specified
 -ey not specified
 -l log  not specified


 Preparing to Tile 'SoleburyTwp' Map Definition...

 Initializing Connection to MapGuide...Succeeded
 Tiling 'Base Layer Group' Layer Group...

 Scale: 1:98000   Finite Scale 1 of 12
 Tiles: 20 ( 5 Columns x 4 Rows )
 ...1...2...3

Brian  Berdel 
McMahon Associates, Inc. 
p: 215.283.9444
www.mcmtrans.com 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
Sent: Thursday, September 20, 2007 11:26 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Tiling and other methods to improve
performance

Thanks again Kori. I will be upgrading today and hopefully will see 
beautiful panning maps!

George


Kori Maleski wrote:
> George,
>
> Upgrade to 1.2, since the tiled maping/base layer performance is much
> better.
>
>
> Then use the tiling engine to pre-tile just the area of interest at
large
> scales.  Small scales you may tile the whole thing.
>
> This will reduce the number of tiles significantly.
>
>
> The tiling engine allows you to specify a bounding box in tile
row/columns.
> If you specify these bounds you can limit the tile generation to
required
> areas only.  This will have to be done for each zoom threshold -
easily done
> with a batch script.
>
> I generated a tiled base map for the entire state of California in
this
> manner.  I tiled the entirety of all the small scale thresholds and
then
> just specific areas of interest (urban centres) at large scale
thresholds.
>
> To reduce tiles (and the amount of space they require) - try to reduce
the
> number of thresholds.  Some may be unnecessary.
>
>
> Cheers,
>
> 
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> [EMAIL PROTECTED]
> 
>
>  
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George
McLean
> Sent: Wednesday, September 19, 2007 3:32 PM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] Tiling and other methods to improve
performance
>
> Hello,
>
> I have a large base map that covers an area for an electric utility.
The 
> base map is in state plane grid coordinates and the map is about 100 
> miles in both X and Y. Most of this map in this 100x100 region is
blank 
> since we only have base information near where the utility's
facilities 
> are located. I am trying to improve performance by using tiles. I
would 
> like to have zoom levels in pretty close, maybe on the order of 1:500
as 
> well as zoom levels that much farther out. If I set this up with Base 
> Layers in studio and then generate tiles using Websoft's tiling engine

> for each zoom level, I will get a huge number of tiles. If I do not 
> generate tiles then performance is perceived as poor.
>
> Are there any better strategies for dealing with large base maps that 
> must be viewed both at the detail level and high zoom scales? I m
still 
> using MGOS 1.1 (maybe I should upgrade).
>
> Thanks,
>
> George McLean
>
>
>
> ___
> 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


[mapguide-users] Help needed with MapGuide 1.2 Java samples

2007-09-24 Thread jcraw62
I'm new to MapGuide and I'm trying to get Apache/Tomcat development environment 
running on Windows with java samples.

I'm looking for the zip files referred to @ 
http://download.osgeo.org/mapguide/releases/1.2.0/docs/InstallMapGuideOpenSourceSamples.pdf

Found javaviewersample.zip. I cannot find the other 2 files referenced 
(javasamples.zip and javasamples.mpg).

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


[mapguide-users] map.Save() raise MgNotImplement edException,programmatically add layer to a map

2007-09-24 Thread Champin

programmatically add layer to a map, map.Save() raise
MgNotImplementedException


I am trying to create a temperory layer and adding it the map.
map.Save(resourceService) raise the MgNotImplementedException.

what am doing is:
1. Create a map object and open the Map
MgMap map = new MgMap();
map.Open(resService, "MyMap");

2.Create the feature source
 create a MgClassDefinition and populate some properties.
   ...
 create a schema
MgFeatureSchema schema = new MgFeatureSchema("Schema", "the line
schema");
schema.GetClasses().Add(classDef);
MgCreateSdfParams sdfParams = new MgCreateSdfParams("LatLong", srs,
schema);
 create the feature source  
featureService.CreateFeatureSource(featureSourceId, sdfParams);

2. Create a layerDefinition resource content by loading a layerDefinition
XML and modifying some
  .
  resourceService.SetResource(layerId,layerResourceContent,null);
  //create the MgLayerBase object 
  MgLayerBase layer = new MgLayerBase(layerId,resourceService);

3.  Set the property of the layer and add it to the Map
 layer.SetVisible(true);
 
 map.GetLayers().Insert(0,layer);

4.  save the map in the session repository.
 
  map.Save(resourceService);  ***  // raise
MgNotImplementedException

when the code run into the map.Save(), the MgNotImplementedException raised.



Can you point me what am I missing or something wrong?

By the Way, the code runs quite well  on the platform  MapGuide
Enterprise(MGOS 1.1)
My MGOS is version 1.2.  

and the following code will goes well on MGOS 1.2 on my machine

//Change the layers visibility programmatically
string sessionId = Request["session"].ToString();
UtilityClass utility = new UtilityClass();
utility.ConnectToServer(sessionId);

//MgFeatureService featureService =
utility.GetSiteConnection().CreateService(MgServiceType.FeatureService) as
MgFeatureService;
MgResourceService resourceService =
utility.GetSiteConnection().CreateService(MgServiceType.ResourceService) as
MgResourceService;
MgMap map = new MgMap();
map.Open(resourceService, "MyMap");
MgLayerBase shipLayer = utility.GetLayerByName(map, "Point");
shipLayer.SetVisible(!shipLayer.GetVisible());
map.Save(resourceService); // no exception raised.
everything goes well. Confused!~~




 




Enviroment : 
   
   VS2005 + MGOS 1.2 
-- 
View this message in context: 
http://www.nabble.com/map.Save%28%29-raise-MgNotImplementedException%EF%BC%8Cprogrammatically-add-layer-to-a-map-tf4510561s16610.html#a12864473
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] Tiling Question

2007-09-24 Thread George McLean
I have changed the ImageFormat from PNG to JPG in the serverconfig.ini 
and it has really helped. I have aerial photos in my base layer and I do 
zoom in any farther than 1:500 and the image quality is fine.


I was wondering what the RenderOnly setting did on the 
TileServiceProperties section serverconfig.ini. I have tried both 
settings and I am not sure I see any difference. I get the base layers 
and I get my database generate features on both settings. Could someone 
explain what this is for?


Thanks

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


[mapguide-users] speed issues

2007-09-24 Thread VladimirT

Hello,

We have big problem in the performance of the Mapguide :

1.  When we add new layer via database connection its take forever.
2.  When we open the web layout also its take to match time to open.

 How can I solve this problem?

Regard,
Shahar Levy
-- 
View this message in context: 
http://www.nabble.com/speed-issues-tf4509234s16610.html#a12860072
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] MGOS & FreeBSD

2007-09-24 Thread Jorge Rubio
Has anyone installed MGOS on FreeBSD?

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


[mapguide-users] fusion sourcecode

2007-09-24 Thread joscsu

Hi,
I can't find the sourcecode for Fusion in subversion. Does this mean it
isn't there yet or did I overlook something?
Regards Johannes
-- 
View this message in context: 
http://www.nabble.com/fusion-sourcecode-tf4509504s16610.html#a12860916
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] Import Autocad Files with with style

2007-09-24 Thread ori gudes

Basically, what I am looking is a way to import Autocad files including (not
by "Drawing Source" option) the style And also let the end users the ability
to select objects (not uploading the files as DWF files). 

If I choose "feature Source" Option, I need to theme all the style from
start !! 

any clever solution for this problem ?

Regards Ori

-- 
View this message in context: 
http://www.nabble.com/Import-Autocad-Files-with-with-style-tf4508749s16610.html#a12858516
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: changing task frame position

2007-09-24 Thread Ivan Milicevic
Lool at framesettaskbar.templ in viewerfiles direcotry



From: [EMAIL PROTECTED] on behalf of dorra labidi
Sent: sub 22.9.2007 12:02
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] RE: changing task frame position


Hi Jason;
 
"is that possible to change the position of the task pane to the left side 
instead of right side (original position)?
if yes, can I know how to change it?"  (Kencana's question)

 
I have followed the steps you have indicated in this subject and when I run the 
application, I obtain the following :
 
/mapguide/mapviewerjava/viewoptions.jsp 
 
written on the web page
 
I think that there might be another changes to do, 
 
"Finally, you'll need to do something with the styling to make the task
pane stand out from the legend/properties."-->What Shall I do?
 
___

*   Van: Jason Birch [mailto:Jason.Birch at nanaimo.ca 
 ] 
Verzonden: vrijdag 3 november 2006 10:10
Aan: users at mapguide.osgeo.org 
 
Onderwerp: RE: [mapguide-users] changing task frame position



Yes, but it's not easy.  To do so, you will need to understand how the
current templating system works.



How the template system works is that the mapviewer files use the
sprintf() function to do variable substitution into a static text file,
and output that as HTML.  I'll give an example for the PHP mapviewer.
In this case, the mainframe.php file figures out a bunch of stuff like
the size of your frame, whether you want the task frame to show, and
some other stuff.  If you do want the task frame to show, then it calls
some code around line 435 that swaps a whole bunch of variables (20)
into the framesettaskbar.templ file.



To move the task pane to the left side, you will need to both modify the
"framesettaskbar.templ" file (it's in www\viewerfiles\) and the
mainframe.php file (it's in www\mapviewerphp\).  



First, you have to change the HTML template in the framesettaskbar.templ
file.  You need to change the order of the "taskArea" and the "maparea"
framesets, and also change the "cols" definition in their containing
frameset from "*,%s" to "%s,*" so that the task area's width comes
first.



Next, you have to change the order that the variables are replaced into
the template in the mainframe.php file.  For this, you will need to find
the line that looks like "if($showTaskBar)".  A couple lines down from
that, is the call that generates the frameset that includes the task
bar.  Take "$toolbarHeight+1,",  "$srcTaskBar," and "$srcTaskFrame," and
move them up until they are between the "$taskWidth," and
"$toolbarHeight," variables in the sprintf() call.



Finally, you'll need to do something with the styling to make the task
pane stand out from the legend/properties.



Hope this helps,

Jason










Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
  vers Yahoo! Mail 
<>___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users