Thanks for the new test procedure.

With CONNECTIONTYPE WFS, the result of shp2img -m wfs.map -o ttt.png -map_debug 3 is:

[Thu Apr  4 17:07:24 2019].401414 msDrawMap(): rendering using outputformat named png (AGG/PNG).
[Thu Apr  4 17:07:24 2019].401868 msBuildWFSLayerPostRequest(): WFS connection error. MapServer supports only WFS 1.0.0 or 0.0.14 (please verify the version metadata wfs_version).
[Thu Apr  4 17:07:24 2019].401915 HTTP: Starting to prepare HTTP requests.
[Thu Apr  4 17:07:24 2019].401938 HTTP request: id=0, http://...?VERSION=1.1.0&SERVICE=WFS
[Thu Apr  4 17:07:24 2019].416343 HTTP: Before download loop
[Thu Apr  4 17:07:24 2019].765563 msHTTPWriteFct(id=0, 633 bytes)
[Thu Apr  4 17:07:24 2019].765634 HTTP: After download loop
[Thu Apr  4 17:07:24 2019].765644 msHTTPExecuteRequests() timing summary per layer (connect_time + time_to_first_packet + download_time = total_time in seconds)
[Thu Apr  4 17:07:24 2019].765703 Layer 0: 0.133 + 0.216 + 0.133 = 0.482s
[Thu Apr  4 17:07:24 2019].765778 msDrawMap(): WMS/WFS set-up and query, 0.364s
[Thu Apr  4 17:07:24 2019].765846 msWFSLayerWhichShapes(): WFS connection error. WFS request produced unexpected output (junk?) for layer TEST.
[Thu Apr  4 17:07:24 2019].765857 msDrawMap(): Image handling error. Failed to draw layer named 'TEST'.
[Thu Apr  4 17:07:24 2019].766103 freeLayer(): freeing layer at 0x555b50b2ddf0.

With CONNECTIONTYPE OGR it is:

[Thu Apr  4 17:10:07 2019].478955 msDrawMap(): rendering using outputformat named png (AGG/PNG).
[Thu Apr  4 17:10:07 2019].478985 msDrawMap(): WMS/WFS set-up and query, 0.000s
[Thu Apr  4 17:10:07 2019].478995 msOGRFileOpen(http:....?VERSION=1.1.0&SERVICE=WFS)...
[Thu Apr  4 17:10:07 2019].479005 OGROPen(http:....?VERSION=1.1.0&SERVICE=WFS)
[Thu Apr  4 17:10:07 2019].758210 msConnPoolRegister(TEST,http:....?VERSION=1.1.0&SERVICE=WFS,0x56312442ab90)
[Thu Apr  4 17:10:07 2019].758261 msOGRFileOpen(): OGR error. GetLayer(EXTERNAL_TEST_LAYER) failed for OGR connection. Check logs.
[Thu Apr  4 17:10:07 2019].758270 GetLayer(EXTERNAL_LAYER) failed for OGR connection `http:....?VERSION=1.1.0&SERVICE=WFS'.
[Thu Apr  4 17:10:07 2019].758278 msConnPoolRelease(TEST,http:....?VERSION=1.1.0&SERVICE=WFS,0x56312442ab90)
[Thu Apr  4 17:10:07 2019].758285 msConnPoolClose(http:....?VERSION=1.1.0&SERVICE=WFS,0x56312442ab90)
[Thu Apr  4 17:10:07 2019].758321 msDrawMap(): Image handling error. Failed to draw layer named 'TEST'.
[Thu Apr  4 17:10:07 2019].758531 freeLayer(): freeing layer at 0x563124489df0.

- Lars
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to