Page 1 of 2

Error with Step 1 with GNI example

Posted: Mon Dec 18, 2017 3:56 pm
by macsmith
I'm trying to follow the video, FTTx / FTTH network planning in QGIS free software with the provided GNI_FREE_(EN)_1_1_2 plannerFTTx sample.

I get an error message at Step 1 (2mins 35 secs into video) which states:

Algorithm (step 1) create GPON demand and route line from OSM starting...
Prepare algorithm: GNIPLANNERFTTHCHECKWORKCONTEXT_1
Running Check work context (1/16)
Parameters:
Failed

Error executing algorithm Check work context No work context available
.

Any idea what the problem might be?

My system details are:
windows 10 64 bit
QuickOSM 1.4.6
Grass 7.2.2
QGIS 2.18.15

Thanks

Ian

Re: Error with Step 1 with GNI example

Posted: Tue Dec 19, 2017 8:17 am
by gni_support
Hello,

You have to create and open a work context in ‘WorkContextTracer’ plugin.

Please, follow the instructions described in "GNI_Short User Guide for FTTx Planner.pdf" chapter 5.

Re: Error with Step 1 with GNI example

Posted: Tue Dec 19, 2017 8:25 am
by macsmith
thanks. Can you provide a link to the document? Google can't find it and it's not in the Documents section of the GNI website.

Ian

Re: Error with Step 1 with GNI example

Posted: Tue Dec 19, 2017 8:44 am
by gni_support
The "GNI_Short User Guide for FTTx Planner.pdf" is distributed with GNI Free package (the zip archive you have downloaded).

Re: Error with Step 1 with GNI example

Posted: Tue Dec 19, 2017 8:52 am
by macsmith
thanks. Yes, I do have that. I thought you meant another document.

Many thanks

Ian

Re: Error with Step 1 with GNI example

Posted: Wed Dec 20, 2017 10:30 am
by macsmith
I now have a work context but still get an error with Step 1. This time it's:

Algorithm [step 1] create GPON demand and route line from OSM starting...
Prepare algorithm: GNIPLANNERFTTHCHECKWORKCONTEXT_1
Running Check work context [1/16]
Parameters:
Converting outputs
OK. Execution took 0.003 ms (0 outputs).
Prepare algorithm: GNIPLANNERFTTHGETLAYEREXTENT_1
Running Get work area extent [2/16]
Parameters: INPUT_LAYER =memory?geometry=Polygon&crs=EPSG:4326, CRS =, PROJECT_CRS =True
Failed

Error executing algorithm Get work area extent 'NoneType' object has no attribute 'xMinimum' See log for more details


Can you help with this one too please?

Thanks

Ian

Re: Error with Step 1 with GNI example

Posted: Thu Dec 21, 2017 12:26 pm
by gni_support
This error can occur when an input layer is empty (has no polygons in it).

Please, make sure your input layer for step 1 algorithm is not empty and select polygons which represents your working zone.

Re: Error with Step 1 with GNI example

Posted: Thu Dec 21, 2017 1:01 pm
by macsmith
I beleive I have a non-empty layer. See screenshot at:

https://www.flickr.com/photos/iasmith/3 ... ed-friend/

Thanks
Ian

Re: Error with Step 1 with GNI example

Posted: Thu Dec 21, 2017 1:07 pm
by gni_support
Please, attach the screenshot to a post.

Re: Error with Step 1 with GNI example

Posted: Thu Dec 21, 2017 1:11 pm
by macsmith
the editor says the file is too big (695Kbytes) to attach.

Are you unable to access the url I sent?

Thanks

Ian