planetfederal / geodroid-server

Apache License 2.0
3 stars 4 forks source link

GeoGit bbox issue #41

Open jj0hns0n opened 10 years ago

jj0hns0n commented 10 years ago

I'm seeing that the features app (clicking on the preview in the app) is making requests to the features endpoint like this which returns 0 features.

http://192.168.1.19:8000/features/mobile-test/waterways?srs=epsg%3A4326&bbox=0.5,0.5,-1.5,-1.5

Im not sure what the exact bounding box is, but if I request like this, http://192.168.1.19:8000/features/mobile-test/waterways?srs=epsg%3A4326&bbox=-180,-90,180,90 I get all the features.

Seems like geogit is not returning the bbox for the layer properly

jj0hns0n commented 10 years ago

This may be mostly occurring after I've done a sync with the remote.

adunetz commented 10 years ago

@groldan - can you take a look at this? If the fix is too complicated, we may hold off on doing anything. please keep @jdeolive and I posted, thanks!

jj0hns0n commented 10 years ago

I think @groldan is already looking at a fix for this same symptom in the geoserver datastore. Hopefully the same fix works for both.

groldan commented 10 years ago

Here is the fix applied to master https://github.com/boundlessgeo/GeoGit/commit/de3c37ef3c4e46736d3dcca259b8c91be197016b And here is it applied to @jdeolive 's android branch https://github.com/groldan/GeoGit/commit/3cad92ef97e669cc410b27d8dcbd9a799e822d5f

Not sure if it was applied already wherever it shall be to get it fixed for the deliverable, but let me know if you need any more assistance.