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
Merged

Reduce database size #1438

merged 7 commits into from
May 1, 2019

Conversation

rouault
Copy link
Member

@rouault rouault 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 added 7 commits April 22, 2019 15:49
- 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.
…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.
@kbevers kbevers added this to the 6.1.0 milestone May 1, 2019
@kbevers kbevers merged commit eeda5f7 into OSGeo:master May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants