Reducing the Dictionaries directory size

3 messages Options
Embed this post
Permalink
Dawson Bunn

Reducing the Dictionaries directory size

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

I've started to use CS-MAP API and it's working well.

 

I want to build an install routine but the current size of the Dictionaries directory is ~423MB. I see that other who use CS-MAP have reduced this down to 27MB; quite a saving.

 

Can anyone please tell me what I can do to reduce the size of this directory?

 

TIA,

 

Dawso


_______________________________________________
MetaCRS mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/metacrs
Hugues Wisniewski

RE: Reducing the Dictionaries directory size

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hello Dawson,

 

> I see that other who use CS-MAP have reduced this down to 27MB

Who are these others?

Is this install for your personal or professional use? Or to have it posted on osgeo?

 

I’d say that all the dictionary files are needed and that is why the size is so big

Now in the dictionary files the biggest chunk of the data are used by the grid files

The grid files are made available to avoid having the users running after them on the various governments’ websites

 

What is absolutely need are the dictionary files:

Category.csd

Coordsys.csd

Datums.csd

Elipsoid.csd

 

Then, the multiple regression files used by the MRT datums, these are all the *.mrt files

 

If you want to avoid the grid files you’d have to edit the *.gdc files and comment out the grid files they point to, so the *.gdc files are needed too

There might be a few grid files that are not referred to by any gdc file, meaning their name is hardcoded inside the source code, making those grid files required.

Those must be:

http://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev/Dictionaries/OSTN02.txt

http://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev/Dictionaries/OSTN97.TXT

 

Hugues

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Dawson Bunn
Sent: Monday, April 27, 2009 2:42 AM
To: [hidden email]
Subject: [MetaCRS] Reducing the Dictionaries directory size

 

I've started to use CS-MAP API and it's working well.

 

I want to build an install routine but the current size of the Dictionaries directory is ~423MB. I see that other who use CS-MAP have reduced this down to 27MB; quite a saving.

 

Can anyone please tell me what I can do to reduce the size of this directory?

 

TIA,

 

Dawso


_______________________________________________
MetaCRS mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/metacrs
Hugues Wisniewski

RE: Reducing the Dictionaries directory size

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hello Dawson,

 

Yes, Autocad Map has been using CsMap for more than ten years

In Map 2009, a complete public API was created

The API is open source and part of the MapGuide project.

All the interfaces are prefixed MgCoordinateSystem and are located here:

 

http://svn.osgeo.org/mapguide/trunk/MgDev/Common/Geometry/CoordinateSystem/

 

This is for the C++ API

That API is also exposed in Map as other formats like C# .Net for instance

 

Hugues

 

From: Dawson Bunn [mailto:[hidden email]]
Sent: Monday, May 04, 2009 2:24 PM
To: Hugues Wisniewski; Dawson Bunn; [hidden email]
Subject: Re: [MetaCRS] Reducing the Dictionaries directory size

 

Hi Hugues,

 

Thanks for you notes, I will try and reduce the size down in due course.

 

The size of 27MB is from Bentley in MicroStation V8i; I have not checked with them to see what they have done but I do have a copy of their dictionaries directory as I have V8i installed. I was hoping to point my code to their directory!

 

As you work for Autodesk, can you confirm if MAP 3D 2010 or 2009 is using CS-MAP, I know there is a new Geo spatial API but I can't seem to find which software its using.

 

Regards,

 

Dawson

 


From: Hugues Wisniewski <[hidden email]>
To: Dawson Bunn <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Monday, 4 May, 2009 6:41:28 PM
Subject: RE: [MetaCRS] Reducing the Dictionaries directory size

Hello Dawson,

 

> I see that other who use CS-MAP have reduced this down to 27MB

Who are these others?

Is this install for your personal or professional use? Or to have it posted on osgeo?

 

I’d say that all the dictionary files are needed and that is why the size is so big

Now in the dictionary files the biggest chunk of the data are used by the grid files

The grid files are made available to avoid having the users running after them on the various governments’ websites

 

What is absolutely need are the dictionary files:

Category.csd

Coordsys.csd

Datums.csd

Elipsoid.csd

 

Then, the multiple regression files used by the MRT datums, these are all the *.mrt files

 

If you want to avoid the grid files you’d have to edit the *.gdc files and comment out the grid files they point to, so the *.gdc files are needed too

There might be a few grid files that are not referred to by any gdc file, meaning their name is hardcoded inside the source code, making those grid files required.

Those must be:

http://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev/Dictionaries/OSTN02.txt

http://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev/Dictionaries/OSTN97.TXT

 

Hugues

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Dawson Bunn
Sent: Monday, April 27, 2009 2:42 AM
To: [hidden email]
Subject: [MetaCRS] Reducing the Dictionaries directory size

 

I've started to use CS-MAP API and it's working well.

 

I want to build an install routine but the current size of the Dictionaries directory is ~423MB. I see that other who use CS-MAP have reduced this down to 27MB; quite a saving.

 

Can anyone please tell me what I can do to reduce the size of this directory?

 

TIA,

 

Dawso


_______________________________________________
MetaCRS mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/metacrs