Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Insert cursor: No support for this geometry type.

$
0
0
Hi,

I try to do a
PHP Code:

arcpy.InsertCursor("db.sde/db.dbo.IMPORT"

but I have this exception:
PHP Code:

ERROR 999999Error executing function.nNo support for this geometry type.) 

PHP Code:

    targetFeatures arcpy.InsertCursor("db.sde/db.dbo.IMPORT")
  
File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\__init__.py"line 1214in InsertCursor
    
return gp.insertCursor(datasetspatial_reference)
  
File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\geoprocessing\_base.py"line 369in insertCursor
    self
._gp.InsertCursor(*gp_fixargs(argsTrue))) 

My gdb is an SQL Server I created by myself then I use arcpy to create the used .sde and the IMPORT table. This table has a "Shape" field with polygon geometry type.

What this exception means? I'm using the 10.2 version and it worked with 10.0...

Viewing all articles
Browse latest Browse all 2485

Latest Images

Trending Articles



Latest Images