juanrapoport / ows.js

OGC Web Services Library for JavaScript

Home Page:https://github.com/OSGeo/ows.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#ows.js

Build Status

OGC Web Services Library for JavaScript.

This Library is based in the awesome work of Jsonix & ogc-schemas libraries.

Getting started

###Clone de repository and install dependencies

git clone https://github.com/juanmav/ows.js.git
cd ows.js/
npm install

run the example project

grunt serve

Go to the browser and open the dev console

Or how to install ows.js in your project.

 bower install ows.js --save

no tags at the moment.

you also need to add to your index.html

<script type="text/javascript" src="../bower_components/ogc-schemas/lib/OWS_1_0_0.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/DC_1_1.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/DCT.js"></script>
<script type="text/javascript" src="../bower_components/w3c-schemas/lib/XLink_1_0.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/CSW_2_0_2.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/Filter_1_1_0.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/GML_3_1_1.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/SMIL_2_0_Language.js"></script>
<script type="text/javascript" src="../bower_components/ogc-schemas/lib/SMIL_2_0.js"></script>

Implemented

  • Basic Ows operations (ex: GetCapabilities)
  • CSW
  • GetRecords
  • GetRecordById
  • GetDomain
  • GetCapabilities (Refactored)
  • OGC Filters
  • Operators:
  • Logical Operators:
    • AND
    • OR
  • Spatial Operatos:
    • BBOX
  • Comparison
    • isLike
    • isBetween
    • isEqualTo
    • isLessThanOrEqualTo
    • isGreaterThan
    • isLessThan
    • isGreaterThanOrEqualTo
    • isNotEqualTo

Next TODOS

  • Clean Ows.js deprecated code.
  • Implement NOT operator.
  • PropertyIsNull
  • Improve Unit-Tests (Help is extremely Welcome here :D)
  • DescribeRecord

in the Future

  • WPS
  • WFS
  • SLD
  • etc...

How to build ows.min.js

grunt dist

About

OGC Web Services Library for JavaScript

https://github.com/OSGeo/ows.js

License:MIT License


Languages

Language:HTML 58.8%Language:JavaScript 41.2%