koopjs / koop-provider-s3-select

Koop provider for S3 data
2 stars 0 forks source link

Error Parsing JSON file #7

Open AvidDabbler opened 3 years ago

AvidDabbler commented 3 years ago

I am working with the trees.geojson file to test out the that is provided in the geodata repo to serve up via s3. I have connected the credentials, uploaded the data, and setup the default.json s3 parameters. And when run in postman it just runs for 3 minutes or so and then dies with a socket error.

I have tried changing the json type to "LINES" instead of "DOCUMENT" and I just get parsing errors.

URL

http://localhost:8080/s3/stores>key>/trees.geojson/FeatureServer/layer

default.json

{
  "port": "8080",
  "koopProviderS3Select": {
    "s3Path": "scoopapi",
    "stores": { 
      "vehicles": {
        "s3Path": "",
        "serialization": {
          "JSON": {
            "Type": "DOCUMENT"
          }
        }
      }
    }
  }
}

console info

{"Details":{"BytesScanned":425780,"BytesProcessed":425780,"BytesReturned":390590},"level":"info","message":""}

Postman failure error

Error: socket hang up