Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce database size #1438

Merged
merged 7 commits into from May 1, 2019

Conversation

Projects
None yet
2 participants
@rouault
Copy link
Member

commented Apr 22, 2019

A number of fixes / improvements including 2 that makes the database shrink from 6.3 MB to 5.2 MB

@rouault rouault force-pushed the rouault:reduce_db_size branch from 7b01f38 to 3270331 Apr 22, 2019

rouault added some commits Apr 21, 2019

Database: make conversion & helmert_transformation updatable views
- Transform conversion as a view, and when inserting into it, actually
  insert into 3 tables: conversion_table, conversion_method and conversion_param,
  so that method and parameter names are not repeated each time.
- Similarly for helmert_tranformation, insert into helmert_transformation_tabl
  and coordinate_operation_method.

This reduces the db size from 6 344 704 bytes to 5 853 184 bytes, without
significant slowdown for queries.
Database: import common projections from ESRI projected CRS in struct…
…ured form

That is Transverse_Mercator/Gauss_Kruger, Lambert_Conformal_Conic and
Hotine_Oblique_Mercator_Azimuth_Natural_Origin

Decreases proj.db from 5 853 184 bytes to 5 189 632 bytes.

@rouault rouault force-pushed the rouault:reduce_db_size branch from 3270331 to 8c02521 Apr 22, 2019

@kbevers kbevers added this to the 6.1.0 milestone May 1, 2019

@kbevers kbevers merged commit eeda5f7 into OSGeo:master May 1, 2019

4 checks passed

FreeBSD Task Summary
Details
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
coverage/coveralls Coverage increased (+2.0e-05%) to 85.67%
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.