Recent development on 5.2.x

44 views
Skip to first unread message

chi...@fargeo.com

unread,
Feb 23, 2021, 4:34:59 PM2/23/21
to Arches Development
Hi Everyone, 

Just a quick update on recent changes to 5.2.x:
  • As mentioned recently we have replaced the mv_geojson_geoms materialized view with the geojson_geometries table to avoid the costly task of refreshing the materialized view. 
  • As some of you might already be aware, users can now sort their search results, ascending or descending based on a resource instance’s primary descriptor.
  • Users can now set a floating point clustering distance in the map layer manager. If you have a lot of geometries to display in a resource layer, reducing this number can help. You may want to reduce the distance from 2 pixels to 1.5 or even 0.5 to improve performance. Additionally (and probably more importantly), you can set a maximum clustering distance in your settings. The default is set to 5000 meters, but you may want to add the CLUSTER_DISTANCE_MAX setting to your project and modify it to best suit the distribution of your geometries. 
  • We have also just merged in a coordinate editor in the map card allowing users to edit geometry coordinates manually in the coordinate system of their choice. If you want to use a coordinate system other than geographic lat/long, you will have to add that coordinate system to your PREFERRED_COORDINATE_SYSTEMS setting. If you don’t have that setting in your project’s settings.py (or settings_local.py) file, here’s an example you can add:
    PREFERRED_COORDINATE_SYSTEMS = ({"name": "Geographic", "srid": "4326", "proj4": "+proj=longlat +datum=WGS84 +no_defs", "default": True}, {"name": "Mollweide", "srid": "54009", "proj4": "+proj=moll +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs", "default": False})
  • If you need the properties for a different coordinate system, you can refer to your database’s reference system table: select * from spatial_ref_sys
Kind Regards,

Cyrus
Reply all
Reply to author
Forward
0 new messages