{"id":40882480,"url":"https://github.com/bertt/pnts-tile-cs","last_synced_at":"2026-01-22T01:16:47.634Z","repository":{"id":69227382,"uuid":"162420580","full_name":"bertt/pnts-tile-cs","owner":"bertt","description":".NET 8 Library for (de)serializing  LiDAR  3D tiles","archived":false,"fork":false,"pushed_at":"2025-02-10T13:30:17.000Z","size":2510,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-10T18:19:21.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-19T10:20:13.000Z","updated_at":"2025-02-10T13:29:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"55379f7d-5a3e-4b37-8357-17bb7c413dae","html_url":"https://github.com/bertt/pnts-tile-cs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bertt/pnts-tile-cs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fpnts-tile-cs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fpnts-tile-cs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fpnts-tile-cs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fpnts-tile-cs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertt","download_url":"https://codeload.github.com/bertt/pnts-tile-cs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fpnts-tile-cs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28648639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T01:16:47.050Z","updated_at":"2026-01-22T01:16:47.619Z","avatar_url":"https://github.com/bertt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pnts-tile-cs\n\n.NET 8.0 Library for (de)serializing Cesium pnts tiles\n\n[![NuGet Status](http://img.shields.io/nuget/v/pnts-tile.svg?style=flat)](https://www.nuget.org/packages/pnts-tile/)\n\nSpec: https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification/TileFormats/PointCloud\n\n3D Tiles OGC® Community Standard (pdf alert): https://portal.opengeospatial.org/files/79137\n\n## Sample code\n\n```\nstring infile = \"testfixtures/1-0-1-1.pnts\";\nvar stream = File.OpenRead(infile);\nvar pnts = PntsParser.ParsePnts(stream);\nConsole.WriteLine($\"Number of points: {pnts.FeatureTableMetadata.points_length} \");\nvar rtc = pnts.FeatureTableMetadata.Rtc_Center;\nConsole.WriteLine($\"RTC_CENTER (relative to center x,y,z): {rtc[0]},{rtc[1]},{rtc[2]}\");\nConsole.WriteLine($\"First point (x,y,z): {pnts.Points[0].X}, {pnts.Points[0].Y}, {pnts.Points[0].Z} \");\nConsole.WriteLine($\"First point color (r,g,b): {pnts.Colors[0].R}, {pnts.Colors[0].G}, {pnts.Colors[0].B} \");\n```\n\nSee https://github.com/bertt/pnts-tile-cs/blob/master/samples/ConsoleApp/Program.cs for sample code converting points in tile to longitude, latitude, altitude and writing to csv file.\n\n## Positions\n\nFrom the spec: \"RTC_CENTER specifies the center position and all point positions are treated as relative to this value\". \nSo for each point, add the point (x,y,z) to the RTC_CENTER to get its position in Cartesian format. \nFor sample code calculating to longitude, latitude, altitude see https://github.com/bertt/pnts-tile-cs/blob/master/samples/ConsoleApp/Program.cs#L19\n\n## Dependencies\n\n- System.Text.Json\n\n## Known limitis\n\n- add support for POSITION_QUANTIZED, RGBA, RGB565, NORMAL, NORMAL_OCT16P, BATCH_ID, QUANTIZED_VOLUME_OFFSET, QUANTIZED_VOLUME_SCALE, CONSTANT_RGBA,BATCH_LENGTH\n\n- add pnts writer functionality\n\n\n## History\n\n2018-12-19: Initial coding - pnts reader\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertt%2Fpnts-tile-cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertt%2Fpnts-tile-cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertt%2Fpnts-tile-cs/lists"}