| bio | website | unipg.it/~annalisa.minelli |
|---|---|---|
| location | Perugia, Italy | |
| age | ||
| visits | member for | 7 months |
| seen | Apr 21 at 10:12 | |
| stats | profile views | 22 |
Grown up in Open Source GIS software (GRASS and Qgis) as developer (C, Shell, Python), recently approached the ArcGIS Python programming too.
|
Mar 14 |
comment |
How to add a table into the TOC in a Python script? my problem is that, using a python script, I'd like to add a table view to the TOC once created because I found that evenif the script creates the tableView in the workspace folder, the same table is not autmatically added to the TOC and other operations on the table cannot be performed. Moreover I have the ArcGIS 10.0 version, so I cannot use the command arcpy.mapping.AddTableView, as correctly suggested by @artwork21.. any ideas? |
|
Mar 14 |
comment |
How to add a table into the TOC in a Python script? thanks to artwork21 and PolyGeo. My problem was exactly this: I got only ArcGIS 10.0. No way to do this in that version? |
|
Mar 1 |
asked | How to add a table into the TOC in a Python script? |
|
Mar 1 |
comment |
Add table from SDE to ArcMap TOC via ArcMap python window @user12325, can I ask you how did you solve? I was not able to find any answer to your question.. thanks. |
|
Mar 1 |
comment |
How do I add a shapefile in ArcGIS via Python? Hello all, maybe this is a little off-topic but I got the exact same problem with tables. I got to produce a tableview in a script, to run some other linear referencing modules and I cannot add the table to the TOC. Thanks in advance, Annalisa |
|
Jan 25 |
awarded | Editor |
|
Jan 25 |
accepted | How to create a route and add that route as layer to map using ArcPy? |
|
Jan 25 |
comment |
How to create a route and add that route as layer to map using ArcPy? many thanks, it seems to work (makes a route event layer) evenif it doesn't seems to add the created route to the TOC. Quite strange, but it works. |
|
Dec 13 |
comment |
How to create a route and add that route as layer to map using ArcPy? @PolyGeo : the code into my script executes the commands below arcpy.CreateRoutes_lr("vectorline","FID","provaroute","LENGTH","","","LOWER_LEFT")
arcpy.AddMessage("route created") arcpy.MakeRouteEventLayer_lr("provaroute","FID","tableView","ID POINT MEAS","pointRoute.shp")
I placed the "AddMessage" just to verify that the command "CreateRoutes" works and I had really no problem with it - the problem is in the "MakeRouteEventLayer". Many thanks.. |
|
Dec 13 |
comment |
How to create a route and add that route as layer to map using ArcPy? @fgcartographix : I cannot understand what is the "newSource" since lyrZones seems not to be a list and the route is not produced in ".shp" format.. |
|
Dec 11 |
comment |
How to create a route and add that route as layer to map using ArcPy? thanks @fgcartographix , I've got no data at the moment, but I'll try your suggestion as soon as possible. PolyGeo : I created the routes using arpcy.CreateRoutes_lr. Then I have to place some points on the routes, starting from a table. So I used the "MakeRouteEventLayer_lr", but, at that point, the command doesn't find the routes. |
|
Dec 7 |
asked | How to create a route and add that route as layer to map using ArcPy? |
|
Oct 11 |
comment |
How to rotate labels using ArcPy? @geogeek, thanks. I'll have a look at it - I was just wonderin' myself if Arcobject was a solution.. but, from waht I see, it seems I need more time than I have to implement this solution.. (evenif I know a little C, I should study all Arcobject structure..) but, if I cannot do otherwise, for sure I'll do. |
|
Oct 11 |
awarded | Commentator |
|
Oct 11 |
comment |
How to rotate labels using ArcPy? thanks @PolyGeo.. do you know if it's possible for example to copy the label style from an external file? because my layer is generated by the script - and if I could only copy the style for the labels (from an external layer - with the same specifics - labels rotated) ..this could be really GREAT :-) |
|
Oct 9 |
comment |
How to rotate labels using ArcPy? Hi @geogeek , thank you for answering. How can I build a maplex rule for my code? I tried to find something about it.. but I couldn't find anything about the syntax to use.. thanks once again! |
|
Oct 9 |
asked | How to rotate labels using ArcPy? |
|
Oct 7 |
comment |
How to Set up Data Driven Pages using arcpy? well.. now I'm trying to write a script to automatize everything - but I cannot - from how it seems. And maybe now I will be forced to stop my script at a certain point and say the user: "please, open the ddp setup and set this parameter in this way - this other in this way.." which is near horrible to me. But it seems there's no other way if I can't ENABLE data driven pages from arcpy, or arcpy.mapping.. or wahtever it is :( |
|
Oct 7 |
comment |
How to Set up Data Driven Pages using arcpy? Hi Ryan, and thanks for answering.. my exact problem is that the tutorial itself says: "Data Driven Pages must first be enabled and authored within a map document (.mxd) using the Data Driven Pages toolbar in ArcMap before it can be referenced with arcpy.mapping." |
|
Oct 5 |
asked | How to Set up Data Driven Pages using arcpy? |