|
POST
|
@JoeBorgione Thank you, Joe. Hope someone or @XanderBakker might assist ..
... View more
05-14-2021
01:58 PM
|
0
|
1
|
8173
|
|
POST
|
@JoeBorgione @XanderBakker I think I looked at the wrong script. is there anyway to do it direct populate DD? just like add XY coordinates tool with WGS 1984 in manually. the result is expected.. but lookin to apply that in attribute rule? point x and point y is gonna be blank when an user creates a point.
... View more
05-14-2021
01:54 PM
|
0
|
3
|
8176
|
|
POST
|
@JoeBorgione I tested it but it returns in feet. I tried to click their link as suggested , I already tested that same script #1 as I posted here. It returns blank. The result should be like this screenshot.
... View more
05-14-2021
01:39 PM
|
0
|
0
|
8180
|
|
POST
|
@JoeBorgione I am trying to find a script that is working but it is not as expected. This is for an user create a new point, it should populate x and y fields in decimal degree.
... View more
05-14-2021
01:15 PM
|
0
|
0
|
8186
|
|
POST
|
@JoeBorgione Thank you. Yes, i did that as the following. I posted but no one has answer. https://community.esri.com/t5/geodatabase-questions/attribute-rule-x-and-y-coordinates-decimal-degrees/td-p/1057252
... View more
05-14-2021
01:00 PM
|
0
|
0
|
8535
|
|
POST
|
Hello @JoeBorgione @JoshuaBixby @LanceCole I would like to do this same result but for attribute rule. Please kindly advise. Thank you.
... View more
05-12-2021
11:34 AM
|
0
|
2
|
8557
|
|
POST
|
Hello, I have arcgis pro 2.7.2 and sde point feature class..using attribute rule for X and Y in decimal degrees (DD). I found two different scripts from geonet. Please see issues and screenshots below. Please advise. Thank you. Script #1 one field type text and 100 characters ATTRUBUTE RULE. nothing happen. var polyx = text(centroid($feature).x);
var polyy = text(centroid($feature).y);
function metersToLatLon(mx, my) {
var originShift = 2.0 * PI * 6378137.0 / 2.0;
var lon = (mx / originShift) * 180.0;
var lat = (my / originShift) * 180.0;
lat = 180.0 / PI * (2.0 * Atan(Exp(lat * PI / 180.0)) - PI / 2.0);
return [lat, lon];
}
var latlon = "";
var result = "";
var latlon = metersToLatLon(polyx, polyy);
result = Round(latlon[0], 6) + ', ' + Round(latlon[1], 6);
return result; Script # 2 TWO fields x and y. DOUBLE(38, 8). It is populated but not the correct DD number. it displays 7.1233 and 4.1234 something. But it is supposed to be -80 and 25 something. //Latitude
var y = Centroid($feature).y
var originShift = 2.0 * PI * 6378137.0 / 2.0;
var lat = (y / originShift) * 180.0;
lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);
return lat //Longitude
var x = Centroid($feature).x
var originShift = 2.0 * PI * 6378137.0 / 2.0;
var lon = (x / originShift) * 180.0;
return lon But then I tried to add calculate geometry tool and add geometry attribute tool manual. I got both same error.
... View more
05-12-2021
10:12 AM
|
1
|
11
|
8923
|
|
POST
|
@VinceAngelo thank you for clarify. i don't have any data on that column. i recent checked..
... View more
04-15-2021
12:46 PM
|
0
|
1
|
2309
|
|
POST
|
@VinceAngelo I got another error message. Please advise. Msg 515, Level 16, State 2, Line 1 Cannot insert the value NULL into column 'TEST', table 'EDIT_TEST'; column does not allow nulls. UPDATE fails. The statement has been terminated.
... View more
04-15-2021
12:41 PM
|
0
|
3
|
7853
|
|
POST
|
@VinceAngelo Thank you for the information. Please see screenshot. I got an incorrect. Msg 102, Level 15, State 1, Line 1 Incorrect syntax near '{'.
... View more
04-15-2021
12:14 PM
|
0
|
5
|
7861
|
|
POST
|
@JayantaPoddar After it run, I got a warning. Please see screenshot. is this normal?
... View more
04-14-2021
12:58 PM
|
0
|
1
|
8769
|
|
POST
|
@JayantaPoddar They are both same spatial reference. Please see screenshots. am I doing it correct?
... View more
04-14-2021
12:46 PM
|
0
|
0
|
8786
|
|
POST
|
Hello, I have arcgis pro 2.7.2, arcmap 10.7.1 , sde, sql server, python, etc. How can I find a right tool or script to compare shape / geometry that have been changed from two feature classes? It is import from the county FC into the city FC. I have seen some tools such as detect feature changes, compare feature, compare area, etc. it is not clear.. For example, it has two fields (folio) (address) but some of them have multiples same folio and addresses. it is difficult to alert what changed. I am thinking possible related shape. is there a way to compare shape/geometry if it changed? Please advise. Thank you Alex
... View more
04-14-2021
12:32 PM
|
0
|
5
|
8794
|
|
POST
|
@JohannesLindner Thank you for the information. But it is need to be editing. when an editor entry info, a field needs to be required to entry.
... View more
04-14-2021
07:05 AM
|
0
|
0
|
7880
|
|
POST
|
Hello, I have arcigis pro 2.7.2, arcmap 10.7.1, existing sde feature class, sql server. Is there a way to disallow null values in field setting since it has existing data? Need to have one field that is required entry. It is not register as version. Please advise. Thank you. Alex
... View more
04-13-2021
10:35 AM
|
0
|
15
|
10256
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-30-2021 01:32 PM | |
| 1 | 04-01-2025 12:12 PM | |
| 1 | 05-12-2021 10:12 AM | |
| 1 | 07-25-2018 12:53 PM | |
| 1 | 08-06-2018 12:27 PM |