I converted a set of MapInfo files to SHP using . Unfortunately, the attributes got jumbled. The original dataset was in Chinese, so that is probably contributing to the jumbling. Screenshot below shows jumbles.  I uploaded the source Mapinfo files to filebin , and I uploaded the converted SHP to filebin .  Is there anyway to recover the jumbled attributes? I have opened SHP in ArcGIS with Chinese characters in the attributes before, so it's not solely a language character rendering issue.
124005
I tried to change the only the shapefile datasource encoding through properties and also  but it doesn't change it.   Without saving the QGIS project can't I directly change the shapefile datasource encoding?  I also tried this code, it shows change encoding but as I open the shapefile again it show the same old system encoding:  for layer in QgsMapLayerRegistry.instance().mapLayers().values():     layer.setProviderEncoding(u'UTF-8')     layer.dataProvider().setEncoding(u'UTF-8')     print layer.name(), layer.dataProvider().encoding()     (I am not saving QGIS project, just accessing and saving shapefile directly. When I save the project and do this task then it work correctly)
38191
I want to create a mapbook that displays changes in river flows over time. I have one shapefile of my recent digitizations, as well as ones done prior. I was hoping to display them, new on the left and old on the right.   Does anyone know if this is possible?  I'm using ArcGIS 10.1 for Desktop.
116844
I have a polygon shapefile storing hexadecimal color codes in a specific attribute.    gid    |   label   |   color ---------+-----------+------------ 1        | Crops     | #FF5F2C 2        | Forest    | #00FF00 3        | Pond      | #0000FF 4        | Forest    | #00FF00   I was looking for a way to say QGIS to read these values in order to style the polygons with them. I can't find anything about this.   I hoped it would be possible without deeping into the Python Console (which still frightens me...).
28218
I am putting together a GIS server using GeoServer and need some help with importing my layer styles from ArcGIS 10 to  format.    I have one layer in ArcMap properly symbolized and labeled, how can I get this layers symbolization and labeling into a SLD file?
50058
How would I change the following code (outJPEG section) if I'd like to have the original attribute table name (eg Adress) and the attribute field name (eg ZipCode) as file name? (Adress_ZipCode)  The code as I have it now would just name the output JPG after the field in the attribute table (ZipCode)  Maybe os.path.split is an option but I am not so familiar with python and cannot make it work..  # export as jpeg  outJPEG = os.path.join(outPath, attr + ".jpg")  #atrr and outPath are defined in another part of the code arcpy.mapping.ExportToJPEG(mxd, outJPEG, "PAGE_LAYOUT", 200, 200, 300, False, "24-BIT_TRUE_COLOR", 90, False)
70041
I'm new to QGIS and have been seeing what it can do for me – seems good. I imported shape file data from a UK Ordnance Survey data file and saved the file in a new folder. It was very good, doing all I wanted. I exported and got exactly what I wanted ( a tiff image).   I closed the file in order to try a new experiment. When I went to re-open it I got a dialogue box saying 'Handle Bad Layers. I don't understand what is at issue and what to do.
43647
I am very new to QGIS, so please bear with me.  I have a ".shp" file, which is contains a set of boundaries for suburbs of Australia. I opened it to QGIS and I would like to export it into a CSV file so that the final file would be like following.  POSTCODE, LATITUDE, LONGITUDE  When I select "Layer > Open attribute table" I can see the "postcode" column.  I had a look at a similar question here     Which told me to simply go to "Layer > Save as" and then type "GEOMETRY=AS_XY" or "GEOMETRY=AS_XYZ" in the "Layer" section of the "OGR creation options".  I followed exactly, but the latitude and longitude values are not being returned.
86625
Im reading in a document that the user uploads from the visualFlow:  &lt;apex:inputFile value="{!contentFile}" filename="{!nameFile}" id="file"/&gt;   And its accessed in apex in this manner:  String nameFile = contentFile.toString();   And it works like a charm. I am able to parse through the document and extract all the information needed, but only for English users. But for Spanish users that's not the case.  Those files have some special characters, and cause a BLOB is not a valid UTF-8 string error.  I've tried to base64Encode the file contents, but the results come out illegible.   String nameFile= EncodingUtil.base64Encode(contentFile);
96226
I am trying to upload a large shapefile to ArcOnline, however I found out ArcGIS Online won't upload any shapefile that has more than 1000 features.  My 30 shapefiles have over 1,000,000 features each.    Is there a way for me to condense these files into a smaller number of features that won't require me to go through manually and break the file down into individual shapefiles of 1000 features?
78283
I have a polygon shapefile that has a 100MB .dbf, and 500MB .shp file component. The reason it is so large, is that it is  classified as a landbase for a whole district.   Everytime I view the file in ArcCatalog, or ArcMap, and move the view window slightly, the entire file needs to redraw from scratch. I have tried spatial indexing and importing into a geodatabase - neither approach provides any noticable performance improvement with respect to rendering.  Esri's help page suggests that that to improve shapefile performance, the user can . While this would obviously work, I do not want to lose any information. Splitting the file up is not ideal since I am doing a lot of geoprocessing/queries with its entire area. I guess I could avoid viewing the entire area at once - but sometimes, for example, it is good to see what parts of the file a query has selected.  Is there any other approach I could take to improve rendering performance?   (In theory, building shapefile "pyramids" would be ideal - I'm unsure why ArcGIS has never supported such an approach  - at least that I am aware of...)
44716
I have a shapefile with names for Regions. These don't seem to contain special characters "Ä", "Ü", "Ö", "ß" but ugly hieroglyphs.  What can I do to display them correctly. If I import the shape as UTF-8 it doesn't work.  The names are in a dbase table. So is it possible to save a dbase table in UTF-8 or is there a different way of dealing with it?
122012
I have a huge amount of data in the form of CSV containing UTM coordinates as X and Y and an elevation value as Z information. I need to convert these data into a DEM as GeoTIFF for further analysis. In this case, a huge amount means 16 m. lines, with one point in X, Y and Z per line. The points are equally distributed, therefore an interpolation is not needed; each point just needs to be converted into a raster cell.  The original data came without separator, with fixed column widths. I already figured out how to convert the file syntax to use a separator instead of fixed widths and eliminate all space characters, using the stream text editor sed. From here on, normally my workflow would be to import the data into ArcGIS by creating a feature class from the X, Y and Z data and as a second step, converting the point shapefile into a GeoTIFF, using the Point to Raster tool. However, the file I currently have is way too big for this process.  Instead of the above described workflow, I was looking for an efficient alternative and discovered GDAL. However, in gdal_translate, the closest supported format I can find in the supported filetype list, is ASCII grid but no comma separated XYZ. Another difficulty is, that I have UTM coordinates, while most examples seem to use decimal degree coordinates. However, I need to stay within the UTM system (or at least, my output GeoTIFF needs to be in a UTM coordinate system).  So I am looking for a way to convert the CSV XYZ into a GeoTIFF, using GDAL, but so far wasn't able to find examples dealing with this exact problem. I would be very happy for some hints or even code examples.
40533
Oh man, I don't even know where to put this... or how to begin. As a joke, I'm trying to get the ascii art of the guy flipping a table in a question on an exam. I've tried verbatim but it won't display the characters.  I know it might be a long shot, but does anyone have an idea how to get this little guy  (╯°□°）╯︵ ┻━┻   to display? I know I should provide a MWE, but... yeah, I don't even have that.  Thanks!
26237
I am new to ArcGIS and trying a few things..   I'm trying to read shapefile (which is supplied as an input) using C# and I want to generate a PDF file which contains underlying metadata information (similar to the Identify tool) ?
76742
Shapefile: "table1.shp"   Field name: "Name" Field name: "Result"   Flat file: "referenceTable"   Field name: "STREET" Field name: "AKA"   I need to compare the value "Name" in "table1.shp" to the value "STREET" in "referenceTable"  If the values are the same then put the "AKA" value into the "Result" in "table1.shp"     Here is my code.  I got stuck on accessing the elements from the array  import arcpy, os, sys, string from array import *   table1 = "G:\\xStreetNew\\table1.shp" table1_column = ['Name', 'Result'] referenceTable = "G:\\xStreetNew\\Test.gdb\\referenceTable" referenceTable_column = ['STREET', 'AKA']  referenceTable_List = [] with arcpy.da.SearchCursor(referenceTable, referenceTable_column) as rCur: for r_row in rCur:     reference_row = r_row[0].split(",")     referenceTable_List.insert(0,reference_row) ##print sorted(referenceTable_List)  Table1_Update_Cursor = arcpy.da.UpdateCursor(table1, "Name") for row in Table1_Update_Cursor:   if row[0] == None:   row[0] = row[0] else:   row[0] = row[0].replace(";",",")   Table1_Update_Cursor.updateRow(row)  table1_List = [] with arcpy.da.SearchCursor(table1, table1_column) as tCur: for t_row in tCur:     row = t_row[0].split(",")     table1_List.insert(0,row) ##print sorted(table1_List)  Table1_row = len(table1_List) Table1_column = len([table1_List]) ref_row = len(referenceTable_List) for i in range(0,Table1_row):  #Table Row   for ii in range(0,Table1_column):   #Table Column     print table1_List[i][ii]   Below was my old post.  Sorry for the confusion.  I have a shapefile named "table1.shp".     I would like to get all values from fielname "Name" from this table and put them into a list. Able to output each element from the list     So far, I'm able to create a list but not too sure how to get to value "AVENUE 33" or "CHAPMAN ST"  This is my code:  import arcpy, os, sys, string from array import *   table1 = "G:\\xStreetNew\\table1.shp" referenceTable = "G:\\xStreetNew\\Test.gdb\\referenceTable" cursor = arcpy.da.UpdateCursor(table1, "Name") for row in cursor: if row[0] == None:     row[0] = row[0] else:     row[0] = row[0].replace(";",",") cursor.updateRow(row) table1_column = ['Name'] table1_curObj = arcpy.da.SearchCursor(table1, table1_column) table1_List = [] for row in table1_curObj:    table1_row = row[0].split(",")    table1_List.insert(0,table1_row)    print table1_List[0]
87909
I want OSM administrative boundaries from . I can get the geodata in different formats there, but the attribute data always is a separate JSON file. I want them both in just one file, or to be able to merge the information.   I haven't found a solution to merge the GeoJSON.   What's the workflow to get the two files joined and saved as a shapefile, for example?
87456
How do I prepare CSV files for use in ArcGIS Desktop.   I ask because I have some troubles using CSV files because ArcGIS attributes wrong field types to my columns and also misinterprets special characters such as á or ê.   I have read in the Esri forum that there is a so-called schema.ini file that defines somehow the field types e.g "Col22=V002 Text" see here   That's kind of funny because I have often seen these .ini files on my disc but never actually wondered what they are good for. It is kind of weird that Excel stores such metadata in an extra file since other programs like R don't do so.   I already tried to manipulate this .ini file with little success since I didn't find out how to apply for example "string" type. There are some information on MS sites, see here:  but I couldn't find a solution.  Also I didn't really like the idea to work with this .ini file because it is quite a bunch of work to define and type all the fieldnames when I have let's say 50 columns. And these .ini files might get lost, etc.