<commit_before># ErfGeoviewer tests

F.01 - Core functionality
-------------------------

### Description

This feature includes the implementation of Leaflet.js, which contains the following key features:

- Zoom and drag controls
- Support for keyboard
- Support for touch devices
- Modular architecture
- Support for multiple layers
	- Base tile layer
	- Additional tile layers
	- GeoJSON features layer
	- Image overlays

### Tests

1. I can zoom the map in and out.
2. I can pan the map.
3. I can pan and zoom the map using a touch device such as a mobile phone or tablet.
4. I can use the keyboard to zoom and pan the map.


F.02 - Markers
--------------

Geocoded objects from a result set that contain a point (that is, records that contain a longitude and latitude value) can be added to a map in the form of a marker. 

Icons are taken from open source [Maki icon set](https://github.com/mapbox/maki), and implemented using extensions to Leaflet provided by [Mapbox.js](https://github.com/mapbox/mapbox.js/), also open source.

Markers are styled according to the [simplestyle specification, 1.1.0](https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0). This provides the means to modify a marker's size, symbol, color, text and description. 

The markers support the following features:

### Tests

1. When I hover over a marker, I see the title of that marker.
2. When I click on a marker, a detail screen appears.
3. If two markers are close together on the map, they cluster together.
4. The amount of markers in a cluster is indicated in the marker cluster itself. If t


F.03 - Polygons
---------------

### Description

Geocoded objects from a result set that contain geometries such as polygons and lines can also be drawn on the map. These shapes have less interactivity than markers, but can be styled using the [simplestyle specification, 1.1.0](https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0). This provides the means to modify a polygon's stroke (the color and thickness of the border) and its fill color.

### Tests

F.04 - Detail view
------------------

### Description

The detail view appears after clicking a stored object on the map, such as a marker. The fields from that object are then shown. 

The site implementing the ErfGeoviewer can customize this pane by altering the configuration file. By default, the following fields will be displayed if available:

- Title
- Image
- Description
- Link to external page

When the object is of type "kaart", additional controls are exposed to alter an overlaid image:

- Rotate/scale
- Distort 
- Transparency<commit_msg>test commit<commit_after># ErfGeoviewer tests

F.01 - Core functionality
-------------------------

### Description

This feature includes the implementation of Leaflet.js, which contains the following key features:

- Zoom and drag controls
- Support for keyboard
- Support for touch devices
- Modular architecture
- Support for multiple layers
	- Base tile layer
	- Additional tile layers
	- GeoJSON features layer
	- Image overlays

### Tests

1. I can zoom the map in and out.
2. I can pan the map.
3. I can pan and zoom the map using a touch device such as a mobile phone or tablet.
4. I can use the keyboard to zoom and pan the map.


F.02 - Markers
--------------

Geocoded objects from a result set that contain a point (that is, records that contain a longitude and latitude value) can be added to a map in the form of a marker. 

Icons are taken from open source [Maki icon set](https://github.com/mapbox/maki), and implemented using extensions to Leaflet provided by [Mapbox.js](https://github.com/mapbox/mapbox.js/), also open source.

Markers are styled according to the [simplestyle specification, 1.1.0](https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0). This provides the means to modify a marker's size, symbol, color, text and description. 

The markers support the following features:

### Tests

1. When I hover over a marker, I see the title of that marker.
2. When I click on a marker, a detail screen appears.
3. If two markers are close together on the map, they cluster together.
4. The amount of markers in a cluster is indicated in the marker cluster itself. If t



F.03 - Polygons
---------------

### Description

Geocoded objects from a result set that contain geometries such as polygons and lines can also be drawn on the map. These shapes have less interactivity than markers, but can be styled using the [simplestyle specification, 1.1.0](https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0). This provides the means to modify a polygon's stroke (the color and thickness of the border) and its fill color.

### Tests

F.04 - Detail view
------------------

### Description

The detail view appears after clicking a stored object on the map, such as a marker. The fields from that object are then shown. 

The site implementing the ErfGeoviewer can customize this pane by altering the configuration file. By default, the following fields will be displayed if available:

- Title
- Image
- Description
- Link to external page

When the object is of type "kaart", additional controls are exposed to alter an overlaid image:

- Rotate/scale
- Distort 
- Transparency
{'fraction_non_alphanumeric': 0.08898224174145503, 'fraction_numerical': 0.010693144930303608, 'mean_word_length': 3.3541147132169575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2571475', 'n_tokens_mistral': 1433, 'n_tokens_neox': 1359, 'n_words': 748}