POST
|
Blair, is there any reason why you are using SQL to create an empty table then register it with the geodatabase, rather than simply creating a feature class using python directly? RegisterWithGeodatabase is intended for registering existing (e.g. populated) tables, as opposed to brand-new empty ones that could simply be created using GP/UI/Python. -Shannon Shannon, Unfortunately, that part is beyond my control. This lives within a larger database, the majority of which is non-spatial. There will only be a few tables that contain spatial data. The people that I'm working with are creating and updating the database within a Visual Studio database project, and need to build views and other database objects against the spatial tables. They would much prefer to be able to do all of this in Visual Studio, meaning that it would create tables with a geometry column, and then I would register them after the fact. Not ideal, I know. Blair
... View more
02-07-2014
12:24 PM
|
0
|
0
|
723
|
POST
|
I'm using SQL to create a table in SQL Server with a geometry column. I need a way to automate registration of that table with the geodatabase. Using arcpy.RegisterWithGeodatabase_management doesn't work if the table is not populated; it complains that there is no geometry type specified. I'm assuming that I would be able to do this using sdelayer -o register with the entity mask parameter, although I haven't tried. I would also be able to specify the spatial reference using the command line tool. The Register with Geodatabase tool, however, takes no parameters except for the input table. Is there something I'm missing here, or is this another piece of functionality that isn't yet available in UI/GP/ArcPy? Blair
... View more
02-07-2014
03:41 AM
|
0
|
0
|
723
|
POST
|
For what it's worth, I was getting the same error with the following line in IE 8: [INDENT]map.infoWindow.resize(135, 35);[/INDENT] I changed it to this to fix it: [INDENT]dojo.style(dojo.byId('map_infowindow'), "height", "35px");[/INDENT] [INDENT]dojo.style(dojo.byId('map_infowindow'), "width", "135px");[/INDENT] Blair
... View more
04-19-2012
02:27 PM
|
0
|
0
|
232
|
Online Status |
Offline
|
Date Last Visited |
01-25-2022
01:57 PM
|