[SoC] GSOC Weekly Report #3 - PostGIS View Module for Cartaro

Naveen Panwar panwarnaveen9 at gmail.com
Sat Jun 7 01:49:12 PDT 2014


Hello,

Please find the GSOC week #3 report as follow.

Report URL -
https://github.com/panwarnaveen9/View-Module-for-Cartaro-GSOC2014/wiki/Code-Week-%233

*Weekly Report (1st June to 7th June) -*

*Aim* - Prepare the technical design pipeline for PostGIS view module.

*Things, I have done this week*

   - Understood the current implementation of geometric field display in
   Cartaro.
      - *Available pipeline* -
         1. PostGIS (To store the raw geometric data)
         2. Geo-Server (To prepare geometric layer[WMS])
         3. OpenLayers (To display WMS layer)
      - *Proposed pipeline* -
         1. PostGIS
         2. View Module - Build the spatial query, execute the query, get
         the data and pass it to OpenLayers using handler.
         3. OpenLayers

*Technical Design for Module (folder structure and class description)* -

   -

   *postgis/* -
   - postgis.openlayers.inc - Provides hooks for integration with
      OpenLayers.
   -

   *postgis/views/* -
   - postgis.views.inc - Hooks for views integration. A class that contain
      all of the data to generate a view, plus the member functions to
build the
      view query, execute the query and render the output.
      - postgis_views_handler_filter_geometry.inc - Provide filter for
      geo-spatial data.
      -

   *postgis/views/handlers/* -
   - Implement all handlers which are needed. like: sort, field, argument
      proximity, filter etc.
   -

   *Available filter* -
   - 'ST_Contains', 'ST_Intersects', 'ST_Disjoint'
   -

   *Plugin* -
   - /plugins/geoserver/layer_types/geoserver_layer_type_postgis_field.inc
      - GeoServer layer type for PostGIS fields. [Contain select query]

*Things to do next week*

   - Working on relationship plugin.
   - Understand how exactly view module query on Postgres DB and pass the
   result to OpenLayers.

*Reference Modules/Files* -

   - Geofield - https://drupal.org/project/geofield
      - geofield.views.inc
      - geofield.openlayers.inc
      - /handlers/geofield_handler_filter.inc
      - /handlers/geofield_handler_argument_proximity.inc
   - View - https://drupal.org/project/views
      - view.inc

*Am I blocked on anything ?*

No


--
Regards,
*Naveen Panwar*
IIIT-Hyderabad, India.
+91-9030736015

http://lsi.iiit.ac.in/naveen.panwar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20140607/42a07b53/attachment-0001.html>


More information about the SoC mailing list