Skip to main content

EEA Geotags package redefines the location field in Plone. Right now in Plone location field is a free text field. EEA Geotags lets you easy define locations using a map picker and http://geonames.org geographical database.

Project description

EEA Geotags package redefines the location field in Plone. Right now in Plone location field is a free text field. EEA Geotags lets you easy define locations using a map picker and http://geonames.org geographical database.

Contents

Introduction

EEA Geotags is an alternative for the default location field in Plone.

Main features

EEA Geotags features:

  1. User friendly search for locations

  2. Map preview of selected locations

  3. Suggest geographic entities based on http://geonames.org

  4. Country/regions drill down selection, including several layers like biogeographical region, countries group, country, nuts region, city and natural feature

  5. The widget can be used as single or multiple location picker

Also read README.txt under eea.alchemy.

More details about how to use this package can be found at the following link:

  1. http://taskman.eionet.europa.eu/projects/zope/wiki/HowToGeotag

Installation

The easiest way to get eea.geotags support in Plone 4 using this package is to work with installations based on zc.buildout. Other types of installations should also be possible, but might turn out to be somewhat tricky.

To get started you will simply need to add the package to your “eggs” and “zcml” sections, run buildout, restart your Plone instance and install the “eea.geotags” package using the quick-installer or via the “Add-on Products” section in “Site Setup”.

You can download a sample buildout at:

Dependecies

  1. Plone 4.x

  2. Products.ATVocabularyManager

  3. archetypes.schemaextender

  4. eea.jquery

  5. eea.alchemy

Source code

Latest source code (Plone 4 compatible):

https://svn.eionet.europa.eu/repositories/Zope/trunk/eea.geotags/trunk

Plone 2 and 3 compatible:

https://svn.eionet.europa.eu/repositories/Zope/trunk/eea.geotags/branches/plone25

Funding

EEA - European Enviroment Agency (EU)

Changelog

6.7 - (2014-05-13)

  • Feature: added clear all geo points functionality when editing the current location list [ichimdav refs #9037]

  • Bug fix: pass componentRestriction option with the country code when picking the nuts region in order to help Google maps find a better match result [ichimdav refs #19495]

  • Change: on page load the edit widget will be zoomed to fit the bounds of all of the geo markers [ichimdav refs #9037]

  • Change: geotags edit form now use an accordion menu instead of tabs for the basic and advanced search options [ichimdav refs #9037]

  • Feature: added search by country, feature class and continent besides the freeform search useful when needing to find for instance the Po river from Italy [ichimdav refs #18559]

  • Feature: added ability to filter the results by feature class with added dependency on Select2 jQuery plugin from eea.jquery [ichimdav refs #18559]

6.6 - (2014-03-10)

  • Change: increase the width of the Edit button Geotag/Location widgit to make

  • it more visible [mironovi refs #9037]

  • Feature: remove X-close and rename the button “done” with “Save geotags” [mironovi refs #9037]

  • Bug fix: Geotags view display only secondary information [voineali refs #18096]

  • Bug fix: basket is now fixed to handle properly the geotags [mironovi fixes #17626]

6.5 - (2014-01-22)

  • Bug fix: no longer store current locations when closing the geotags dialog [ichimdav fixes #17620]

6.4 - (2014-01-22)

  • Feature: adding Sphinx-generated documentation in Page Template format [batradav refs #9502]

  • Bug fix: removed wrongly added blockquotes within README.rst [ichim-david refs #18064]

  • Bug fix: context_url is retrieved from the base tag instead of the window location to avoid geotags loading of parent when there is a default page [ichimdav refs #17747]

  • Bug fix: Updated old URLs pointing Trac [ghicaale refs #18003]

6.3 - (2013-12-10)

  • Feature: read the data properties set on the map layer if they exist [ichimdav #17618]

  • Change: changed default map_service to World_Light_Gray_Base [ichimdav #17618]

  • Feature: added possibility to change the map_service. See eea.geotags.pt comments for example [ichimdav #17618]

  • Bug fix: no longer show map as an modal if modal was set to False [ichimdav #17618]

  • Bug fix: fixed country names when selected via country groups, now the names are checked on country_mapping for the correct name [ghicaale refs #17583]

  • Change: merged code from custom into eea.geotags.js [ghicaale refs #17583]

  • Bug fix: countries from groups outside Europe are now found and mapped properly [ghicaale refs #17628]

6.2 - (2013-11-20)

  • Bug fix: define portal_url within geotags.pt [ichimdav]

6.1 - (2013-10-04)

  • Change: made a new egg since previous egg release was broken [ichimdav]

6.0 - (2013-10-04)

  • Change: updated zope imports with the versions that require minimum Plone 4.1 for eea.geotags [ichimdav refs #15651]

5.9 - (2013-07-10)

  • Upgrade step: ONLY in EEA context Within “Plone > Site setup > Add-ons” click on button available for eea.geotags available [ichimdav #14667]

  • Feature: Added search results mutator with implementation for EEA in order to allow mutation of search results [ichimdav #14667]

5.8 - (2013-07-08)

  • Feature: modified loading of map data so that you could load more than one map widget in the page [ichimdav]

  • Bug fix: properly load eea.geotags.jsondata when viewing the page with /view [ichimdav #14592]

5.7 - (2013-05-20)

  • Bug fix: add also countries from Asia for the Pan-Europe group when using the geotags edit widget since the search was restricted to the Europe Continent [ichimdav #14329]

  • Feature: Removed lovely.memcached dependency [voineali refs #14343]

5.6 - (2013-04-17)

  • Feature: Added possibility to specify dimensions of map modal popup when adding geotags macro to any template [ichimdav #8523]

  • Bug fix: fixed issue where clicking on a geotags like Norway took you to Denmark since they have the same x coordinate and the check for geometry was only done on the x coordinate [ichimdav #8523]

  • Bug fix: fixed issue where map infoTemplate displayed undefined as header text when itemTitle returned undefined [ichimdav refs #8523]

  • Bug fix: better fix for loading of geotagsClusterLayer.js [ichimdav #8523]

5.5 - (2013-03-15)

  • Bug fix: load geotagsClusterLayer using dojo.require instead of loading it with portal_javascripts [ichimdav #14039]

5.4 - (2013-01-25)

  • Bug fix: fix location field @@rdf output [tiberich #13694]

5.3 - (2013-01-15)

  • Bug fix: drill down geotags categories now return alphabetically sorted results [ichimdav #9989]

  • Feature: added a checkbox enabled by default that will add individual countries that are part of a country group instead of the group itself [ichimdav #9998]

  • Feature: added point clustering support to map view [ichimdav #7337]

  • Change: switched to version 2.8 of the arcgis Dojo library in order to have clustering support [ichimdav #7337]

5.2 - (2012-11-26)

  • Bug fix: rdfencode geotags as geo:SpatialThing to stay generic, since not all geotags are points, can also be Features/Polygons etc. [demarant refs #7409]

5.1 - (2012-11-22)

  • Bug fix: map infoTemplate template is constructed only the information that is available for that object [ichimdav #7337]

  • Feature: rdf export of geotags now includes geonames URI with owl:sameAs. [demarant refs #7409]

  • Bug fix: fix issue with map view crashing when urllib got a Description that couldn’t quote because of unicode characters [ichimdav #10006]

  • Feature: Now we export all tags as geo:Point including locations labels. [demarant refs #3425]

  • Bug fix: corrected export of points according to wgs84 rdf vocabulary. [demarant refs #3425]

  • Bug fix: use folder_listing and atct_topic_view macros to avoid errors when using the map on non Topic content types [ichimdav #3353]

  • Feature: added rdf adapter for geotag field [tiberich, demarant, #3425]

5.0 - (2012-07-30)

  • Bug fix: Fixed deletion of geotags when the user creates a new translation [voineali fixes #5390]

4.9 - (2012-07-17)

  • Bug fix: fix preview of geotags widget on edit form when using eea.forms [ichimdav #5339]

4.8 - (2012-07-13)

  • Bug Fix: Fixed i18n:domain in .pt files [prospchr refs #5162]

4.7 - (2012-06-13)

  • Ugrade step: Within ZMI > portal_types > Topic add map_view to Available view methods [ichimdav #3355]

  • Bug fix: fixed markup of HISTORY.txt file [ciobabog refs #5231]

  • Upgrade step: Within “Plone > Site setup > Add-ons” click on upgrade button available for eea.geotags

  • Feature: Added ‘geotags’ zCatalog metadata to store the objects geographic information on brain in order for this to be used in map views [voineali refs #3355]

  • Bug fix: display scalebar on map [ichimdav #4788]

  • Feature: display tags left aligned for the map macros that use the version with events variable defined [ichimdav #4788]

  • Bug fix: fixed eea.alchemy suggestions url to get suggestions for the object, instead of the parent folder [batradav]

4.6 - (2012-04-26)

  • Feature: added modal map as a pop-up for geotags [ichimdav #3354]

  • Bug fix: Make it work with eea.inidicators aggregated edit [voineali #5077]

  • Bug fix: fixed so ‘title’ get saved on the field when ‘description’ is empty on geonames.org response [ghicaale #5008]

4.5 - (2012-03-30)

  • Bug fix: fixed that eea.geotags field on set will convert on the fly strings toward geonames service and saves the geoJSON structure. This will also fix the auto-tagging from eea.alchemy [ghicaale #5008]

  • Feature: eea.geotags widget view macro is now using ArcGIS JavaScript framework to display locations on a map [ghicaale #3354]

  • Feature: the view macro has two options, with map or plain text [ghicaale #3354]

  • Feature: the map view use CSS3 transform for better performance on rendering, disabled wheel scroll, loading image, continous pan, default map is centered on Europe and visible scalebar in km [ghicaale #3354]

4.4 - (2012-02-06)

  • Feature: implemented first basic list view of geotags. [demarant]

4.3 - (2011-11-29)

  • Bug fix: Fixed geotags widget to keep filled values if the edit form fails to submit due to validation errors [voineali #4773]

4.2 - (2011-11-21)

  • Bug fix: Fixed required validation for location field [voineali #4694]

  • Bug fix: Fix test if context is annotable [voineali #4741]

4.1 - (2011-11-18)

  • Rerelease broken egg

4.0 - (2011-11-18)

  • Feature: Added a way to override default Archetypes location field/widget by just adding eea.geotags.default within zcml directive in your buildout [voineali #4694]

  • Bug fix: Fixed geotags dialog on Add form when portal_factory is enabled [voineali #4696]

  • Bug fix: Fixed search results description and tags when searching with geonames.org [voineali #4525]

  • Feature: Updated geonames API usage according with this specifications: http://www.geonames.org/export/web-services.html Please update the ‘geonames_key’ in portal_properties/geographical_properties with your geonames username [voineali #4525]

  • Feature: Use geonames.org service for free search, then fallback to Google service [voineali #4525]

  • Feature: Geotag widget usability, add tag in one click [voineali #4429]

  • Bugfix: Fixed IE js error on google maps, we don’t move the navigation widget to the right of the map on preview [szabozo #4542]

  • Bugfix: Fixed missing google map api [szabozo0 #4428]

  • Cleanup: Fixed all pylint, pyflakes warnings [voineali #4236]

  • Feature: Added upgrade steps [voineali #4392]

  • Feature: Plone 4.0.4 compatible release [ghicaale #4236]

1.3 - (2011-04-20)

  • Bug fix: fix widget bugs [szabozo0 #4260]

1.2 - (2011-04-19)

  • Bug fix: fix import errors [szabozo0 #4260]

  • Feature: created formlib version of the widget [szabozo0 #4260]

  • Cleanup: of most pylint violations [ichimdav #4140]

  • Cleanup: of pyflakes warnings [ichimdav #4141]

  • Bug fix: Remove geotags suggestion duplicates [voineali #3357]

  • Change: Moved alchemy auto-discover code to eea.alchemy as it’s not only about geotags, it will also discover temporal coverage and keywords [voineali #3357]

1.1 - (2010-12-13)

  • Bug fix: Fixed jslint warnings [voineali #3821]

  • Bug fix: Fixed doc tests [voineali #3821]

1.0 - (2010-10-12)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eea.geotags-6.7.zip (189.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page