GIS Operators

UNIX name Owner Status
gisoperators Norman Leutner beta
Version Compatible with
0.0.1 3.9
The GIS ( Global Information Systems ) template operators are based on the GIS datatype extension.

Current included functions are:
gisrange (Range Search in combination with GIS datatype)
gisposition (Returns latitude and longitude)

Also includes GoogleGeoCoder Class wich uses the GoogleGeo API to get geographical information. (Latitude, Longitide, ...)

The GIS ( Global Information Systems ) template operators are based on the GIS datatype extension. http://projects.ez.no/gis

Current included functions are:

  • gisrange
  • gisposition

The extension also includes GoogleGeoCoder Class wich uses the GoogleGeo API to fetch geographical information. (statuscode, accuracy,latitude, longitide, address, ...)

GISrange

In Combination with the GIS datatype, GISrage searchs for objects within a given range and returns:
ezcontentobject_tree.node_id,
ezcontentobject.id,
ezgis_position.street,
ezgis_position.zip,
ezgis_position.city,
ezgis_position.state,
ezgis_position.country,
The search_text may contain any address information like street country,...
Return false if no valid data is found.

{def $result = gisrange($search_text,$range)}

GISposition

This function uses the GoogleGeoCoder class to perform a search and returns the latitude ang lonitude of the search result or false.

The search_text may contain any address information like street country,...
Return false if no valid data is found.
{def $result = gisposition($search_text)}

GoogleGeoCoder

The GoogleGeoCoder class uses the Google API to get geographical information.

Functions:

  • $object->request($searchstring)
    Uses the google API to update the geographical information of the GeoCoder Object with a given search request.

Copyright: Copyright (C) 2007, all2e GmbH
Author: Norman Leutner
License: GNU General Public License v2.0

Screenshot

No news yet.

This project has no reviews yet. Be the first one to review it!