New answers tagged

0

There's also the MMQGIS plugin which, when downloaded and installed from the toolbar (Plugins > Manage and Install Plugins...), has the tool: Attributes Export to CSV File


2

Export the layer as a shapefile, find the shapefile on your PC. Copy/Rename the filename of the DBF part of the shapefile exportes to be 8 or under characters if it's not. (OLD MS DOS FILENAME ISSUE). Then, drag-drop the DBF right into Excel. Save as XLS. The copy paste method right form QGIS made text/character returns in a blob reset to the next row and ...


1

This option is only available in Data View. If you are in Layout View then you will not be able to Write a World File. This software behaviour is unchanged in ArcGIS 10.4 for Desktop Pre-release. For it to be enhanced I suggest you submit an ArcGIS Idea. I was surprised not to find one when I looked just now. If you do submit one then I suggest ...


1

The major issue you are missing is that the ObjectID column is not intended to be used as an identifier column. It is not necessarily a static number. It is possible that the powers that be at your workplace know that and are keeping that in mind in their workflow. On the other hand, you might want to make sure they know that if anyone edits the data or ...


5

FeatureClassToFeatureClass_conversion is the equivalent tool for the ArcGIS desktop export data function. It almost never is a good idea to use ObjectId as a user reference. Why don't you generate a user id column which you know will be consistent through data exports?object Ids within a gdb are given in reference to other features in feature classes stored ...


0

Could it be due to the typo in the line: <ogr:col>>#00248F</ogr:col>


1

That's data in GeoJSON format. You can use it for example in the free GIS suite QGIS.


5

Looks like GeoJSON file, You can view it by copy pasting the feature in geojson.io. Save the file with the .JSON extension instead of the .txt and you should be able to use it.


-1

Not sure if this will work for you, but we've found that tables built in MSWord and pasted via clipboard (as an EMF) seem to behave much better than Excel ones.


1

The solution to the problem is to use the RGB rendering by setting the property below. rle2.Force2RGB = true; For some reason the exported raster file has to be RGB. The second thing - once I imported the produced raster to ArcMap the colors where wrong. This is because ArcMap applies some default renderer properties to the raster. To overcome this ...


2

It appears you need to use arcpy.mapping.MapDocument import arcpy, os Workspace = "J:\\IrrigatedLands" arcpy.env.workspace = Workspace mxdList = arcpy.ListFiles("*.mxd") i = 0 for mxd in mxdList: i += 1 outmxd = arcpy.mapping.MapDocument(Workspace + "\\" + mxd) gifname = Workspace + "\\IrrigatedLands_temp_{}.gif".format(i) ...


3

I want to come at this from a different direction and show you how you can test the logic in each of the answers by using purely Python rather than ArcPy. I may or may not have copied/understood each of their logics but I don't think that matters because what I am trying to show is how you can test them, and in particular experiment with yours. mxdList = ...


5

Your problem is that you use pass which will do nothing, but jumps to the next code row. Do it like this: for mxd in arcpy.ListFiles("*.mxd"): mapdoc = arcpy.mapping.MapDocument(r"D:\desktop\Project\\" + mxd) if 'project2' not in mxd and 'project3' not in mxd: arcpy.mapping.ExportToPDF(mapdoc, ...


0

Try putting your export into an else for mxd in arcpy.ListFiles("*.mxd"): mapdoc = arcpy.mapping.MapDocument(r"D:\desktop\Project\\" + mxd) if 'project2' in mxd or 'project3' in mxd: pass else: arcpy.mapping.ExportToPDF(mapdoc, r"D:\desktop\Project\out\\"+os.path.basename(mapdoc.filePath).replace ('.mxd','') +".pdf") ...


2

For the first part of your question, you could use a Custom script in your model to fetch and write the raster statistics to a csv. This would replace your Step 4. Raster Layer Statistics. To do this, go to Processing Toolbox > Scripts > Tools > Create new script and copy the following (note: change the path of the text_file_path): ##Raster statistics=name ...


2

There are several options available that you can control the settings to create/export your PDF file that impacts the file size. Resolution - Higher values usually produce sharper images. However, this can also substantially increase the file size and processing time. Output Image Quality - For maps with raster data or transparent vector layers, ...


6

It will possibly be a bit of testing to find what works best for you. Try adjusting your DPI down until it produces a better file size but still readable, or adjust the Raster quality down slightly. Then combine these two acceptable settings and determine if the file size is small enough yet readable. My settings are set to 200dpi and image quality to ...


1

The problem also has to do with printer selection. My rulers were missing too and the MXD wouldn't export. I noticed that ArcGIS was trying to reference printer drivers we no longer have and as a consequence the paper settings were greyed out. I set the MXD to the new printer in the Page and Print Setup dialog and I was able to set the paper size again, then ...


0

Omayeee Its really simpler than that. map.on('draw:created', function (e) { var type = e.layerType, layer = e.layer; if (type === 'polygon') { // here you got the polygon points var points = layer._latlngs; // here you can get it in geojson format var geojson = layer.toGeoJSON(); } // here you add it ...



Top 50 recent answers are included