amercader
86c4fbdbf7
[ #101 ] Change Mapquest tiles base URL under https
2015-05-07 17:43:03 +01:00
amercader
0886e15ed5
[ #107 ] Remove geojson and wms views
...
The GeoJSON Leaflet plugin now lives on ckanext-geoview:
https://github.com/ckan/ckanext-geoview
The old WMS preview has been completely removed in favour of the
OpenLayers based geoview:
https://github.com/ckan/ckanext-geoview#openlayers-viewer
2015-05-07 13:43:52 +01:00
etj
a5a703445b
Fix delete in CSW. Closes #103 .
2015-04-24 12:43:58 +02:00
fxia
e530017a8a
bbox fix, more
2015-04-17 14:11:41 +01:00
fxia
cc0d0b14ce
bbox fix. make sure w long value is less than e long value
2015-04-17 14:11:38 +01:00
amercader
ba2656287d
Remove debug call
2015-04-08 10:24:36 +01:00
amercader
a96d134f1e
[ #95 ] Fix GeoJSON preview for features without properties
2015-04-08 10:01:55 +01:00
amercader
4a142e8377
[ #98 ] Minor tweaks to @u10313335 PR
...
* Keep old entry points for preview plugins so people does not need to
do python setup.py develop
* Version checks should be done including the min_version parameter,
otherwise they will fail for 2.4, 2.5...
* No need to define different methods for different interfaces. If
running eg 2.3, the IResourcePreview interface methods will simply be
ignored.
* Simplified same domain checking
* Add note about these being eventually migrated to ckanext-geoviews
* Added docs
2015-04-02 11:41:50 +01:00
amercader
c9c40606c2
Merge branch '2.3' of https://github.com/taijiang-tw/ckanext-spatial into taijiang-tw-2.3
2015-04-02 09:28:02 +01:00
amercader
bcd7c0e5e6
[ #97 ] Support PostGIS 1.5 when defining the Geometry column
...
We need to pass management=True when initializing it:
https://github.com/geoalchemy/geoalchemy2/issues/50
2015-04-01 12:49:24 +01:00
amercader
50df9130cf
[ #97 ] The tests that ckanext-spatial deserves
...
Completely reviewed and refactored tests to support both CKAN 2.2/2.3,
geoalchemy 1/2 and PostGIS 1/2 (TODO test on PostGIS 1.5)
Removed all references to legacy ckan tests, and removed old or
incomplete tests.
2015-04-01 11:36:00 +01:00
amercader
a23ec96b2b
[ #97 ] Rename function to make it Postgis 2.0 compatible
2015-04-01 11:13:54 +01:00
amercader
8d1a731b0a
[ #97 ] Saner way of comparing geometries
2015-04-01 11:13:05 +01:00
Sol Lee
c291e30a0e
make wms and geojson viewer compatible with CKAN 2.3
2015-04-01 18:02:31 +08:00
amercader
f41f20c0da
[ #97 ] Move all GeoAlchemy(2) related code to a common module
...
This allows code in lib, model etc to not worry about GeoAlchemy
versions. This assume the correct library installed, as the check has
been done when starting up.
2015-03-27 15:57:55 +00:00
amercader
39373c9144
[ #97 ] Check GeoAlchemy version on startup
...
If using CKAN>=2.3 and GeoAlchemy2 is not installed an ImportError
will be raised with details about how to proceed. Added a section
on the Troubleshooting.
2015-03-27 15:57:11 +00:00
amercader
23a83fac29
Merge branch '57_default_tags_extras' of https://github.com/geosolutions-it/ckanext-spatial into geosolutions-it-57_default_tags_extras
2014-06-27 16:10:13 +01:00
Tom Mortimer-Jones
d6896d68c2
Update csw.py
...
Fix copy paste error
2014-06-20 12:36:04 +01:00
amercader
10bb6a1edb
[ #69 ] Fix autodoc in RTD, minor doc tweaks
2014-06-11 12:22:13 +01:00
amercader
b428c33ff6
[ #69 ] Add config option to keep old behaviour (not reindex)
2014-06-10 18:08:38 +01:00
amercader
dbf139e732
[ #63 ] Added extension point for defining custom validators
2014-05-13 18:07:14 +01:00
amercader
6c55aad223
[ #63 ] Add extra stuff to the get_package_dict extension point
...
Moved the call to get_site_user higher on base.py so it's available to
extensions. Also added the parsed XML etree so it does not need to be
parsed from the string again.
2014-05-13 18:03:12 +01:00
amercader
5461bebb62
Merge branch 'master' into 63-extend-spatial-harvesters
2014-05-13 17:54:44 +01:00
amercader
fa4161af87
[ #70 ] Fix deletion of harvested CSW records
...
The object id was pushed to the list returned by gather_stage before
being saved on the db, so None was added, causing an exception in the
Redis queue
2014-05-13 17:53:18 +01:00
amercader
b25a01029a
Merge branch 'master' into 63-extend-spatial-harvesters
...
Conflicts:
ckanext/spatial/harvesters/base.py
2014-05-13 15:33:04 +01:00
amercader
ab241d2530
Pass defer_commit in context on get_site_user calls
...
See ckan/ckan#1714 . Until that is fixed properly, the `defer_commit`
flag avoids some `DetachedInstanceErrors` happening during the
harvesting.
2014-05-13 15:30:34 +01:00
amercader
57b7e51e5a
Merge branch '69-reindex-dataset-no-object-change' into 63-extend-spatial-harvesters
2014-04-30 18:02:15 +01:00
amercader
e979d08e77
[ #69 ] Reindex dataset if harvest object did not change
...
We replace the old harvest object with the new one, and if we don't
reindex the reference to the old harvest object will remain in the
dataset dict
2014-04-30 18:01:42 +01:00
amercader
e9be08d8f1
Merge branch 'master' into 63-extend-spatial-harvesters
2014-04-28 18:41:38 +01:00
amercader
e19ed8100f
[ #62 ] Fix xpath for Alternate Title
2014-04-28 17:25:17 +01:00
amercader
211f3e4a95
[ #63 ] Tweak docs
2014-03-19 13:02:03 +00:00
amercader
f960733727
Merge branch 'master' into 63-extend-spatial-harvesters
2014-03-19 12:48:49 +00:00
amercader
0513e360e9
[ #63 ] Add previous_object check
...
In rare cases (eg if there was a previous error of two objects sharing
a guid) we can have a "changed" state and no previous_object
2014-03-19 12:46:01 +00:00
amercader
119c0fd40c
[ #63 ] Add user to delete context to avoid exception
2014-03-19 12:45:49 +00:00
amercader
bbe4125257
[ #65 ] Add individualName to ResponsibleParty
2014-03-19 11:59:08 +00:00
amercader
3b1b857efd
Merge branch 'master' into 63-extend-spatial-harvesters
2014-03-14 14:12:30 +00:00
amercader
26763218bc
[ #62 ] Fix spatial-resolution parsing
2014-03-14 14:12:05 +00:00
amercader
13f03878e2
Merge branch 'master' into 63-extend-spatial-harvesters
2014-03-14 12:36:36 +00:00
amercader
1fa72f4c16
[ #64 ] Fix validation exception when resource-type was missing
2014-03-14 12:36:01 +00:00
amercader
badd723259
[ #63 ] Add new ISpatialHarvest interface
...
Two extension points: ``get_package_dict`` and ``transform_to_iso``,
with the same expected behaviour as the old hooks meant to be overriden.
For ``get_package_dict`` we now pass, apart from the generated
package_dict, the parsed iso_values and the harvest object.
Updated docs and added autodocs.
2014-03-14 11:30:26 +00:00
amercader
60828520ba
Merge branch '55_harvest_cql_master' of https://github.com/geosolutions-it/ckanext-spatial into geosolutions-it-55_harvest_cql_master
2014-03-14 10:29:47 +00:00
amercader
4551efdddb
[ #62 ] Relax multiplicities
2014-03-14 10:19:57 +00:00
amercader
8b4d23a315
[ #62 ] Add new fields to the ISO parser
...
* Metadata standard name / version
* Unique resource identifier (reenabled and fixed)
* Presentation form
* Purpose
* Maintenance note
* Access constraints
* Distributor
* Usage
* Aggregation info
2014-03-11 17:05:08 +00:00
amercader
ee77800111
[ #62 ] Clean up keywords parsing
...
Keywords were extracted via 3 different elements
`keyword-inspire-theme`, `keyword-controlled-other` and
`keyword-free-text`. The latter didn't actually do anything and the
second duplicated xpaths from the first and added a non-standard one.
A new `keywords` key has been added which contains all keyword objects,
including type. This is not used to modify the `tags` key right now.
2014-03-11 14:09:55 +00:00
amercader
239b8313e9
[ #62 ] Add links to organization parties
2014-03-11 14:07:01 +00:00
amercader
93e07fe987
[ #61 ] Add media types for GeoJSON and GML
2014-03-07 16:26:50 +00:00
etj
9116a6fd1f
[ #55 ] Allow CSW harvesters to define CQL filters (2nd try)
2014-03-02 23:12:54 +01:00
etj
f544f41806
[ #57 ] Add default_tags and default_extras handling
2014-02-25 14:55:20 +01:00
amercader
e3c35e9927
Merge branch 'tomkralidis-master'
2014-01-24 18:15:52 +00:00
amercader
15461acff7
[ #52 ] Add class for link removed on 2.2
2014-01-09 17:49:18 +00:00