Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-05 Thread olivier.terral
Andreas Hocevar a écrit : > Hi, > > On 6/4/07, olivier.terral <[EMAIL PROTECTED]> wrote: >> > Probably. My application also uses the ZoomToAoi tool. I commented it >> > out now, and the error did not occur >> >> Could you send me your config file ? >> and say me precisely where and when this error

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-04 Thread Andreas Hocevar
Hi, On 6/4/07, olivier.terral <[EMAIL PROTECTED]> wrote: > > Probably. My application also uses the ZoomToAoi tool. I commented it > > out now, and the error did not occur > > Could you send me your config file ? > and say me precisely where and when this error occurs? Sorry, I could not reproduc

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-04 Thread olivier.terral
Hi Andreas, Andreas Hocevar a écrit : > Hi, > > On 6/1/07, olivier.terral <[EMAIL PROTECTED]> wrote: >> > - When Mapbuilder loads, there is occasionaly an error: dstdefn has no >> > properties (cscs.js, line 355). I observed that also in an application >> > using EPSG:31295. >> I've seen the same

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread Andreas Hocevar
Hi, On 6/1/07, olivier.terral <[EMAIL PROTECTED]> wrote: > > - When Mapbuilder loads, there is occasionaly an error: dstdefn has no > > properties (cscs.js, line 355). I observed that also in an application > > using EPSG:31295. > I've seen the same bug in ZoomToAoi tool so maybe it comes from he

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread olivier.terral
Andreas Hocevar a écrit : > > - When Mapbuilder loads, there is occasionaly an error: dstdefn has no > properties (cscs.js, line 355). I observed that also in an application > using EPSG:31295. I've seen the same bug in ZoomToAoi tool so maybe it comes from here. No time to fixed today; I've a loo

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread olivier.terral
Bug already fixed Andres read previous mail Andreas Hocevar a écrit : > Hi, > > On 6/1/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: >> > - The map scalebar works for me in an application with EPSG:31295. So >> > maybe the wrong scale is only calculated in EPSG:4326? Because the >> > wrong i

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread Andreas Hocevar
Hi, On 6/1/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > > - The map scalebar works for me in an application with EPSG:31295. So > > maybe the wrong scale is only calculated in EPSG:4326? Because the > > wrong information comes from OpenLayers functions, I suspect that this > > has to do wi

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread Christopher Schmidt
On Fri, Jun 01, 2007 at 06:05:19PM +0200, Andreas Hocevar wrote: > Hi, > > two observations: > > - The map scalebar works for me in an application with EPSG:31295. So > maybe the wrong scale is only calculated in EPSG:4326? Because the > wrong information comes from OpenLayers functions, I suspec

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread Andreas Hocevar
Hi, two observations: - The map scalebar works for me in an application with EPSG:31295. So maybe the wrong scale is only calculated in EPSG:4326? Because the wrong information comes from OpenLayers functions, I suspect that this has to do with incorrect settings of maxExtent, maxResolutions and

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS?

2007-06-01 Thread olivier.terral
Bug find Gertjan, thanks for debugging. Units paramter of proj hardcoded in meters Don't worry for internationalization, it's in progress. Gertjan van Oosten a écrit : > As quoted from Gertjan van Oosten <[EMAIL PROTECTED]>: > >>> But say me what scale I must find for mapViewer demo? >>>

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS?

2007-06-01 Thread Gertjan van Oosten
As quoted from Gertjan van Oosten <[EMAIL PROTECTED]>: > > But say me what scale I must find for mapViewer demo? > > The mapViewer demo: > http://localhost:8080/mapbuilder/demo/mapViewer/ > actually uses MapScaleBar, but that also shows the wrong scale (it shows > "2 m" when you just open the UR

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS?

2007-06-01 Thread Gertjan van Oosten
Hi Olivier, As quoted from "olivier.terral" <[EMAIL PROTECTED]>: > MapScaleText never use cscs so I don't think it's a cscs problem. Hmm, interesting. > But say me what scale I must find for mapViewer demo? The mapViewer demo: http://localhost:8080/mapbuilder/demo/mapViewer/ actually uses Map

Re: [Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread olivier.terral
Hi Gertjan, MapScaleText never use cscs so I don't think it's a cscs problem. But say me what scale I must find for mapViewer demo? Gertjan van Oosten a écrit : > Hi Olivier, > > I just noticed (in the mapViewer demo) that the MapScaleText is no > longer correct. It was correct just before

[Mapbuilder-devel] MapScaleText no longer correct with CSCS

2007-06-01 Thread Gertjan van Oosten
Hi Olivier, I just noticed (in the mapViewer demo) that the MapScaleText is no longer correct. It was correct just before the CSCS commit, and is now incorrect after updating CSCS. Could you please have a look at it? Kind regards, -- -- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.