Hot answers tagged arcmap
To help debug this I would suggest cleaning up the code a bit: import arcpy from arcpy import env arcpy.env.workspace= r"E:\cities" # added raw string indicator `r` Mi= r"E:\cities\rivers.shp" # removed parentheses - (r"E:\cities\rivers.shp") is a tuple, not a string rows = arcpy.SearchCursor(Mi,'"NAME" = \'Mississippi\'') row = rows.next() largeur = ...
No, there is no such standard. You use whatever is both relevant and readable. Size of font can often relate to the importance of the feature and so will probably vary in labeling of different layers (though too many font sizes can look 'uncomfortable' and should be avoided). Likewise symbol size is often used to denote importance or some quantity, so ...
Just run MakeFeatureLayer in the Python window: mxd = arcpy.mapping.MapDocument("current") arcpy.management.MakeFeatureLayer_management(r"E:\DATA SF\SFcircuit\shape_zizo\batiment.shp", "batiment") mxd.save()
There is an ArcGIS Idea that requests a Macro Recorder for Python which sounds like it may be what you are after.
If your analysis is done using the geoprocessing tools, you can open the geoprocessing results tab and see all the tools used in your session or previous sessions. I have not experimented much with it but looks like you can create python script snippets or save it to a results file (rlt.) That would be the closest thing.
Have you looked at Setting up a connection to PostgreSQL, specifically step #5 (you said you already have the client files): Alter the PostgreSQL pg_hba.conf file on the database server to accept client connections. See the PostgreSQL documentation for information on altering the pg_hba.conf file. I have an instance of PostgreSQL 9.3 that works with ...
Check for the FactoryCode on ISpatialReferenceInfo instead. ArcPy might have a method to create a spatial reference from the name, but ArcObjects doesn't have one. FactoryCode is the same as the EPSG or Esri well-known ID. Ex. The Geographic Coordinate Reference System (2D) WGS 1984 is 4326 (EPSG). Std Disclaimer: I work for Esri and am on the ...
While there may not be any predefined standards regarding what size font and symbols you should be using at a particular scale, you can in fact set up your maps to keep symbol size relative to the scale. For example, if you have an icon/marker symbol of size 10 at 1:5000, it would automatically scale to size 20 at 1:2500. You could do the same thing with ...
I understand that you want to render a layer which has 8 fields, and each field can be categorized into 3 sub-categories. My first reaction to that would be: Are you sure? You have a maximum number of 3^8 ==6561 possible combinations of these sub categories. Much research has been done on how many colors can be distinguished by most people in a map, and ...
Only top voted, non community-wiki answers of a minimum length are eligible