[mapguide-internals] CS-Map in 2.1

Hugues Wisniewski hugues.wisniewski at autodesk.com
Fri Mar 27 13:07:37 EDT 2009


> 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?

I could prepare a zip files for all the dictionaries and post it on the CsMap site but I don't have any resources to work on an installer

>I'm guessing that we could probably just comment out all of the grid file references, leaving the Fallback lines in place?

I think you always need the gdc files. They are small anyway
Ideally you can proceed as it's been done for Canada but then for each CsMap release you'd have edit all these files
I just tried to get rid of the grid folder for Usa and see how it goes when using a state plane system like " CA-I"
An exception is thrown inside the MgCoordinateSystem API when this system is used. I cannot use this system because to setup the conversion from its datum NAD27 to WGS84 the American grid file folder is needed.
I haven't tested MapGuide but I know that all the MgCoordinateSystem APIs and other are used within try/catch statements so MapGuide would handle the failure

Here's an input from Norm Olsen who works on CsMap:

"The GeoidHeight.gdc file only references Geoid99 files; so all the other geoid data files (Geoid96, Geoid03, WW15MGH.GRD files probably do not need to be in the distribution.  They could be referenced in the user manual/readme.txt.  Also, I'm willing to bet that the geoid stuff doesn't get used anywhere in MapGuide."

Hugues


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Thursday, March 26, 2009 8:05 PM
To: 'MapGuide Internals Mail List'
Subject: RE: [mapguide-internals] CS-Map in 2.1

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


More information about the mapguide-internals mailing list