-
Notifications
You must be signed in to change notification settings - Fork 72
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
Unable to create the 3D Line using pg2b3dm 2.13.0.0 #189
Comments
The radius column must be of type 'real', not of type int |
I tried with real datatype as well. It is giving me the following error: Start generating tiles... at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult 1 result, Action 1 action)at pg2b3dm.Program.Main(String[] args) Aborted (core dumped) |
The vertices of the lines should have z values |
@rahulkanani09 using |
I'll probably make a PR that uses z=0 when there are no z values in the line |
ogr2ogr command : ogr2ogr -nlt "LINESTRING Z" -f "ESRI Shapefile" output.shp checked_fe_200_mp.shp. It is working now. @bertt and @mittermichal Thanks for prompt support. |
note: both issues should no longer appear in 2.14 |
When attempting to create a 3D line using pg2b3dm version 2.13.0.0, an error occurs, preventing the tile creation. The error message indicates a type casting issue between System.Int32 and System.Single.
Error details: Creating tile: 0_0_0.glb
Unhandled exception. System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.Single'.
at B3dm.Tileset.GeometryRepository.GetGeometries(NpgsqlConnection conn, String shaderColumn, String attributesColumns, String sql, String radiusColumn)
at B3dm.Tileset.GeometryRepository.GetGeometrySubset(NpgsqlConnection conn, String geometry_table, String geometry_column, Double[] bbox, Int32 source_epsg, Int32 target_srs, String shaderColumn, String attributesColumns, String query, String radiusColumn)
Environement Details:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
The text was updated successfully, but these errors were encountered: