Server Font Queries

15 messages Options
Embed this post
Permalink
Crispin_at_1Spatial

Server Font Queries

Reply Threaded More More options
Print post
Permalink
Folks,

For MapGuide text and font symbols the definition of the font is contained in the layer XML.

When authoring layers in Maestro there is a hard-coded set of fonts from an XML file.  These are pretty standard but limits flexibility, especially when dealing with symbol fonts that may have been loaded on to the server.  Is there a way through the MapGuide API do do font discovery?

Finally, I noticed on a low-powered server that at MG service start-up (using FileMon) there was a huge amount of font polling.  A couple of Asian sets (Batang) took 30+ seconds of MG server processing.

 Crispin
Walt Welton-Lair

RE: Server Font Queries

Reply Threaded More More options
Print post
Permalink
The Freetype library gets initialized at startup, and then the server loads all fonts in the system font folder.  Once the server is running it does not check again for new fonts.

There's probably some optimization that can be done here, e.g. lazy loading of fonts.  But in the case of your Asian font, if we don't load it at startup and instead load it on demand, then when a layer using that font is stylized it will take an extra 30 seconds (on your server) the first time.  That doesn't make for a good user experience.

Also keep in mind that stylization supports font matching - if a specified font is not found then it iterates through the available fonts looking for a reasonably close one.  At that point the server will have to load all the fonts.  So it's a tradeoff.  Is it better to load them all at the beginning, at a time when no users are active?  Or load them on demand, forcing users to wait longer the first time they make a request which uses an unloaded font?

Walt

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Crispin_at_1Spatial
Sent: Friday, November 06, 2009 6:18 AM
To: [hidden email]
Subject: [mapguide-internals] Server Font Queries


Folks,

For MapGuide text and font symbols the definition of the font is contained
in the layer XML.

When authoring layers in Maestro there is a hard-coded set of fonts from an
XML file.  These are pretty standard but limits flexibility, especially when
dealing with symbol fonts that may have been loaded on to the server.  Is
there a way through the MapGuide API do do font discovery?

Finally, I noticed on a low-powered server that at MG service start-up
(using FileMon) there was a huge amount of font polling.  A couple of Asian
sets (Batang) took 30+ seconds of MG server processing.

 Crispin

--
View this message in context: http://n2.nabble.com/Server-Font-Queries-tp3958112p3958112.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Crispin_at_1Spatial

RE: Server Font Queries

Reply Threaded More More options
Print post
Permalink
Thanks Walt,

I assumed it was something like that.  Font matching is OK for text/labels but would result in completely different symbology being displayed for font symbols that are more typically a character code in WingDings etc (though the legend would match of course).

So back to authoring - should there be a way for the MG server to expose it's known fonts through the API for clients such as Studio/Maestro to understand?


Walt Welton-Lair wrote:
The Freetype library gets initialized at startup, and then the server loads all fonts in the system font folder.  Once the server is running it does not check again for new fonts.

There's probably some optimization that can be done here, e.g. lazy loading of fonts.  But in the case of your Asian font, if we don't load it at startup and instead load it on demand, then when a layer using that font is stylized it will take an extra 30 seconds (on your server) the first time.  That doesn't make for a good user experience.

Also keep in mind that stylization supports font matching - if a specified font is not found then it iterates through the available fonts looking for a reasonably close one.  At that point the server will have to load all the fonts.  So it's a tradeoff.  Is it better to load them all at the beginning, at a time when no users are active?  Or load them on demand, forcing users to wait longer the first time they make a request which uses an unloaded font?

Walt

-----Original Message-----
From: mapguide-internals-bounces@lists.osgeo.org [mailto:mapguide-internals-bounces@lists.osgeo.org] On Behalf Of Crispin_at_1Spatial
Sent: Friday, November 06, 2009 6:18 AM
To: mapguide-internals@lists.osgeo.org
Subject: [mapguide-internals] Server Font Queries


Folks,

For MapGuide text and font symbols the definition of the font is contained
in the layer XML.

When authoring layers in Maestro there is a hard-coded set of fonts from an
XML file.  These are pretty standard but limits flexibility, especially when
dealing with symbol fonts that may have been loaded on to the server.  Is
there a way through the MapGuide API do do font discovery?

Finally, I noticed on a low-powered server that at MG service start-up
(using FileMon) there was a huge amount of font polling.  A couple of Asian
sets (Batang) took 30+ seconds of MG server processing.

 Crispin

--
View this message in context: http://n2.nabble.com/Server-Font-Queries-tp3958112p3958112.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Kenneth Skovhede, GEOGRAF A/S

Re: Server Font Queries

Reply Threaded More More options
Print post
Permalink
AFAIK, this functionality is not exposed by the HTTP API.
But I think it should be supported, but perhaps protected by a login?

Regards, Kenneth Skovhede, GEOGRAF A/S



Crispin_at_1Spatial skrev:

> Thanks Walt,
>
> I assumed it was something like that.  Font matching is OK for text/labels
> but would result in completely different symbology being displayed for font
> symbols that are more typically a character code in WingDings etc (though
> the legend would match of course).
>
> So back to authoring - should there be a way for the MG server to expose
> it's known fonts through the API for clients such as Studio/Maestro to
> understand?
>
>
>
> Walt Welton-Lair wrote:
>  
>> The Freetype library gets initialized at startup, and then the server
>> loads all fonts in the system font folder.  Once the server is running it
>> does not check again for new fonts.
>>
>> There's probably some optimization that can be done here, e.g. lazy
>> loading of fonts.  But in the case of your Asian font, if we don't load it
>> at startup and instead load it on demand, then when a layer using that
>> font is stylized it will take an extra 30 seconds (on your server) the
>> first time.  That doesn't make for a good user experience.
>>
>> Also keep in mind that stylization supports font matching - if a specified
>> font is not found then it iterates through the available fonts looking for
>> a reasonably close one.  At that point the server will have to load all
>> the fonts.  So it's a tradeoff.  Is it better to load them all at the
>> beginning, at a time when no users are active?  Or load them on demand,
>> forcing users to wait longer the first time they make a request which uses
>> an unloaded font?
>>
>> Walt
>>
>> -----Original Message-----
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of
>> Crispin_at_1Spatial
>> Sent: Friday, November 06, 2009 6:18 AM
>> To: [hidden email]
>> Subject: [mapguide-internals] Server Font Queries
>>
>>
>> Folks,
>>
>> For MapGuide text and font symbols the definition of the font is contained
>> in the layer XML.
>>
>> When authoring layers in Maestro there is a hard-coded set of fonts from
>> an
>> XML file.  These are pretty standard but limits flexibility, especially
>> when
>> dealing with symbol fonts that may have been loaded on to the server.  Is
>> there a way through the MapGuide API do do font discovery?
>>
>> Finally, I noticed on a low-powered server that at MG service start-up
>> (using FileMon) there was a huge amount of font polling.  A couple of
>> Asian
>> sets (Batang) took 30+ seconds of MG server processing.
>>
>>  Crispin
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Server-Font-Queries-tp3958112p3958112.html
>> Sent from the MapGuide Internals mailing list archive at Nabble.com.
>> _______________________________________________
>> mapguide-internals mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>> _______________________________________________
>> mapguide-internals mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>>
>>    
>
>  
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

Rendering engine issue

Reply Threaded More More options
Print post
Permalink
Hello Internals,

i have noticed a strange behaviour of rendering engine when zoom action is performed.

Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is XPSP3 and browser is IE8.

Everything is in swf file (captured flash movie), so please take a look.

Should I open new a ticket for this issue?

It's interesting that AutoCAD Map 3D had the same problem a year ago.


Ivan Miličević
voditelj odjela razvoja
 
SUPRA NET d.o.o.
Majstorska 5, 10000 Zagreb
CROATIA

Mobile: +385 (0)91 434-3940
Office: +385 (0)1 434-3940
Fax: +385 (0)1 434-3999
Email: [hidden email]
URL: www.supranet.hr





_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
Sorry,

here is attach.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
Sent: Tuesday, November 10, 2009 1:16 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Rendering engine issue

Hello Internals,

i have noticed a strange behaviour of rendering engine when zoom action is performed.

Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is XPSP3 and browser is IE8.

Everything is in swf file (captured flash movie), so please take a look.

Should I open new a ticket for this issue?

It's interesting that AutoCAD Map 3D had the same problem a year ago.


Ivan Miličević
voditelj odjela razvoja
 
SUPRA NET d.o.o.
Majstorska 5, 10000 Zagreb
CROATIA

Mobile: +385 (0)91 434-3940
Office: +385 (0)1 434-3940
Fax: +385 (0)1 434-3999
Email: [hidden email]
URL: www.supranet.hr





_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
Ok, I can't attach via Outlook so, here is a download link: http://gis.supranet.hr/downloads/mg.zip 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
Sent: Tuesday, November 10, 2009 1:16 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] RE: Rendering engine issue

Sorry,

here is attach.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
Sent: Tuesday, November 10, 2009 1:16 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Rendering engine issue

Hello Internals,

i have noticed a strange behaviour of rendering engine when zoom action is performed.

Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is XPSP3 and browser is IE8.

Everything is in swf file (captured flash movie), so please take a look.

Should I open new a ticket for this issue?

It's interesting that AutoCAD Map 3D had the same problem a year ago.


Ivan Miličević
voditelj odjela razvoja
 
SUPRA NET d.o.o.
Majstorska 5, 10000 Zagreb
CROATIA

Mobile: +385 (0)91 434-3940
Office: +385 (0)1 434-3940
Fax: +385 (0)1 434-3999
Email: [hidden email]
URL: www.supranet.hr




_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
Anyone see this???

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
Sent: Tuesday, November 10, 2009 1:18 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] RE: Rendering engine issue

Ok, I can't attach via Outlook so, here is a download link: http://gis.supranet.hr/downloads/mg.zip 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
Sent: Tuesday, November 10, 2009 1:16 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] RE: Rendering engine issue

Sorry,

here is attach.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
Sent: Tuesday, November 10, 2009 1:16 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Rendering engine issue

Hello Internals,

i have noticed a strange behaviour of rendering engine when zoom action is performed.

Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is XPSP3 and browser is IE8.

Everything is in swf file (captured flash movie), so please take a look.

Should I open new a ticket for this issue?

It's interesting that AutoCAD Map 3D had the same problem a year ago.


Ivan Miličević
voditelj odjela razvoja
 
SUPRA NET d.o.o.
Majstorska 5, 10000 Zagreb
CROATIA

Mobile: +385 (0)91 434-3940
Office: +385 (0)1 434-3940
Fax: +385 (0)1 434-3999
Email: [hidden email]
URL: www.supranet.hr




_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
zspitzer

Re: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
it would really help if you provided a textual description,
it looks like your zooming in, but hard to tell???

z

2009/11/17 Ivan Miličević <[hidden email]>

> Anyone see this???
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:18 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Ok, I can't attach via Outlook so, here is a download link:
> http://gis.supranet.hr/downloads/mg.zip
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Sorry,
>
> here is attach.
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] Rendering engine issue
>
> Hello Internals,
>
> i have noticed a strange behaviour of rendering engine when zoom action is
> performed.
>
> Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is
> XPSP3 and browser is IE8.
>
> Everything is in swf file (captured flash movie), so please take a look.
>
> Should I open new a ticket for this issue?
>
> It's interesting that AutoCAD Map 3D had the same problem a year ago.
>
>
> Ivan Miličević
> voditelj odjela razvoja
>
> SUPRA NET d.o.o.
> Majstorska 5, 10000 Zagreb
> CROATIA
>
> Mobile: +385 (0)91 434-3940
> Office: +385 (0)1 434-3940
> Fax: +385 (0)1 434-3999
> Email: [hidden email]
> URL: www.supranet.hr
>
>
>
>
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

RE: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
Yes, I'm zooming in from large scale to small one.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Zac Spitzer
Sent: Tuesday, November 17, 2009 8:25 AM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] RE: Rendering engine issue

it would really help if you provided a textual description,
it looks like your zooming in, but hard to tell???

z

2009/11/17 Ivan Miličević <[hidden email]>

> Anyone see this???
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:18 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Ok, I can't attach via Outlook so, here is a download link:
> http://gis.supranet.hr/downloads/mg.zip
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Sorry,
>
> here is attach.
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] Rendering engine issue
>
> Hello Internals,
>
> i have noticed a strange behaviour of rendering engine when zoom action is
> performed.
>
> Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is
> XPSP3 and browser is IE8.
>
> Everything is in swf file (captured flash movie), so please take a look.
>
> Should I open new a ticket for this issue?
>
> It's interesting that AutoCAD Map 3D had the same problem a year ago.
>
>
> Ivan Miličević
> voditelj odjela razvoja
>
> SUPRA NET d.o.o.
> Majstorska 5, 10000 Zagreb
> CROATIA
>
> Mobile: +385 (0)91 434-3940
> Office: +385 (0)1 434-3940
> Fax: +385 (0)1 434-3999
> Email: [hidden email]
> URL: www.supranet.hr
>
>
>
>
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Kenneth Skovhede, GEOGRAF A/S

Re: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
In reply to this post by Ivan Miličević-3
It seems as if there is a bug in the rendering engine.
Try adjusting the linewidth to see if it gets better.
Also make sure the line data is clean, eg. no double lines etc.

This is usually due to rounding errors, what scale are you zooming in at?
Anything below 1:50 makes my MapGuide use extreme memory and often crashes.

Regards, Kenneth Skovhede, GEOGRAF A/S



Ivan Miličević skrev:

> Anyone see this???
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:18 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Ok, I can't attach via Outlook so, here is a download link: http://gis.supranet.hr/downloads/mg.zip 
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Sorry,
>
> here is attach.
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] Rendering engine issue
>
> Hello Internals,
>
> i have noticed a strange behaviour of rendering engine when zoom action is performed.
>
> Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is XPSP3 and browser is IE8.
>
> Everything is in swf file (captured flash movie), so please take a look.
>
> Should I open new a ticket for this issue?
>
> It's interesting that AutoCAD Map 3D had the same problem a year ago.
>
>
> Ivan Miličević
> voditelj odjela razvoja
>  
> SUPRA NET d.o.o.
> Majstorska 5, 10000 Zagreb
> CROATIA
>
> Mobile: +385 (0)91 434-3940
> Office: +385 (0)1 434-3940
> Fax: +385 (0)1 434-3999
> Email: [hidden email]
> URL: www.supranet.hr
>
>
>
>
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>  
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

RE: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
Hello Kenneth,

Double checked; no double lines, single layer, clean lines, various line width, map space and device space units... The behaviour is same.

Scale is small, everything bellow 1:100000 (meters, projection is LL84 - WGS84) is falling apart. MG seems to be just fine (memory is fine) and error log is empty.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Kenneth Skovhede, GEOGRAF A/S
Sent: Tuesday, November 17, 2009 9:31 AM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] RE: Rendering engine issue

It seems as if there is a bug in the rendering engine.
Try adjusting the linewidth to see if it gets better.
Also make sure the line data is clean, eg. no double lines etc.

This is usually due to rounding errors, what scale are you zooming in at?
Anything below 1:50 makes my MapGuide use extreme memory and often crashes.

Regards, Kenneth Skovhede, GEOGRAF A/S



Ivan Miličević skrev:

> Anyone see this???
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:18 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Ok, I can't attach via Outlook so, here is a download link: http://gis.supranet.hr/downloads/mg.zip 
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] RE: Rendering engine issue
>
> Sorry,
>
> here is attach.
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Miličević
> Sent: Tuesday, November 10, 2009 1:16 PM
> To: MapGuide Internals Mail List
> Subject: [mapguide-internals] Rendering engine issue
>
> Hello Internals,
>
> i have noticed a strange behaviour of rendering engine when zoom action is performed.
>
> Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is XPSP3 and browser is IE8.
>
> Everything is in swf file (captured flash movie), so please take a look.
>
> Should I open new a ticket for this issue?
>
> It's interesting that AutoCAD Map 3D had the same problem a year ago.
>
>
> Ivan Miličević
> voditelj odjela razvoja
>  
> SUPRA NET d.o.o.
> Majstorska 5, 10000 Zagreb
> CROATIA
>
> Mobile: +385 (0)91 434-3940
> Office: +385 (0)1 434-3940
> Fax: +385 (0)1 434-3999
> Email: [hidden email]
> URL: www.supranet.hr
>
>
>
>
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>  
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
zspitzer

Re: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
what resolution is the data?

if you post a mgp to a trac ticket it would be great :)

z

2009/11/17 Ivan Miličević <[hidden email]>

> Hello Kenneth,
>
> Double checked; no double lines, single layer, clean lines, various line
> width, map space and device space units... The behaviour is same.
>
> Scale is small, everything bellow 1:100000 (meters, projection is LL84 -
> WGS84) is falling apart. MG seems to be just fine (memory is fine) and error
> log is empty.
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Kenneth Skovhede,
> GEOGRAF A/S
> Sent: Tuesday, November 17, 2009 9:31 AM
> To: MapGuide Internals Mail List
> Subject: Re: [mapguide-internals] RE: Rendering engine issue
>
> It seems as if there is a bug in the rendering engine.
> Try adjusting the linewidth to see if it gets better.
> Also make sure the line data is clean, eg. no double lines etc.
>
> This is usually due to rounding errors, what scale are you zooming in at?
> Anything below 1:50 makes my MapGuide use extreme memory and often crashes.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Ivan Miličević skrev:
> > Anyone see this???
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:18 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] RE: Rendering engine issue
> >
> > Ok, I can't attach via Outlook so, here is a download link:
> http://gis.supranet.hr/downloads/mg.zip
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:16 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] RE: Rendering engine issue
> >
> > Sorry,
> >
> > here is attach.
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:16 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] Rendering engine issue
> >
> > Hello Internals,
> >
> > i have noticed a strange behaviour of rendering engine when zoom action
> is performed.
> >
> > Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is
> XPSP3 and browser is IE8.
> >
> > Everything is in swf file (captured flash movie), so please take a look.
> >
> > Should I open new a ticket for this issue?
> >
> > It's interesting that AutoCAD Map 3D had the same problem a year ago.
> >
> >
> > Ivan Miličević
> > voditelj odjela razvoja
> >
> > SUPRA NET d.o.o.
> > Majstorska 5, 10000 Zagreb
> > CROATIA
> >
> > Mobile: +385 (0)91 434-3940
> > Office: +385 (0)1 434-3940
> > Fax: +385 (0)1 434-3999
> > Email: [hidden email]
> > URL: www.supranet.hr
> >
> >
> >
> >
> > _______________________________________________
> > mapguide-internals mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> > _______________________________________________
> > mapguide-internals mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> >
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Ivan Miličević-3

RE: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink
I would be delighted to do that! :)

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Zac Spitzer
Sent: Tuesday, November 17, 2009 9:56 AM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] RE: Rendering engine issue

what resolution is the data?

if you post a mgp to a trac ticket it would be great :)

z

2009/11/17 Ivan Miličević <[hidden email]>

> Hello Kenneth,
>
> Double checked; no double lines, single layer, clean lines, various line
> width, map space and device space units... The behaviour is same.
>
> Scale is small, everything bellow 1:100000 (meters, projection is LL84 -
> WGS84) is falling apart. MG seems to be just fine (memory is fine) and error
> log is empty.
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Kenneth Skovhede,
> GEOGRAF A/S
> Sent: Tuesday, November 17, 2009 9:31 AM
> To: MapGuide Internals Mail List
> Subject: Re: [mapguide-internals] RE: Rendering engine issue
>
> It seems as if there is a bug in the rendering engine.
> Try adjusting the linewidth to see if it gets better.
> Also make sure the line data is clean, eg. no double lines etc.
>
> This is usually due to rounding errors, what scale are you zooming in at?
> Anything below 1:50 makes my MapGuide use extreme memory and often crashes.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Ivan Miličević skrev:
> > Anyone see this???
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:18 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] RE: Rendering engine issue
> >
> > Ok, I can't attach via Outlook so, here is a download link:
> http://gis.supranet.hr/downloads/mg.zip
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:16 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] RE: Rendering engine issue
> >
> > Sorry,
> >
> > here is attach.
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:16 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] Rendering engine issue
> >
> > Hello Internals,
> >
> > i have noticed a strange behaviour of rendering engine when zoom action
> is performed.
> >
> > Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is
> XPSP3 and browser is IE8.
> >
> > Everything is in swf file (captured flash movie), so please take a look.
> >
> > Should I open new a ticket for this issue?
> >
> > It's interesting that AutoCAD Map 3D had the same problem a year ago.
> >
> >
> > Ivan Miličević
> > voditelj odjela razvoja
> >
> > SUPRA NET d.o.o.
> > Majstorska 5, 10000 Zagreb
> > CROATIA
> >
> > Mobile: +385 (0)91 434-3940
> > Office: +385 (0)1 434-3940
> > Fax: +385 (0)1 434-3999
> > Email: [hidden email]
> > URL: www.supranet.hr
> >
> >
> >
> >
> > _______________________________________________
> > mapguide-internals mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> > _______________________________________________
> > mapguide-internals mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> >
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Traian Stanev

RE: RE: Rendering engine issue

Reply Threaded More More options
Print post
Permalink

Looks like you zoomed in beyond double precision limits. However, it seemed to me like it was useless to zoom in so far, since all you were doing was zooming in on a single point.

If you want to zoom in further without artifacts, I recommend changing the coordinate system of your data such that the origin (0,0) is somewhere near the area of interest.

Traian


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Ivan Milicevic
Sent: Tuesday, November 17, 2009 4:31 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] RE: Rendering engine issue

I would be delighted to do that! :)

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Zac Spitzer
Sent: Tuesday, November 17, 2009 9:56 AM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] RE: Rendering engine issue

what resolution is the data?

if you post a mgp to a trac ticket it would be great :)

z

2009/11/17 Ivan Miličević <[hidden email]>

> Hello Kenneth,
>
> Double checked; no double lines, single layer, clean lines, various line
> width, map space and device space units... The behaviour is same.
>
> Scale is small, everything bellow 1:100000 (meters, projection is LL84 -
> WGS84) is falling apart. MG seems to be just fine (memory is fine) and error
> log is empty.
>
> -----Original Message-----
> From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Kenneth Skovhede,
> GEOGRAF A/S
> Sent: Tuesday, November 17, 2009 9:31 AM
> To: MapGuide Internals Mail List
> Subject: Re: [mapguide-internals] RE: Rendering engine issue
>
> It seems as if there is a bug in the rendering engine.
> Try adjusting the linewidth to see if it gets better.
> Also make sure the line data is clean, eg. no double lines etc.
>
> This is usually due to rounding errors, what scale are you zooming in at?
> Anything below 1:50 makes my MapGuide use extreme memory and often crashes.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Ivan Miličević skrev:
> > Anyone see this???
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:18 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] RE: Rendering engine issue
> >
> > Ok, I can't attach via Outlook so, here is a download link:
> http://gis.supranet.hr/downloads/mg.zip
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:16 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] RE: Rendering engine issue
> >
> > Sorry,
> >
> > here is attach.
> >
> > -----Original Message-----
> > From: [hidden email] [mailto:
> [hidden email]] On Behalf Of Ivan Miličević
> > Sent: Tuesday, November 10, 2009 1:16 PM
> > To: MapGuide Internals Mail List
> > Subject: [mapguide-internals] Rendering engine issue
> >
> > Hello Internals,
> >
> > i have noticed a strange behaviour of rendering engine when zoom action
> is performed.
> >
> > Runned server is Mapguide 2.1 (Jason's ultra nightly beta build), OS is
> XPSP3 and browser is IE8.
> >
> > Everything is in swf file (captured flash movie), so please take a look.
> >
> > Should I open new a ticket for this issue?
> >
> > It's interesting that AutoCAD Map 3D had the same problem a year ago.
> >
> >
> > Ivan Miličević
> > voditelj odjela razvoja
> >
> > SUPRA NET d.o.o.
> > Majstorska 5, 10000 Zagreb
> > CROATIA
> >
> > Mobile: +385 (0)91 434-3940
> > Office: +385 (0)1 434-3940
> > Fax: +385 (0)1 434-3999
> > Email: [hidden email]
> > URL: www.supranet.hr
> >
> >
> >
> >
> > _______________________________________________
> > mapguide-internals mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> > _______________________________________________
> > mapguide-internals mailing list
> > [hidden email]
> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> >
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals