Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2328

Forming a field of type geometry in Geodatabase

$
0
0
Dear Gurus !
There is a table events with fields X, Y - containing the coordinates of points, which must be registered in the geodatabase. Created geodatabase cuks_gdb with standard tools of arcgis desktop 10.1. Table events copied in geodatabase :

Code:

select * into cuks_gdb.sde.events from cuks.dbo.events
3 . In the cloned table added field "shp" type geometry.

4 . Formed a field value by field values ​​x, y:

Code:

update cuks_gdb.sde.events set Shp = geometry :: STGeomFromText ('Point (' + ltrim (STR (x, 99, 11 )) + '' + ltrim (STR (y, 99, 11) ) + ')' , 28406 );
All formed , error messages were not. But when I try to save changes in any field then I get an error message
The parameter type cuks_gdb.sys.geometry is invalid. Parameter name: value
How to fix ?
Attached Thumbnails
Click image for larger version

Name:	updateShape.jpg‎
Views:	N/A
Size:	156.4 KB
ID:	29651   Click image for larger version

Name:	Eroor.jpg‎
Views:	N/A
Size:	24.4 KB
ID:	29652  

Viewing all articles
Browse latest Browse all 2328

Trending Articles