OpenSPP / openspp-modules

GNU Lesser General Public License v3.0
24 stars 4 forks source link

Govstack api spp_base_gis #377

Closed reichie020212 closed 5 days ago

reichie020212 commented 1 month ago

other samples

env["res.partner"].search([("geo_polygon_field", "gis_intersects", '{"type": "Point", "coordinates": [124.98706532650226, 7.931953944598931]}')])
env["res.partner"].search([("geo_polygon_field", "gis_intersects", {"type": "Point", "coordinates": [124.98706532650226, 7.931953944598931]})])
env["res.partner"].search([("geo_polygon_field", "gis_intersects", 'POINT (124.98706532650226 7.931953944598931)')])
env["res.partner"].search([("geo_polygon_field", "gis_intersects", Point(124.98706532650226, 7.931953944598931))])
codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 90.08142% with 134 lines in your changes are missing coverage. Please review.

Project coverage is 72.42%. Comparing base (215ae57) to head (66f2b8a). Report is 2 commits behind head on 17.0.

Files Patch % Lines
spp_base_gis_rest/controllers/controllers.py 18.48% 97 Missing :warning:
spp_base_gis_rest/models/api_client_credentials.py 50.00% 28 Missing :warning:
spp_base_gis/models/base.py 92.53% 2 Missing and 3 partials :warning:
spp_base_gis/expression.py 91.30% 0 Missing and 2 partials :warning:
spp_base_gis/operators.py 98.38% 0 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 17.0 #377 +/- ## ========================================== + Coverage 70.50% 72.42% +1.92% ========================================== Files 532 546 +14 Lines 14028 15368 +1340 Branches 1643 1778 +135 ========================================== + Hits 9890 11131 +1241 - Misses 3917 4014 +97 - Partials 221 223 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.