Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python extension improvements #1367

Merged
merged 15 commits into from Nov 9, 2016
Merged

Python extension improvements #1367

merged 15 commits into from Nov 9, 2016

Conversation

hobu
Copy link
Member

@hobu hobu commented Nov 9, 2016

  • pdal.Pipeline class with schema, log, pipeline, and arrays properties
  • Python extension calls play nicely with embedded Python filters
  • PipelineExecutor helper class

@hobu hobu merged commit ba98647 into master Nov 9, 2016
@hobu hobu deleted the python-updates branch November 9, 2016 20:25
@hobu
Copy link
Member Author

hobu commented Nov 10, 2016

Basic usage such as this now supported:

  json = """
    {
      "pipeline": [
        "1.2-with-color.las",
        {
            "type": "filters.sort",
            "dimension": "X"
        }
      ]
    }"""

    import pdal
    pipeline = pdal.Pipeline(pipeline)
    pipeline.loglevel = 9 #really noisy
    count = pipeline.execute()
    arrays = pipeline.arrays
    metadata = r.metadata
    log = pipeline.log

@hobu hobu added this to the 1.4 milestone Nov 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant