[mapguide-internals] CS-Map in 2.1
Jason Birch
Jason.Birch at nanaimo.ca
Fri Mar 27 01:28:22 EDT 2009
Well, I managed to shave another 20Mb of the installer by tweaking some NSIS compression options; it's now down to 114MB, but you have to have about 900MB of memory free on your build machine to create the .exe.
I know that Safe Software (who also use Mentor) builds FME with both "standard" and "light" packages with the only difference being the grids. We could fairly easily do the same, depending on what Hugues has to say about whether we can just omit the gdc files or if we have to maintain alternate, commented-out, versions in our repository.
This would allow us to provide most value to our users at release points (where we create both installers and allow users to choose) and also allows us to distribute a smaller installer for development builds.
Jason
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: March-26-09 8:20 PM
To: mapguide-internals at lists.osgeo.org
Subject: RE: [mapguide-internals] CS-Map in 2.1
Can we go for a modular approach with CS-Map data files?
Only bundle the essential data files and offer the rest as optional downloads.
I really want a sub-100MB installer if possible.
- Jackie
How about 134Mb?
LZMA appears to do a reasonable job of compressing these files. It's over twice what I was getting without them (about 61Mb), but I'd be willing to live with this for at least the current release.
Hugues, what would the best approach be if we weren't going to bundle MapGuide with the grids by default, and instead provided users with a way of downloading an installer or zipfile post-install?
Looking at the way the Canada grid is disabled, I'm guessing that we could probably just comment out all of the grid file references, leaving the Fallback lines in place? Or would it be better to just truncate or not include the .gdc files; would CS-Map throw an exception that MapGuide would handle in these cases, or would it cause the MapAgent to crash hard (like it did when the .csv files were missing)?
Jackie, for now, I'm going to make the CS-Map dictionaries a top-level install, not optional, and placed right under the main install directory. Currently, if someone installs the web tier on a different server than the Server tier, it's not going to work.
Jason
-----Original Message-----
From: Jackie Ng
Sent: March-26-09 5:34 PM
To: mapguide-internals at lists.osgeo.org
Subject: RE: [mapguide-internals] CS-Map in 2.1
Somehow I'm not warm to the idea of a 270MB installer. Doesn't the web tier require these dictionaries too? If we want to support a separate server / web setup, then we'd have to package an additional copy of these dictionaries, inflating it even more!
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
--
View this message in context: http://n2.nabble.com/CS-Map-in-2.1-tp2535684p2542397.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list