mattbk / NodakPaleo

Paleontology database at the University of North Dakota
0 stars 0 forks source link

Maps #9

Open mattbk opened 9 years ago

mattbk commented 9 years ago

Ugh. This will be some work.

Key: how to obfuscate locations for people without correct permissions?


This is a good start: http://www.protichnoctem.com/nodakpaleo/?q=maps/specimen Add some exposed filters (see existing simple specimen search) and figure out how to attach a table to the map view. Make a view for each of precise and obfuscated specimen positions.


Obfuscation at the moment is through field permissions: only admin and researcher roles have access to see precise lat/long and UTM coordinates.

I am looking into showing both precise and truncated coordinates on the same map and then letting field permissions show points depending on what people are allowed to see. This is holding me up: http://drupal.org/node/1290534

At the moment, though, you can create two maps with different permissions (view field_latitude or view fields_latitude_trunc) and that will determine which map to show (unless a user has both permissions, which would be silly). In use on this page: http://www.protichnoctem.com/nodakpaleo/?q=node/2550/localities


Converting to Geofield and OpenLayers should solve these problems.