# Gas Pipeline Encroachment Screen — 5-Site Demo

**Use case:** 

Ready-to-run pipeline proximity screen for 5 industrial sites: nearest gas pipeline, operator, distance, and encroachment band from the EIA/NTAD layer.

## Input

```json
{
  "assets": [
    {
      "lat": 29.76,
      "lon": -95.37,
      "label": "Houston TX site"
    },
    {
      "lat": 31.997,
      "lon": -102.078,
      "label": "Midland TX Permian site"
    },
    {
      "lat": 35.985,
      "lon": -96.767,
      "label": "Cushing OK tank-farm hub"
    },
    {
      "lat": 32.9,
      "lon": -96.8,
      "label": "North Dallas TX site"
    },
    {
      "lat": 38.48,
      "lon": -98.02,
      "label": "Rural KS control"
    }
  ],
  "radiusMiles": 5,
  "maxPipelinesPerAsset": 25,
  "maxAssets": 500
}
```

## Output

```json
{
  "asset_label": {
    "label": "Asset label",
    "format": "string"
  },
  "distance_miles": {
    "label": "Distance (mi)",
    "format": "number"
  },
  "operator": {
    "label": "Pipeline operator",
    "format": "string"
  },
  "typepipe": {
    "label": "Pipeline type",
    "format": "string"
  },
  "status": {
    "label": "Pipeline status",
    "format": "string"
  },
  "bearing_deg": {
    "label": "Bearing (deg)",
    "format": "number"
  },
  "encroachment_band": {
    "label": "Encroachment band",
    "format": "string"
  },
  "within_radius": {
    "label": "Within radius",
    "format": "boolean"
  },
  "nearest_distance_miles": {
    "label": "Nearest distance overall (mi)",
    "format": "number"
  },
  "nearest_operator": {
    "label": "Nearest operator overall",
    "format": "string"
  },
  "pipelines_within_radius": {
    "label": "Pipelines within radius",
    "format": "integer"
  },
  "clear_flag": {
    "label": "Clear flag",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Natural Gas Pipeline Proximity Screener — US EIA/NTAD Lines](https://apify.com/malonestar/ntad-gas-pipeline-proximity-screener) with a specific input configuration. Visit the [Actor detail page](https://apify.com/malonestar/ntad-gas-pipeline-proximity-screener) to learn more, explore other use cases, and run it yourself.