[ckan-dev] How to add spatial search in ckan

李承錱[Sol] u103133.u103135 at gmail.com
Mon Aug 31 02:23:42 UTC 2015


Hi Naresh,

If you haven't created any custom template extensions for search.html, you
should modify
/usr/lib/ckan/default/src/ckan/ckan/templates/package/search.html.


Cheers,
Sol

2015-08-30 20:06 GMT+08:00 Naresh N <naresh919 at gmail.com>:

> Dear Sol,
>
> Thanks for the quick response.
> Yes I am following the instructions given in
> https://ckanext-spatial.readthedocs.org/en/latest/spatial-search.html#spatial-search-widget
> but not able to locate/ follow  instruction
>
> To add the map widget to the to the sidebar of the search page, add this
> to the dataset search page template (
> myproj/ckanext/myproj/templates/package/search.html):
>
> I could able to find search.html not as same path mentioned above. I have
> added the instruction given but not able to see map widget in site. I
> think  the file which i have added is wrong. How to locate/find correct
> search.html file.
>
>
> Thanks&Regards,
> Naresh
>
> On Sun, Aug 30, 2015 at 5:30 PM, <ckan-dev-request at lists.okfn.org> wrote:
>
>> Send ckan-dev mailing list submissions to
>>         ckan-dev at lists.okfn.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://lists.okfn.org/mailman/listinfo/ckan-dev
>> or, via email, send a message with subject or body 'help' to
>>         ckan-dev-request at lists.okfn.org
>>
>> You can reach the person managing the list at
>>         ckan-dev-owner at lists.okfn.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ckan-dev digest..."
>>
>>
>> Today's Topics:
>>
>>    1. How to enable spatial search in ckan (Naresh N)
>>    2. Re: How to enable spatial search in ckan (???)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sun, 30 Aug 2015 12:21:17 +0530
>> From: Naresh N <naresh919 at gmail.com>
>> To: ckan-dev at lists.okfn.org
>> Subject: [ckan-dev] How to enable spatial search in ckan
>> Message-ID:
>>         <
>> CAKAPXzMJDfAOCj2M_gJT_csjUaJS6TaFxLB6mD+owjitKPkXrQ at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Dear All,
>>
>>  Please help me how to enable spatial search widget. I have followed the
>> instructions given in
>>
>> http://ckanext-spatial.readthedocs.org/en/latest/install.html#configuration
>> to configure the ckanext-spatial. And following instructions given in
>> https://ckanext-spatial.readthedocs.org/en/latest/spatial-search.html to
>> enable the spatial search. Not able to find
>> myproj/ckanext/myproj/templates/package/search.html.
>>
>> I have installed ckan on Ubuntu 12.04 64 bit. And also installed
>> PostgreSQL
>> 9.1 and PostGIS 1.5. Please help how to add map widget to the site,and
>> search on the map widget to find  the corresponding records.
>>
>>
>> Thanks&Regards,
>> Naresh
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150830/7a7b0cc3/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Sun, 30 Aug 2015 15:41:29 +0800
>> From: ???[Sol] <u103133.u103135 at gmail.com>
>> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
>> Subject: Re: [ckan-dev] How to enable spatial search in ckan
>> Message-ID:
>>         <
>> CAA_4TBbjpAaQn8OE+rXPNb-mdsro83YfAHFieDDW4ECkmnc3Zg at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi Naresh,
>>
>> Have you followed this guide to add the spatial search widget?
>>
>> https://ckanext-spatial.readthedocs.org/en/latest/spatial-search.html#spatial-search-widget
>>
>> Cheers,
>> Sol
>>
>> 2015-08-30 14:51 GMT+08:00 Naresh N <naresh919 at gmail.com>:
>>
>> > Dear All,
>> >
>> >  Please help me how to enable spatial search widget. I have followed the
>> > instructions given in
>> >
>> http://ckanext-spatial.readthedocs.org/en/latest/install.html#configuration
>> > to configure the ckanext-spatial. And following instructions given in
>> > https://ckanext-spatial.readthedocs.org/en/latest/spatial-search.html
>> to
>> > enable the spatial search. Not able to find
>> > myproj/ckanext/myproj/templates/package/search.html.
>> >
>> > I have installed ckan on Ubuntu 12.04 64 bit. And also installed
>> > PostgreSQL 9.1 and PostGIS 1.5. Please help how to add map widget to the
>> > site,and search on the map widget to find  the corresponding records.
>> >
>> >
>> > Thanks&Regards,
>> > Naresh
>> >
>> >
>> >
>> > _______________________________________________
>> > ckan-dev mailing list
>> > ckan-dev at lists.okfn.org
>> > https://lists.okfn.org/mailman/listinfo/ckan-dev
>> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>> >
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.okfn.org/pipermail/ckan-dev/attachments/20150830/3b8f0644/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>> ------------------------------
>>
>> End of ckan-dev Digest, Vol 58, Issue 48
>> ****************************************
>>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150831/b1db460b/attachment-0003.html>


More information about the ckan-dev mailing list