MapInfo Pro

Expand all | Collapse all

Anyone know how to convert Polygon to Line Object

Jump to Best Answer
  • 1.  Anyone know how to convert Polygon to Line Object

    Posted 14 days ago
    Hello,

    I am looking for a way to take a large dataset of polygon boundaries and convert them into polyline or line objects.

    The reason I ask is because when I convert the .TAB layer into geoJSON format, and I use that on top of a different base map, the events that I have tied to the base map layer are now all covered up by the new geoJSON layer (polygons) and therefore are unable to fire.

    Does anyone have any experience with a similar issue or can help w/ maybe a Map Basic program that may be able to do what I am asking?

    Thanks in advance

    ------------------------------
    Nicholas Evanish
    Senior Programmer Analyst
    ------------------------------


  • 2.  RE: Anyone know how to convert Polygon to Line Object
    Best Answer

    Posted 14 days ago
    Edited by Nicholas Evanish 13 days ago
    All,

    I figured out my own problem. Inside MapInfo 17.0.3, you need to do the following steps:

    1. open .TAB file of polygons
    2. Make Layer Editable
    3. Select all Polygons you wish to convert to Polylines
    4. Under SPATIAL Tab -> Choose "Convert to Polylines" and MI Pro does it all for you.

    Hopefully this may help someone else out down the road!

    ------------------------------
    Nicholas Evanish
    Senior Programmer Analyst
    ------------------------------



  • 3.  RE: Anyone know how to convert Polygon to Line Object

    Community Manager
    Posted 14 days ago
    Hi Nicholas!

    Glad to hear you were able to find the option you were looking for - I love when I find the answer to my own question. Sometimes I just need to ask it out loud. :)

    Since you have your own best answer, you should give yourself credit for it! Click on the arrow next to reply for your answer, and choose "Make best answer" - this will make it easy for people who come along in the future with the same question to find the answer.

    Thank you, and happy Converting to Polylines :)​

    ------------------------------
    Sydney Lawton
    Community Manager
    ------------------------------



  • 4.  RE: Anyone know how to convert Polygon to Line Object

    Posted 13 days ago

    Sydney,

    Thanks. I updated my post to be more step oriented, and then flagged it as the best answer.

    Have a good day.



    ------------------------------
    Nicholas Evanish
    Senior Programmer Analyst
    ------------------------------



  • 5.  RE: Anyone know how to convert Polygon to Line Object

    Posted 6 days ago
    Hi There,

    I created a Polyline boundary from a Polygon but now I want to go back the other way - create a polygon infill of the polyline boundary - however I am not sure how to do this? Do you know how to?

    Thanks

    R​

    ------------------------------
    Richard Sherman
    Knowledge Community Shared Account
    ------------------------------



  • 6.  RE: Anyone know how to convert Polygon to Line Object

    Posted 6 days ago
    ​Hi - so I figured it out - so you need to make the original layer editable then you go to:

    Spatial
    Regions - Convert to Regions - Then you can change the layer colours / translucency etc.

    Thanks

    R

    ------------------------------
    Richard Sherman
    Knowledge Community Shared Account
    ------------------------------



  • 7.  RE: Anyone know how to convert Polygon to Line Object

    Posted 6 days ago
    Richard,

    I am just seeing your post now.  I'm glad you figured it out.

    Have a good day.


    ------------------------------
    Nicholas Evanish
    Senior Programmer Analyst
    ------------------------------