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

Release 0.8.10 ? #34

Merged
merged 13 commits into from
Nov 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 31 additions & 17 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Changes
=======

0.8.10 (2018-11-22)
------------------

- Fix typo on documentation and french interface with *semis* de point. (#32)

- Fix incorrect 'REVENUS' and 'REVENUS_PAR_MENAGE' values on Grand Paris dataset. (#33)

- Fix bug with the displaying of information on table dialog in french interface (such as "20 entrées par page"). (#29)

- Start gunicorn with some "max-requests" value to automatically restart the workers and minimize the potential memory leak impact.

- Fix bug with 'reverse palette' button on smoothed map properties dialog. (#31)


0.8.9 (2018-10-15)
------------------

Expand Down Expand Up @@ -44,7 +58,7 @@ Changes

- Fix unexpected GeoJSON file also present in zip archive when exporting to shapefile.

- Fix incorect behavior when editing scalebar properties (+ fix the behaviour of the its cancel button).
- Fix incorrect behavior when editing scalebar properties (+ fix the behavior of the its cancel button).


0.8.4 (2018-06-08)
Expand Down Expand Up @@ -106,23 +120,23 @@ Changes

- Removes arithmetic progression classification method.

- Also allow to create proportionnal symbols map when analyzing a layer of points.
- Also allow to create proportional symbols map when analyzing a layer of points.

- Allow to use rounded corners on rectangles available as layout features.

- Slightly change the behavior when a result layer is added by not fitting anymore the viewport on it.

- Fix the "fit-zoom" behavior when using Armadillo projection and a layer at world scale.

- Change the stewart implementation to consume less memory (smoomapy package is dropped temporarily).
- Change the Stewart implementation to consume less memory (smoomapy package is dropped temporarily).


0.7.1 (2018-03-09)
------------------

- Fix typos in documentation.

- Add a new option for proportionnal symbols legends, allowing to display a line between the symbol and the value.
- Add a new option for proportional symbols legends, allowing to display a line between the symbol and the value.

- Enable the (still experimental) auto-alignment feature for text annotation.

Expand All @@ -144,21 +158,21 @@ Changes

- Fix/improve some styling options in links menu and in links classification box.

- Fix error occuring on labels creation when using a target layer with empty geometries and warn the user if it's the case (as for the other representations).
- Fix error occurring on labels creation when using a target layer with empty geometries and warn the user if it's the case (as for the other representations).


0.6.5 (2018-01-12)
------------------

- Be more tolerant with in the regular expression used to filter the name of exported maps (by allowing dot, dash and parantheses for example).
- Be more tolerant with in the regular expression used to filter the name of exported maps (by allowing dot, dash and parentheses for example).

- Fix the displaying of the "waiting" overlay when loading a TopoJSON layer.

- Fix the displaying of the "horizontal layout" option for legend when used on a categorical choropleth map + rounding precision for "horizontal layout" legend and "proportionnal symbols" legend.
- Fix the displaying of the "horizontal layout" option for legend when used on a categorical choropleth map + rounding precision for "horizontal layout" legend and "proportional symbols" legend.

- Fix bug when changing layer name when using particularily long names.
- Fix bug when changing layer name when using particularly long names.

- Compute jenks natural breaks in a web worker if the dataset contains more than 7500 features.
- Compute Jenks natural breaks in a web worker if the dataset contains more than 7500 features.


0.6.4 (2017-12-22)
Expand Down Expand Up @@ -196,7 +210,7 @@ Changes

- New: allow to create labels according to the values of a given field (such as creating "Name" labels only for cities with larger "Population" than xxx)

- Fix some bugs occuring while loading user files and improve the support for tabular file containing coordinates.
- Fix some bugs occurring while loading user files and improve the support for tabular file containing coordinates.

- Fix some typos in the interface and improve the displaying of the projection name when the projection is coming from a proj.4 string.

Expand All @@ -208,7 +222,7 @@ Changes

- New: ask the user if he wants to remove the un-joined features from his basemap (after a partial join).

- New: allow to make proportionnal links (ie. without data classification, only graduated links were available until now).
- New: allow to make proportional links (ie. without data classification, only graduated links were available until now).

- New: add some new basemaps for France.

Expand Down Expand Up @@ -236,21 +250,21 @@ Changes
0.5.4 (2017-10-01)
------------------

- Change the default font used in text/tspan SVG elements (in favor of verdana). Should fix (for real this time?) the bug occuring while trying to open the resulting SVG file with some software on systems where the font in use is not available (notably Adobe Illustrator v16.0 CS6 on MacOSX).
- Change the default font used in text/tspan SVG elements (in favor of verdana). Should fix (for real this time?) the bug occurring while trying to open the resulting SVG file with some software on systems where the font in use is not available (notably Adobe Illustrator v16.0 CS6 on MacOSX).

- Disable the ability to use sphere and graticule with lambert conic conformal projection (the generated path, which is currently not clipped when using Proj4 projections, could be very heavy due to the conical nature of the projection).

- Allow to cancel the ongoing addition of a layout item by pressing Esc (and so inform the user about that in the notification).

- Improve the legend for proportionnal symbols (only for "single color" ones) by also using the stroke color of the result layer in the legend.
- Improve the legend for proportional symbols (only for "single color" ones) by also using the stroke color of the result layer in the legend.

- Add "Bertin 1953" projection to the list of available projections.


0.5.3 (2017-09-22)
------------------

- Change the default font used in text/tspan SVG elements (in favor of Arial). Should fix the bug occuring while trying to open the resulting SVG file with some software on systems where the font in use is not available (notably Adobe Illustrator v16.0 CS6 on MacOSX).
- Change the default font used in text/tspan SVG elements (in favor of Arial). Should fix the bug occurring while trying to open the resulting SVG file with some software on systems where the font in use is not available (notably Adobe Illustrator v16.0 CS6 on MacOSX).


0.5.2 (2017-09-13)
Expand Down Expand Up @@ -304,7 +318,7 @@ Changes
0.4.0 (2017-07-24)
------------------

- Fix error occuring on some representations when using a target layer with empty geometries and warn the user if it's the case.
- Fix error occurring on some representations when using a target layer with empty geometries and warn the user if it's the case.

- Introduce a new representation, waffle map, for mapping two (or more) comparable stocks together.

Expand All @@ -314,7 +328,7 @@ Changes

- Fix error on jointure.

- Fix location of red square when moving proportionnal symbols.
- Fix location of red square when moving proportional symbols.

- Fix legend size on links and discontinuities when zooming.

Expand All @@ -328,7 +342,7 @@ Changes
0.3.5 (2017-06-28)
------------------

- Allow to edit the location of proportionnal symbols
- Allow to edit the location of proportional symbols

- Slightly change the behavior with proj4 projections when layers are added/removed

Expand Down
3 changes: 0 additions & 3 deletions client/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@
"i18next": true,
"localize": true,
"Modal": true,
"proj4": true,
"Sortable": true,
"swal": true,
"Tooltip": true,
"topojson": true,
# Global variables created by the application:
"_app": true,
"_tr": true,
Expand Down
1 change: 1 addition & 0 deletions client/dist/app.371128.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/dist/app.952590.js

This file was deleted.

8 changes: 2 additions & 6 deletions client/dist/html/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@
<script src="static/vendor/cookies.min.js"></script>
<script src="static/vendor/es6-collections.js"></script>
<script src="static/vendor/fetch.min.js"></script>
<script src="static/vendor/topojson-client.3.0.0.min.js"></script>
<script src="static/vendor/topojson-server.3.0.0.min.js"></script>
<script src="static/vendor/proj4.js"></script>
<script src="static/vendor/geostats.min.js"></script>
<script src="static/vendor/sweetalert2.min.js"></script>
<script src="static/vendor/_vanilla-dataTables.min.js"></script>
<script src="static/vendor/Sortable.min.js"></script>
</head>
<body>
<div id="twbs" class="twbs"></div>
Expand Down Expand Up @@ -70,8 +66,8 @@
</div>
<script src="static/vendor/bootstrap-native3.mod.min.js"></script>
<script src="static/vendor/opentip-native.min.js"></script>
<script src="static/dist/vendor.952590.js"></script>
<script src="static/dist/vendor.371128.js"></script>
<script src="static/dist/d3-custom.min.js"></script>
<script src="static/dist/app.952590.js"></script>
<script src="static/dist/app.371128.js"></script>
</body>
</html>
19 changes: 15 additions & 4 deletions client/dist/vendor.952590.js → client/dist/vendor.371128.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions client/html/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@
<script src="static/vendor/cookies.min.js"></script>
<script src="static/vendor/es6-collections.js"></script>
<script src="static/vendor/fetch.min.js"></script>
<script src="static/vendor/topojson-client.3.0.0.min.js"></script>
<script src="static/vendor/topojson-server.3.0.0.min.js"></script>
<script src="static/vendor/proj4.js"></script>
<script src="static/vendor/geostats.min.js"></script>
<script src="static/vendor/sweetalert2.min.js"></script>
<script src="static/vendor/_vanilla-dataTables.min.js"></script>
<script src="static/vendor/Sortable.min.js"></script>
</head>
<body>
<div id="twbs" class="twbs"></div>
Expand Down
1 change: 1 addition & 0 deletions client/js/classification/categorical_panel.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { default as Sortable } from 'sortablejs';
import { hexToRgb, randomColor, rgb2hex } from './../colors_helpers';
import { make_dialog_container, overlay_under_modal, reOpenParent } from './../dialogs';

Expand Down
60 changes: 48 additions & 12 deletions client/js/classification/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,19 +274,24 @@ export const prepare_ref_histo = (parent_node, serie, formatCount) => {
width: Mabs(x(d.x1)) - Mabs(x(d.x0)),
height: m_height - y(d.length),
x: 0,
transform: 'translate(' + x(d.x0) + ',' + y(d.length) + ')',
transform: `translate(${x(d.x0)},${y(d.length)})`,
}))
.styles({ fill: 'beige', stroke: 'black', 'stroke-width': '0.4px' });

svg_ref_histo.append('g')
.style('font-size', '10px')
.attrs({ class: 'x_axis', transform: 'translate(0,' + m_height + ')' })
.attrs({ class: 'x_axis', transform: `translate(0,${m_height})` })
.call(d3.axisBottom()
.scale(x)
.ticks(4)
.tickFormat(formatCount))
.selectAll('text')
.attrs({ x: -4, y: 4, dy: '.45em', transform: 'rotate(-40)' })
.attrs({
x: -4,
y: 4,
dy: '.45em',
transform: 'rotate(-40)',
})
.style('text-anchor', 'end');

svg_ref_histo.append('g')
Expand All @@ -299,13 +304,18 @@ export const prepare_ref_histo = (parent_node, serie, formatCount) => {
} else if (type === 'box_plot') {
svg_ref_histo.append('g')
.style('font-size', '10px')
.attrs({ class: 'x_axis', transform: 'translate(0,' + m_height + ')' })
.attrs({ class: 'x_axis', transform: `translate(0,${m_height})` })
.call(d3.axisBottom()
.scale(x)
.ticks(4)
.tickFormat(formatCount))
.selectAll('text')
.attrs({ x: -4, y: 4, dy: '.45em', transform: 'rotate(-40)' })
.attrs({
x: -4,
y: 4,
dy: '.45em',
transform: 'rotate(-40)',
})
.style('text-anchor', 'end');

const y_mid = (m_margin.top + m_height - m_margin.bottom) / 2;
Expand Down Expand Up @@ -337,13 +347,33 @@ export const prepare_ref_histo = (parent_node, serie, formatCount) => {

svg_ref_histo.append('g')
.insert('line')
.attrs({ x1: x(q5[0]), y1: y_mid, x2: x(q5[1]), y2: y_mid })
.styles({ 'stroke-width': 1, stroke: 'black', fill: 'none', 'stroke-dasharray': '3,3' });
.attrs({
x1: x(q5[0]),
y1: y_mid,
x2: x(q5[1]),
y2: y_mid,
})
.styles({
'stroke-width': 1,
stroke: 'black',
fill: 'none',
'stroke-dasharray': '3,3',
});

svg_ref_histo.append('g')
.insert('line')
.attrs({ x1: x(q5[3]), y1: y_mid, x2: x(q5[4]), y2: y_mid })
.styles({ 'stroke-width': 1, stroke: 'black', fill: 'none', 'stroke-dasharray': '3,3' });
.attrs({
x1: x(q5[3]),
y1: y_mid,
x2: x(q5[4]),
y2: y_mid,
})
.styles({
'stroke-width': 1,
stroke: 'black',
fill: 'none',
'stroke-dasharray': '3,3',
});
} else if (type === 'beeswarm') {
const data = values.map(v => ({ value: +v }));

Expand All @@ -358,13 +388,18 @@ export const prepare_ref_histo = (parent_node, serie, formatCount) => {
}
svg_ref_histo.append('g')
.style('font-size', '10px')
.attrs({ class: 'x_axis', transform: 'translate(0,' + m_height + ')' })
.attrs({ class: 'x_axis', transform: `translate(0,${m_height})` })
.call(d3.axisBottom()
.scale(x)
.ticks(4)
.tickFormat(formatCount))
.selectAll('text')
.attrs({ x: -4, y: 4, dy: '.45em', transform: 'rotate(-40)' })
.attrs({
x: -4,
y: 4,
dy: '.45em',
transform: 'rotate(-40)',
})
.style('text-anchor', 'end');

const cell = svg_ref_histo.append('g')
Expand All @@ -383,7 +418,8 @@ export const prepare_ref_histo = (parent_node, serie, formatCount) => {
if (d) {
return {
r: data.lenght < 250 ? 2.5 : data.lenght < 500 ? 1.5 : 1,
transform: `translate(${d.data.x},${d.data.y})` };
transform: `translate(${d.data.x},${d.data.y})`,
};
}
return undefined;
});
Expand Down
Loading