Tag Info

Hot answers tagged

2

i don't trust the gc module as much as I do spawning a separate process. The separate process will do the work and will then be killed after the join(). Try adding: from multiprocessing import process to the top of your script then replace: exportAISMap(mxd_path, pdf_path) with p = Process(target = exportAISMap, args = (mxd_path, pdf_path)) ...


2

There is an Esri technical article on this subject. This condition is often (unknowingly) created when someone opens a shapefile .dbf file in Excel and makes alterations. Essentially, the article recommends using a Shapefile Repair Tool. Keep in mind that this solution will alter the shapefile, so create a backup.


2

Geoprocessing tools (with the exception of Spatial Analyst tools) return a Result object, which is what arcpy.ApplySymbologyFromLayer_management returns here. It doesn't have a save method. You may be getting this mixed up with a MapDocument or Layer object.


1

Eventually, found a way to solve the problem, but I'm not 100% sure if this is it or not. After installing the PyQt4-devel, the next step would be to source the file (you can watch a nice tutorial done by Tim Sutton). If you still have problems with the make file, try to run the "compile strings" file just like in the video. Else if it doesn't work, ...


1

As per my comment in that question, it's to do with the spTransform. Simply remove the offending line: world <- spTransform(world, CRS("+proj=robin"))


1

Geodatabase feature class (and raster, etc.) naming rules: Names must begin with a letter, not a number or special character such as an asterisk (*) or percent sign (%). Names should not contain spaces. If you have a two-part name for your table or feature class, connect the words with an underscore (_), for example, garbage_routes. Names should not ...


1

I have had similar problems when interpolating data of a scanned image which I imported in a WGS84 projection using its pixel-coordinates (for practical reasons). The points I used for the interpolation were about 0.010 units apart. I retried after multiplying all coordinates by a factor 10^6, and the problem was gone. If this also works for you, it is ...


1

I know I'm coming a bit late, but a quicker way to do this (provided that you're using Windows), is by using the OSGeo4W Shell. Make command will work from there. Source and I've also tested it QGIS version 2.8.1 if that adds any more relevance. Best regards,



Only top voted, non community-wiki answers of a minimum length are eligible