Moving points closer to polyline using ModelBuilder?Delete records from table using ModelBuilderBringing information from one shapefile into another using ModelBuilder?Modelbuilder Iterator on TableMoving polygons to pointsUsing “Select by Location” in ArcGIS ModelBuilder?Moving points within ModelBuilder?Looping Projection in ArcGIS ModelBuilder?More than one iteration least cost paths from everywhere to everywhere in ArcGIS Desktop?Moving multiple points in batch using ArcGIS Desktop?Creating catalog of ModelBuilder models?

Am I being scammed by a sugar daddy?

A flower's head or heart?

Is pointing finger in meeting consider bad?

Any gotchas in buying second-hand sanitary ware?

Is fission/fusion to iron the most efficient way to convert mass to energy?

Manager wants to hire me; HR does not. How to proceed?

Placement of positioning lights on A320 winglets

My parents claim they cannot pay for my college education; what are my options?

What is the theme of analysis?

Does WiFi affect the quality of images downloaded from the internet?

Opposite of "Concerto Grosso"?

Why does this Apple //e drops into system monitor when booting?

How can religions without a hell discourage evil-doing?

Can artificial satellite positions affect tides?

Arrows inside a commutative diagram using tikzcd

How to search for Android apps without ads?

How can this shape perfectly cover a cube?

Past vs. present tense when referring to a fictional character

Difference between grep -R and -r

Is it ethical to cite a reviewer's papers even if they are rather irrelevant?

Is it possible to have battery technology that can't be duplicated?

Why is it bad to use your whole foot in rock climbing

Purpose of cylindrical attachments on Power Transmission towers

Would a character with eternal youth be AL-compliant?



Moving points closer to polyline using ModelBuilder?


Delete records from table using ModelBuilderBringing information from one shapefile into another using ModelBuilder?Modelbuilder Iterator on TableMoving polygons to pointsUsing “Select by Location” in ArcGIS ModelBuilder?Moving points within ModelBuilder?Looping Projection in ArcGIS ModelBuilder?More than one iteration least cost paths from everywhere to everywhere in ArcGIS Desktop?Moving multiple points in batch using ArcGIS Desktop?Creating catalog of ModelBuilder models?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I have a lot of points I need to move that are on the edge of the parcels closer to the centerline(road), not directly on top but about 5 feet away from the centerline.



I know i can edit and move the points manually but is there a way to automate the process using ModelBuilder?



enter image description here










share|improve this question









New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Do you have advance license level?

    – BERA
    Jun 6 at 18:44











  • yes i do have advance license level

    – C77
    Jun 6 at 22:37

















3















I have a lot of points I need to move that are on the edge of the parcels closer to the centerline(road), not directly on top but about 5 feet away from the centerline.



I know i can edit and move the points manually but is there a way to automate the process using ModelBuilder?



enter image description here










share|improve this question









New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • Do you have advance license level?

    – BERA
    Jun 6 at 18:44











  • yes i do have advance license level

    – C77
    Jun 6 at 22:37













3












3








3








I have a lot of points I need to move that are on the edge of the parcels closer to the centerline(road), not directly on top but about 5 feet away from the centerline.



I know i can edit and move the points manually but is there a way to automate the process using ModelBuilder?



enter image description here










share|improve this question









New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have a lot of points I need to move that are on the edge of the parcels closer to the centerline(road), not directly on top but about 5 feet away from the centerline.



I know i can edit and move the points manually but is there a way to automate the process using ModelBuilder?



enter image description here







arcgis-desktop modelbuilder attribute-table arcgis-10.6 xy






share|improve this question









New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited Jun 6 at 19:56









PolyGeo

54.3k1784253




54.3k1784253






New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked Jun 6 at 18:13









C77C77

162




162




New contributor



C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




C77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • Do you have advance license level?

    – BERA
    Jun 6 at 18:44











  • yes i do have advance license level

    – C77
    Jun 6 at 22:37

















  • Do you have advance license level?

    – BERA
    Jun 6 at 18:44











  • yes i do have advance license level

    – C77
    Jun 6 at 22:37
















Do you have advance license level?

– BERA
Jun 6 at 18:44





Do you have advance license level?

– BERA
Jun 6 at 18:44













yes i do have advance license level

– C77
Jun 6 at 22:37





yes i do have advance license level

– C77
Jun 6 at 22:37










3 Answers
3






active

oldest

votes


















4














You'll need a Standard or higher license for this method. Create a buffer feature class from your centerlines with a 5 foot buffer distance. Then use the Snap tool. Your points are your input features. Your centerline buffers are your snap features. Use Edge as your type.






share|improve this answer
































    2














    Slight variation of 2 other solutions. Use Near tool (location) on your points and buffer. Calculate Shape field using calculator (Python):



    arcpy.Point( !NEAR_X!, !NEAR_Y!)


    Note: this will modify original shapes, so create a copy first. Difference with Snap tool - you don't need to guess distance, and generate near table looks like unnecessary complication.



    enter image description here






    share|improve this answer
































      1














      You can use "generate near table" and then recalculate the geometry to move them.



      test this on a copy of your data as I'm typing this process from memory right now



      With Generate Near Table:
      "input feature" is your points.
      "Near feature" is a 5 foot buffer of your lines (alternatively you could use copy parallel to create new lines that are 5 feet on either side of the street centerlines and use those here)



      check on the boxes for "location" and "Find only closest"



      the output is a table of:



      Input Point ObjectIDs (IN_FID)
      Near line Object ID (NEAR_FID)
      How far away that line is (NEAR_DIST)
      The current X and Y of your points (FROM_X and FROM_Y)
      The nearest coordinate on the lines you want to move to (NEAR_X and NEAR_Y)


      Join this table to your points and then you can move them by recalculating the (SHAPE*) field in your points table with this in the field calculator:



      specify the parser as Python
      click the box for "show Codebook"
      put this in the Pre-Logic box:



      def movePoint(shape, xCoord, yCoord):
      point = shape.getPart(0)
      point.X = xCoord
      point.Y = yCoord
      return point


      then in the box below that, enter



      mypoints.SHAPE =



      movePoint( !SHAPE!, !neartable.NEAR_X! , !neartable.NEAR_Y! )


      refresh the view and teh points should hopefully have moved to the new XY positions






      share|improve this answer























        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "79"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );






        C77 is a new contributor. Be nice, and check out our Code of Conduct.









        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f325065%2fmoving-points-closer-to-polyline-using-modelbuilder%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        4














        You'll need a Standard or higher license for this method. Create a buffer feature class from your centerlines with a 5 foot buffer distance. Then use the Snap tool. Your points are your input features. Your centerline buffers are your snap features. Use Edge as your type.






        share|improve this answer





























          4














          You'll need a Standard or higher license for this method. Create a buffer feature class from your centerlines with a 5 foot buffer distance. Then use the Snap tool. Your points are your input features. Your centerline buffers are your snap features. Use Edge as your type.






          share|improve this answer



























            4












            4








            4







            You'll need a Standard or higher license for this method. Create a buffer feature class from your centerlines with a 5 foot buffer distance. Then use the Snap tool. Your points are your input features. Your centerline buffers are your snap features. Use Edge as your type.






            share|improve this answer















            You'll need a Standard or higher license for this method. Create a buffer feature class from your centerlines with a 5 foot buffer distance. Then use the Snap tool. Your points are your input features. Your centerline buffers are your snap features. Use Edge as your type.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 6 at 19:14

























            answered Jun 6 at 19:02









            Emil BrundageEmil Brundage

            10.1k11646




            10.1k11646























                2














                Slight variation of 2 other solutions. Use Near tool (location) on your points and buffer. Calculate Shape field using calculator (Python):



                arcpy.Point( !NEAR_X!, !NEAR_Y!)


                Note: this will modify original shapes, so create a copy first. Difference with Snap tool - you don't need to guess distance, and generate near table looks like unnecessary complication.



                enter image description here






                share|improve this answer





























                  2














                  Slight variation of 2 other solutions. Use Near tool (location) on your points and buffer. Calculate Shape field using calculator (Python):



                  arcpy.Point( !NEAR_X!, !NEAR_Y!)


                  Note: this will modify original shapes, so create a copy first. Difference with Snap tool - you don't need to guess distance, and generate near table looks like unnecessary complication.



                  enter image description here






                  share|improve this answer



























                    2












                    2








                    2







                    Slight variation of 2 other solutions. Use Near tool (location) on your points and buffer. Calculate Shape field using calculator (Python):



                    arcpy.Point( !NEAR_X!, !NEAR_Y!)


                    Note: this will modify original shapes, so create a copy first. Difference with Snap tool - you don't need to guess distance, and generate near table looks like unnecessary complication.



                    enter image description here






                    share|improve this answer















                    Slight variation of 2 other solutions. Use Near tool (location) on your points and buffer. Calculate Shape field using calculator (Python):



                    arcpy.Point( !NEAR_X!, !NEAR_Y!)


                    Note: this will modify original shapes, so create a copy first. Difference with Snap tool - you don't need to guess distance, and generate near table looks like unnecessary complication.



                    enter image description here







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jun 7 at 23:32

























                    answered Jun 7 at 23:23









                    FelixIPFelixIP

                    16.7k11743




                    16.7k11743





















                        1














                        You can use "generate near table" and then recalculate the geometry to move them.



                        test this on a copy of your data as I'm typing this process from memory right now



                        With Generate Near Table:
                        "input feature" is your points.
                        "Near feature" is a 5 foot buffer of your lines (alternatively you could use copy parallel to create new lines that are 5 feet on either side of the street centerlines and use those here)



                        check on the boxes for "location" and "Find only closest"



                        the output is a table of:



                        Input Point ObjectIDs (IN_FID)
                        Near line Object ID (NEAR_FID)
                        How far away that line is (NEAR_DIST)
                        The current X and Y of your points (FROM_X and FROM_Y)
                        The nearest coordinate on the lines you want to move to (NEAR_X and NEAR_Y)


                        Join this table to your points and then you can move them by recalculating the (SHAPE*) field in your points table with this in the field calculator:



                        specify the parser as Python
                        click the box for "show Codebook"
                        put this in the Pre-Logic box:



                        def movePoint(shape, xCoord, yCoord):
                        point = shape.getPart(0)
                        point.X = xCoord
                        point.Y = yCoord
                        return point


                        then in the box below that, enter



                        mypoints.SHAPE =



                        movePoint( !SHAPE!, !neartable.NEAR_X! , !neartable.NEAR_Y! )


                        refresh the view and teh points should hopefully have moved to the new XY positions






                        share|improve this answer



























                          1














                          You can use "generate near table" and then recalculate the geometry to move them.



                          test this on a copy of your data as I'm typing this process from memory right now



                          With Generate Near Table:
                          "input feature" is your points.
                          "Near feature" is a 5 foot buffer of your lines (alternatively you could use copy parallel to create new lines that are 5 feet on either side of the street centerlines and use those here)



                          check on the boxes for "location" and "Find only closest"



                          the output is a table of:



                          Input Point ObjectIDs (IN_FID)
                          Near line Object ID (NEAR_FID)
                          How far away that line is (NEAR_DIST)
                          The current X and Y of your points (FROM_X and FROM_Y)
                          The nearest coordinate on the lines you want to move to (NEAR_X and NEAR_Y)


                          Join this table to your points and then you can move them by recalculating the (SHAPE*) field in your points table with this in the field calculator:



                          specify the parser as Python
                          click the box for "show Codebook"
                          put this in the Pre-Logic box:



                          def movePoint(shape, xCoord, yCoord):
                          point = shape.getPart(0)
                          point.X = xCoord
                          point.Y = yCoord
                          return point


                          then in the box below that, enter



                          mypoints.SHAPE =



                          movePoint( !SHAPE!, !neartable.NEAR_X! , !neartable.NEAR_Y! )


                          refresh the view and teh points should hopefully have moved to the new XY positions






                          share|improve this answer

























                            1












                            1








                            1







                            You can use "generate near table" and then recalculate the geometry to move them.



                            test this on a copy of your data as I'm typing this process from memory right now



                            With Generate Near Table:
                            "input feature" is your points.
                            "Near feature" is a 5 foot buffer of your lines (alternatively you could use copy parallel to create new lines that are 5 feet on either side of the street centerlines and use those here)



                            check on the boxes for "location" and "Find only closest"



                            the output is a table of:



                            Input Point ObjectIDs (IN_FID)
                            Near line Object ID (NEAR_FID)
                            How far away that line is (NEAR_DIST)
                            The current X and Y of your points (FROM_X and FROM_Y)
                            The nearest coordinate on the lines you want to move to (NEAR_X and NEAR_Y)


                            Join this table to your points and then you can move them by recalculating the (SHAPE*) field in your points table with this in the field calculator:



                            specify the parser as Python
                            click the box for "show Codebook"
                            put this in the Pre-Logic box:



                            def movePoint(shape, xCoord, yCoord):
                            point = shape.getPart(0)
                            point.X = xCoord
                            point.Y = yCoord
                            return point


                            then in the box below that, enter



                            mypoints.SHAPE =



                            movePoint( !SHAPE!, !neartable.NEAR_X! , !neartable.NEAR_Y! )


                            refresh the view and teh points should hopefully have moved to the new XY positions






                            share|improve this answer













                            You can use "generate near table" and then recalculate the geometry to move them.



                            test this on a copy of your data as I'm typing this process from memory right now



                            With Generate Near Table:
                            "input feature" is your points.
                            "Near feature" is a 5 foot buffer of your lines (alternatively you could use copy parallel to create new lines that are 5 feet on either side of the street centerlines and use those here)



                            check on the boxes for "location" and "Find only closest"



                            the output is a table of:



                            Input Point ObjectIDs (IN_FID)
                            Near line Object ID (NEAR_FID)
                            How far away that line is (NEAR_DIST)
                            The current X and Y of your points (FROM_X and FROM_Y)
                            The nearest coordinate on the lines you want to move to (NEAR_X and NEAR_Y)


                            Join this table to your points and then you can move them by recalculating the (SHAPE*) field in your points table with this in the field calculator:



                            specify the parser as Python
                            click the box for "show Codebook"
                            put this in the Pre-Logic box:



                            def movePoint(shape, xCoord, yCoord):
                            point = shape.getPart(0)
                            point.X = xCoord
                            point.Y = yCoord
                            return point


                            then in the box below that, enter



                            mypoints.SHAPE =



                            movePoint( !SHAPE!, !neartable.NEAR_X! , !neartable.NEAR_Y! )


                            refresh the view and teh points should hopefully have moved to the new XY positions







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Jun 6 at 20:05









                            Zipper1365Zipper1365

                            578313




                            578313




















                                C77 is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                C77 is a new contributor. Be nice, and check out our Code of Conduct.












                                C77 is a new contributor. Be nice, and check out our Code of Conduct.











                                C77 is a new contributor. Be nice, and check out our Code of Conduct.














                                Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f325065%2fmoving-points-closer-to-polyline-using-modelbuilder%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                                Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                                Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form