Releases: GeotrekCE/Geotrek-admin
Releases · GeotrekCE/Geotrek-admin
0.20
( Read upgrade notes below carefully before upgrading )
Changelog
- ✨ Edit difficulty id in Admin site, mainly used to order difficulty levels (fixes #771)
- Use explicit list of fields in forms, instead of excluding model fields (fixes #736).
Issue #712 was closed too, since most suspected cause was field listings. Please re-open
if problem re-appears. - Fix timeout on POI Shapefile and CSV exports (fixes #672)
- Altimetric profiles are now computed in PostGIS (fixes #778, #779)
- ✨ Positive and negative ascents are now computed using more DEM resolution (fixes #776)
- Setting
PROFILE_MAXSIZE
was replaced byALTIMETRIC_PROFILE_PRECISION
which controls sampling precision in meters (default: 25 meters) - Altimetric profiles were removed from object map images
- Altimetric profiles are now plotted using SVG
- ✨ Altimetric profiles are now inserted into path documents and trek public printouts (ref #626)
- Fix deletion of associated interventions when editing infrastructures (fixes #783)
- Latest record is updated (touch) when a DELETE is performed on table (refreshs cache) (fixes #698)
- Reworked settings mechanism to follow Django best practices
- Allow server host to capture pages (fixes #733)
- ✨ Adjust map capture according to geometry aspect ratio (fixes #627)
- Always show path layer in detail pages (fixes #781)
- Fix restore of topology on loop paths (fixes #760)
- Fix topology construction when loop is formed by two convergent paths (fixes #768)
- ✨ Added small tool page at
/tools/extents/
to visualize configured extents (ref #732) - Removed setting
spatial_extent_wgs84
, now computed automatically fromspatial_extent
,
with a padding of 10%. - Fix paths offset for portrait spatial extent (fixes #732)
- Rely on Tilecache default max resolution formulae (fixes #732)
- Due to bug in Leaflet/Proj4Leaflet (kartena/Proj4Leaflet#37)
landscape spatial extents are not supported. Please adjust spatial_extent to be a portrait or square,
or application will raise ImproperlyConfiguredError. - Reload map objects on zoom out too (fixes #435)
- Fix computation of min_elevation for point topologies (fixes #808)
Upgrade notes
- ❗ Spatial extent must be portrait (width < extent), because of this bug
- Empty your tile cache (
rm -rf var/tiles
) - ❗ Replace all computed values from
etc/settings.ini
. For example, replace60 * 60
by 3600. (You can increase this value to several hours by the way) - In order to recompute all topologies altimetry information, you can perform
the following query:UPDATE e_t_evenement SET decallage = decallage;
.
Reading information from rasters is costly. Be prepared to wait for a while. - ( facultative ) Have a look at
conf/settings.ini.sample
to clean-up unnecessary values from your settings file.
0.19.1
0.19
- Intervention length field (readonly if geometry is line)
- Fix apparence bug if no rights to add treks and pois (fixes #713)
- Fix extremities snapping (fixes #718)
- Show information desk in trek detail page (fixes #719)
- Fix topology adjustments after path split (fixes #720)
- On edition show global line orientation instead of individual paths (fixes #679)
- Fix invalid topology if trek goes twice on same path (fixes #671)
- Overlapping is now more precise (fixes #710)
- Reworked trek print layout
- Fix topology building if paths are taken twice (fixes #722)
- Fix tiling offset with horizontal bboxes
- Fix display of POI layer by default on list (fixes #696)
- Fix translation of not validated paths (fixes #730)
- Fix error if topology is required and empty (fixes #745)
- Fix duplication of N-N relations on path split (fixes #738)
- Fix project map in detail page (fixes #734)
- Fix project listed deleted interventions (fixes #739)
- Fix project listed infrastructures through interventions (fixes #740)
- Fix saving intervention form on infrastructure
- Repair serializing of properties after upgrade of django-geojson (fixes #755)
- Added
public_transport
andadvised_parking
to trek JSON detail API (fixes #758) - Repair land layers colors after upgrade of django-geojson
- Upgraded to django-geojson 2.0
- Upgraded to Django 1.5
Upgrade notes
Specify allowed host (server IP) in etc/settings.ini
(for example):
host = 45.56.78.90
Empty object caches:
sudo /etc/init.d/memcached restart
rm -rf ./var/cache/*