Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread Zac Spitzer
the fusion localisation only kicks if the OL localisation works On Wed, Sep 26, 2012 at 4:56 PM, David Wilhelmsson wrote: > Hi, > > Unfortunately, I'm not having any success creating my own language strings. > Here's what I've done: > > 1. Copy fusion/text/en.json -> fusion/text/[language code].j

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread Jackie Ng
It's the web tier and not the server tier that probably requires restarting. Another test is in a javascript console after the Fusion layout has loaded, test if Fusion.Strings.[language code], OpenLayers.Lang.[language code] are undefined. If either one is undefined, the string bundle is probably

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread David Wilhelmsson
Hi, After a little more investigation, I noticed that fusion/text/*.json and lib/OpenLayers/Lang/*.js were being compressed in lib/fusionSF-compressed.js. I manually added my new fusion/text/[language code].json and fusion/lib/OpenLayers/Lang/[language code].js to fusion/templates/mapguide/[theme

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread David Wilhelmsson
Hi, After following the above steps, here's some items that I've found that aren't being translated: 1. The BasemapSwitcher widget is reading the 'noCommercialMapLayers' string from fusion/text/[language code].json, however the strings for the commercial map layers are not coming from any languag

[mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Stefanie Siegel
Hi, is there any possibility to set up MapGuide with increased performance in a multi-user environment? Used components: MGOS 2.2, Maestro 4, Windows (Linux in progress), together with OpenLayers. Right now the whole system is either installed on one Server or virtual server. Is MGOS c

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Zac Spitzer
given MG 2.4 has 64 bit support, you can scale up on big hardware or run a cluster of smaller servers, but it all really depends on your maps and how they perform MapGuide is inherently multi user, how many users are you looking at? On Wed, Sep 26, 2012 at 7:30 PM, Stefanie Siegel wrote: > Hi, >

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Stefanie Siegel
Thanks for this fast answer! 5-10 users should be normal case. Up to 20 possible. The maps vary from data in Oracle Spatial (several GB volume) to ordinary SHP and TIFF. Performance as single user is so far not bad as soon as there is a TileCache (still got the MGCooker problem). Is it possible

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Martin Morrison
This is the key part of Zac's note " but it all really depends on your maps and how they perform". 5-10 users? That is nothing. Seriously, just work on the layers, code, etc to make them as fast as possible then load test it. On your Oracle data, create indexes, spatial indexes, optimize t

Re: [mapguide-users] patch for Ticket #743 / png8 transparency

2012-09-26 Thread Jackie Ng
I've taken a stab at this. Turns out that the new PNG8 code path in Bruno's patch does nothing with the computed baseColorPalette parameter that gets handed down. So my changes now tell msQuantizeRasterBuffer() to compute a palette of (256 - baseColorPalette.size()) colors, and fill the remainder

Re: [mapguide-users] patch for Ticket #743 / png8 transparency

2012-09-26 Thread Bruno Scott
Hi jackie, I've tried this also. And i have not see much difference on the resulting images. The msquantization seem pretty smart, it compute a color histogram first. For each color theres the amout of pixels used. Then it is sorted. So color that are used mostly in the image will be in the palett

Re: [mapguide-users] patch for Ticket #743 / png8 transparency

2012-09-26 Thread Jackie Ng
Unless I got this PNG8 quantization business all wrong, if the resulting image would use < 256 colors then there shouldn't be a need for the quantizer to compute a palette is there? Just take this list of colors that we've extracted out of all the Layer/Symbol Definitions and let the PNG8 quantizer

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Steve G
Agreed...you don't have that many users. Optimizing your layers is probably going to be the biggest performance gain. I would also throw in/out labeling...you might want to create different layer styles at different zoom levels that include/do not include labeling. The more that needs to be rend

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Stefanie Siegel
Thank you for all the answers. Sounds all like we should be able to solve this and got no limitations in this field. TIFF is always kind of a problem, but in some cases (aerial images) we can not do without... . ___ mapguide-users mailing list mapguid

[mapguide-users] Help needed on data migration for MapGuide

2012-09-26 Thread everling
Hello, I am using MGOS 2.4 RC2. May I ask what is the least effort method in migrating an existing map's feature sources from SHP to MySQL or PostGIS? I have tried using ogr2ogr with MySQL, but unfortunately that tool tends to stumble on problems with my SHP files. Problems like the DECIMAL field

Re: [mapguide-users] Help needed on data migration for MapGuide

2012-09-26 Thread Steve G
PostGIS/PostgreSQL has a shapefile loader GUI based off of shp2pgsql. It should be an plug-in for PgAdmin. I believe the latest release improved the shapefile loader so that you could load multiple files at once. You should also do a web search on shp2pgsql for command line options to load shape

Re: [mapguide-users] Help needed on data migration for MapGuide

2012-09-26 Thread everling
Thank you, that was informative. I had use the PgAdmin plug-in before, when it could not process whole folders. This change is welcomed. As for Paul Ramsey's blog, I am aware of the technique, having done something similar with ogr2ogr. My problem with ogr2ogr is with the error handling and perhap

Re: [mapguide-users] patch for Ticket #743 / png8 transparency

2012-09-26 Thread Zac Spitzer
One of the issues is that with subpixel rendering using AGG, a map using 60 base colours will actually use more than 60 colours for fine edges (so I believe) The reason why we use a predefined palette for tiles is that for Explore Australia, we were having heaps of problems with the colour of ocea

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Zac Spitzer
of course tiled maps help a lot here, the other trick is to down sample your tiffs for high scales, you don't want to be rendering a 3mb image of a 200gb dataset On Thu, Sep 27, 2012 at 2:42 AM, Stefanie Siegel wrote: > Thank you for all the answers. > > Sounds all like we should be able to solve

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Johnnie GIS
Totally agree with this Martin. Regards, Jonathon McIntyre i-Open Technologies Twitter: @JohnnieGIS www.i-opentech.com (C) 778-549-8382 Sent from my iPhone, please excuse any typos. On Sep 26, 2012, at 5:32 AM, Martin Morrison wrote: This is the key part of Zac's note " but it all really depe

Re: [mapguide-users] Multi-User Environment for MapGuide

2012-09-26 Thread Zac Spitzer
one last tip, sqlite is the fastest FDO datasource by a large factor only keep data which changes regularly in oracle for best performance On Thu, Sep 27, 2012 at 12:56 PM, Johnnie GIS wrote: > Totally agree with this Martin. > > Regards, > Jonathon McIntyre > i-Open Technologies > Twitter: @Joh