Jump to content
RockWare Support Forum

Efficient way to generate multiple polygon tables from polygons contained in a shp?


Peter Schuerch
 Share

Recommended Posts

Hi all, Is there an efficient way to generate multiple polygon tables from a shp containing multiple polygons?

I tried:

- import shp to data sheet

- copy each polygon to a separate data sheet

- add a new polygon table

- import polygon from data sheet into polygon table

 

this process seems extremely complicated and cumbersome. Is there a more efficient way to go directly from shp to multiple polygon tables for each polygon contained in the shp?

 

thanks, Peter

Link to comment
Share on other sites

Peter,  another option might be to import the polygon into RockPlot2D.  You can then select an individual polygon, right click on it, and save it to a Polygon Table.  I am not sure how many polygons you are working with.  If you want to send us your shapefile to experiment with, we might be able to come up with a more efficient workflow with some experimenting.

 

Best Regards,

Alison

 

Link to comment
Share on other sites

15 hours ago, Alison said:

Peter,  another option might be to import the polygon into RockPlot2D.  You can then select an individual polygon, right click on it, and save it to a Polygon Table.  I am not sure how many polygons you are working with.  If you want to send us your shapefile to experiment with, we might be able to come up with a more efficient workflow with some experimenting.

 

Best Regards,

Alison

 

Hi Alison

Thanks loads, that is already way more efficient than what I came up with... I'll go with that for the moment but might come back to your offer later.

Best regards, Peter

Link to comment
Share on other sites

  • 3 weeks later...

Hi Alison,

 

To follow up on Peter's inquiry: I have a shapefile with 3,005 polygons (a regional surficial geologic map). When I create sections with a Location Map, it would be great if one (or both) of the following actions was possible: (1) a surface profile line, following the land surface, showing the surficial geologic unit (a property of the polygon) across the section line, perhaps using different colors--I am skeptical that this is possible; and (2) plotting the surficial geologic map as a Map Overlay in the Location Map, using a different color/symbology for each of ~11 different geologic units--this would allow me to compare the surficial geology (shown in the Location Map) to the modeled subsurface geology (shown in the cross section).

 

Any thoughts?

Link to comment
Share on other sites

Jackson,

 

We don't currently have a way to import a polygon shapefile like this, but I've asked our programming team to think about whether this is something they could add.  In the meantime, could you create a raster file that contains geology values?  That might be easier to work with, as you could import it into RockWorks to create an RwGrd file using an ArcASCII grid file.

 

What type of modeling are you doing in RockWorks? Lithology modeling or Stratigraphy modeling? An RwGrd file could be used to create an RwMod file, so I'm wondering if your "surface geology" RwGrd file could be used to create a solid model that is just a thin layer following your topographic surface.  You could plot that along with your modeled sections to see how well they correlate.

 

Feel free to contact tech@rockware.com with some example files if you'd like us to take a look and brainstorm more.  Its always easier to come with workflow ideas if we have a project to look at!

 

Best Regards,

Alison

Link to comment
Share on other sites

For what it is worth, I tried importing the unaltered shapefile into a datasheet and ended up with 921,336 vertices (rows). I then plotted this as a Map Overlay for a cross section's Location Map, using the Single Table option--as you can imagine, it was a beautiful mess trying to add all 921,336 vertices into a single, connected polygon (see attached). I think it would be a nice feature for an avant-garde art exhibit.

 

Thanks for the reply, Alison. Right now, I'm doing Lithology modeling, which will be a precursor to the development of an eventual Stratigraphy model.

 

I'll send an email to the tech@rockware.com to follow up on this and attach the "problem" polygon shapefile. Thanks!

RW_large_poly_screenshot_out.png

Link to comment
Share on other sites

5 hours ago, Alison said:

Jackson,

 

What type of modeling are you doing in RockWorks? Lithology modeling or Stratigraphy modeling? An RwGrd file could be used to create an RwMod file, so I'm wondering if your "surface geology" RwGrd file could be used to create a solid model that is just a thin layer following your topographic surface.  You could plot that along with your modeled sections to see how well they correlate.

 

 

Hi Jackson

I have two suggestions:

1)

For visually nice results I have done the following in the past:

- plot the shape in a GIS (e.g. together with a backgroundmap)

- export a geotiff

- drape the geotiff in RW over your DTM or solid model

 

2)

you could try (I haven't done that) to convert your shape to a infrastructure file and plot your polygons as "walls" or "buildings". The big advantage of this would be that you can put all the geometries in one single file. But you couldn't color them differently... but maybe in combination with the above...

 

the syntax in a simple text file is:

ELEVATION: (elevation value)

WALL: Storage Facility Fence
482027.1 4399841.4
481972.6 4399924.7
482079.3 4399999.1
482089.3 4399993.8
482130.3 4399917.0
482027.1 4399841.4
END:

 

more info:

https://help.rockware.com/rockworks/WebHelp/introduction.htm > Infrastructure Data Format
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...