Package Details: php-geos-git 1.0.1.r4.ge4f9578-1

Git Clone URL: (read-only, click to copy)
Package Base: php-geos-git
Description: PHP bindings for GEOS
Upstream URL:
Keywords: geo geos geospatial php
Licenses: MIT, LGPL2
Submitter: BloodyAltair
Maintainer: BloodyAltair
Last Packager: BloodyAltair
Votes: 3
Popularity: 0.000000
First Submitted: 2019-03-13 01:37 (UTC)
Last Updated: 2021-05-22 01:51 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

korvinko commented on 2018-01-08 15:00 (UTC)

latest release is geos 3.6.2:

And geos-php binding moved to own repo:

Looks like it not build because versions do not match. Current geos in repo 3.6.2 but php binding try compile from 3.5.0

korvinko commented on 2018-01-08 14:51 (UTC)

But manual build works goods:

korvinko commented on 2018-01-08 13:37 (UTC) (edited on 2018-01-08 13:40 (UTC) by korvinko)

Meet problem during build:

In file included from ../../../include/geos/geom/Geometry.h:25:0, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/platform.h:114:2: error: #error "Can not compile without isnan function or macro" #error "Can not compile without isnan function or macro" ^~~~~ In file included from ../../../include/geos/geom/Coordinate.h:158:0, from ../../../include/geos/geom/Envelope.h:25, from ../../../include/geos/geom/Geometry.h:27, from IndexedPointInAreaLocator.cpp:17: ../../../include/geos/geom/Coordinate.inl: In member function ‘bool geos::geom::Coordinate::isNull() const’: ../../../include/geos/geom/Coordinate.inl:38:10: error: ‘ISNAN’ was not declared in this scope return (ISNAN(x) && ISNAN(y) && ISNAN(z)); ^~~~~ ../../../include/geos/geom/Coordinate.inl:38:10: note: suggested alternative: ‘SNAN’ return (ISNAN(x) && ISNAN(y) && ISNAN(z)); ^~~~~ SNAN ../../../include/geos/geom/Coordinate.inl: In member function ‘bool geos::geom::Coordinate::equals3D(const geos::geom::Coordinate&) const’: ../../../include/geos/geom/Coordinate.inl:77:21: error: ‘ISNAN’ was not declared in this scope ((z == other.z)||(ISNAN(z) && ISNAN(other.z))); ^~~~~ ../../../include/geos/geom/Coordinate.inl:77:21: note: suggested alternative: ‘SNAN’ ((z == other.z)||(ISNAN(z) && ISNAN(other.z))); ^~~~~ SNAN make[5]: [Makefile:483: IndexedPointInAreaLocator.lo] Error 1 make[5]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src/algorithm/locate' make[4]: [Makefile:502: all-recursive] Error 1 make[4]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src/algorithm/locate' make[3]: [Makefile:556: all-recursive] Error 1 make[3]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src/algorithm' make[2]: [Makefile:595: all-recursive] Error 1 make[2]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0/src' make[1]: [Makefile:469: all-recursive] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-user/aur-geos-php/src/geos-3.5.0' make: [Makefile:416: all] Error 2