[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapguide-users
Subject:    RE: [mapguide-users] Performance Problem using DWF
From:       "Luis Paolini" <l_paolini () uol ! com ! br>
Date:       2009-05-25 16:48:09
Message-ID: !&!AAAAAAAAAAAYAAAAAAAAAP4pKJ6XRvZIhMMJOyzoVDvCgAAAEAAAAA6sD3t4yU9BuwzRyDsw1qUBAAAAAA== () uol ! com ! br
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/related)]
This is a multipart message in MIME format.

[Attachment #4 (multipart/alternative)]


James,

 

                I followed your suggestion and the time to publish was
drastically decreased. It was taking 20 minutes and now it only takes 5
minutes.

                Thank you for the tip.

 

Luis

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of James H. Murphy
Sent: Friday, May 22, 2009 10:41 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Luis, 

 Try using the display manger in Map3D and create "map" layers from the
"autocad dwg" layers then publish those to MapGuide. You might even want to
create new maps in the display manager for groups of the dwg layers. That
should cut down the time it takes to publish and provide a little more
control on using those layers in Studio/Maestro. The only draw back is when
using AutoCAD objects as map layers stylizing and displaying those layers
requires a good video card/drv and memory but the end results will be a lot
better. 

 

  

 

James Murphy

Geospatial Solutions Specialist 

ALACAD

(205) 444-3100

www.alacad.com <http://www.alacad.com/> 

 

http:map3d.wordpress.com

 

  _____  

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: May 22, 2009 7:32 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Martin,

 

                I see your point, but I need to publish the data as it
exists in DWG format. I mean, with the same layers and the same styles.

                I don't know if would be possible to do it using SDF or SHP,
once they don't support block information, annotations, etc.

                See below a print of the data to give you an idea. This data
will be used as a background layer where other layers create from

Oracle Spatial data, will be overlayed.

 



 

Luis

 

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Thursday, May 21, 2009 10:28 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Hopefully someone from Adesk will chime in here...

 

I may be wrong, but if you are serving the data up as WMS, you may be better
off not using DWF.  Setup the data sources using SDF, SHP, or a database and
then serve the data up.

 

Martin

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Wednesday, May 20, 2009 3:11 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Martin,

 

                In Mapguide, the scale range configuration was with the
default parameters (From 0 to Infinity).

                I did some tests using different scales ranges. Starting
with 1:10000 to 1:500

                In all the tests, I could not notice improvements on WMS
requests. It is still taking a long time to generate an image.

                I also modified the layers in the Drawing Data Setup Panel,
changing from "All Layers" to just one layer, but I had no improvements
also.

                One thing that called my attention is that there are 170
layers listed in the Drawing Data List. In some casos, one layer are listed
several times.

                I don't know how Map 3D creates the DWF from DWG but it
seems to me that the layers are duplicated, but I'm not sure if this can be
related with

the performance problem.

 

Luis

                

 

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Tuesday, May 19, 2009 10:44 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Luis,

 

What scale are you rendering the data at in Mapguide.  It is zoomed out a
good bit, then look at creating different data sources for different scale
levels.  The farther you zoom out, have data that is more "generalised" vs
detailed data.  When you are zoomed in show the full dataset.

 

Martin

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Tuesday, May 19, 2009 7:49 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Martin,

 

                I'd like to thank you for the tips.

                I took some time to read about drawing cleanup and did some
tests using the different cleaning operations.

                The result was a great improvement in the time to publish
the dwg file to Mapguide.

                See the results below:

 

                DWG01 - 13386 features - 30 seconds to publish

                DWG02 - 33201 features - 1 min 30 seconds to publish

                DWG03 - 53116 features - 2 min 56 seconds to publish

                DWG04 - 68917 features - 14 min 2 seconds to publish

                DWG05 - 99399 features - 20 min 13 seconds to publish

 

                In some cases the time was reduced by half.

                Now I need to focus on Mapguide performance, because using
the larger dataset (DWG05), Mapguide is very slow to answer a WMS map
request.

                In Mapguide, after I created a layer using this dataset, I
enabled it to respond to WMS requests.

                Mapguide is taking about 10 minutes to generate a map image
and send it back to the browser.

                I was monitoring Mapguide process (Windows/IIS) and noticed
that it allocates 25% of CPU for each request and keeps allocation memory in
a very slow fashion.

                Is there anything I should configure, in Mapguide, to get a
better performance?

 

Regards,

 

Luis

                

                

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Monday, May 18, 2009 3:27 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Luis,

 

Run drawing cleanup.  Seriously, do it.   Take time to learn how each of the
cleanup steps applies and use it to your best advantage.

 

Martin

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Monday, May 18, 2009 2:19 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Martin,

 

                The DWG file has 171700 items according to qselect command.

                The data is a set of engineering drawings (Asbuilts) that
will be used as a background map where data stored in Oracle Spatial will be
overlayed.

 

Luis        

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Monday, May 18, 2009 1:51 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Have you run drawing cleanup?  It is on the map menu (classic workspace) ->
tools -> drawing cleanup.  How much data are we really talking about?  10
points or 10 million lakes?

 

Martin

 

 

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Monday, May 18, 2009 12:48 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Martin,

 

                I ran the "audit" command in Map 3D and it found and fixed
584 issues.

                After that I published the file to Mapguide and the process
took the same 7 hours.

                When it finished and opened the web browser to display the
map, the application keeps waiting for Mapguide for a long time (more than
30 minutes) and then time out.

                The DWF file produced has about 15Mbytes and it can be
opened using Design Review.

                In Map 3D I also executed the -purge command as suggested by
James, but there was nothing to purge.

                Is there anything else I can try?

 

Regards,

 

luis

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Friday, May 15, 2009 10:17 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

In Map 3D you need to make sure the dwg is in good shape before you export
to either MapGuide or DWF.  Sometimes getting back to the basics are the
only way to fix issues.

 

The way to run audit is to type "audit" on the command line in Map 3D and
then decide whether or not to let it fix the errors.  Typically I run audit
once without fixing just to see what I am up against and then run it a
second time and let it fix the errors.  Sometimes you have to audit a couple
times in a row to get the dwg clean.  If it doesn't clean up you may have
bigger issues than audit can take care of and you need to resolve those.

 

The most important keyboard button is F1, it brings up help.  There is
detailed information in help on all of the processes that I listed below.

 

Martin

 

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Friday, May 15, 2009 9:01 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Martin,

 

                I did not audited the dwg and to be honest, I don't know how
to do it.

                These auditing operations should be done using Mapguide?

 

Luis

                

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Friday, May 15, 2009 9:49 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Performance Problem using DWF

 

Something is wrong with the larger dwg.  Have you audited the dwg?  Run
MapCleanup?  Purge?  Cleaned up excessive scales?

 

Martin

 

From: mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Luis Paolini
Sent: Friday, May 15, 2009 8:32 AM
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Performance Problem using DWF

 

Hi,

 

    I'm a new Mapguide user and need some help to fix a performance problem
publishing DWF data.

    Using Autodesk Map 3D I published a DWG to Mapguide. The DWG file has
10Mbytes and the processo took 7 hours. I think that it is too much time and
something must be wrong but let's move on.

    After that, using Autodesk Studio, I tried to preview the layer created
(DWF) and the preview windows keeps retrieving data forever and shows
nothing. At the other side, Mapguide Server Processe allocate a lot of my
server resources (memory and CPU) for hours and do nothing.

     I also configured the layer to accept WMS requests, but when I send a
GetMap request the same problem happens. No map is returned and the server
resources are increased.

     I did the same process with a smaller file (1 Mbyte) and it worked
pretty fine. This small file has the same layers that the big one, but with
less features.

     Have you guys some ideas?

 

Regards,

 

Luis


[Attachment #7 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:x="urn:schemas-microsoft-com:office:excel" \
xmlns:p="urn:schemas-microsoft-com:office:powerpoint" \
xmlns:a="urn:schemas-microsoft-com:office:access" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" \
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" \
xmlns:b="urn:schemas-microsoft-com:office:publisher" \
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \
xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" \
xmlns:odc="urn:schemas-microsoft-com:office:odc" \
xmlns:oa="urn:schemas-microsoft-com:office:activation" \
xmlns:html="http://www.w3.org/TR/REC-html40" \
xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" \
xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" \
xmlns:Repl="http://schemas.microsoft.com/repl/" \
xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" \
xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" \
xmlns:ppda="http://www.passport.com/NameSpace.xsd" \
xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" \
xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" \
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" \
xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" \
xmlns:udc="http://schemas.microsoft.com/data/udc" \
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" \
xmlns:ec="http://www.w3.org/2001/04/xmlenc#" \
xmlns:sp="http://schemas.microsoft.com/sharepoint/" \
xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" \
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" \
xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" \
xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" \
xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" \
xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" \
xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" \
xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" \
xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" \
xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" \
xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" \
xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" \
xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" \
xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" \
xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.5pt;
	font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:Consolas;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.plaintextchar0
	{mso-style-name:plaintextchar;
	mso-style-priority:99;
	font-family:Consolas;}
span.balloontextchar0
	{mso-style-name:balloontextchar;
	mso-style-priority:99;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle25
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle29
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle30
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle31
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle32
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle33
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle34
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle35
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle36
	{mso-style-type:personal;
	font-family:"Arial","sans-serif";
	color:navy;}
span.EmailStyle37
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=PT-BR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>James,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
</span><span lang=EN-US style='color:#1F497D'>I followed your suggestion and the time \
to publish was drastically decreased. It was taking 20 minutes and now it only
takes 5 minutes.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Thank you for the tip.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>James H.
Murphy<br>
<b>Sent:</b> Friday, May 22, 2009 10:41 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; color:navy'>Luis, \
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; color:navy'>&nbsp;Try using \
the display manger in Map3D and create &#8220;map&#8221; layers from the \
&#8220;autocad dwg&#8221; layers then publish those to MapGuide. You might even want \
to create new maps in the display manager for groups of the dwg layers. That should \
cut down the time it takes to publish and provide a little more control on using \
those layers in Studio/Maestro. The only draw back is when using AutoCAD objects as \
map layers stylizing and displaying those layers requires a good video card/drv and \
memory but the end results will be a lot better. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; \
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; \
color:navy'>&nbsp;&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; \
color:navy'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; color:navy'>James \
Murphy</span><span lang=EN-US style='color:navy'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; color:navy'>Geospatial \
Solutions Specialist </span><span lang=EN-US \
style='color:navy'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; \
color:navy'>ALACAD</span><span lang=EN-US style='color:navy'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; color:navy'>(205) \
444-3100</span><span lang=EN-US style='color:navy'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; color:navy'><a \
href="http://www.alacad.com/">www.alacad.com</a><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; \
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='font-size:10.0pt;font-family:"Arial","sans-serif"; \
color:navy'>http:map3d.wordpress.com<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> May 22, 2009 7:32 AM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using DWF</span><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New \
Roman","serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Martin,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>I see your
point, but I need to publish the data as it exists in DWG format. I mean, with
the same layers and the same styles.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 I don&#8217;t know if would be possible to do it using SDF or SHP, once they \
don&#8217;t support block information, annotations, etc.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 See below a print of the data to give you an idea. This data will be used as a
background layer where other layers create from<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Oracle Spatial data,
will be overlayed.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><img border=0 width=1015
height=712 id="Picture_x005f_x0020_1" \
src="cid:image001.jpg@01C9DD3F.6F27B080"></span><span lang=EN-US \
style='font-size:10.0pt;color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Martin
Morrison<br>
<b>Sent:</b> Thursday, May 21, 2009 10:28 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hopefully someone
from Adesk will chime in here...<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I may be wrong, but
if you are serving the data up as WMS, you may be better off not using
DWF.&nbsp; Setup the data sources using SDF, SHP, or a database and then serve
the data up.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Martin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> Wednesday, May 20, 2009 3:11 PM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Martin,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>In Mapguide, the
scale range configuration was with the default parameters (From 0 to \
Infinity).<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 I did some tests using different scales ranges. Starting with 1:10000 to \
1:500<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 In all the tests, I could not notice improvements on WMS requests. It is still
taking a long time to generate an image.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 I also modified the layers in the Drawing Data Setup Panel, changing from &#8220;All
Layers&#8221; to just one layer, but I had no improvements \
also.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 One thing that called my attention is that there are 170 layers listed in the
Drawing Data List. In some casos, one layer are listed several \
times.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 I don&#8217;t know how Map 3D creates the DWF from DWG but it seems to me that the
layers are duplicated, but I&#8217;m not sure if this can be related \
with<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>the performance
problem.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Martin
Morrison<br>
<b>Sent:</b> Tuesday, May 19, 2009 10:44 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>What scale are you
rendering the data at in Mapguide.&nbsp; It is zoomed out a good bit, then look
at creating different data sources for different scale levels.&nbsp; The
farther you zoom out, have data that is more &quot;generalised&quot; vs
detailed data.&nbsp; When you are zoomed in show the full \
dataset.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Martin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> Tuesday, May 19, 2009 7:49 AM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Martin,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>I&#8217;d like to
thank you for the tips.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 I took some time to read about drawing cleanup and did some tests using the
different cleaning operations.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 The result was a great improvement in the time to publish the dwg file to
Mapguide.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 See the results below:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 DWG01 &#8211; 13386 features &#8211; 30 seconds to publish<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 DWG02 &#8211; 33201 features &#8211; 1 min 30 seconds to \
publish<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 DWG03 &#8211; 53116 features &#8211; 2 min 56 seconds to \
publish<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 DWG04 &#8211; 68917 features &#8211; 14 min 2 seconds to \
publish<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 DWG05 &#8211; 99399 features &#8211; 20 min 13 seconds to \
publish<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 In some cases the time was reduced by half.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Now I need to focus on Mapguide performance, because using the larger dataset
(DWG05), Mapguide is very slow to answer a WMS map request.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 In Mapguide, after I created a layer using this dataset, I enabled it to
respond to WMS requests.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Mapguide is taking about 10 minutes to generate a map image and send it back to
the browser.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 I was monitoring Mapguide process (Windows/IIS) and noticed that it allocates
25% of CPU for each request and keeps allocation memory in a very slow \
fashion.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Is there anything I should configure, in Mapguide, to get a better \
performance?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Martin
Morrison<br>
<b>Sent:</b> Monday, May 18, 2009 3:27 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Run drawing
cleanup.&nbsp; Seriously, do it. &nbsp;&nbsp;Take time to learn how each of the
cleanup steps applies and use it to your best advantage.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Martin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> Monday, May 18, 2009 2:19 PM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Martin,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>The DWG file has
171700 items according to qselect command.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 The data is a set of engineering drawings (Asbuilts) that will be used as a
background map where data stored in Oracle Spatial will be \
overlayed.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Luis&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Martin
Morrison<br>
<b>Sent:</b> Monday, May 18, 2009 1:51 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Have you run drawing
cleanup?&nbsp; It is on the map menu (classic workspace) -&gt; tools -&gt;
drawing cleanup.&nbsp; How much data are we really talking about?&nbsp; 10
points or 10 million lakes?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Martin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> Monday, May 18, 2009 12:48 PM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Martin,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>I ran the
&#8220;audit&#8221; command in Map 3D and it found and fixed 584 \
issues.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 After that I published the file to Mapguide and the process took the same 7
hours.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 When it finished and opened the web browser to display the map, the application
keeps waiting for Mapguide for a long time (more than 30 minutes) and then time
out.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 The DWF file produced has about 15Mbytes and it can be opened using Design
Review.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 In Map 3D I also executed the &#8211;purge command as suggested by James, but there
was nothing to purge.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 Is there anything else I can try?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Martin
Morrison<br>
<b>Sent:</b> Friday, May 15, 2009 10:17 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>In Map 3D you need to
make sure the dwg is in good shape before you export to either MapGuide or
DWF.&nbsp; Sometimes getting back to the basics are the only way to fix \
issues.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>The way to run audit
is to type &quot;audit&quot; on the command line in Map 3D and then decide
whether or not to let it fix the errors.&nbsp; Typically I run audit once
without fixing just to see what I am up against and then run it a second time
and let it fix the errors.&nbsp; Sometimes you have to audit a couple times in
a row to get the dwg clean.&nbsp; If it doesn't clean up you may have bigger
issues than audit can take care of and you need to resolve \
those.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>The most important
keyboard button is F1, it brings up help.&nbsp; There is detailed information
in help on all of the processes that I listed below.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Martin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> Friday, May 15, 2009 9:01 AM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Martin,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><span lang=EN-US style='font-size:10.0pt;color:#1F497D'>I did not
audited the dwg and to be honest, I don&#8217;t know how to do \
it.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 These auditing operations should be done using Mapguide?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Martin
Morrison<br>
<b>Sent:</b> Friday, May 15, 2009 9:49 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Performance Problem using \
DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Something is wrong
with the larger dwg.&nbsp; Have you audited the dwg?&nbsp; Run
MapCleanup?&nbsp; Purge?&nbsp; Cleaned up excessive scales?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'>Martin<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Luis
Paolini<br>
<b>Sent:</b> Friday, May 15, 2009 8:32 AM<br>
<b>To:</b> mapguide-users@lists.osgeo.org<br>
<b>Subject:</b> [mapguide-users] Performance Problem using DWF<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp; &nbsp;I'm a new Mapguide user
and need some help to fix a performance problem publishing DWF \
data.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp; Using Autodesk Map 3D I
published a DWG to Mapguide. The DWG file has 10Mbytes and the processo took 7
hours. I think that it is too much time and something must be wrong but let's
move on.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp; After that, using
Autodesk Studio, I tried to preview the layer created (DWF) and the preview
windows keeps retrieving data forever and shows nothing. At the other side,
Mapguide Server Processe allocate a lot of my server resources (memory and CPU)
for hours and do nothing.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; I also configured
the layer to accept WMS requests, but when I send a GetMap request the same
problem happens. No map is returned and the server resources are \
increased.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; I did the same
process with a smaller file (1 Mbyte) and it worked pretty fine. This small
file has the same layers that the big one, but with less \
features.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp; Have you guys some
ideas?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Luis<o:p></o:p></span></p>

</div>

</body>

</html>


["image001.jpg" (image/jpeg)]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic