Mark Winterbottom
5fa5853c3a
Made some pep8 improvements. Updated the resource_stream called to use '__name__' in attempt to fix this bug: https://github.com/ckan/ckanext-spatial/issues/174
2017-05-23 15:19:14 +01:00
Adrià Mercader
5040caee85
Merge pull request #164 from torfsen/leaflet-0.7.7-leaflet.draw-0.3.2
...
Update Leaflet to 0.7.7 and Leaflet.Draw to 0.3.2
2016-10-17 11:34:38 +01:00
Florian Brucker
10878dc168
Update Leaflet.Draw to 0.3.2.
2016-10-12 10:27:02 +02:00
Florian Brucker
1221fe67eb
Update Leaflet to 0.7.7.
2016-10-11 15:54:17 +02:00
etj
3d73bc9642
[ #162 ] Allow use of WMS layer in extent map
2016-10-04 16:38:27 +02:00
etj
e15838d7f4
[ #162 ] Allow use of WMS layer in extent map
2016-10-04 13:14:39 +02:00
David Read
b7a2cee4e0
Remove unused imports. PEP8.
2016-09-19 12:32:55 +01:00
Andy Gross
d3c69a1326
Remove import of base.redirect
...
This function was removed in ckan/ckan@34f3f18
2016-09-18 03:35:56 -07:00
amercader
44f05e181c
[ #157 ] Replace MapQuest by Stamen as default tiles
2016-08-03 11:57:10 +01:00
Miguel Gouveia
16fa672a18
Improving log error message.
...
Improving log error message for invalid geoJSON data.
2016-06-17 15:46:22 +01:00
Adrià Mercader
cb9c1294f2
Merge pull request #116 from DataShades/spatial-field-solr-5
...
#114 solr-spatial-field search Solr 5 compatibility
2016-05-31 15:22:58 +01:00
Tom Kralidis
143250ea9c
fix CSW constructor
2016-01-25 10:33:48 -05:00
amercader
918f06fa3c
Merge branch 'license' of https://github.com/geosolutions-it/ckanext-spatial into geosolutions-it-license
2016-01-14 12:32:52 +00:00
Tobia Di Pisa
7970f2b656
Metadata license ID check for package: refinements.
2016-01-14 13:17:22 +01:00
amercader
02f01508bf
Remove print statement
2016-01-14 12:12:43 +00:00
David Read
fc3a364a0f
Support new locations for test functions.
2016-01-14 09:55:27 +00:00
David Read
7e2f4f957c
Merge pull request #141 from tomkralidis/remove-cswinfo
...
remove cswinfo
2016-01-14 09:47:12 +00:00
amercader
52a48694b5
Merge branch 'force-sortby' of https://github.com/tomkralidis/ckanext-spatial into tomkralidis-force-sortby
2016-01-13 17:54:40 +00:00
Tom Kralidis
fc4c37c4c3
add super to init
2016-01-13 12:49:11 -05:00
Adrià Mercader
11b13cd132
Merge pull request #129 from nbtetreault/patch-1
...
Set tms option for custom layer
2016-01-13 18:38:10 +01:00
Adrià Mercader
29abbeb1bb
Merge pull request #132 from ckan/paster-speedup
...
Speed up non-spatial paster commands.
2016-01-13 18:36:32 +01:00
Tom Kralidis
a28baf4c7e
remove cswinfo
2016-01-13 12:33:27 -05:00
Tobia Di Pisa
3a6342cd9d
Metadata license ID check for package
2016-01-13 17:43:13 +01:00
Tom Kralidis
c2b8f8ea82
update docs, remove code not used
2015-12-30 11:22:23 -05:00
Tom Kralidis
e4ffbe611b
remove legacy CSW server implementation
2015-12-26 08:40:49 -05:00
Tom Kralidis
eb9cd6fc1c
force all CSW GetRecords requests to set ogc:SortBy to ensure proper ordering
2015-12-25 14:09:37 -05:00
Ross Jones
e6fa57055f
Speed up non-spatial paster commands.
...
Because plugins are loaded for every paster command, regardless of which
paster command is being run, when lots of plugins are installed startup
time can be substantial.
To fix this, making sure that plugin.py in various extensions doesn't
import unnecessary (and potentially slow) modules, this PR moves the
imports of some function into the function where they are called.
This reduces paster startup time (for me) by up to .5 seconds, which
while not significant by itself, contributes to my current 8 second
startup time.
2015-12-02 10:42:28 +00:00
Nicolas Brisebois-Tétreault
3543ebba87
Set tms option for custom layer
...
Set the L.TileLayer as a TMS. It's required if the base layer specified in custom.url is a TMS. The default value of tms is false in Leaflet.
To use the TMS option, ```ckanext.spatial.common_map.tms = true``` has to be set in the ckan .INI file.
Same as https://github.com/ckan/ckanext-geoview/pull/24
2015-11-06 10:40:34 -05:00
Harald von Waldow
aa68ac5bbf
fix map attribution
2015-10-23 11:00:55 +02:00
Mark Gregson
259333c6fa
[ #114 ] Updates spatial search query for Solr 5 compatibility
2015-10-06 10:40:30 +11:00
amercader
efc8b6c80c
[ #90 ] Adjust latitudes when doing spatial queries
...
If the minx falls below -180 or over 180 adjust minx and maxx to ensure
minx stays within bounds
2015-08-21 13:53:50 +01:00
amercader
4a69cbe9da
Merge branch '87-attribution' of https://github.com/jqnatividad/ckanext-spatial into jqnatividad-87-attribution
2015-07-24 20:38:22 +01:00
amercader
8645cceed2
Merge branch 'master' of https://github.com/tomkralidis/ckanext-spatial into tomkralidis-master2
2015-07-24 20:36:31 +01:00
fxia
b0b71a5438
[ #112 ] bbox fix only kicks in with positive w-long and negative e-long
2015-07-24 11:41:11 -04:00
Tom Kralidis
36ab8d68fe
support multiple GML namespaces
2015-06-17 21:24:23 -04:00
amercader
414255e34a
[ #102 ] MapBox tiles require access token
2015-05-07 17:59:21 +01:00
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