I have posted a question about the use of sDNA in ArcGIS. It is said the problem is caused by non-ascii characters. I tired to modify the shapefile and kept the Object ID and Shape length only. However, the analysis still failed. Here is the attribute table of the data and the steps I tried.
123076
I am trying to perform centrality analysis with sDNA with ArcGIS Pro (ver. 2.7.1). However, I have failed to run the Preparation &amp; Integral Analysis in sDNA with the same reason. What is the problem and What should I do?
23703
I have a GeoJson file that I want to convert to ESRI Shapefile using ogr2ogr in FWTools.  I tried using   ogr2ogr -F "ESRI Shapefile" filename.shp geojsonfile.json OGRGeoJSON   I got output      ERROR 6: Can't create fields of type StringList on shapefile layers. ERROR 1: Attempt to write non-polygon (POINT)   geometry to  type shapefile. ERROR 1: Terminating translation   prematurely after failed translation of layer OGRGeoJSON   GeoJSON input we are giving is in standard geojson format.  content of geojson are like  {to share I took only a part from features array }  {"id":1223, "properties":{"name":"3","level":2}, "map_version":11,"type":"FeatureCollection","x_id":1234,"obj_type":"LevelGeometry", "features":[  { "my_area":[131.40093253528894,33.58879853190332,6.515867411008615,3.490549810987222,-0.6237271428108215], "id":1984791, "location":{"type":"Point","coordinates":[131.4009325,33.5887985]}, "properties":{"display_name":"xyz"}, "type":"Feature", "geometry":{"type":"Polygon","coordinates":[[[131.4009508,33.5888314],[131.4008895,33.5887946],[131.4009148,33.5887653],[131.4009761,33.5888020],[131.4009508,33.5888314]]]}, "obj_type":"Geometry" }  ] }
95250
I try to build stacked label expression in ArcGis  10.3.1 with this expression:  [name3] + '\n'+ [results]      name3 and results are two columns in the attribute table. But I get this error:  typeerror coercing to unicode need string or buffer nonetype found   I read  but didn't find any solution.  This is the attribute table:
27436
I would like to find a Python script that will access an attribute table within a shapefile and either update or replace records inside a field column. More specifically, I would like to use the replace expression to convert a table record like "123-456-789" to "123456789". I have many records to process and would like the best approach to do this task using Python.
27082
Is there a way to create attribute subdomains in ArcGIS with clauses?  For example, if I'm editing a line feature class of pipes, I create a domain for the pipe type to be either plastic or metal. I want to setup another domain field "Rusted" with a yes/no value. When editing the data in ArcMap, if the pipe is metal, I should get a yes/no coded value option on the "Rusted" field. If it is plastic, I want the "Rusted" field to calculate N/A or perhaps give me other options.
83107
I can easily read e00 files with QGIS and it seems as if in older versions of ogr there was driver support for the arc/info e00 file format. Nowadays that seems to be deprecated, as running ogrinfo --formats doesn't list arc/info.  I also found this useful , a general description of the file format. Based on that information I would be able to write my own program to put all the pieces together. But hey, this must have been done before, right?  Can somebody point me into the right direction?
5624
So I'm relatively new to ArcGIS and ArcCatalog.  I have created a field name of PROJECTID in a feature class in a Personal Geodatabase.  The data type is TEXT.  This will be a ten digit ID.  The first five characters will be a acronym.  The sixth character will be a digit that represents the type of feature.  It will be a number.  The last four characters will be numbers that should be incremented starting at 0001.    Example:     WATER-1-0001  Screen shot of the field:   So my question is how can I do this in ArcCatalog.  I've seen some Python code that will autoincrement like the following:  rec=[OBJECTID] def autoIncrement(a):   global rec   return "water" + str(a) + "-" +  format(rec, '04d')   Again I'm a newbie when it comes to ArcGIS . Now I am getting an error NameError name 'OBJECTID' is not defined.
115204
I want to import shapefile into PostGIS. There is one database postgres in it but no table added yet.   I am using this command:   shp2pgsql -I -s 4326 districts.shp districts | psql -d postgres -U postgres    and it's giving me some error:      Unable to convert data value to UTF-8 (iconv reports "Invalid or incomplete multibyte or wide character"). Current encoding is "UTF-8". Try "LATIN1" (Western European), or one of the values described at postgresql.org/docs/current/static/multibyte.html   Is my command wrong ??
18408
Does the shapefile support mixed geometry types (ie. point and polygon all in the same file)?
63333
My code will not project and store the feature layer in the scratch.gdb. "ERROR 999999 ... The table name is invalid. The table was not found. [17_5330_51961Lake]"  The interpreter doesn't like "-" characters or beginning or ending in a number. Does anyone know of a work around?  import arcpy import os  mxd = arcpy.mapping.MapDocument("Current") mxdpath = mxd.filePath (filepath, filename) = os.path.split(mxdpath) MCP_Path = str(filepath)  srl = os.path.join(MCP_Path, r"CoordinateSystems\NAD 1983 UTM Zone 17N.prj")  WBYLID = "17-5330-51961"  WBYLIDlabel = WBYLID.replace("-","_")  LakeOut = os.path.join(MCP_Path + "\OutputData\Scratch.gdb", WBYLIDlabel + "Lake") arcpy.Project_management(fl, LakeOut, srl)
46655
I'm wondering if there is any method to preserve the original field names in ArcGIS when I join csv. tables to a Shapefile.  I ask, because sometimes I  join tables with 10, 20 or even more columns and when exporting the joined data ArcGIS always renames them according to the name of the original table and the order of the column (e.g. table_xy_1,table_xy_2, etc.).  Since there is no easy way to rename the fields in the attribute table permanently (i.e. you have to create a new column and copy the old on into this new column AND delete the old column) this creates a bunch of work (despite from the fact that you have to orientate yourself in this mess of field names).
93639
I want to create for each polygon of a shapefile a separate shapefile with the  tool. Input is a polygon shapefile and as split field I choose the ID. This tool works fine but in the results I cant find any shapefile, only .dbf , .dbf.xml and .cpg. But why is there no .shp?  As output I tried a workspace and a geodatabase, both didn't worked.
92204
I have a text file containing exactly this:  POLYGON ((6.2973716 48.98613 1772.1, ... many other Long Lat Altitude values ... ))   And only this. It seems to be just like a WKT geometry of a polygon. But it's only a text file.     I'd like to create an "ESRI Shapefile" from this file, if possible with tools that are available without any installation on Windows.  I've tried GDAL so far but it doesn't seem to handle such files.
53371
We are running an ArcGIS 10.0 geoprocessing script written in Python that (as part of many steps above &amp; below) runs the .    Both the input and output datasets (shapefiles &amp; personal geodatabase, respectively) are on a network drive, in the same projection, and we are not using a search distance (which by default = infinity, I believe).  When we run the near command, sometime it successfully runs to completion and sometimes (usually) it only partially works.  When it partially works (but runs to completion), the results typically have anywhere from 1/4 to 1/2 of the features with a NEAR_DIST value = -1 (and it is always the top portion of the records, as sorted by the OID).  In these cases, it also takes forever to process the top records, sometimes going from full success runs in 20 seconds to partial success runs in 1.5 hours.  Has anyone else experienced this kind of issue?  Any suggestions on WHY the issue is occurring or HOW to fix the issue?
103771
How do I identify which features have NULL attributes in the attribute table of a shapefile?  When i try [field]= 'NULL' it selects the features with value = 0 (see picture)
76096
I am working on software that is very ESRI oriented, but a future version will likely not be using ESRI software. It uses Shapefiles and Geodatabases. I'm planning on getting all of my data to Shapefiles in anticipation for future versions of the software that will likely be on Android and other mobile devices. It appears that Shapefiles are the most common datatype for features in the open-source GIS world, but what are the others, and what benefits do they bring? I'm familiar with GeoJSON and KML, but I'm sure there are others.  I would like to know all options, but I am particularly interested in dataset types best suited for storing on mobile devices (the data must be accessible without an internet connection).
65172
I have shapefile named `band-tailed_pigeon.shp which is fine and no problem on displaying or geoprocessing on Desktop but in ArcPy when I try to merge some layes to it I am getting this error   ExecuteError: ERROR 000354: The name contains invalid characters Failed to execute (Merge).  I tried to do the proccess with a simple name like sample.shp which it works but I HAVE TO keep the same name as we are using them in several projects. Here is the code which I have FinaloutLocation = &quot;E:\\GIS\\Data\\Final\\band-tailed_pigeon.shp&quot; inFeaturesToMerge = [dissolve_1, dissolve_2, dissolve_3, dissolve_4, dissolve_5] arcpy.Merge_management(inFeaturesToMerge, FinaloutLocation)