Tag Info

New answers tagged

0

Put this end of you code last line: QgsMapLayerRegistry.instance().addMapLayer(vlayer) If it also is not working. You probably unchecked the Render off in bottom status bar just after where co-ordinates shown:


0

The answer is yes that the number of rows in the sde_state_lineages table directly impacts performance of the geodatabase. 200k rows is not considered "alot" but that is relative to your available resources and assuming there are no versioning issues that would require a diagnose/repair. Continue to compress often. From your naming conventions it looks like ...


0

Do you really need to connect directly to the database? You can use the harvest from ArcSDE: http://geonetwork-opensource.org/manuals/trunk/eng/users/managing_metadata/harvesting/sde/index.html


7

The most important thing 9.x users need to know is that ArcSDE no longer exists. There had been no fundamental changes to the ArcSDE API since 9.0, when XML, INT64, UUID, CLOB, NSTRING and NCLOB types were added. Since then, the only changes have been Projection Engine mods to support newer projections and vertical datums. The API itself is now deprecated ...


2

ArcGIS makes frequent use of "registered rowid columns". These are INTEGER (32-bit) columns with non-zero positive values (1 - 2^31-1), which are defined to be NOT NULL, contain unique values, and are reproducible on subsequent queries ArcGIS uses these columns to maintain the relationship between rows in tables and the graphics in the map. Whenever ...


3

First, let's clarify a couple of things. When you say that you want to add a table from MS SQL Server Management Studio 2012, what you really want to do is add a table from MS SQL Server. The management studio is simply the user interface for interacting with the database itself. Second, I am going on the assumption that this SQL Server database does not ...


1

You could use the Geoprocessor to execute the "CreateEnterpriseGeodatabase" tool. http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000162000000 IGeoProcessor2 gp = new GeoProcessorClass(); IVariantArray parameters = new VarArrayClass(); try { parameters.Add(@"SQL_SERVER"); parameters.Add(@"hostname\instancename"); ...


0

You have create a computed column in your database. This also means that it's up to the database to actually calculate the value in this column. As a result, you'll only see an updated value when the record has been recalculated by the database. Changing part of the record within your GIS might not tricker the database to recalculate the value. If you were ...


0

I think there must be a "Server" property which should set through propertyset interface.And if so,isn't it enough to change server name and SQLServer instance name to the name of remote database server and SQL instance which is running on it?for example : IPropertySet ipPropSet = new PropertySetClass(); ipPropSet.SetProperty("SERVER", ...


0

Without more information it's difficult to be positive, but the likely cause of your "invalid entity" error is an invalid entity (the geometry scan on the view found a nil or multi-part polygon when your -e parameter only allowed for single-part polygons). The safest way to create views is to look at the properties of the feature class on which the view is ...


1

I think your best bet would be to create a Python script that takes the inputs and calls the SQL stored procedure through something like pyODBC (or pyMSSQL). Then attach the script to a script tool with the input indexes in the correct order. One missing piece that I can think of would be returning the results to ArcMap directly. Otherwise, you may have ...



Top 50 recent answers are included