About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:geographic_features

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configuration:geographic_features [2023/10/24 17:32] – [Notes on Map Tiles] emaijalaconfiguration:geographic_features [2023/10/24 19:25] (current) – [General Configuration Notes] lmgonzales
Line 23: Line 23:
 $d: West; $e: East; $f: North; $g: South $d: West; $e: East; $f: North; $g: South
  
-If malformed coordinates are detected during indexing, an error message containing the record ID, coordinate values, and problems with the coordinate values will be displayed. Malformed coordinates will not be indexed. +If malformed coordinates are detected during indexing, an error message containing the record ID, coordinate values, and problems with the coordinate values will be displayed. Malformed coordinates will not be included in the indexed record
  
 ==== Labels ==== ==== Labels ====
Line 89: Line 89:
 Labels can be read from the long_lat_label field if they are stored in Solr, or assigned on the fly with a look-up table. If you use a look-up table, put it in your local/config/vufind/ directory, and in the geofeatures.ini file, set mapLabels = file:filename. Labels can be read from the long_lat_label field if they are stored in Solr, or assigned on the fly with a look-up table. If you use a look-up table, put it in your local/config/vufind/ directory, and in the geofeatures.ini file, set mapLabels = file:filename.
  
 +:!: // Note:  Starting in VuFind® 7.0., the contentsecuritypolicy.ini file was implemented. You will need to modify this file to include the basemap tileserver domain. 
 +
 +The following is an example if you are using CARTO basemap server:
 +// 
 +<code>
 +img-src[] =  "http://basemaps.cartocdn.com" 
 +</code>
 ==== Notes on Map Tiles ==== ==== Notes on Map Tiles ====
  
-Map display depends on access to a tile set to allow zooming and scrolling around the world. The geofeatures.ini file includes some example tile URLs, but tile sets from free providers come with significant limitations on usage. If you wish to use this feature in production, you may need to subscribe to a commercial map provider or else run your own [[configuration:map_tile_server|local tile server]].+Map display depends on access to a tile set to allow zooming and scrolling around the world. The geofeatures.ini file includes some example tile URLs, but tile sets from free providers come with significant limitations on usage. If you wish to use this feature in production, you may need to subscribe to a commercial map provider or else run your own [[configuration:geographic_features:map_tile_server|local tile server]]
 + 
 +One way to help reduce the amount of map tile server calls is to configure the defaultRecordTab setting in the config.ini file to something other than "Map".
 ===== Geographic Searching ===== ===== Geographic Searching =====
  
configuration/geographic_features.1698168720.txt.gz · Last modified: 2023/10/24 17:32 by emaijala