Moving points closer to polyline using ModelBuilder?Delete records from table using ModelBuilderBringing...
Moving points closer to polyline using ModelBuilder?
Is it possible for a vehicle to be manufactured without a catalytic converter?
Is it legal for a bar bouncer to confiscate a fake ID
Wooden cooking layout
How do you say "homebrewer" in Spanish?
Cascading Switches. Will it affect performance?
Why are trash cans referred to as "zafacón" in Puerto Rico?
Getting UPS Power from One Room to Another
Why was this person allowed to become Grand Maester?
Is it possible to have a wealthy country without a middle class?
Traversing Oceania: A Cryptic Journey
Determining fair price for profitable mobile app business
Fixing obscure 8080 emulator bug?
How creative should the DM let an artificer be in terms of what they can build?
Print lines between start & end pattern, but if end pattern does not exist, don't print
Longest bridge/tunnel that can be cycled over/through?
Overlapping String-Blocks
Why not invest in precious metals?
Why {1,2} printed by a command in $() is not interpolated?
Why can I traceroute to this IP address, but not ping?
Entire circuit dead after GFCI outlet
Does the Long March-11 increase its thrust after clearing the launch tower?
Electricity free spaceship
Warning about needing "authorization" when booking ticket
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;
}
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?
arcgis-desktop modelbuilder attribute-table arcgis-10.6 xy
New contributor
add a comment |
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?
arcgis-desktop modelbuilder attribute-table arcgis-10.6 xy
New contributor
Do you have advance license level?
– BERA
9 hours ago
yes i do have advance license level
– C77
5 hours ago
add a comment |
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?
arcgis-desktop modelbuilder attribute-table arcgis-10.6 xy
New contributor
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?
arcgis-desktop modelbuilder attribute-table arcgis-10.6 xy
arcgis-desktop modelbuilder attribute-table arcgis-10.6 xy
New contributor
New contributor
edited 7 hours ago
PolyGeo♦
54.3k1783252
54.3k1783252
New contributor
asked 9 hours ago
C77C77
162
162
New contributor
New contributor
Do you have advance license level?
– BERA
9 hours ago
yes i do have advance license level
– C77
5 hours ago
add a comment |
Do you have advance license level?
– BERA
9 hours ago
yes i do have advance license level
– C77
5 hours ago
Do you have advance license level?
– BERA
9 hours ago
Do you have advance license level?
– BERA
9 hours ago
yes i do have advance license level
– C77
5 hours ago
yes i do have advance license level
– C77
5 hours ago
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
add a comment |
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.
add a comment |
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.
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.
edited 8 hours ago
answered 8 hours ago
Emil BrundageEmil Brundage
10k11646
10k11646
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered 7 hours ago
Zipper1365Zipper1365
558313
558313
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Do you have advance license level?
– BERA
9 hours ago
yes i do have advance license level
– C77
5 hours ago