Trimble Business Center

 View Only
Expand all | Collapse all

ANZ Toolbox/Convert to Polygon - a question

  • 1.  ANZ Toolbox/Convert to Polygon - a question

    Posted 08-09-2023 11:32

    Hello,

    I have a parcel (in violet color) created partially from line strings (4 line strings) and partially from COGO line string (1 COGO line string) - see the picture below:

    I wanted to transform them to a polygon/polyline using ANZ ToolBox command Convert To Polygon, so I selected them all:

    However, when I ran the command by clicking Apply, no polyline was created:

    What´s the problem? Why no polyline was created?

    Does it not work, when selected line strings created by different methods (CAD line string + COGO line string)?

    Thanks in advance for any reaction.



    ------------------------------
    Martin Kalafut
    ------------------------------


  • 2.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-10-2023 02:03

    Please read the manual

    https://tbcanz.com/docs/Convert_To_Polygon.pdf

    You can't just throw some separate line elements on it.



    ------------------------------
    Ronny Schneider
    ------------------------------



  • 3.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-10-2023 02:39

    Thanks Ronny,

    Of coarse, I consulted the manual, when my first attempt was unsuccessful. Then, I joined the 4 line strings to one line string.

    So, I have one line string and 1 COGO line string. Nevertheless, the command does not create the polygon. 

    Here are my settings:

    What am I doing wrong? 



    ------------------------------
    Martin Kalafut
    ------------------------------



  • 4.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-10-2023 02:55

    "The Convert to Polygon command allows the user to convert closed CAD polylines and Linestrings into Polygons. This command will convert horizontal and vertical arc data to straight line segments in the process."

    The line you throw at it must already be closed. It can be made up from many segments, but they must be connected into one entity already. The macro is not intended to combine single line entities. 



    ------------------------------
    Ronny Schneider
    ------------------------------



  • 5.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-10-2023 07:18

    Thanks again Ronny!

    I supposed, when one type of line string ends in one point (CAD line string in my case) and simultaneously

    in the same point starts another type of line string (COGO line string in my case) which ends in the starting point of the previous CAD line string,

    then the line strings (regardless of their types) are closed lines and hence, they can be converted to a polygon.

    Now, it seems that I do not understand correctly what means the term: THE LINE MUST BE CLOSED.

    Please - explain how should I understand it.

    I can solve my problem manually - I can start CAD command CREATE POLYLINE and manually select step by step all vertex points.

    But, it is far better, when some command (like Convert To Polygon) could do it automatically.

    Thanks again for your reply!

     



    ------------------------------
    Martin Kalafut
    ------------------------------



  • 6.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-10-2023 16:45
    Hi Martin,
     
    As Ronny has pointed out, the key aspect here is ensuring that the lines you're trying to convert are already closed.
     
    This command is primarily designed for earthwork export, enabling accurate visualization of areas on the machine. We'd be interested in examining your data to determine if there's a potential solution that could be integrated into future releases. If you're open to it, please share a sample of your data with us? Feel free to send it to tbc_support@upgsolutions.com.
     
    Cheers,


    ------------------------------
    Ramin Rad
    ------------------------------



  • 7.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-11-2023 00:57
      |   view attached

    Hi Ramin,

    thanks for your info. However - I have such feeling that we are rotating in a circle.

    As I described above and as I understand the term CLOSED line(s), I thing I have closed shape of the parcel

    (although it consists of two different line strings - CAD and COGO).

     If not, then I need EXACT definition what means the CLOSED lines.

    Attached is ZIP data file - it would be great, when you could have a look into the data 

    and inform me what´s wrong with my approach.

    Thanks in advance!



    ------------------------------
    Martin Kalafut
    ------------------------------

    Attachment(s)

    zip
    2023-AP_Novotny_s_KatUz.zip   1.69 MB 1 version


  • 8.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-16-2023 21:27
    Thank you for taking the initiative to share your data with us. Your input aids in identifying areas for enhancement. 
    The Convert to Polygon command has a specific requirement for closed geometries, which means it operates with linestrings or polygons that are closed.
     
    Your parcel is composed of multiple line strings, including both CAD line strings and COGO line strings. The command currently functions only with closed geometries, such as a single linestring or a closed polygon. The fact that your data consists of different types of line strings connected at specific points doesn't satisfy the criteria for a single closed geometry.
     
    In the upcoming release of the command we will bring improvements to work with a broader range of data types, and closed geometries won't be a strict requirement anymore. This enhancement will provide greater flexibility and will accommodate scenarios similar to yours.
     
    In the meantime, as a workaround, you can create a single closed geometry using tools like the Track Region command and use the command to convert the closed polyline to polygon.
     
    R


    ------------------------------
    Ramin Rad
    ------------------------------



  • 9.  RE: ANZ Toolbox/Convert to Polygon - a question

    Posted 08-18-2023 00:41

    Thanks Ramin!

    I very appreciate your decision to make enhancements and am very exciting to see it and use it as soon as possible.

    Best wishes!  



    ------------------------------
    Martin Kalafut
    ------------------------------