Page 1 of 1

Error at OSM Stage 1

Posted: Sun Oct 13, 2019 11:06 pm
by awesomefishguy
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.002 ms (0 outputs).
Prepare algorithm: GNIPLANNERFTTHGETLAYEREXTENT_1
Running Get work area extent [2/16]
Parameters: INPUT_LAYER =polygon?crs=EPSG:4326&memoryid={68c4f29c-d6ce-4fb9-ba21-1d64a4392d72}, CRS =, PROJECT_CRS =True
-359972.935017,-358607.220438,6709089.2746,6709999.75099
Converting outputs
OK. Execution took 0.009 ms (1 outputs).
Prepare algorithm: QGISREPROJECTLAYER_3
Running Reproject work area to match OSM [3/16]
Parameters: INPUT =polygon?crs=EPSG:4326&memoryid={68c4f29c-d6ce-4fb9-ba21-1d64a4392d72}, TARGET_CRS =EPSG:4326
Converting outputs
OK. Execution took 0.064 ms (1 outputs).
Prepare algorithm: QUICKOSMQUERYOVERPASSAPIWITHASTRING_1
Running Query overpass API with a string [4/16]
Parameters: SERVER =http://overpass-api.de/api/, QUERY_STRING = , EXTENT =-359972.935017,-358607.220438,6709089.2746,6709999.75099, NOMINATIM =
Preparing the Overpass query
Downloading data from Overpass
Converting outputs
OK. Execution took 0.480 ms (1 outputs).
Prepare algorithm: QUICKOSMOGRDEFAULT_1
Running OGR default [5/16]
Parameters: FILE =c:\users\user\appdata\local\temp\tmpewwji4.osm, WHITE_LIST_multipolygons =, WHITE_LIST_multilinestrings =, WHITE_LIST_lines =full_id,osm_id,osm_type,highway, WHITE_LIST_points =
Parsing layer : multipolygons
Parsing layer : multilinestrings
Parsing layer : lines
Parsing layer : points
Creating GeoJSON file : multipolygons
Creating GeoJSON file : multilinestrings
Creating GeoJSON file : lines
Creating GeoJSON file : points
Converting outputs
OK. Execution took 0.515 ms (4 outputs).
Prepare algorithm: GRASS7V.CLEAN_1
Running v.clean - Toolset for cleaning topology of vector map. [6/16]
Parameters: input =C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\61a3e28343cc423f813e17c02b29c411\linesLAYER.shp, tool =0, threshold =0.1, GRASS_REGION_PARAMETER =0.0,0.0,0.0,0.0, GRASS_SNAP_TOLERANCE_PARAMETER =-1, GRASS_MIN_AREA_PARAMETER =0.0001
g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"
v.in.ogr min_area=0.0001 snap=-1 input="C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\61a3e28343cc423f813e17c02b29c411" layer=linesLAYER output=tmp1571007797495 --overwrite -o
g.region n=0.0 s=0.0 e=0.0 w=0.0 res=100
v.clean input="tmp1571007797495" tool=break threshold="0.1" output="output28c32b997fd246a991a8dea65967e88d" error="error28c32b997fd246a991a8dea65967e88d" --overwrite
v.out.ogr -s -e input=output28c32b997fd246a991a8dea65967e88d type=auto output="C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\49d1d5e73206441287918b0781130eac" format=ESRI_Shapefile output_layer=output --overwrite
v.out.ogr -s -e input=error28c32b997fd246a991a8dea65967e88d type=auto output="C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\5c72ddbc50e34a3b90928e56830caf68" format=ESRI_Shapefile output_layer=error --overwrite

C:\PROGRA~1\QGIS2~1.18\bin>set HOME=C:\Users\User

C:\PROGRA~1\QGIS2~1.18\bin>set GISRC=C:\Users\User\.qgis2\\processing\processing.gisrc7

C:\PROGRA~1\QGIS2~1.18\bin>set WINGISBASE=C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0

C:\PROGRA~1\QGIS2~1.18\bin>set GISBASE=C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0

C:\PROGRA~1\QGIS2~1.18\bin>set GRASS_PROJSHARE=C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\share\proj

C:\PROGRA~1\QGIS2~1.18\bin>set GRASS_MESSAGE_FORMAT=plain

C:\PROGRA~1\QGIS2~1.18\bin>if "" == "" set PATH=C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\bin;C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\lib;C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg\shapely\DLLs;C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs;C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\bin;C:\PROGRA~1\QGIS2~1.18\apps\Python27\Scripts;C:\PROGRA~1\QGIS2~1.18\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem;C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\numpy\.libs;C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\scipy\extra-dll

C:\PROGRA~1\QGIS2~1.18\bin>if not "" == "" set PATH=C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\bin;C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\lib;;C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\bin;C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\lib;C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg\shapely\DLLs;C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs;C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\bin;C:\PROGRA~1\QGIS2~1.18\apps\Python27\Scripts;C:\PROGRA~1\QGIS2~1.18\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBem;C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\numpy\.libs;C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\scipy\extra-dll

C:\PROGRA~1\QGIS2~1.18\bin>set GRASS_VERSION=7.6.0

C:\PROGRA~1\QGIS2~1.18\bin>if not "" == "" goto langset

C:\PROGRA~1\QGIS2~1.18\bin>FOR /F "usebackq delims==" %i IN (`"C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\etc\winlocale"`) DO @set LANG=%i

C:\PROGRA~1\QGIS2~1.18\bin>set PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY

C:\PROGRA~1\QGIS2~1.18\bin>set PYTHONPATH=;C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\etc\python;C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.6.0\etc\wxpython\n

C:\PROGRA~1\QGIS2~1.18\bin>g.gisenv.exe set="MAPSET=PERMANENT"

C:\PROGRA~1\QGIS2~1.18\bin>g.gisenv.exe set="LOCATION=temp_location"

C:\PROGRA~1\QGIS2~1.18\bin>g.gisenv.exe set="LOCATION_NAME=temp_location"

C:\PROGRA~1\QGIS2~1.18\bin>g.gisenv.exe set="GISDBASE=C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\grassdata"

C:\PROGRA~1\QGIS2~1.18\bin>g.gisenv.exe set="GRASS_GUI=text"

C:\PROGRA~1\QGIS2~1.18\bin>g.proj -c proj4="+proj=longlat +datum=WGS84 +no_defs"

C:\PROGRA~1\QGIS2~1.18\bin>v.in.ogr min_area=0.0001 snap=-1 input="C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\61a3e28343cc423f813e17c02b29c411" layer=linesLAYER output=tmp1571007797495 --overwrite -o

C:\PROGRA~1\QGIS2~1.18\bin>g.region n=0.0 s=0.0 e=0.0 w=0.0 res=100

C:\PROGRA~1\QGIS2~1.18\bin>v.clean input="tmp1571007797495" tool=break threshold="0.1" output="output28c32b997fd246a991a8dea65967e88d" error="error28c32b997fd246a991a8dea65967e88d" --overwrite

C:\PROGRA~1\QGIS2~1.18\bin>v.out.ogr -s -e input=output28c32b997fd246a991a8dea65967e88d type=auto output="C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\49d1d5e73206441287918b0781130eac" format=ESRI_Shapefile output_layer=output --overwrite

C:\PROGRA~1\QGIS2~1.18\bin>v.out.ogr -s -e input=error28c32b997fd246a991a8dea65967e88d type=auto output="C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\5c72ddbc50e34a3b90928e56830caf68" format=ESRI_Shapefile output_layer=error --overwrite

C:\PROGRA~1\QGIS2~1.18\bin>exit
Converting outputs
OK. Execution took 1.822 ms (2 outputs).
Prepare algorithm: QGISREFACTORFIELDS_1
Running Refactor fields [7/16]
Parameters: INPUT_LAYER =C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\5e6e1f535b714f81a94b47b8ad87d403\multipolygonsLAYER.shp, FIELDS_MAPPING =[{'expression': u'"full_id"', 'length': 254, 'type': 10, 'name': u'full_id', 'precision': 0}, {'expression': u'"osm_id"', 'length': 254, 'type': 10, 'name': u'osm_id', 'precision': 0}, {'expression': u'"osm_type"', 'length': 254, 'type': 10, 'name': u'osm_type', 'precision': 0}, {'expression': u"attribute( $currentfeature, 'building' )", 'length': 254, 'type': 10, 'name': u'building', 'precision': 0}, {'expression': u"attribute( $currentfeature, 'name' )", 'length': 254, 'type': 10, 'name': u'name', 'precision': 0}, {'expression': u"attribute( $currentfeature, 'amenity' )", 'length': 254, 'type': 10, 'name': u'amenity', 'precision': 0}, {'expression': u"COALESCE(attribute( $currentfeature, 'addr_city' ) || ', ', '') ||\nCOALESCE(' ' || attribute( $currentfeature, 'addr_stree' ), '') || \nCOALESCE(' ' || attribute( $currentfeature, 'addr_house' ), '')\n", 'length': 254, 'type': 10, 'name': u'address', 'precision': 0}, {'expression': u'$area', 'length': 0, 'type': 2, 'name': u'area', 'precision': 0}]
Converting outputs
OK. Execution took 0.071 ms (1 outputs).
Prepare algorithm: GNIPLANNERFTTHREPROJECTTOINTERMEDIATECRS_1
Running Reproject lines [8/16]
Parameters: INPUT =C:\Users\User\AppData\Local\Temp\processingeddff0e6d56e4736adf790e0b4a0caf0\49d1d5e73206441287918b0781130eac\output.shp
Failed

Error executing algorithm Reproject lines 'NoneType' object has no attribute 'crs' See log for more details

Re: Error at OSM Stage 1

Posted: Mon Feb 08, 2021 3:48 pm
by gni_support
I'am not quite sure, but you could try 2 things:
1.Set the same crs to your layer as crs in your project ...if it doesnt work then:
2. Try to "re-do" everything, set up new project, and to keep it all in same crs

Re: Error at OSM Stage 1

Posted: Fri Feb 10, 2023 7:36 pm
by Mintouma
Hi the team i need help
Downloading data from Overpass
Echoué
Query overpass API with a string Bad request OverpassAPI