Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working drivers.sqlite.reader with tests
- Loading branch information
Showing
6 changed files
with
152 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Pipeline version="1.0"> | ||
<Writer type="drivers.las.writer"> | ||
<Option name="filename"> | ||
written-from-sqlite.las | ||
</Option> | ||
<Option name="compression"> | ||
false | ||
</Option> | ||
<Reader type="drivers.sqlite.reader"> | ||
<Option name="query"> | ||
SELECT b.schema, l.cloud, l.block_id, l.num_points, l.bbox, l.extent, l.points, b.cloud | ||
FROM simple_blocks l, simple_cloud b | ||
WHERE l.cloud = b.cloud and l.cloud in (1) | ||
order by l.cloud | ||
</Option> | ||
<Option name="connection"> | ||
/Users/hobu/dev/git/pdal/test/data/autzen-dd.sqlite | ||
</Option> | ||
</Reader> | ||
</Writer> | ||
</Pipeline> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Pipeline version="1.0"> | ||
<Writer type="drivers.sqlite.writer"> | ||
<Option name="connection"> | ||
autzen-dd.sqlite | ||
</Option> | ||
<Option name="cloud_table_name"> | ||
SIMPLE_CLOUD | ||
</Option> | ||
<Option name="block_table_name"> | ||
SIMPLE_BLOCKS | ||
</Option> | ||
|
||
<Option name="cloud_column_name"> | ||
CLOUD | ||
</Option> | ||
<Option name="is3d"> | ||
false | ||
</Option> | ||
<Option name="overwrite"> | ||
true | ||
</Option> | ||
<Option name="srid"> | ||
4326 | ||
</Option> | ||
<Option name="base_table_boundary_wkt"> | ||
</Option> | ||
<Option name="pre_block_sql"> | ||
</Option> | ||
<Option name="pre_sql"> | ||
</Option> | ||
<Option name="post_block_sql"> | ||
</Option> | ||
<Option name="capacity"> | ||
50 | ||
</Option> | ||
<Option name="stream_output_precision"> | ||
8 | ||
</Option> | ||
<Option name="pack_ignored_fields"> | ||
true | ||
</Option> | ||
|
||
<Filter type="filters.chipper"> | ||
<Option name="capacity"> | ||
50 | ||
</Option> | ||
<Option name="max_cache_blocks"> | ||
1 | ||
</Option> | ||
<Reader type="drivers.las.reader"> | ||
<Option name="filename"> | ||
../autzen-dd.las | ||
</Option> | ||
<Option name="spatialreference"> | ||
EPSG:4326 | ||
</Option> | ||
</Reader> | ||
</Filter> | ||
</Writer> | ||
</Pipeline> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters