koopjs / koop-provider-gist

Github gist provider for Koop.
Other
5 stars 2 forks source link

previewing gist from landing page first seems to bork the postgis database #1

Closed jgravois closed 10 years ago

jgravois commented 10 years ago

STR:

  1. create a new postgis database
  2. point koop at this database and launch
  3. browse directly to koop's landing page and select 'map gist'

the features will display, but only once. afterward the request below returns no features

http://localhost:1337/gist/6178185/FeatureServer/0/query?geometryType=esriGeometryEnvelope&geometry={"xmin":-180,"ymin":-90,"xmax":180,"ymax":90,"spatialReference":{"wkid":4326}}&outFields=*&outSR=4326&inSR=4326&where=1=1&f=json

Alternatively, if you create another new database and fire the request above repeatedly, it will perpetually return features.

cc @nixta @ngoldman

chelm commented 10 years ago

Ahh koop-gist, as it turns out this has become the red-headed step child of Koop providers repos. Looking at fixing this now.

chelm commented 10 years ago

Okay this uncovered the bug that was the reason no */preview maps were rendering data. I should have fixed it long ago.

I made a push to koop-server, all is good again in the koop world.

chelm commented 10 years ago

also proof that it's now working on dev: http://koop.dc.esri.com/gist/6178185/preview

jgravois commented 10 years ago

a quick 'npm update' and now i'm rocking and rolling too. thanks @chelm!