Jeff Prince Posted July 24, 2021 Share Posted July 24, 2021 I just downloaded some GIS data for a client's project. It's a huge file with lots of data well outside the bounds of the project vicinity and must be reduced in content and size to be usable. How would you trim the contours inside a boundary, such as the image below? Keep in mind, this dataset is huge an has 1000s of contours within the subject area unlike this example image: My approach thusfar.... Delete all polylines outside of the project area. Attempted to "trim" the remaining lines that cross the subject area using Trim, Connect/Combine, and Clip Surface and the rectangle defining the subject area. This results in a no warning insta-crash within Vectorworks. Draw a line to trim individual contours to. This works but is extremely time consuming in number of contours and amount of time VWX requires to trim these 2D contours.... 8 minutes to execute a single trim on a single object! The dataset is too big to turn into a site model and crop, crashes. Thanks for any ideas. Quote Link to comment
markdd Posted July 24, 2021 Share Posted July 24, 2021 Have you tried the very underused Trim menu command? 1 Quote Link to comment
Jeff Prince Posted July 24, 2021 Author Share Posted July 24, 2021 (edited) 6 hours ago, markdd said: Have you tried the very underused Trim menu command? I had not tried the menu version of trim. It has been running for over an hour now processing all of the contours and we shall see if it works 🙂 Thanks for the suggestions. *** Update. After 6 hours of beachball theatrics and pinning my RAM, it actually trimmed the whole mess correctly. Thanks again @markdd! Edited July 25, 2021 by jeff prince Update 2 Quote Link to comment
unearthed Posted July 25, 2021 Share Posted July 25, 2021 If i'm not able to edit the contours I sometimes resort to: Exploding the contours Select what I do want Invert selection and delete Hope VW will join things back again! 1 Quote Link to comment
markdd Posted July 25, 2021 Share Posted July 25, 2021 18 hours ago, jeff prince said: After 6 hours of beachball theatrics and pinning my RAM, it actually trimmed the whole mess correctly. Blimey! I’ve never been that patient. Glad it worked though! 1 Quote Link to comment
zoomer Posted July 25, 2021 Share Posted July 25, 2021 1 hour ago, markdd said: I’ve never been that patient. Hmmh, I am cleaning up large IFC imports in Bricscad. The main File is already running since 9 days now .... 1 Quote Link to comment
Benson Shaw Posted July 26, 2021 Share Posted July 26, 2021 5 hours ago, zoomer said: Hmmh, I am cleaning up large IFC imports in Bricscad. The main File is already running since 9 days now .... Wowzer! 9 days??? Thats the meaning of patience. Hope its on a separate computer so you can work on other things. I have tried the Split tool which works ok. But not on huge data sets. Needs a separate split for each edge -B Quote Link to comment
unearthed Posted July 26, 2021 Share Posted July 26, 2021 (edited) I normally do any trimming work in QGIS [contours, images, polygons, point clouds, shp files...] - altho' QGIS is a whole new learning curve all on its own and before you know it you're trying to learn some very basic Perl. But it gets the job done, almost instantly and you can move on. Edited July 26, 2021 by unearthed missed an item out 2 Quote Link to comment
zoomer Posted July 26, 2021 Share Posted July 26, 2021 8 hours ago, Benson Shaw said: Hope its on a separate computer so you can work on other things. Yes, it's on the PC. And I opened a second instance of Bricscad for smaller files. But have to wait there too. If I had more than 64 GB RAM, I could open more instances, the 3950X would most times have still enough idling cores left. VW jobs work mostly ok and fluid with these huge files on my M1 Mini. Bricscad seems to need the PC, but has better Tools for cleaning up geometry of those crappy IFC or Revit files available. Like Simplify Solids and all kind of Audit options to fix broken geometry. Or purging of same Symbols that are used by a single instance. Once cleaned up they will come back into VW. Quote Link to comment
Benson Shaw Posted July 28, 2021 Share Posted July 28, 2021 (edited) On 7/25/2021 at 9:45 PM, unearthed said: I normally do any trimming work in QGIS [contours, images, polygons, point clouds, shp files...] @unearthed! Good one! This old dog forgot the trick. Thanks for reminding. @jeffprince Give it a whirl - In QGIS, it's called a clip or clipping layer. Similar to a vwx SLVP crop, or a site model crop. Advantage here is that the result is a new shapefile layer which can then be exported as a shapefile containing only the clipped geometry with associated georef and other data. Import of clipped shapefile into vwx is solid. Loads of tutorials out there. Here is one: https://freegistutorial.com/how-to-clip-vector-layer-using-polygon-on-qgis-3-0/ QGIS is usually very quick when processing the big data sets. Good luck! -B Edited July 28, 2021 by Benson Shaw 4 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.