POST
|
I will convert all labels of a Point Feratureclass to Annotations with ArcPY. I dont't understand the following Python Objects TiledLabelsToAnnotation_cartography (map_document, data_frame,
polygon_index_layer, out_geodatabase, out_layer, anno_suffix,
{reference_scale_value}, {reference_scale_field}, {tile_id_field},
{coordinate_sys_field}, {map_rotation_field}, {feature_linked},
{generate_unplaced_annotation})
MAP Domcument => MXD File
Data-Frame => The TOp Name of the MXD File
polygon_index_layer => I have no Polygon Featureclass, i have a Point Featureklass with Labels which I convert to annotation.
What can I do???
out_geodatase => Then name of the FGDB
Thanks
Ulf
... View more
03-16-2017
03:44 AM
|
0
|
0
|
948
|
POST
|
oh sorry, but it doesn work. Ich think its the wrong ArcPY Version. I work with ArcGIS V10.1. # C:\Python27\ArcGIS10.1\python.exe C:\ArcGIS\python\read_style.py import arcpy style_folder = "C:\ArcGIS\Styles" style_file = "MVV_Netrion_Bestand_Gas.style" styles = arcpy.mapping.ListStyleItems(style_file, style_folder) for style in styles: print style.itemName C:\Users\u2267>C:\Python27\ArcGIS10.1\python.exe C:\ArcGIS\python\read_style.py Traceback (most recent call last): File "C:\ArcGIS\python\read_style.py", line 7, in <module> styles = arcpy.mapping.ListStyleItems(style_file, style_folder) File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\mapping.py", line 1599, in ListStyleItems return convertArcObjectToPythonObject(arcgisscripting._listStyleItems(*gp_fixargs([style_file_path, style_folder_name, wildcard], True, False))) IOError
... View more
02-07-2017
04:58 AM
|
0
|
2
|
811
|
POST
|
Thanks for your answer. I work with ArcGIS V10.1 and I created the following Python Skript: import arcpy style_file = "C:\ArcGIS\Styles" style_folder = "MVV_Netrion_Bestand_Gas.style" styles = arcpy.mapping.ListStyleItems(style_file, style_folder) for style in styles: print style.itemName I get the following errors: Traceback (most recent call last): File "C:\ArcGIS\python\read_style.py", line 6, in <module> styles = arcpy.mapping.ListStyleItems(style_file, style_folder) File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\mapping.py", line 1599, in ListStyleItems return convertArcObjectToPythonObject(arcgisscripting._listStyleItems(*gp_fi xargs([style_file_path, style_folder_name, wildcard], True, False))) ValueError: StyleGalleryObject: Input value is not valid Whats the problem?
... View more
02-07-2017
02:52 AM
|
0
|
4
|
811
|
POST
|
I build a new true Type Font and I will check the names
... View more
02-02-2017
09:09 AM
|
0
|
8
|
1826
|
POST
|
Hallo, I don't understand the Adress Locator. It has so much trouble and I missing a description for the Tables (which Columns) and examples . I have a Table ALL_S_ADDRESS. This Table has the columns and Datas OBJECTID (INteger), CITY VARCHAR2(60), COMMPART VARCHAR2(60) STREETNAME VARCHAR2(60) , HOUSENO VARCHAR2(10) , X float, Y float If I try to create a new Adress Locator in a Filegeodatabase: Adress Locator Create => Adressen Locator Style US Address - Single House Refenenzdatas => ALL_S_ADDRESS as Primary Table *House Number => HOUSENO *Street name => STREETNAME City or Place => CITY I get the error message: 000042 : Adressen-Locator konnte nicht erstellt werden. ArcGIS 10.1 Thema suchen Beschreibung Der Adressen-Locator kann nicht erstellt werden. I working with ArcGI V10.1 SP1 (Build) 3143) What can I do? Sincerly Ulf
... View more
12-23-2015
02:25 AM
|
0
|
1
|
4337
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|