Re: [gdal-dev] Converting OBJ to Geojson files with ogr2ogr

2020-12-02 Thread Brandon Biggs
good. Thanks, Brandon Biggs<https://www.ski.org/users/brandon-biggs> Engineer Smith-Kettlewell Eye Research Institute Office: 415-345-2130 Cell: 650-833-9394 From: Paul Harwood Sent: Wednesday, December 2, 2020 12:20 PM To: Brandon Biggs Cc: Andrew C Ait

Re: [gdal-dev] Converting OBJ to Geojson files with ogr2ogr

2020-12-02 Thread Brandon Biggs
Hello, It's for a custom coordinate system for VR. Geojson provides a very easy syntax for properties and geometries that I like to use with origin at 0,0 bottom left. I'll probably write my own converter, as OBJ is kind of an important file type we need to support. Thanks, Brandon Biggs<ht

[gdal-dev] Converting OBJ to Geojson files with ogr2ogr

2020-12-01 Thread Brandon Biggs
Hello, I am wondering how to convert an obj file to a geojson file? I am using ogr2ogr with the command: Ogr2ogr -f geojson output.geojson input.obj But get the error that ogr2ogr does not have an OBJ driver. I looked on: the vector drivers page but am

[gdal-dev] How to Set DXF_FEATURE_LIMIT_PER_BLOCK in ogr2ogr?

2019-11-02 Thread Brandon Biggs
Hello, I'm running ogr2ogr from a dxf to a geojson, and am getting the following error: Warning 1: Limit of 1 features for block A$C6CCD2E37 reached. If you need more, set the DXF_FEATURE_LIMIT_PER_BLOCK configuration option to the maximum value (or -1 for no limit) How do I do this?

Re: [gdal-dev] Filtering Null Coordinates and rounding coordinates Using ogr2ogr?

2019-10-16 Thread Brandon Biggs
and if they may be causing the empty geometries? Also, why would -skipfailures=true not skip these warnings? Thank you, Brandon Biggs<https://www.ski.org/users/brandon-biggs> Engineer Smith-Kettlewell Eye Research Institute Office: 415-345-2130 Cell: 650-83

[gdal-dev] Filtering Null Coordinates and rounding coordinates Using ogr2ogr?

2019-10-16 Thread Brandon Biggs
Hello, I have two questions with ogr2ogr: How do I remove features that have a null geometry? I tried: -where "\"geometry\" != null" But got the error: ERROR 1: "geometry" not recognised as an available field. ERROR 1: SetAttributeFilter("geometry" != null) on layer 'entities' failed.

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Brandon Biggs
ace, and accepts the following inputs: www.opendesign.com Which converts from dwg to dxf, then gdal can convert dxf to whatever I need. Thanks, Brandon Biggs<https://www.ski.org/users/brandon-biggs> Engineer Smith-Kettlewell Eye Research Institute Office: 415-345-2

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Brandon Biggs
t gdal files to json than pay for autoCad, especially since autoCad would only be used to convert files. What is the process for including the gdal driver in the build? Is there a newbie tutorial on how to build gdal from source? Thank you, Brandon Biggs<https://www.ski.org/users/bran

[gdal-dev] Converting 3D Polygons to 2D Polygons?

2019-10-15 Thread Brandon Biggs
Hello, Is there some way to convert 3D objects to 2D polygons using ogr2ogr? I have a large file with lots of polygons with 0 as the z coordinate. So the point would look like [1,2,0]. I would like it to be: [1,2]. Thanks, ___ gdal-dev mailing

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-15 Thread Brandon Biggs
Hello, I opened an issue: https://github.com/conda-forge/gdal-feedstock/issues/339 Please let me know if there is something else I can do. Thank you, Brandon Biggs<https://www.ski.org/users/brandon-biggs> Engineer Smith-Kettlewell Eye Research Institute Office: 415-345-2130 Cell: 650-83

[gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-15 Thread Brandon Biggs
Hello, I'm wondering how to build custom packages to use in my Conda installation? In particular, I would like a GWD driver for ogr2ogr. I would like the AutoCAD DWG driver, but it looks as if it is not built in my installation. It looks as if I will

[gdal-dev] Getting Polygon Vectors Out of a dwg File?

2019-10-01 Thread Brandon Biggs
Hello, I am wondering how I can get polygon vectors out of a dwg file? Geojson is the easiest format for me to use, but I just need the data in something I can open that's not a picture so I can perform collision detection on the polygons. (apparently autocad is unable to export into any open