Questions tagged [assertionerror]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
3answers
71 views

Projection fails when ran with assertions enabled [closed]

The following minimal example runs fine only when assertions are disabled: src/main/kotlin/main.kt: package com.regions import org.geotools.geojson.feature.FeatureJSON import org.geotools.geometry....
1
vote
0answers
110 views

Installing GeoTrace plugin in QGIS on Mac OSX?

I am trying to install the experimental plugin called GeoTrace in QGIS 3.2 on Mac OSX. Error message is as follows: File "/Users/petergriffin/Library/Application Support/QGIS/QGIS3/profiles/default/...
1
vote
1answer
87 views

Adding geoprocessing results as layer to dataframe using ArcPy? [duplicate]

I am still new to ArcPy. I'm running a really simple script, it selects a feature from a dataset (one town out of many), saves the data, and adds it to the (empty) dataframe. map = mapping....
0
votes
1answer
116 views

AssertionError in adding lyr file

This is only part of a bigger code block that I'm building. The goal of these lines is to import a new layer, and select one feature from the feature class(TOWNSSURVEY_POLYM). The code imports the ....
5
votes
0answers
419 views

plugin compile with make would not compile module [closed]

Ubuntu 14.04 QGIS 2.6 PyQt4 I'm following one of many tutorials on 'plugin builder', here is the latest one I'm trying with: http://www.digital-geography.com/build-qgis-plugin/ It all seems very ...
5
votes
2answers
1k views

ArcPy Report syntax error

I'm working on trying to use arcpy to automate the creation of a report, but I'm running into a problem. >>> arcpy.mapping.ExportReport('2013pp',"C:\reports\2013_Graffiti.rlf","C:\reports\...
5
votes
2answers
4k views

Creating empty group layer within existing group layer using arcpy.mapping?

Referencing this question, Adding new group layer with ArcPy?, I'm trying to use python to add a empty group within a group layer. So far I'm able to add a empty group within the map document, ...
4
votes
5answers
1k views

Can ArcPy's AsShape be used with GeoJSON FeatureCollection of Polygons with Labels?

The AsShape documentation provides examples that work very well. However, I have been given what I believe to be valid GeoJSON that is a FeatureCollection of two polygons each with a Label. It ...
5
votes
2answers
8k views

Assertion Error when attempting arcpy.mapping.AddLayer

Whenever I attempt to use AddLayer it gives me: Runtime error <type 'exceptions.AssertionError'> This is what I've been using: arcpy.mapping.AddLayer(MainDF, r"\\GEOGDATA\campusmapping\...