GeoClass for PHP provides classes to handle georeferenced data. Features are: circumference search in (relational) databases, handlers for NIMA-DB and openGeoDB, distance calculation, creation of maps from .e00 or .ovl files and more (rdf, soap, etc).
Be the first to post a text review of GeoClass for PHP. Rate and review a project by clicking thumbs up or thumbs down in the right column.
All releases of openGeoDB formerly found on this page are now available throug openGeoDB.de and the openGeoDB project at Sourceforge (http://sourceforge.net/project/showfiles.php?group_id=132421)
Updates 0.3.1 alpha Geo.php - new constant GEO_DEBUG_SQL to print SQL-Queries to screen use define('GEO_DEBUG_SQL', true) to enable debugging - new units GEO_UNIT_FT, GEO_UNIT_YD - new constants to convert units, based on kilometers, e.g. convert inches to yards: $yards = $inches * GEO_UNIT_IN2KM * GEO_UNIT_KM2YD; - new constants for encodings: GEO_ENCODING_UTF_8, GEO_ENCODING_ISO_8859_1, GEO_ENCODING_DEFUALT (= GEO_ENCODING_ISO_8859_1) - setupSource() - minor bugfixes - deg2dms() - rounding corrected (thanks to Thomas Mack) - getEarthRadius() - new units included + getBarycenter() - new function to calculate the geometric center of overgiven GeoObjects - uses planar instead of spherical geometry :-( Map.php + setRangeByArray() - uses setRange, array has to include the parameters of setRange + getsizeByRange() - uses the same array as setRangeByArray() as first parameter - width and height are the maximum size - return the correct dimensons for a proportional view as an array - addGeoObject() - uses imagefilledellipse rather than multiple ellipses - imageMap[] array contains the object itself - does not add objects beyond the image + addGeoObjectIncrease() - can create larger dots for multiple locations mapped to one/nearby pixel - imageMap[] has an increasing counter - object in imageMap[] is left untouched - name in imageMap[] is concatenated with the new name - addDataFile() - differenciates between .ovl files and "others" + addOvlFile() - parses .ovl overlay files as creatable from TK50 etc. - addDataFile('my.ovl', $color) calls this method + getImageMapExtended() - creates an imagemap with circle areas - attributes of the areas are overgiven as an associative array - attribute values may contain any db_value of the imageMap[]['o'] Object.php - Geo_Object() - fixed wrong constant (GEO_LANGUAGE_DEFAULT instead of GEO_LANGUAGE) - added sort-functions to use with Objects - alpahSort - helper-method - nameSort - sort by name - distanceSort - sort by distance, if distance is a dbValue Common.php - encoding became a default option - setOptions() - uses array_merge instead of foreach - getRDFDataFile() - uses foreach instead of for() DB.php - encoding became a default option - findGeoObject() - $searchConditions default is "%" instead of array() - uses performQuery() to deliver the result - findCloseByGeoObject() - distance-field is named "distance" instead of "e", important for further use of dbValues - uses performQuery() to deliver the result - pefromQuery() - regards GEO_DEBUG_SQL - regards DB::Eserror - transformQueryResult() - regards GEO_ENCODING_UTF_8 (hopefully, not to sure, must be improved...) - bugfix: $this->options['degree'] instead of $this->$degree - getDistanceFormula() - uses ANSI-SQL "COALESCE" instead of "ISNULL" - (thanks to Thomas Mack) DB_Nima.php - uses GEO_ENCODING_UTF_8 - findGeoObject() - uses performQuery() to deliver the result - findCloseByGeoObjects() - distance-field is named "distance" instead of "e", important for RDF.php - setArrayOfGeoObjects() - parameter could be an url to a rdf-file - findGeoObject() - $searchConditions default is "*" instead of array() - uses preg_match and $object->name to find objects - findCloseByGeoObjects() - it works - did not in the ol version :-) - objects are sorted and include the distance DB_Relational.php - all new to use relational databases, similar to DB.php DB_OpenGeoDB.php - all new, based on DB_Relational SOAP.php - did not change at all
Updates 0.3.1 alpha Geo.php - new constant GEO_DEBUG_SQL to print SQL-Queries to screen use define('GEO_DEBUG_SQL', true) to enable debugging - new units GEO_UNIT_FT, GEO_UNIT_YD - new constants to convert units, based on kilometers, e.g. convert inches to yards: $yards = $inches * GEO_UNIT_IN2KM * GEO_UNIT_KM2YD; - new constants for encodings: GEO_ENCODING_UTF_8, GEO_ENCODING_ISO_8859_1, GEO_ENCODING_DEFUALT (= GEO_ENCODING_ISO_8859_1) - setupSource() - minor bugfixes - deg2dms() - rounding corrected (thanks to Thomas Mack) - getEarthRadius() - new units included + getBarycenter() - new function to calculate the geometric center of overgiven GeoObjects - uses planar instead of spherical geometry :-( Map.php + setRangeByArray() - uses setRange, array has to include the parameters of setRange + getsizeByRange() - uses the same array as setRangeByArray() as first parameter - width and height are the maximum size - return the correct dimensons for a proportional view as an array - addGeoObject() - uses imagefilledellipse rather than multiple ellipses - imageMap[] array contains the object itself - does not add objects beyond the image + addGeoObjectIncrease() - can create larger dots for multiple locations mapped to one/nearby pixel - imageMap[] has an increasing counter - object in imageMap[] is left untouched - name in imageMap[] is concatenated with the new name - addDataFile() - differenciates between .ovl files and "others" + addOvlFile() - parses .ovl overlay files as creatable from TK50 etc. - addDataFile('my.ovl', $color) calls this method + getImageMapExtended() - creates an imagemap with circle areas - attributes of the areas are overgiven as an associative array - attribute values may contain any db_value of the imageMap[]['o'] Object.php - Geo_Object() - fixed wrong constant (GEO_LANGUAGE_DEFAULT instead of GEO_LANGUAGE) - added sort-functions to use with Objects - alpahSort - helper-method - nameSort - sort by name - distanceSort - sort by distance, if distance is a dbValue Common.php - encoding became a default option - setOptions() - uses array_merge instead of foreach - getRDFDataFile() - uses foreach instead of for() DB.php - encoding became a default option - findGeoObject() - $searchConditions default is "%" instead of array() - uses performQuery() to deliver the result - findCloseByGeoObject() - distance-field is named "distance" instead of "e", important for further use of dbValues - uses performQuery() to deliver the result - pefromQuery() - regards GEO_DEBUG_SQL - regards DB::Eserror - transformQueryResult() - regards GEO_ENCODING_UTF_8 (hopefully, not to sure, must be improved...) - bugfix: $this->options['degree'] instead of $this->$degree - getDistanceFormula() - uses ANSI-SQL "COALESCE" instead of "ISNULL" - (thanks to Thomas Mack) DB_Nima.php - uses GEO_ENCODING_UTF_8 - findGeoObject() - uses performQuery() to deliver the result - findCloseByGeoObjects() - distance-field is named "distance" instead of "e", important for RDF.php - setArrayOfGeoObjects() - parameter could be an url to a rdf-file - findGeoObject() - $searchConditions default is "*" instead of array() - uses preg_match and $object->name to find objects - findCloseByGeoObjects() - it works - did not in the ol version :-) - objects are sorted and include the distance DB_Relational.php - all new to use relational databases, similar to DB.php DB_OpenGeoDB.php - all new, based on DB_Relational SOAP.php - did not change at all
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?