Internal Representation

DamonOehlman edited this page Jun 28, 2012 · 1 revision
Clone this wiki locally

While geofilter's default format looks most similar to a URL format, it's internal format is essentially JSON. In it's simplest form an internal representation of a Geofilter looks like so:

    "args": {

This internal format has been written in such a way that it should be fairly easy to be able to map the internal representation from it's url equivalent.

Bounding Box

        "min":"-29.89217616017851 135.04394531250003",
        "max": "-8.331726297398703 160.13671875000003"

One thing that is worth noting that the property attribute specified in the arguments is not usually explicitly stated in the url parameters (e.g. /BBOX/MINLAT,MINLON,MAXLAT,MAXLON) and is actually configured in the geofilter initialization step.