Tag Info

New answers tagged

2

As Michael suggested, first creating a layer file of populated rows should do the trick. Before your code, create a variable with the proper SQL query, and then create your layer file. Execute your time conversion on your layer file. code: sql = '"START_DATE" IS NOT NULL' arcpy.MakeFeatureLayer_management (SA_TEN_GOV_els, "lyr", sql) ...


4

The northern two-thirds of Georgia should be pretty good, because the South Carolina coordinate reference system is Lambert conformal conic-based. Thus, the standard parallels extend through Georgia too. I ran a point at 31N 85W through the National Geodetic Survey's SPC program to see what the distortion would be. Note: South Carolina's zone is 3900. It ...


5

Your Try: statement is capitalised, it should be lower case - try:


2

You need to initialize your map object. See the source code here for an example: http://leafletjs.com/examples/quick-start-example.html Add something like this to harris.js before you call map.on. var map = L.map('map').setView([51.505, -0.09], 13); What's happening is map.on is undefined. Map itself is not defined in JavaScript, but by default DOM ...


1

When I have a layer with errors , I normally run it through the GRASS function v.clean in the Processing Toolbox. Though I never really figured out which tool is best in which case, I normally choose the bpol function there. Maybe even more important it is to set the advanced parameters for snap tolerance and min area. Depending on the layer, I usually ...


2

You cannot assign an output directly to a field in the calculation text, only by selecting the field as the output field of the calculation. [Intact] needs to be changed to Intact (a variable) and the output needs to be to Intact in the field output portion. Parser: VB Script Use Codeblock: Checked Pre-Logic Codeblock: If IsNull([Condition]) Then ...


1

I am assuming you are running this as a field calculate from a table? You don't reference the field you want to change in the pre-logic script section, you apply a variable to it which you compute a value for (in your case a 1 or a 0). Add Dim x to the beginning of the code in the pre-logic script code box then replace all "[Intact] = " with "x = " As you ...


4

With booleans, you need to repeat the query with the name of the field : ("Pop_CL"=8) or ("Pop_CL"=9) or ("Pop_CL"=10) but in your case you could use "Pop_CL" in (8,9,10)


0

I had the same problem on QGIS 2.6 64 bit on Windows 7 Home Premium with all current updates. Crashed on saving, every time, minidump and project file saved as 0 kb file or with small invalid file. Uninstalled metasearch catalog client and solved problem.


1

try this method, it could be work. using "copy feature" tool to create a new feature class in .gdb. export the new feature as a shapefile. hope it works. Good luck.


0

You are describing a problem that has often plagued me, although not for a while. It has been discussed in a Knowledge Base Technical Article entitled: Problem: On some systems, running any Geoprocessing tool in ArcToolbox results in Microsoft Script Errors and the tool dialog box appears blank Two solutions/workarounds are offered there: ...


0

There were some issues with QGIS 2.6 crashing with old projects and the print composer: http://hub.qgis.org/issues/10756 https://hub.qgis.org/issues/11685 You can try the latest dev build, which has some bugs fixed, or take the bugfix release 2.6.1 which is just released. Creating a new project from scratch should be save.



Top 50 recent answers are included